/* Accueil 2026 : rythme éditorial, image humaine et mouvement discret. */
body:has(#home:not([hidden])){background:#f5f0e8}
.site-header{height:74px;width:min(1320px,calc(100% - 64px))}
.site-header .brand-symbol{width:43px;height:43px}
.site-header .brand{font-size:1.16rem}
.desktop-nav{gap:24px}
.desktop-nav a{font-size:.88rem}
.site-header .primary{min-height:44px;padding:10px 18px}

/* Une ouverture plus claire, avec la photographie traitée comme un vrai sujet. */
#home .olive-hero{
  isolation:isolate;
  width:min(1400px,calc(100% - 32px));
  margin:0 auto;
  min-height:620px;
  height:min(720px,calc(100dvh - 88px));
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  background:#ead8ca;
  border-radius:16px;
  overflow:hidden;
}
#home .hero-light{
  inset:0 40% 0 0;
  background:radial-gradient(circle at 5% 12%,#f7ebe1 0%,#ead8ca 48%,#dec3b0 100%);
  opacity:1;
}
#home .hero-light:after{display:none}
#home .olive-hero-copy{
  color:var(--landing-forest);
  align-self:center;
  padding:50px clamp(32px,5.5vw,88px);
  padding-right:24px;
  max-width:780px;
}
#home .olive-hero h1{
  font-size:clamp(3.7rem,5.25vw,5.75rem);
  line-height:1.03;
  letter-spacing:-.045em;
  margin:0 0 31px;
  white-space:nowrap;
}
#home .olive-hero h1 span{color:var(--landing-olive)}
#home .olive-hero-copy>p:not(.hero-reassurance){
  max-width:440px;
  font-size:1.13rem;
  line-height:1.55;
  color:#514039;
  margin-bottom:34px;
}
#home .hero-actions{gap:22px}
#home .hero-actions .landing-dark{box-shadow:0 10px 22px #30241f18}
#home .hero-actions .landing-dark:hover{background:#89442f}
#home .hero-link{color:var(--landing-forest);text-underline-offset:6px;font-weight:600}
#home .hero-link:hover{color:var(--landing-olive)}
#home .olive-hero-photo{
  align-self:stretch;
  height:auto;
  min-height:0;
  margin:24px 24px 24px 0;
  border-radius:12px;
  overflow:hidden;
  background:#c9b2a3;
  box-shadow:-18px 20px 50px #5e392625;
}
#home .olive-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 33%;transform:scale(1.025)}
#home .olive-hero-photo:after{display:none}

/* Deux portes d'entrée de poids différent pour rompre la grille de cartes. */
#home .landing-pathways{padding-top:112px;padding-bottom:112px}
#home .section-heading{display:block;max-width:780px;margin-bottom:46px}
#home .section-heading p{max-width:560px;padding:0;margin-top:18px}
#home .pathway-grid{grid-template-columns:1.12fr .88fr;gap:22px;align-items:start}
#home .pathway{
  border:0;
  border-radius:14px;
  background:#ead8ca;
  overflow:hidden;
  transition:transform .55s var(--landing-ease),box-shadow .55s var(--landing-ease);
}
#home .pathway-family{margin-top:72px;background:#e6e0d6}
#home .pathway:hover{transform:translateY(-8px);box-shadow:0 20px 42px #30241f17}
#home .pathway figure{height:380px;background:#cfb8a8;overflow:hidden}
#home .pathway-family figure{height:300px}
#home .pathway figure img{object-fit:cover;transition:transform .8s var(--landing-ease)}
#home .pathway:hover figure img{transform:scale(1.055)}
#home .pathway>div{padding:32px 36px 36px}
#home .pathway h3{max-width:470px;font-size:clamp(2rem,2.5vw,2.6rem)}
#home .pathway p{margin-top:12px}
#home .pathway .landing-link{margin-top:18px}

/* Les sujets deviennent une liste active plutôt qu'une autre série de cartes. */
#home .landing-situations{background:#30241f;padding:110px 0}
#home .situations-grid{grid-template-columns:.9fr 1.1fr;gap:clamp(50px,7vw,110px)}
#home .situations-grid>div:first-child{position:sticky;top:100px}
#home .situation-list button{position:relative;min-height:78px;transition:padding .35s var(--landing-ease),color .25s}
#home .situation-list button:hover,#home .situation-list button:focus-visible{padding-left:14px;color:#f5f0e8}
#home .situation-list button:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:#dca58e;transform:scaleY(0);transform-origin:center;transition:transform .35s var(--landing-ease)}
#home .situation-list button:hover:before,#home .situation-list button:focus-visible:before{transform:scaleY(1)}
#home .situation-list button span{font-size:1.15rem}

/* La photographie relie les sujets concrets au premier éclairage. */
#home .landing-interlude{
  position:relative;
  z-index:1;
  width:min(1280px,calc(100% - 40px));
  height:clamp(340px,34vw,470px);
  margin:-64px auto -64px;
  border-radius:14px;
  overflow:hidden;
  background:#c9b2a3;
  box-shadow:0 20px 50px #30241f21;
}
#home .landing-interlude img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 44%}

/* Une respiration colorée pour expliquer le résultat. */
#home .landing-bilan{background:#e8d8ca;padding:108px 0}
#home .landing-bilan-grid{gap:clamp(40px,7vw,100px)}
#home .landing-example{transform:rotate(1.5deg);box-shadow:0 25px 54px #30241f18;transition:transform .55s var(--landing-ease)}
#home .landing-example:hover{transform:rotate(0deg) translateY(-5px)}
#home .landing-steps li{margin-bottom:20px}

/* Gratuit en bande horizontale ; les deux accompagnements suivent. */
#home .landing-offers{padding-top:112px;padding-bottom:112px}
#home .offers-heading{display:block;max-width:720px;margin-bottom:46px}
#home .offers-heading>p{max-width:650px;margin-top:18px;padding:0}
#home .offer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#home .offer-card{border-radius:14px;min-height:0;padding:36px;box-shadow:none;transition:transform .45s var(--landing-ease),box-shadow .45s var(--landing-ease)}
#home .offer-card:hover{transform:translateY(-5px);box-shadow:0 18px 38px #30241f12}
#home .offer-card.free{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1.2fr 1fr auto;align-items:center;gap:22px;background:#e8d8ca;border-color:#d8bead;padding:27px 32px}
#home .offer-card.free h3{font-size:1.9rem}
#home .offer-card.free h3 span{color:var(--landing-olive)}
#home .offer-card.free .offer-promise{margin:0;min-height:0}
#home .offer-card.free ul{border:0;margin:0;padding:0}
#home .offer-card.free li{border:0;padding:2px 0;font-size:.85rem}
#home .offer-card.free li:before{content:'✓';color:var(--landing-olive);margin-right:7px}
#home .offer-card.free .button{width:auto;min-width:150px;margin:0;white-space:nowrap}
#home .offer-card.featured{background:#a9553e}
#home .offer-card:not(.free){min-height:440px}
#home .offer-card .button{white-space:nowrap}

#home .landing-modes{background:#e8d8ca;padding:100px 0}
#home .modes-grid{grid-template-columns:minmax(0,.83fr) repeat(2,minmax(0,1fr));gap:28px;align-items:start}
#home .mode-intro{padding-right:16px}
#home .modes-grid article{border:0;padding:0}
#home .modes-grid article figure{height:230px;margin:0 0 26px;border-radius:12px;overflow:hidden;background:#c9b2a3}
#home .modes-grid article img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 38%;transition:transform .8s var(--landing-ease)}
#home .modes-grid article:last-child img{object-position:50% 28%}
#home .modes-grid article:hover img{transform:scale(1.045)}
#home .modes-grid article h3{max-width:320px}
#home .modes-grid article p{max-width:340px}
#home .landing-values{background:#30241f}
#home .landing-safety{padding-top:106px;padding-bottom:106px}
#home .landing-faq{padding-top:106px;padding-bottom:106px}
#home .landing-closing{background:#a9553e}

/* Les transitions guident l'oeil ; le contenu reste visible sans JavaScript. */
@media (prefers-reduced-motion:no-preference){
  #home .olive-hero-copy h1{animation:hero-rise .9s .08s var(--landing-ease) both}
  #home .olive-hero-copy>p{animation:hero-rise .9s .2s var(--landing-ease) both}
  #home .hero-actions{animation:hero-rise .9s .32s var(--landing-ease) both}
  #home .olive-hero-photo{animation:hero-photo-in 1.15s .1s var(--landing-ease) both}
  #home .olive-hero-photo img{animation:hero-photo-scale 1.3s .1s var(--landing-ease) both}
  #home.motion-ready [data-reveal]{opacity:.82;transform:translateY(20px);transition:opacity .7s var(--landing-ease),transform .7s var(--landing-ease)}
  #home.motion-ready [data-reveal].is-visible{opacity:1;transform:none}
  #home.motion-ready .pathway[data-reveal].is-visible:hover{transform:translateY(-8px)}
  #home.motion-ready .offer-card[data-reveal].is-visible:hover{transform:translateY(-5px)}
  #home.motion-ready [data-reveal][data-delay="1"]{transition-delay:.1s}
  #home.motion-ready [data-reveal][data-delay="2"]{transition-delay:.18s}
}
@keyframes hero-rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes hero-photo-in{from{opacity:.4;clip-path:inset(0 0 100% 0 round 12px)}to{opacity:1;clip-path:inset(0 0 0 0 round 12px)}}
@keyframes hero-photo-scale{from{transform:scale(1.11)}to{transform:scale(1.025)}}

@media(max-width:1100px){
  #home .olive-hero{min-height:560px;height:600px}
  #home .olive-hero h1{font-size:clamp(3.15rem,5.1vw,4.6rem)}
  #home .olive-hero-copy{padding-left:42px}
  #home .hero-actions{align-items:flex-start;flex-direction:column;gap:8px}
  #home .pathway figure{height:310px}
  #home .pathway-family figure{height:250px}
  #home .offer-card.free{grid-template-columns:1fr 1fr}
  #home .offer-card.free .button{justify-self:start}
}
@media(max-width:850px){
  .site-header{height:72px;width:calc(100% - 40px)}
  #home .olive-hero{grid-template-columns:1fr 1fr;min-height:530px;height:560px}
  #home .olive-hero-copy{padding:30px}
  #home .olive-hero h1{font-size:clamp(2.5rem,4.9vw,3.5rem);white-space:normal}
  #home .olive-hero-copy>p:not(.hero-reassurance){font-size:1rem}
  #home .olive-hero-photo{margin:16px 16px 16px 0}
  #home .landing-pathways{padding:80px 0}
  #home .pathway-family{margin-top:45px}
  #home .pathway figure{height:250px}
  #home .pathway-family figure{height:220px}
  #home .pathway>div{padding:24px}
  #home .pathway h3{font-size:1.9rem}
  #home .landing-situations{padding:80px 0}
  #home .landing-interlude{height:350px;margin-top:-42px;margin-bottom:-42px}
  #home .situations-grid{grid-template-columns:1fr;gap:32px}
  #home .situations-grid>div:first-child{position:static}
  #home .landing-bilan,#home .landing-offers{padding:80px 0}
  #home .modes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #home .mode-intro{grid-column:1/-1}
  #home .modes-grid article figure{height:245px}
}
@media(min-width:651px) and (max-width:850px){
  #home .olive-hero h1{font-size:clamp(2rem,4.25vw,2.3rem);white-space:nowrap}
  #home .olive-hero h1 br{display:block}
}
@media(max-width:650px){
  .site-header{height:68px;min-height:68px}
  .site-header .brand{font-size:1.08rem}
  .site-header .brand-symbol{width:40px;height:40px}
  #home .olive-hero{width:calc(100% - 20px);margin:0 auto;display:flex;flex-direction:column;min-height:0;height:auto}
  #home .hero-light{inset:0;background:radial-gradient(circle at 20% 0%,#f8ece3,#ead8ca 72%)}
  #home .olive-hero-copy{order:0;padding:34px 26px 30px;align-self:stretch}
  #home .olive-hero h1{font-size:clamp(2.65rem,11.4vw,4rem);line-height:1.04;margin-bottom:19px;white-space:normal}
  #home .olive-hero h1 br{display:block}
  #home .olive-hero-copy>p:not(.hero-reassurance){max-width:400px;margin-bottom:22px;font-size:1rem}
  #home .hero-actions{gap:4px}
  #home .hero-actions .button{width:auto;min-width:190px}
  #home .hero-link{margin:0}
  #home .olive-hero-photo{order:1;height:260px;min-height:260px;align-self:stretch;margin:0 12px 12px;border-radius:10px}
  #home .olive-hero-photo img{object-position:50% 34%}
  #home .landing-pathways{padding:66px 0 70px}
  #home .section-heading{margin-bottom:28px}
  #home .section-heading p{margin-top:14px}
  #home .pathway-grid{grid-template-columns:1fr;gap:18px}
  #home .pathway-family{margin-top:0}
  #home .pathway figure,#home .pathway-family figure{height:235px}
  #home .pathway>div{padding:23px 24px 26px}
  #home .pathway h3{font-size:2rem}
  #home .landing-situations{padding:66px 0}
  #home .landing-interlude{width:calc(100% - 20px);height:270px;margin-top:-30px;margin-bottom:-30px;border-radius:10px}
  #home .landing-interlude img{object-position:62% 50%}
  #home .situation-list button{min-height:70px}
  #home .situation-list button span{font-size:1rem}
  #home .landing-bilan,#home .landing-offers{padding:66px 0}
  #home .landing-example{transform:none}
  #home .offers-heading{margin-bottom:28px}
  #home .offer-grid{grid-template-columns:1fr}
  #home .offer-card.free{grid-column:auto;display:flex;align-items:stretch;gap:0;padding:26px}
  #home .offer-card.free .offer-promise{margin-top:12px}
  #home .offer-card.free ul{margin:16px 0}
  #home .offer-card.free .button{width:100%}
  #home .offer-card:not(.free){min-height:0}
  #home .landing-modes{padding:66px 0}
  #home .modes-grid{grid-template-columns:1fr;gap:34px}
  #home .mode-intro{grid-column:auto;padding:0}
  #home .modes-grid article figure{height:240px;margin-bottom:18px}
  #home .landing-safety,#home .landing-faq{padding-top:66px;padding-bottom:66px}
}
@media(max-width:650px) and (prefers-reduced-motion:no-preference){
  #home .olive-hero-photo{animation:none;clip-path:none}
}
@media(prefers-reduced-motion:reduce){
  #home .olive-hero-copy h1,#home .olive-hero-copy>p,#home .hero-actions,#home .olive-hero-photo,#home .olive-hero-photo img{animation:none!important}
  #home .pathway,#home .pathway figure img,#home .landing-example,#home .offer-card,#home .situation-list button,#home .situation-list button:before{transition:none!important;transform:none!important}
  #home .modes-grid article img{transition:none!important;transform:none!important}
  #home.motion-ready [data-reveal]{opacity:1!important;transform:none!important;transition:none!important}
}

/* Navigation : d'abord la situation, puis les informations sur le service. */
.desktop-nav{gap:clamp(16px,1.8vw,26px);align-items:center}
.desktop-nav a{position:relative;white-space:nowrap;font-size:.9rem}
.desktop-nav a::after{content:"";position:absolute;right:0;bottom:8px;left:0;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .22s var(--landing-ease)}
.desktop-nav a:is(:hover,:focus-visible)::after{transform:scaleX(1)}
.desktop-nav .nav-service{border-left:1px solid var(--landing-line);padding-left:clamp(16px,1.8vw,26px)}
.desktop-nav .nav-service::after{left:calc(1px + clamp(16px,1.8vw,26px))}
#home .pathway[id]{scroll-margin-top:24px}
.mobile-nav{width:min(1320px,calc(100% - 64px));margin:0 auto 14px;padding:22px 26px;display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;box-shadow:0 18px 35px #30241f12}
.mobile-nav-group{min-width:0}
.mobile-nav-label{padding:0 12px 7px;color:var(--landing-muted);font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.mobile-nav a{border-radius:8px;font-size:1.08rem;font-weight:600;min-height:46px}
.mobile-nav a:is(:hover,:focus-visible){background:#f5f0e8}
.mobile-nav button[data-start]{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:10px;padding:13px 18px;border-radius:28px;background:var(--landing-forest);color:var(--landing-linen);font-weight:600}
.mobile-nav button[data-start]:hover{background:var(--landing-olive)}
.mobile-nav button[data-start] span{font-size:1.2rem}
@media(max-width:980px){
  .desktop-nav{display:none}
  .site-header .header-cta{margin-left:auto}
  .menu-toggle{display:flex;margin-left:0}
}
@media(max-width:650px){
  .menu-toggle{margin-left:auto}
  .mobile-nav{width:calc(100% - 40px);grid-template-columns:1fr;gap:14px;padding:18px}
  .mobile-nav-group+.mobile-nav-group{border-top:1px solid #30241f25;padding-top:14px}
  .mobile-nav button[data-start]{grid-column:1;margin-top:2px}
}
@media(prefers-reduced-motion:reduce){
  .desktop-nav a::after{transition:none}
  .mobile-nav:not([hidden]){animation:none}
}

/* Accueil photographique : une image composée pour laisser le texte respirer. */
#home .olive-hero{
  display:flex;
  align-items:center;
  min-height:650px;
  height:auto;
  aspect-ratio:1672/941;
  background:#30241f;
}
#home .olive-hero-photo{
  position:absolute;
  z-index:0;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  border-radius:0;
  box-shadow:none;
  animation:none!important;
  clip-path:none!important;
}
#home .olive-hero-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transform:none;
  animation:none!important;
}
#home .hero-light{
  z-index:1;
  inset:0;
  background:linear-gradient(90deg,#211c19ed 0%,#25201ddd 30%,#30241f8f 51%,#30241f21 72%,#30241f0a 100%);
}
#home .olive-hero-copy{
  z-index:2;
  align-self:center;
  width:min(58%,790px);
  padding:56px clamp(48px,6vw,100px);
  color:#fff8f1;
}
#home .olive-hero h1{
  font-size:clamp(3.3rem,5vw,5.3rem);
  white-space:normal;
}
#home .olive-hero h1 span{color:#efbb9f}
#home .olive-hero-copy>p:not(.hero-reassurance){color:#fff8f1;max-width:480px}
#home .hero-actions .landing-dark{background:#fff8f1;color:#30241f;box-shadow:0 10px 30px #17110e35}
#home .hero-actions .landing-dark:hover{background:#f0d2c1;color:#30241f}
#home .hero-link{color:#fff8f1}
#home .hero-link:hover{color:#efbb9f}

/* Une image de fond discrète donne de la profondeur au cadre éditorial. */
#home .landing-values{
  background:linear-gradient(90deg,#30241ff5,#30241fe3),url('assets/conversation.webp') center 48%/cover;
}
#home .modes-grid article figure{height:auto;aspect-ratio:4/3}
#home .modes-grid article img{object-position:center}

@media(max-width:1024px){
  #home .olive-hero{display:flex;flex-direction:column;align-items:stretch;min-height:0;height:auto;aspect-ratio:auto;background:#ead8ca}
  #home .hero-light{display:none}
  #home .olive-hero-copy{order:0;align-self:stretch;width:100%;padding:46px 42px 34px;color:var(--landing-forest)}
  #home .olive-hero h1{font-size:clamp(3rem,5.5vw,4.5rem);white-space:normal}
  #home .olive-hero h1 span{color:var(--landing-olive)}
  #home .olive-hero-copy>p:not(.hero-reassurance){color:#514039}
  #home .hero-actions{flex-direction:row;align-items:center;gap:22px}
  #home .hero-actions .landing-dark{background:var(--landing-forest);color:#fff8f1}
  #home .hero-actions .landing-dark:hover{background:var(--landing-olive);color:#fff8f1}
  #home .hero-link{color:var(--landing-forest)}
  #home .hero-link:hover{color:var(--landing-olive)}
  #home .olive-hero-photo{position:relative;order:1;inset:auto;width:calc(100% - 32px);height:auto;aspect-ratio:1672/941;margin:0 16px 16px;border-radius:10px}
  #home .olive-hero-photo img{object-fit:contain}
}
@media(max-width:650px){
  #home .olive-hero-copy{padding:38px 26px 30px}
  #home .olive-hero h1{font-size:clamp(2.7rem,10.5vw,4rem)}
  #home .hero-actions{align-items:flex-start;flex-direction:column;gap:8px}
  #home .hero-actions .button{width:auto;min-width:190px}
  #home .olive-hero-photo{width:calc(100% - 24px);height:auto;min-height:0;margin:0 12px 12px}
}
