/* Polices auto-hebergees. Aucun appel a un service exterieur : le site
   fonctionne hors ligne et en double-clic. Licences dans fonts/. */
@font-face{
  font-family:"Gambetta";
  src:url("fonts/Gambetta-Medium.woff2") format("woff2"),
      url("fonts/Gambetta-Medium.woff") format("woff");
  font-weight:500;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"Manrope";
  src:url("fonts/Manrope.ttf") format("truetype");
  font-weight:200 800;font-style:normal;font-display:swap;
}

/* ═══════════════════════════════════════════════
   ORATEVA, système visuel
   Palette Vallée, 10 valeurs, aucune autre couleur.
   Métriques de mise en page calées sur planboo.eco.
   ═══════════════════════════════════════════════ */
:root{
  --ink:#1C241D;
  --shadow:#2F3A28;
  --forest:#24473E;
  --kaki:#626B50;
  --ochre:#C08A3E;
  --sand:#D8C3A0;
  --linen:#F5EFE3;
  --olive-light:#A9BC85;
  --stone:#6B6650;
  --white:#FFFFFF;

  --brand:"Gambetta",Georgia,serif;
  --fn:"Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;

  --page:min(1280px,calc(100vw - 3rem));
  --hdr-h:90px;
  --r:4px;                    /* rayon des surfaces d'interface, charte Orateva */
  --r-img:14px;               /* rayon des photographies, Planboo est a 20px */
  --ease:cubic-bezier(.22,.61,.36,1);
  --sec-y:clamp(4.5rem,7vw,6.5rem);
}

*,*::before,*::after{box-sizing:border-box}

/* parcours au clavier : rien n'etait visible avant */
:focus{outline:none}
:focus-visible{outline:2px solid var(--ochre);outline-offset:3px;border-radius:2px}
.sec-dark :focus-visible,.phero :focus-visible,.hero :focus-visible,
.ftr :focus-visible,.next :focus-visible{outline-color:var(--olive-light)}

::selection{background:var(--sand);color:var(--ink)}
.sec-dark ::selection,.hero ::selection,.ftr ::selection{background:var(--olive-light);color:var(--ink)}

html{scroll-behavior:smooth;scroll-padding-top:var(--hdr-h);-webkit-text-size-adjust:100%}

body{
  margin:0;background:var(--linen);color:var(--ink);
  font-family:var(--fn);font-size:18px;line-height:1.78;
  font-weight:400;-webkit-font-smoothing:antialiased;overflow-x:hidden;
}

img,video,svg{max-width:100%;display:block}
img{height:auto}
a{color:inherit}

.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:16px;z-index:200;background:var(--ink);color:var(--linen);
  padding:10px 18px;border-radius:var(--r)}

.wrap{width:var(--page);margin-inline:auto}

/* ─────────── TYPOGRAPHIE ─────────── */
h1,h2,h3,h4{font-family:var(--brand);font-weight:500;margin:0;letter-spacing:-.014em;text-wrap:balance}
h1{font-size:clamp(3.05rem,6.7vw,5.75rem);line-height:1.06}
h2{font-size:clamp(2.05rem,4vw,3.5rem);line-height:1.12}
h3{font-size:clamp(1.35rem,1.8vw,1.62rem);line-height:1.22;letter-spacing:-.008em}
h4{font-size:1.18rem;line-height:1.3}
p{margin:0 0 1.15em}
p:last-child{margin-bottom:0}

.lead{font-size:clamp(1.16rem,1.55vw,1.34rem);line-height:1.62}
.light{color:var(--linen)}
p.light{color:rgba(245,239,227,.86)}
.note{font-size:.9rem;color:var(--stone);line-height:1.6}
p.note.light{color:rgba(245,239,227,.6)}
strong{font-weight:600}

.eyebrow{font-family:var(--fn);font-size:.7rem;font-weight:700;
  letter-spacing:.17em;text-transform:uppercase;color:var(--kaki);margin:0 0 1.1rem}
.eyebrow.light{color:var(--olive-light)}
.hero .eyebrow.light{color:rgba(245,239,227,.85);text-shadow:0 1px 12px rgba(28,36,29,.5)}

/* ─────────── EN-TÊTE ─────────── */
.hdr{position:fixed;inset:0 0 auto;z-index:100;height:var(--hdr-h);
  transition:background .35s var(--ease)}
.hdr-in{width:var(--page);margin-inline:auto;height:100%;
  display:flex;align-items:center;gap:2.4rem}
.hdr-logo{display:flex;align-items:center;margin-right:auto}
.hdr-logo img{height:40px;width:auto}   /* 142 px de large, minimum charte 136 */
.logo-dark{display:none}
.hdr.solid{background:rgba(245,239,227,.95);backdrop-filter:blur(16px)}
.hdr.solid .logo-dark,.hdr.on-light .logo-dark{display:block}
.hdr.solid .logo-light,.hdr.on-light .logo-light{display:none}

.hdr-nav{display:flex;gap:2rem;align-items:center}
.hdr-nav a{font-size:.875rem;font-weight:400;color:var(--linen);
  text-decoration:none;opacity:.88;transition:opacity .2s,color .2s}
.hdr-nav a:hover{opacity:1}
.hdr-nav a.here{color:var(--olive-light);opacity:1}
.hdr.solid .hdr-nav a,.hdr.on-light .hdr-nav a{color:var(--ink);opacity:.72}
.hdr.solid .hdr-nav a:hover,.hdr.on-light .hdr-nav a:hover{opacity:1}
.hdr.solid .hdr-nav a.here,.hdr.on-light .hdr-nav a.here{color:var(--forest);opacity:1}

.hdr-right{display:flex;align-items:center;gap:1.5rem}
.lang{display:flex;gap:.55rem}
.lang button{background:none;border:0;cursor:pointer;padding:2px 1px;
  font-family:var(--fn);font-size:.73rem;font-weight:700;letter-spacing:.09em;
  color:rgba(245,239,227,.72);transition:color .2s}
.lang button.on{color:var(--linen)}
.hdr.solid .lang button,.hdr.on-light .lang button{color:rgba(28,36,29,.6)}
.hdr.solid .lang button.on,.hdr.on-light .lang button.on{color:var(--ink)}

.burger{display:none;background:none;border:0;cursor:pointer;
  width:28px;height:18px;flex-direction:column;justify-content:space-between;padding:0}
.burger span{display:block;height:2px;background:var(--linen)}
.hdr.solid .burger span,.hdr.on-light .burger span{background:var(--ink)}

/* ─────────── BOUTONS ─────────── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--fn);font-size:.875rem;font-weight:500;
  min-height:44px;padding:.6rem 2rem;border-radius:999px;text-decoration:none;
  border:1.5px solid transparent;cursor:pointer;
  transition:background-color .16s var(--ease),color .16s var(--ease),border-color .16s var(--ease);
}
/* le survol inverse le bouton, il ne l'eclaircit pas */
.btn-solid{background:var(--ochre);color:var(--ink)}
.btn-solid:hover{background:var(--forest);color:var(--sand)}
.btn-dark{background:var(--forest);color:var(--linen)}
.btn-dark:hover{background:var(--ochre);color:var(--ink)}
/* l'appel a l'action du menu ne sert que sur mobile */
.hdr-nav .nav-cta{display:none}
.btn-ghost{border-color:rgba(245,239,227,.5);color:var(--linen)}
.btn-ghost:hover{background:var(--linen);border-color:var(--linen);color:var(--ink)}
.btn-line{border-color:rgba(28,36,29,.26);color:var(--ink)}
.btn-line:hover{background:var(--ink);border-color:var(--ink);color:var(--linen)}
.btn:active{transform:translateY(1px)}
.btn.wide{width:100%}

/* ─────────── OUVERTURE ─────────── */
.hero{position:relative;min-height:min(100svh,900px);display:flex;align-items:flex-end;overflow:hidden}
.hero-media{position:absolute;inset:0;z-index:0}
.hero-media video,.hero-media img{width:100%;height:100%;object-fit:cover}
.hero-veil{position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(28,36,29,.52) 0%,rgba(28,36,29,.24) 34%,rgba(28,36,29,.30) 62%,rgba(28,36,29,.72) 100%)}
.hero-in{position:relative;z-index:1;width:var(--page);margin-inline:auto;
  padding:0 0 clamp(4.5rem,10vh,7rem)}
.hero h1{color:var(--linen);max-width:17ch;margin-bottom:1.6rem}
.hero-sub{color:rgba(245,239,227,.92);font-size:clamp(1.05rem,1.4vw,1.24rem);
  line-height:1.62;max-width:54ch;margin-bottom:2.3rem}
.hero-cta{display:flex;gap:.85rem;flex-wrap:wrap}
.hero-scroll{position:absolute;left:50%;bottom:1.6rem;transform:translateX(-50%);
  z-index:1;color:rgba(245,239,227,.72)}

/* ouverture courte des pages intérieures */
.phero{background:var(--forest);
  padding:calc(var(--hdr-h) + clamp(3.6rem,6.5vw,5.6rem)) 0 clamp(3.4rem,6vw,5rem)}
.phero h1{color:var(--linen);max-width:19ch;font-size:clamp(2.5rem,4.8vw,3.9rem)}
.phero .lead{color:rgba(245,239,227,.86);max-width:56ch;margin-top:1.4rem}

/* ─────────── DÉCLARATION APRÈS L'OUVERTURE ─────────── */
.statement{background:var(--linen);padding:clamp(4.5rem,8.5vw,7.5rem) 0}
.statement-txt{
  font-family:var(--brand);font-weight:500;letter-spacing:-.014em;
  font-size:clamp(1.7rem,3.1vw,2.8rem);line-height:1.24;color:var(--ink);
  max-width:25ch;margin:0;
}
.statement-cta{display:flex;gap:.85rem;flex-wrap:wrap;margin-top:2.6rem}
.mt-cta{margin-top:2rem}
.mt-sec{margin-top:clamp(2.6rem,4vw,3.6rem)}
/* ─────────── FAIT SOURCE ─────────── */
.fact{background:var(--shadow);padding:clamp(4.5rem,8vw,7rem) 0;text-align:center}
.fact-in{max-width:52rem;margin-inline:auto}
.fact-mark{width:46px;height:46px;margin:0 auto 2rem;color:var(--olive-light)}
.fact-txt{font-family:var(--brand);font-weight:500;letter-spacing:-.014em;
  font-size:clamp(1.65rem,3vw,2.65rem);line-height:1.24;color:var(--linen);margin:0;
  text-wrap:balance}
.fact-txt strong{font-weight:500;color:var(--olive-light)}
.fact-src{margin:1.8rem 0 0;font-size:.7rem;font-weight:700;letter-spacing:.18em;
  text-transform:uppercase;color:var(--ochre)}

/* ─────────── SECTIONS ─────────── */
.sec{padding:var(--sec-y) 0}
.sec-dark{background:var(--forest)}
.sec-sand{background:var(--sand)}
/* sur sable, le kaki tombe a 3,27:1 et la pierre a 3,36:1.
   L'ombre olive passe a 6,96:1. */
.sec-sand .eyebrow{color:var(--shadow)}
.sec-sand .note,.sec-sand .step p,.sec-sand .who span,
.sec-sand .sec-head .lead{color:var(--shadow)}

.sec-head{max-width:46rem;margin-bottom:clamp(2.4rem,3.4vw,3.2rem)}
.sec-head .lead{margin-top:1.6rem;color:var(--stone)}
.sec-dark .sec-head .lead{color:rgba(245,239,227,.78)}

.split{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:clamp(2.2rem,5vw,5rem);align-items:start}
/* la colonne de titre accompagne la lecture : sans cela elle laissait
   jusqu'a 400 px de vide en face d'une colonne de texte longue */
@media (min-width:1001px){
  .split-l{position:sticky;top:calc(var(--hdr-h) + 3rem)}
}

/* ─────────── FIGURES ─────────── */
figure{margin:0}
.band{margin-top:clamp(3rem,5vw,4.5rem)}
.band img{width:100%;aspect-ratio:21/9;object-fit:cover;border-radius:var(--r-img)}
.duo{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.2rem,2.4vw,2.2rem);
  margin-top:clamp(2.6rem,4vw,3.4rem)}
.duo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r-img)}

/* ─────────── PARCOURS EN ÉTAPES ─────────── */
.steps{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2.5rem}
.step{transition:transform .3s var(--ease)}
.step:hover{transform:translateY(-4px)}
.step figure{margin-bottom:1.3rem;overflow:hidden;border-radius:var(--r-img)}
.step figure img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r-img)}
.step-n{display:block;font-family:var(--fn);font-size:.7rem;font-weight:700;font-variant-numeric:tabular-nums;
  letter-spacing:.17em;color:var(--kaki);margin-bottom:.55rem}
.sec-dark .step-n{color:var(--ochre)}
.step h3{margin-bottom:.6rem}
.step p{font-size:.96rem;color:var(--stone);line-height:1.66}
.sec-dark .step p{color:rgba(245,239,227,.75)}
.sec-dark .step h3{color:var(--linen)}

/* ─────────── LISTES EN APLATS ─────────── */
.track{list-style:none;margin:1.9rem 0 0;padding:0;display:flex;flex-direction:column;gap:.25rem}
.track li{padding:.85rem 1.1rem;font-size:.96rem;color:var(--ink);
  border-radius:var(--r);background:rgba(28,36,29,.055)}
.sec-dark .track li{background:rgba(245,239,227,.07);color:rgba(245,239,227,.9)}

.who{list-style:none;margin:2rem 0 0;padding:0;display:flex;flex-direction:column;gap:.35rem}
.who li{padding:1.15rem 1.25rem;background:rgba(28,36,29,.05);border-radius:var(--r);
  display:flex;flex-direction:column;gap:.28rem}
.who strong{font-size:.96rem;font-weight:600}
.who span{font-size:.9rem;color:var(--stone);line-height:1.58}

.steps-list{list-style:none;margin:2rem 0 0;padding:0;display:flex;flex-direction:column;gap:.55rem}
.steps-list li{display:flex;align-items:flex-start;gap:.8rem;
  font-size:.97rem;color:rgba(245,239,227,.82)}
.steps-list li::before{content:"";flex:0 0 auto;width:9px;height:9px;margin-top:.6rem;
  border-radius:50%;border:1.5px solid var(--olive-light)}
.steps-list li.done::before{background:var(--ochre);border-color:var(--ochre)}

/* ─────────── PROJET / CARTE ─────────── */
.puna-head{display:flex;justify-content:space-between;align-items:flex-end;
  gap:2rem;flex-wrap:wrap;margin-bottom:clamp(2.4rem,4vw,3.4rem)}
.puna-head-flush{margin-bottom:0}
.puna-status{margin:0;font-size:.86rem;font-weight:500;
  color:var(--olive-light);letter-spacing:.005em}

.puna-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(2rem,4vw,3.6rem);align-items:start}
.puna-img img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:var(--r-img)}

.map-block{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:clamp(2rem,4vw,3.6rem);align-items:center;margin-top:clamp(3.4rem,6vw,5rem)}
.map-card{background:rgba(245,239,227,.05);border-radius:var(--r);
  padding:clamp(1.2rem,2.2vw,2.2rem)}
.map-svg{width:100%;height:auto}
.map-lbl{font-family:var(--brand);font-size:15px;fill:var(--linen)}
.map-sub{font-family:var(--fn);font-size:8.5px;font-weight:700;letter-spacing:.15em;
  fill:var(--olive-light);text-transform:uppercase}
.map-side h3{margin-bottom:1rem}
.map-pulse{animation:pulse 3.6s var(--ease) infinite}
@keyframes pulse{0%{opacity:.32;r:9}70%{opacity:0;r:26}100%{opacity:0;r:26}}

/* ─────────── MRV ─────────── */
.mrv-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(2rem,4vw,4rem);align-items:center}
.mrv-img img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:var(--r-img)}

/* ─────────── À PROPOS ─────────── */
.about-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(2rem,4vw,4rem);align-items:center}
.about-img img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:var(--r-img)}

/* ─────────── CONTACT ─────────── */
.contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(2.4rem,5vw,4.5rem);align-items:start}
.form{display:flex;flex-direction:column;gap:1.05rem}
.form label{display:flex;flex-direction:column;gap:.45rem}
.form label > span:not(.err){font-size:.72rem;font-weight:700;letter-spacing:.11em;
  text-transform:uppercase;color:var(--kaki)}
.form input,.form select,.form textarea{
  font:inherit;font-size:.95rem;color:var(--ink);background:var(--white);
  border:1.5px solid rgba(28,36,29,.14);border-radius:var(--r);
  padding:.78rem .95rem;transition:border-color .2s}
.form input:focus,.form select:focus,.form textarea:focus{outline:none;border-color:var(--kaki)}
.form textarea{resize:vertical;min-height:7.5rem}
.form .btn{margin-top:.4rem}
.form label span em{font-style:normal;font-weight:400;text-transform:none;
  letter-spacing:0;color:var(--stone);font-size:.95em}
/* Etats de saisie. Aucune couleur hors palette : le champ fautif est
   souligne a l'ocre, le message est en ombre olive, 10,44:1 sur lin. */
.form .invalid{border-color:var(--ochre);border-width:2px}
.form .err{font-size:.82rem;font-weight:600;color:var(--shadow);line-height:1.4;
  text-transform:none;letter-spacing:0}
.form .err::before{content:"";display:inline-block;width:6px;height:6px;
  margin-right:.5rem;vertical-align:.08em;border-radius:50%;background:var(--ochre)}
.form-status{margin:.2rem 0 0;font-size:.88rem;line-height:1.5;color:var(--stone)}
.form-status.ok{color:var(--forest);font-weight:600}
.form-status.ko{color:var(--shadow);font-weight:600}

/* ─────────── LIEN VERS LA PAGE SUIVANTE ─────────── */
.next{background:var(--shadow);padding:clamp(3.4rem,6vw,5rem) 0}
.next-in{display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap}
.next h2{color:var(--linen);max-width:20ch;font-size:clamp(1.8rem,3vw,2.6rem)}

/* ─────────── PIED DE PAGE ─────────── */
.ftr{background:var(--ink);padding:clamp(3.6rem,5.5vw,5rem) 0 2rem}
.ftr-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);
  gap:clamp(2.4rem,5vw,5rem);align-items:start;padding-bottom:clamp(2.6rem,4vw,3.4rem)}
.ftr-logo{height:36px;width:auto;margin-bottom:1.5rem}
.ftr-line{font-family:var(--brand);font-size:clamp(1.2rem,1.9vw,1.55rem);
  color:var(--linen);max-width:24ch;margin:0;line-height:1.26}
.ftr-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.ftr-nav{display:flex;flex-direction:column;gap:.72rem}
.ftr-nav a{font-size:.9rem;color:rgba(245,239,227,.68);text-decoration:none;
  width:fit-content;transition:color .2s var(--ease)}
.ftr-nav a:hover{color:var(--olive-light)}
.ftr-h{font-size:.66rem;font-weight:700;letter-spacing:.17em;text-transform:uppercase;
  color:var(--olive-light);margin:0 0 1.1rem}
.ftr-adr{font-style:normal;display:flex;flex-direction:column;gap:.72rem;
  font-size:.9rem;color:rgba(245,239,227,.68);line-height:1.5}
.ftr-adr a{text-decoration:none;width:fit-content;transition:color .2s var(--ease)}
.ftr-adr a:hover{color:var(--olive-light)}
.pv-adr{font-style:normal;line-height:1.7;margin-top:1.4rem;color:rgba(245,239,227,.86)}
.pv-adr a{color:var(--olive-light);text-decoration:none}
.pv-adr a:hover{text-decoration:underline}

.ftr-base{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;
  flex-wrap:wrap;padding-top:1.8rem;font-size:.78rem;color:rgba(245,239,227,.42)}
.ftr-legal a{color:inherit;text-decoration:none;transition:color .2s var(--ease)}
.ftr-legal a:hover{color:rgba(245,239,227,.75)}
.ftr-soc{list-style:none;display:flex;gap:.55rem;margin:0;padding:0}
.ftr-soc a{display:flex;align-items:center;justify-content:center;width:36px;height:36px;
  border-radius:50%;color:rgba(245,239,227,.62);
  box-shadow:inset 0 0 0 1px rgba(245,239,227,.2);
  transition:color .2s var(--ease),box-shadow .2s var(--ease),background-color .2s var(--ease)}
.ftr-soc a:hover{color:var(--ink);background:var(--olive-light);box-shadow:inset 0 0 0 1px var(--olive-light)}

/* ─────────── APPARITIONS ─────────── */
.rv{opacity:0;transform:translateY(18px);
  transition:opacity .75s var(--ease),transform .75s var(--ease)}
.rv.in{opacity:1;transform:none}

/* ─────────── RESPONSIVE ─────────── */
@media (max-width:1000px){
  .split,.puna-grid,.map-block,.mrv-grid,.about-grid,.contact-grid,.ftr-top{
    grid-template-columns:1fr}
  .mrv-img{max-width:26rem}
  .about-img{max-width:30rem}
}
@media (max-width:760px){
  :root{--page:calc(100vw - 2.4rem);--hdr-h:68px}
  body{font-size:16.5px}
  .hdr-logo img{height:31px}
  .hdr-nav{position:fixed;inset:var(--hdr-h) 0 auto;background:var(--linen);
    flex-direction:column;gap:0;align-items:stretch;padding:1rem 1.2rem 1.6rem;
    transform:translateY(-140%);transition:transform .38s var(--ease)}
  .hdr-nav.open{transform:none}
  .hdr-nav a{color:var(--ink);font-size:1.05rem;padding:.82rem .1rem;opacity:.85}
  /* l'appel a l'action suit dans le menu, il disparaissait de l'en-tete */
  .hdr-nav a.nav-cta{display:inline-flex;margin-top:1rem;opacity:1;
    font-size:.875rem;padding:.6rem 2rem;color:var(--linen)}
  .burger{display:flex}
  .hdr-right .btn{display:none}
  .hero h1{font-size:clamp(2.45rem,8.8vw,3.3rem);max-width:none}
  .hero-sub{font-size:1rem}
  .duo{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr;gap:2.6rem}
  .ftr-cols{grid-template-columns:1fr;gap:2.2rem}
  .ftr-base{flex-direction:column;align-items:flex-start;gap:1.1rem}
  .next-in{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important}
  .rv{opacity:1;transform:none}
  html{scroll-behavior:auto}
}
