/* ── Utilitaires index ── */
.section-heading   { text-align: center; margin-bottom: 3rem; }
.hero-card-author  { margin-top: .8rem; font-size: .85rem; color: var(--orange); font-weight: 700; }
.objectifs-note    { text-align: center; margin-top: 1.8rem; font-size: 1.1rem; color: rgba(255,255,255,.6); font-style: italic; }
.verbatims-orgs    { font-size: clamp(0.9rem,1.6vw,1.15rem); color: rgba(255,255,255,.85); font-weight: 700; line-height: 1.5; max-width: 1100px; margin: 0 auto; }
.verbatims-orgs-wrap { text-align: center; margin: 2rem 0; }
.tarifs-includes   { text-align: center; }
.tarif-cta { display: flex; align-items: center; justify-content: center; }
.verbatim-feature .verbatim-text { margin-bottom: .4rem; }

/* ── Hero ── */
#hero {
  background: var(--white);
  padding-top: 1.5rem;
  padding-bottom: 3.5rem;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; line-height: 1.15; color: var(--brown);
  margin-bottom: 0.5rem;
}
.hero-title .accent { color: var(--orange); }
.hero-sub {
  font-size: 1.15rem; color: var(--brown-md);
  font-weight: 600; margin-top: 1.8rem; margin-bottom: 1.8rem;
  text-align: justify; hyphens: auto; overflow-wrap: break-word;
}
.hero-desc {
  font-size: 1rem; color: var(--text-secondary);
  margin-bottom: 2rem;
  text-align: justify; hyphens: auto; overflow-wrap: break-word;
}

/* Hero visual */
.hero-right-col {
  position: relative;
  padding-top: 70px;
}
.hero-right-col .hero-visual {
  position: relative;
  z-index: 2;
}
.hero-right-col .giraffe-stack {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  transform: none;
  z-index: 1;
  margin-top: 0;
}
.hero-visual {
  display: flex; flex-direction: column; gap: 1rem; margin-top: 95px;
}

/* Pile de cartes */
.giraffe-stack {
  display: inline-block;
  position: relative;
  width: 350px;
  height: 294px;
  cursor: pointer;
}
.giraffe-stack .giraffe-card {
  position: absolute;
  top: 14px;
  width: 161px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid #eaddd3;
  box-shadow: 0 6px 20px rgba(92,31,0,0.14);
  overflow: hidden;
}
.giraffe-stack .giraffe-card img { width: 100%; height: auto; display: block; }
.giraffe-stack .card-1 { left:   0px; z-index: 1; transform: rotate(-10deg); }
.giraffe-stack .card-2 { left: 121px; z-index: 2; transform: rotate(5deg);   }
.giraffe-stack .card-3 { left: 242px; z-index: 3; transform: rotate(15deg);  }
.giraffe-stack .card-1:hover { animation: vibrate1 0.08s linear infinite; }
.giraffe-stack .card-2:hover { animation: vibrate2 0.14s linear infinite; }
.giraffe-stack .card-3:hover { animation: vibrate3 0.20s linear infinite; }
@keyframes vibrate1 {
  0%   { transform: rotate(-10deg)   translate(0,    0);    }
  20%  { transform: rotate(-11.2deg) translate(-3px,-1px);  }
  40%  { transform: rotate( -8.8deg) translate( 3px, 1px);  }
  60%  { transform: rotate(-10.8deg) translate(-2px, 1px);  }
  80%  { transform: rotate( -9.2deg) translate( 2px,-1px);  }
  100% { transform: rotate(-10deg)   translate(0,    0);    }
}
@keyframes vibrate2 {
  0%   { transform: rotate( 5deg)   translate(0,    0);    }
  20%  { transform: rotate( 3.8deg) translate( 3px,-1px);  }
  40%  { transform: rotate( 6.2deg) translate(-3px, 1px);  }
  60%  { transform: rotate( 4.2deg) translate( 2px, 1px);  }
  80%  { transform: rotate( 5.8deg) translate(-2px,-1px);  }
  100% { transform: rotate( 5deg)   translate(0,    0);    }
}
@keyframes vibrate3 {
  0%   { transform: rotate(15deg)   translate(0,    0);    }
  20%  { transform: rotate(16.2deg) translate(-3px, 1px);  }
  40%  { transform: rotate(13.8deg) translate( 3px,-1px);  }
  60%  { transform: rotate(15.5deg) translate( 2px, 1px);  }
  80%  { transform: rotate(14.5deg) translate(-2px,-1px);  }
  100% { transform: rotate(15deg)   translate(0,    0);    }
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.7rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--orange);
}
.hero-card:first-child { background: rgba(255,255,255,0.85); }
.hero-card blockquote {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem; color: var(--brown);
  line-height: 1.4;
}

/* ── Pourquoi ── */
#pourquoi { background: var(--white); }
.pourquoi-grid {
  display: grid; grid-template-columns: 4fr 1.5fr; gap: 4rem; align-items: start;
}
.pourquoi-photo-wrap {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  height: 364px;
  margin-top: 4rem;
}
.pourquoi-photo-wrap img {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  display: block;
}
.pourquoi-story { font-size: 1rem; color: var(--text-muted); line-height: 1.8; text-align: justify; hyphens: auto; overflow-wrap: break-word; }
.pourquoi-story p { margin-bottom: 1.2rem; }
.pourquoi-story strong { color: var(--brown); }
.pourquoi-signature {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.4rem;
  font-family: 'Caveat', cursive;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--brown);
  text-decoration: none;
  transition: color 0.2s;
}
.pourquoi-signature svg { flex-shrink: 0; }
.pourquoi-signature:hover { color: var(--orange); }
.pourquoi-photo-link {
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}
.pourquoi-photo-link img { transition: transform 0.35s ease; }
.pourquoi-photo-link:hover img { transform: scale(1.04); }

/* ── Objectifs ── */
#objectifs { background: var(--brown); }
#objectifs .section-tag { color: var(--gold); }
#objectifs .section-title { color: var(--white); }
#objectifs .accent { color: var(--orange-lt); }
.objectifs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.objectif-card {
  padding: 1.4rem 0 0;
  text-align: center;
  display: flex; flex-direction: column;
  transition: transform .2s;
}
.objectif-card:hover { transform: translateY(-6px); }
.objectif-card-img-wrap {
  margin: 0;
  padding: 0;
}
.objectif-card-img {
  display: block;
  width: 100%; height: auto;
  margin: 0 auto;
  border-radius: 8px;
}
.objectif-title {
  font-size: 1.3rem; font-weight: 900;
  color: var(--orange-lt); margin-bottom: 0.6rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.objectif-desc { font-size: 1rem; color: rgba(255,255,255,.85); line-height: 1.65; margin: 0 10px 1rem; }

/* ── Formats / Déroulement ── */
#formats { background: var(--white); }
.section-intro { font-size: 1rem; color: var(--text-secondary); line-height: 1.75; max-width: 720px; margin: 1.5rem 0 2rem; text-align: justify; hyphens: auto; overflow-wrap: break-word; }
.formats-top-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}
.formats-top-left {
  flex: 1;
  min-width: 0;
}
.formats-top-photo {
  width: calc((100% - 3rem) / 3);
  height: auto;
  flex-shrink: 0;
  display: block;
  transform: rotate(2deg);
}
.formats-top-photo img {
  width: 100%; height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}
.formats-header {
  margin-bottom: 1rem;
}
.declinaisons { margin-top: 3rem; }
.declinaisons-title { font-size: 1rem; font-weight: 800; color: var(--brown); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.declinaisons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.declinaison-card {
  background: var(--white); border: 1.5px solid var(--border-light);
  border-radius: 12px; padding: 1.25rem;
  text-align: center;
}
.declinaison-icon {
  display: flex; justify-content: center; margin-bottom: 0.65rem;
  color: var(--orange);
}
.declinaison-icon svg { display: block; }
.declinaison-card h4 {
  font-size: 1.05rem; font-weight: 800; color: var(--brown);
  margin: 0 0 0.75rem; text-transform: uppercase; letter-spacing: .05em;
}
.declinaison-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.declinaison-card li {
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.45;
}
.declinaison-card.card-outlined { border: 1.5px solid var(--border-light); border-top: 4px solid var(--orange); }
.declinaison-card.card-brown {
  background: var(--brown); border-color: var(--brown);
}
.declinaison-card.card-brown .declinaison-icon { color: var(--white); }
.declinaison-card.card-brown h4 { color: var(--orange-lt); }
.declinaison-card.card-brown li { color: rgba(255,255,255,.82); }
.declinaison-card.card-orange {
  background: var(--orange); border-color: var(--orange);
}
.declinaison-card.card-orange .declinaison-icon { color: var(--white); }
.declinaison-card.card-orange h4 { color: var(--brown); }
.declinaison-card.card-orange li { color: rgba(255,255,255,.90); }

/* ── Étapes atelier ── */
.atelier-steps { margin: 0 0 3.5rem; }
.atelier-steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.atelier-steps-row + .atelier-steps-row { margin-top: 1.5rem; }
.atelier-step-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 1.2rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.atelier-step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.atelier-step-icon {
  display: flex; justify-content: center;
  margin: 0.5rem 0 0.65rem;
  color: var(--orange);
}
.atelier-step-title {
  font-size: 0.88rem; font-weight: 800; color: var(--brown);
  margin: 0 0 0.45rem;
  text-transform: uppercase; letter-spacing: .05em; line-height: 1.3;
}
.atelier-step-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.45; }

/* ── Verbatims ── */
#verbatims { background: var(--brown); }
#verbatims .section-tag { color: var(--gold); }
#verbatims .section-title { color: var(--white); }
#verbatims .accent { color: var(--orange-lt); }
.verbatims-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.verbatim-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  position: relative;
  transition: background .2s;
}
.verbatim-card:hover { background: rgba(255,255,255,.12); }
.verbatim-card::before {
  content: '"';
  font-family: 'Caveat', cursive;
  font-size: 5rem; color: var(--orange); opacity: .3;
  position: absolute; top: 0.5rem; left: 1rem;
  line-height: 1;
}
.verbatim-text {
  font-size: 0.92rem; color: rgba(255,255,255,.8);
  line-height: 1.75; padding-top: 1.5rem;
  margin-bottom: 1.2rem;
  font-style: italic;
  text-align: justify; hyphens: auto; overflow-wrap: break-word;
}
.verbatim-author {
  font-size: 0.82rem; font-weight: 800; color: var(--orange-lt);
}
#verbatims .verbatim-feature {
  background: var(--orange);
  border-color: transparent;
}
.verbatim-feature .verbatim-text { color: rgba(255,255,255,.95); }
.verbatim-feature .verbatim-author { color: var(--white); border-top-color: rgba(255,255,255,.25); }
.verbatim-feature::before { color: rgba(255,255,255,.2); opacity: 1; }

/* ── Tarifs ── */
#tarifs { background: var(--white); }
.tarifs-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, auto); column-gap: 2rem; row-gap: 0; max-width: 1140px; margin: 0 auto 2rem; }
.tarif-card {
  grid-row: span 4;
  display: grid;
  grid-template-rows: subgrid;
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tarif-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
.tarif-card.featured {
  background: var(--brown);
  border-color: var(--brown);
  box-shadow: var(--shadow-lg);
}
.tarif-card.featured .tarif-price span { color: rgba(255,255,255,.7); }
.tarif-card.featured .tarif-label { color: var(--orange-lt); }
.tarif-card.featured .tarif-size  { color: var(--white); }
.tarif-card.featured .tarif-price { color: var(--orange-lt); }
.tarif-card.featured .tarif-details { color: rgba(255,255,255,.8); }
.tarif-card.featured .tarif-details li { border-bottom-color: rgba(255,255,255,.1); }
.tarif-label { font-size: 0.78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.5rem; }
.tarif-size { font-size: 1.3rem; font-weight: 900; color: var(--brown); margin-bottom: 1.2rem; min-height: 2.6em; line-height: 1.3; }
.tarif-price { font-size: 2.2rem; font-weight: 900; color: var(--orange); line-height: 1; display: flex; align-items: center; justify-content: center; }
.tarif-price span { font-size: 1rem; color: var(--brown-md); font-weight: 700; }
.tarif-details { margin: 1.5rem 0; font-size: 1rem; color: var(--text-secondary); list-style: none; }
.tarif-details li { padding: 0.4rem 0; border-bottom: 1px solid rgba(0,0,0,.06); font-weight: 600; }
.tarif-details li:last-child { border-bottom: none; }
.tarifs-includes {
  background: var(--white); border-radius: var(--radius);
  padding: 1.2rem 1.8rem; max-width: 1140px; margin: 0 auto;
  border-left: 4px solid var(--orange);
}
.tarifs-includes h3 { font-size: 1rem; font-weight: 700; color: var(--text-secondary); }

/* ── Réseau ── */
#reseau { background: var(--white); padding: 2.5rem 2rem; }
#reseau .btn-primary { display: block; width: fit-content; margin: 0 auto 2.5rem; }
.reseau-intro { text-align: center; margin: 0 auto 1.5rem; }
.reseau-lead { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; margin-top: 1rem; text-align: justify; hyphens: auto; overflow-wrap: break-word; }
.reseau-lead strong { color: var(--brown); }
.reseau-fondatrice {
  display: flex;
  justify-content: center;
  padding-bottom: 2rem;
  width: 100%;
}
.membre--fondatrice .membre-avatar {
  width: 160px;
  height: 160px;
  border: 3px solid var(--orange);
  box-shadow: var(--shadow);
}
.membre-role {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin-top: -0.5rem;
}
.reseau-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 1.5rem;
  padding: 0 3rem;
  justify-content: center;
}
.membre {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 160px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.membre-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: none;
  overflow: hidden;
  background: #e8d8cc;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  transform: translateZ(0);
}
.membre:hover .membre-avatar {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.membre-avatar svg {
  width: 72px;
  height: 72px;
  color: var(--orange-lt);
}
.membre-avatar picture {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  transform: translateZ(0);
}
.membre-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.membre-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brown);
  text-align: center;
  line-height: 1.3;
}
.membre-lieu {
  font-size: 0.72rem;
  font-style: italic;
  color: var(--brown);
  text-align: center;
  margin-top: -0.4rem;
  opacity: 0.65;
}

/* ── Spring button ── */
@keyframes spring-from-left {
  0%   { transform: translateX(-400px); opacity: 0; }
  35%  { transform: translateX(70px);   opacity: 1; }
  50%  { transform: translateX(-38px);  }
  63%  { transform: translateX(22px);   }
  74%  { transform: translateX(-13px);  }
  83%  { transform: translateX(7px);    }
  90%  { transform: translateX(-4px);   }
  96%  { transform: translateX(2px);    }
  100% { transform: translateX(0);      opacity: 1; }
}
.btn-spring-wrap { margin-top: 1.5rem; text-align: right; opacity: 0; }
.btn-spring-wrap.visible {
  animation: spring-from-left 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* ── Logo ticker (références) ── */
.logo-ticker-wrap {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.logo-ticker {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.logo-ticker:hover { animation-play-state: paused; }
.logo-ticker-set {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0.5rem 1.25rem;
}
.logo-ticker-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 150px;
  flex-shrink: 0;
}
.logo-ticker-item img {
  max-height: 46px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.35s ease;
  display: block;
}
.logo-ticker-item img:hover { opacity: 1; }
.logo-ticker-item .logo-text {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brown-md);
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: 0.6;
  white-space: nowrap;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Responsive index ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-right-col { display: none; }
  .pourquoi-grid { grid-template-columns: 1fr; }
  .objectifs-grid { grid-template-columns: repeat(2, 1fr); }
  .formats-top-row { flex-direction: column; }
  .formats-top-photo { width: 100%; transform: none; }
  .formats-top-photo img { max-height: 220px; object-fit: cover; }
  .atelier-steps-row { grid-template-columns: 1fr; gap: 1rem; max-width: 480px; }
  .declinaisons-grid { grid-template-columns: repeat(2, 1fr); }
  .verbatims-grid { grid-template-columns: 1fr 1fr; }
  .tarifs-grid { grid-template-columns: 1fr; grid-template-rows: unset; row-gap: 2rem; max-width: 480px; }
  .tarif-card { grid-row: unset; display: block; }
}
@media (max-width: 600px) {
  .objectifs-grid { grid-template-columns: 1fr; }
  .formats-top-photo img { max-height: 180px; }
  .atelier-steps-row { grid-template-columns: 1fr; gap: 1rem; max-width: 400px; margin: 0 auto; }
  .declinaisons-grid { grid-template-columns: 1fr; }
  .verbatims-grid { grid-template-columns: 1fr; }
  #reseau { padding: 3.5rem 1.2rem; }
  .reseau-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; padding: 0 0.5rem; }
  .membre { width: auto; align-items: center; }
  .membre-avatar { width: 90px; height: 90px; }
  .membre-avatar svg { width: 52px; height: 52px; }
}
