@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background: #f4f8fb;
  color: #1f2933;
}

h1, h2, h3 {
  color: #0f4c75;
}

.page-content {
  max-width: 1100px;
  margin: auto;
}

.section {
  background: white;
  padding: 40px;
  margin: 40px 0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  transition: 
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.section:hover {
  transform: scale(1.04);
  background-color: #f0f6ff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 2.8em;
}

.hero p {
  font-size: 1.2em;
  color: #555;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card iframe { width: 100%; max-width: 560px; height: 315px; margin: 0 auto; display: block;}
              
.card {
  background: #f9fbfd;
  padding: 25px;
  border-radius: 14px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.card a {
  text-decoration: none;
  color: #0f4c75;
  font-weight: 600;
  font-size: 1.1em;
}

.badge {
  display: inline-block;
  background: #e3f2fd;
  color: #0f4c75;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9em;
  margin-top: 10px;
}

/* ===== POST-ITS BRAINSTORM ===== */
.postit-board {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  justify-content: flex-start;
}

.postit {
  width: 140px;
  height: 140px;
  padding: 16px;
  border-radius: 4px;
  box-shadow: 4px 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.25s ease, width 0.25s ease, height 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  align-items: flex-start;
  font-family: 'Patrick Hand', 'Caveat', cursive;
  font-size: 0.85rem;
  line-height: 1.4;
  overflow: hidden;
  position: relative;
  transform: rotate(-2deg);
}

.postit:nth-child(even) {
  transform: rotate(1.5deg);
}

.postit:hover {
  width: 220px;
  height: 220px;
  transform: rotate(0deg) scale(1.05);
  box-shadow: 8px 8px 20px rgba(0,0,0,0.25);
  z-index: 10;
  font-size: 1rem;
}

.postit span {
  display: block;
}

.section h3 {
  margin-bottom: 0
}

.section p {
  margin-top: 0
}

/* Couleurs */
.postit.yellow { background: #fff176; }
.postit.pink   { background: #f48fb1; }
.postit.blue   { background: #81d4fa; }
.postit.green  { background: #a5d6a7; }

/* Petite pliure en bas à droite */
.postit::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,0.08);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.persona { 
  display: flex; 
  align-items: center; 
  gap: 20px; 
  margin-bottom: 30px; 
} 
.persona img { 
  width: 120px; 
  height: auto; 
  border-radius: 10px; 
  flex-shrink: 0;
} 

.robot-float {
  float: left;          /* fait flotter l'image à gauche */
  width: 12%;           /* petite taille, comme tu voulais */
  margin-right: 20px;   /* espace entre l'image et le texte */
  margin-bottom: 8px;  /* espace en dessous pour que le texte en dessous ne colle pas */
  border-radius: 10px;
}
.clear { clear: both; }
