/* =========================================================
   HOME — composition spécifique à la page d'accueil
   ========================================================= */

/* ---- HERO (split : copie à gauche, portrait + témoignage flottant à droite) ---- */
/* padding-bottom à 0 : la transition vers la 1re section est assurée par le seul
   padding-top de cette section (--section-y). Sans cela, hero.padding-bottom +
   section.padding-top s'additionnaient (= 2×--section-y) et créaient un vide. */
.hero { padding-block: clamp(3rem, 6vw, 5.5rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-bottom: 1.4rem; }
.hero h1 em { color: var(--terracotta-deep); }
.hero .lead { max-width: 46ch; margin-bottom: 1.75rem; }

/* Points clés du hero : format check (pastille terracotta ✓, cf. « Pour vous si… ») */
.hero-points { display: grid; gap: .7rem; margin: 0 0 2rem; }
.hero-points li { position: relative; padding-left: 2.1rem; color: var(--espresso-soft); font-size: var(--fs-lead); }
.hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1.45rem; height: 1.45rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--terracotta-deep); color: var(--cream);
  border-radius: 50%; font-size: .8rem; font-family: var(--font-body);
}
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-reassure { margin-top: 1.5rem; font-size: var(--fs-small); color: var(--espresso-soft); }

/* Portrait + carte témoignage flottante (semi-transparente, en bas de la photo) */
.hero-media { position: relative; }
.hero-portrait { position: relative; margin: 0; }
.hero-portrait .portrait-img { aspect-ratio: 4 / 5; box-shadow: 0 24px 48px -26px rgba(61, 43, 31, 0.42); }
.hero-testimonial {
  position: absolute; left: clamp(.75rem, 2vw, 1.25rem); right: clamp(.75rem, 2vw, 1.25rem);
  bottom: clamp(.75rem, 2vw, 1.25rem);
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(.9rem, 1.6vw, 1.15rem) clamp(1rem, 1.8vw, 1.3rem);
  box-shadow: 0 12px 30px -18px rgba(61, 43, 31, 0.45);
  text-align: center;
}
.hero-testimonial-stars { color: var(--terracotta); letter-spacing: 2px; font-size: .9rem; }
.hero-testimonial p { font-family: var(--font-title); font-style: italic; font-size: 1.02rem; line-height: 1.35; color: var(--espresso); margin: .3rem 0 .35rem; }
.hero-testimonial cite { font-style: normal; font-size: var(--fs-small); font-weight: 600; color: var(--espresso-soft); }

/* ---- MÉTHODE (Clarifier → Décider → Agir) ---- */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.method-step { padding: 2rem clamp(1.25rem, 2.5vw, 2.25rem); position: relative; }
.method-step + .method-step { border-left: 1px solid var(--line); }
.method-step .step-k { font-family: var(--font-title); font-style: italic; font-size: var(--fs-lead); color: var(--terracotta-deep); margin-bottom: .75rem; display: block; }
.method-step h3 { margin-bottom: .7rem; }
/* Texte courant unifié sur --fs-lead (cf. .fit-list li, .section-head .lead) */
.method-step p { color: var(--espresso-soft); font-size: var(--fs-lead); }
.method-arrow { color: var(--terracotta); font-size: 1.4rem; }
/* Ancre du lien "NouvElle" : décalage sous le header collant */
#methode { scroll-margin-top: 110px; }
/* Titre de la méthode (tagline) : taille de titre standard (--fs-h2), comme les
   autres titres de section. Les phrases restent insécables (spans nowrap dans le
   HTML) et le retour à la ligne se fait naturellement entre phrases. */
/* Section "situations" : rapprocher le sous-titre du texte */
#situations .section-head { margin-bottom: 1.5rem; }

/* Rythme vertical uniforme du H2 jusqu'au CTA : on réinitialise les marges
   verticales de chaque bloc (elles venaient de sources hétérogènes et parfois
   s'additionnaient), puis on applique le MÊME écart entre chaque bloc successif.
   Les 2 paragraphes d'intro restent groupés (écart plus serré, cf. règle finale). */
#situations .container > * { margin-block: 0; }
#situations .container > * + * { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
#situations .container > .lead + .lead { margin-top: 1.25rem; }

/* Encadré léger « ce que vous ressentez » : 4 icônes + mots-clés, fond crème
   distinct du fond beige de la section. Texte centré H+V dans chaque cellule. */
.ident-chips {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.5rem, 1.5vw, 1rem);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
}
.ident-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: .6rem; padding: .5rem;
}
.ident-chip svg { width: 30px; height: 30px; color: var(--terracotta-deep); flex: none; }
.ident-chip span { font-family: var(--font-body); font-weight: 600; font-size: clamp(.9rem, 1.3vw, 1rem); color: var(--espresso); line-height: 1.25; }
@media (max-width: 780px) { .ident-chips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .ident-chips { grid-template-columns: 1fr; } }

/* Mise en avant « NouvElle® » dans le paragraphe de clôture */
.brand-hl { color: var(--terracotta-deep); }

/* Les 3 piliers : cartes crème distinctes, icône terracotta + label centrés (H+V) */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.85rem, 2vw, 1.25rem);
  margin-top: clamp(2rem, 4vw, 2.5rem); /* ≥ 32px de respiration sous la phrase */
}
.pillar {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: .8rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.1rem, 2vw, 1.5rem);
  box-shadow: 0 18px 40px -30px rgba(61, 43, 31, 0.35);
}
.pillar svg { width: 32px; height: 32px; color: var(--terracotta-deep); flex: none; }
.pillar span { font-family: var(--font-title); font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--espresso); line-height: 1.3; }
@media (max-width: 700px) { .pillars { grid-template-columns: 1fr; } }

/* CTA « Découvrir l'accompagnement NouvElle » : fond crème, bordure + texte terracotta */
.btn-nouvelle { background: var(--cream); color: var(--terracotta-deep); border-color: var(--terracotta); }
.btn-nouvelle:hover { background: #fff; border-color: var(--terracotta-deep); color: var(--terracotta-darker); }

/* Citations « voix intérieure » : grille éditoriale (3→2→1 col), traitement
   serif italique en cartes crème — volontairement distinct d'une liste à puces.
   Cohérent avec les cartes crème d'accompagnement-nouvelle.html. */
.voice-grid {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.75rem, 1.5vw, 1.1rem);
  margin: clamp(1.75rem, 3.5vw, 2.75rem) 0;
}
.voice-quote {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.1rem, 2.2vw, 1.5rem);
  font-family: var(--font-title); font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.3; color: var(--espresso);
  /* Icône au-dessus + citation, le tout centré H+V (cartes d'égale hauteur par ligne) */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .85rem; text-align: center;
}
.voice-ico { display: inline-flex; color: var(--terracotta-deep); }
.voice-ico svg { width: 28px; height: 28px; }
@media (max-width: 780px) { .voice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .voice-grid { grid-template-columns: 1fr; } }

/* Pull-quote de la home : même esprit que .acc-pullquote (page accompagnement) */
.home-pullquote {
  /* 44ch + taille plafonnée : les 2 propositions tiennent chacune sur une ligne
     (coupure nette au point-virgule), 2 lignes équilibrées en desktop. */
  max-width: 44ch; margin: clamp(2rem, 4vw, 3rem) auto;
  font-family: var(--font-title); font-style: italic;
  font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.25;
  letter-spacing: -0.01em; color: var(--espresso);
  text-align: center; text-wrap: balance;
}
.home-pullquote .hl { color: var(--terracotta-deep); }

/* ---- APERÇU DE L'ACCOMPAGNEMENT ---- */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.offer-copy .lead { margin-top: 1.25rem; } /* espace entre le titre et le paragraphe */
.offer-media { position: relative; }
.offer-media .photo-slot { aspect-ratio: 3 / 4; }
.offer-img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center;
  border-radius: var(--radius-lg); display: block;
  box-shadow: 0 24px 48px -26px rgba(61, 43, 31, 0.42); /* ombre portée douce, teintée espresso (pas de noir pur) */
}
/* Fin cadre terracotta décalé derrière l'image (passe-partout éditorial qui dépasse) */
.offer-media::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: clamp(-26px, -2vw, -14px); bottom: clamp(-26px, -2vw, -14px);
  width: 58%; height: 72%;
  border: 1.5px solid var(--terracotta); border-radius: var(--radius-lg);
}
.offer-facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin: 1.75rem 0 2rem; }
.offer-fact .k { font-family: var(--font-title); font-size: 1.9rem; color: var(--terracotta-deep); line-height: 1; }
.offer-fact .v { font-size: var(--fs-small); color: var(--espresso-soft); margin-top: .35rem; }

/* ---- POUR QUI / PAS POUR QUI ---- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.fit-col h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem; }
.fit-col h3 .mark { width: 30px; height: 30px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; font-family: var(--font-body); }
.fit-col--yes .mark { background: var(--terracotta-deep); color: var(--cream); }
.fit-col--no .mark  { background: var(--beige-mid); color: var(--espresso-soft); border: 1px solid var(--line-strong); }
/* Texte courant unifié sur --fs-lead (même taille que les paragraphes d'intro) */
.fit-list li { position: relative; padding: .65rem 0 .65rem 1.5rem; color: var(--espresso-soft); font-size: var(--fs-lead); border-bottom: 1px solid var(--line); }
/* Puce centrée sur la 1re ligne quelle que soit la taille de police :
   padding-haut + demi-interligne (1.65em / 2 = .825em) − demi-puce (4px) */
.fit-list li::before { content: ""; position: absolute; left: 0; top: calc(.65rem + .825em - 4px); width: 8px; height: 8px; border-radius: 50%; }
.fit-col--yes .fit-list li::before { background: var(--terracotta); }
.fit-col--no  .fit-list li::before { background: var(--line-strong); }

/* ---- TÉMOIGNAGES (aperçu décalé) ---- */
.quotes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.quotes-grid .quote-lead { grid-row: span 2; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem); }
.quotes-grid .quote-lead blockquote { font-size: clamp(1.5rem, 2.3vw, 1.95rem); }
.testimonials-foot { margin-top: 2.5rem; }

/* Version allégée : 2 extraits courts en cartes crème centrées, côte à côte */
.quotes-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.quote-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem); text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.quote-card .quote-stars { color: var(--terracotta); letter-spacing: 3px; font-size: 1rem; margin-bottom: .85rem; }
.quote-card blockquote { margin: 0 0 1rem; font-family: var(--font-title); font-style: italic; font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.4; color: var(--espresso); }
.quote-card figcaption { font-size: var(--fs-small); color: var(--espresso-soft); }
.quote-card figcaption strong { color: var(--espresso); }
@media (max-width: 700px) { .quotes-pair { grid-template-columns: 1fr; } }
/* Variante 3 cartes d'égale largeur (mêmes cartes .quote-card, hauteurs égalisées par la grille).
   Gap resserré + padding horizontal réduit → cartes plus larges, citations sur 3-4 lignes
   au lieu de 5-6. Padding vertical légèrement réduit pour compenser la hauteur. */
.quotes-trio { grid-template-columns: repeat(3, 1fr); gap: clamp(.9rem, 1.6vw, 1.25rem); }
/* margin:0 → annule la marge UA de <figure> (40px) qui rétrécissait les cartes
   dans leur cellule ; les cartes remplissent désormais toute la colonne. */
.quotes-trio .quote-card { margin: 0; padding: clamp(1.4rem, 2.2vw, 1.85rem) clamp(1.15rem, 1.8vw, 1.5rem); }
@media (max-width: 820px) { .quotes-trio { grid-template-columns: 1fr; } }

/* Bandeau architectural — surtitre éditorial au-dessus du triptyque (index only).
   L'overlay passe en colonne pour empiler surtitre + triptyque, groupe centré vertical. */
.arch-band .arch-overlay { flex-direction: column; align-items: flex-start; justify-content: center; gap: clamp(.55rem, 1.4vw, 1rem); }
.arch-kicker {
  margin: 0; max-width: 34rem;
  font-family: var(--font-body); font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em;
  font-size: clamp(.7rem, 1.05vw, .82rem); line-height: 1.45;
  color: #E0A283; /* terracotta clairci — même teinte que .arch-statement em, lisible sur le voile espresso sombre */
  text-shadow: 0 1px 8px rgba(28, 18, 12, 0.5);
}
/* Mobile : détasser le surtitre (letter-spacing desktop trop serré ≤480px,
   le poussait sur 2 lignes jusqu'au bord droit de l'image). Couleur inchangée.
   + rehausser la bande : à 21/9 elle tombe à ~161px sur écran étroit, trop
   court pour surtitre (2 lignes) + triptyque (3 lignes) → la 1re ligne du
   surtitre était rognée en haut. min-height garantit que tout tient, marges
   haut/bas visibles. background-size:cover / position:center inchangés (.arch-img). */
@media (max-width: 480px) {
  .arch-kicker { letter-spacing: .12em; font-size: .7rem; }
  .arch-slot[data-arch="21-9"] { min-height: 15rem; }
}

/* ---- FAQ courte ---- */
.home-faq .faq-list { max-width: 860px; }
.home-faq .section-foot { margin-top: 2rem; }

/* ---- CTA FINAL ---- */
.cta-band { background: var(--terracotta-deep); color: var(--cream); }
.cta-band .cta-inner { max-width: 88ch; margin-inline: auto; text-align: center; }
/* Espacements internes augmentés (~+50 %) pour faire respirer le bandeau. */
.cta-band h2 { color: var(--cream); margin-bottom: 1.875rem; }
.cta-band .lead { color: color-mix(in srgb, var(--cream) 86%, var(--terracotta-deep)); margin-bottom: 3.375rem; }
.cta-band .cta-actions { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { gap: 2.5rem; }
}
@media (max-width: 960px) {
  /* Mises en page sur une colonne (la bascule burger + le footer responsive,
     composants partagés, vivent dans components.css) */
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-media { max-width: 460px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-step + .method-step { border-left: 0; border-top: 1px solid var(--line); }
  .fit-grid, .quotes-grid { grid-template-columns: 1fr; }
  .quotes-grid .quote-lead { grid-row: auto; }
}
