:root{
  --bg: #f7f6f3;
  --card: #ffffff;
  --ink: #1b1b1f;
  --muted:#5a5f6a;
  --line:#e6e3dd;
  --accent:#1d6b5c;
  --shadow: 0 10px 24px rgba(27,27,31,.08);
  --radius: 18px;
  --max: 1080px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background: var(--bg);
}

a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}

.skip{
  position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden
}
.skip:focus{
  left:18px;top:16px;width:auto;height:auto;
  padding:10px 12px;background:#fff;border:1px solid var(--line);
  border-radius:12px;box-shadow:var(--shadow)
}

.header{
  position:sticky;top:0;z-index:50;
  background: rgba(247,246,243,.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0}
.brand{display:flex;align-items:center;gap:10px;font-weight:800}
.brand__mark{width:34px;height:34px;border-radius:12px;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow)}
.menu{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.menu a{color:var(--muted);font-weight:600;font-size:14px}
.menu a:hover{color:var(--ink)}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  background: var(--accent);
  color:#fff;                 /* <-- TEXTE BLANC */
  font-weight:800;
  border:1px solid rgba(0,0,0,0);
  box-shadow: 0 10px 20px rgba(29,107,92,.18);
}

.btn:visited{ color:#fff; }   /* <-- évite le “gris/visité” */


.menu .btn,
.menu .btn:visited{
  color:#fff;
}


.btn:hover{filter:brightness(0.98)}
/* Empêche le style "visited" de casser la lisibilité des boutons ghost */
.btn:not(.btn--ghost):visited { 
  color:#fff; 
}
.btn--ghost:visited { 
  color: var(--muted); 
}

/* Bouton secondaire (Voir comment ça marche) : fond blanc + texte gris lisible */
.btn--ghost{
  background:#fff;
  color: var(--muted);
  border:1px solid var(--line);
  box-shadow:none;
}

.btn--ghost:hover{
  color: var(--ink);
  border-color: rgba(0,0,0,.12);
}

.btn--small{padding:10px 12px;border-radius:12px}

.hero{padding:42px 0 20px}
.hero__grid{display:grid;grid-template-columns: 1.15fr .85fr;gap:18px;align-items:start}
@media (max-width: 900px){.hero__grid{grid-template-columns:1fr}}

.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;border-radius:999px;
  background:#fff;border:1px solid var(--line);
  color:var(--muted);font-weight:600;font-size:13px;
}

h1{font-size:42px;line-height:1.08;margin:12px 0 10px}
@media (max-width: 520px){h1{font-size:34px}}
.accent{color:var(--accent)}

.lead{color:var(--muted);font-size:18px;line-height:1.55;max-width:66ch}
.cta{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 12px}

.checks{
  margin:12px 0 0;padding:0;list-style:none;
  display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-weight:600
}
.checks li{
  padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:#fff;
}

.card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card__head{padding:16px 16px 10px}
.card__title{margin:0;font-weight:900;font-size:16px}
.card__sub{margin:6px 0 0;color:var(--muted)}

.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 16px 16px}
@media (max-width: 520px){.stats{grid-template-columns:1fr}}
.stat{border:1px solid var(--line);border-radius:16px;padding:12px;background:#fff}
.stat__k{margin:0;color:var(--muted);font-size:12px;font-weight:700}
.stat__v{margin:6px 0 0;font-size:16px;font-weight:900}

.soft{margin:0 16px 16px;border:1px solid var(--line);border-radius:16px;padding:12px;background: #fbfaf7}
.soft__title{margin:0 0 8px;font-weight:900}
.soft__list{margin:0;padding-left:18px;color:var(--muted);line-height:1.7}
.tiny{margin:10px 0 0;color:var(--muted);font-size:13px;line-height:1.6}

.section{padding:42px 0}
.section--alt{background:#fbfaf7;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section__head{margin-bottom:16px}
h2{font-size:28px;margin:0 0 8px}
.section__head p{margin:0;color:var(--muted);max-width:75ch}

.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media (max-width: 900px){.grid3{grid-template-columns:1fr}}
.feature{
  background:#fff;border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;box-shadow: var(--shadow);
}
.feature h3{margin:0 0 8px;font-size:18px}
.feature p{margin:0;color:var(--muted);line-height:1.65}

.steps{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.step{
  display:flex;gap:12px;background:#fff;border:1px solid var(--line);
  border-radius: var(--radius);padding:16px;box-shadow: var(--shadow);
}
.step__n{
  width:34px;height:34px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background: rgba(29,107,92,.12);
  border:1px solid rgba(29,107,92,.25);
  font-weight:900;color:var(--accent);
}
.step h3{margin:0 0 6px;font-size:18px}
.step p{margin:0;color:var(--muted);line-height:1.65}

.about{display:grid;grid-template-columns: .9fr 1.1fr;gap:14px;align-items:center}
@media (max-width: 900px){.about{grid-template-columns:1fr}}
.about__photo{
  display:flex;
  align-items:center;
  justify-content:center;
}

.about__photo img{
  width:65%;                 /* un peu plus grande que 60% */
  max-width:380px;           /* limite propre */
  border-radius:20px;        /* angles arrondis visibles */
  object-fit:cover;
  display:block;
}



.photo__placeholder{
  height:260px;width:100%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  color:var(--muted);gap:8px;
}
.photo__placeholder span{font-size:28px}
.about__text p{color:var(--muted);line-height:1.75}
.about__badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.tag{
  background:#fff;border:1px solid var(--line);
  padding:8px 10px;border-radius:999px;
  font-weight:700;color:var(--muted);font-size:13px;
}

.faq{display:grid;gap:10px}
/* DETAILS (plus léger pour éviter double encadré) */
details{
  background:transparent;
  border:none;
  padding:0;
  box-shadow:none;
}

details summary{
  cursor:pointer;
  font-weight:500;
  list-style:none;
}

details summary::-webkit-details-marker{
  display:none;
}

details summary::before{
  content:"▸";
  display:inline-block;
  margin-right:8px;
}

details[open] summary::before{
  content:"▾";
}

details p{
  color:var(--muted);
  line-height:1.65;
  margin:12px 0 0;
}


.contact{display:grid;grid-template-columns:1.1fr .9fr;gap:12px}
@media (max-width: 900px){.contact{grid-template-columns:1fr}}
.panel{
  background:#fff;border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;box-shadow: var(--shadow);
}
.muted{color:var(--muted);margin-top:6px}
.contact__actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 8px}
.list{margin:10px 0 0;padding-left:18px;color:var(--muted);line-height:1.7}
.hr{border:0;border-top:1px solid var(--line);margin:14px 0}
.footer{padding:18px 0 6px;color:var(--muted);text-align:center}

.photo-examples{
  display:flex;
  justify-content:center;
  gap:25px;
  margin-top:20px;
  flex-wrap:wrap;
  text-align:center;
}

.photo-examples figure{
  max-width:180px;
}

.photo-examples img{
  width:180px;
  border-radius:12px;
  cursor:pointer;
  transition:transform 0.2s ease;
}

details summary {
  cursor: pointer;
  font-weight: normal;
}

details summary strong {
  font-weight: 800;
}


.photo-examples img:hover{
  transform:scale(1.05);
}

.photo-examples figcaption{
  margin-top:8px;
  font-size:13px;
  color:#555;
}

/* --- NAV MOBILE : une ligne scrollable --- */
/* --- NAV MOBILE : tout visible, retour à la ligne, pas collé au bord --- */
@media (max-width: 640px){

  .header { padding-right: env(safe-area-inset-right); padding-left: env(safe-area-inset-left); }

  .nav{
    align-items:flex-start;
    gap:10px;
    padding:12px 0;
  }

  /* Le logo prend moins de place */
  .brand__name{ font-size:16px; }
  .brand__mark{ width:30px; height:30px; border-radius:10px; }

  /* Menu : on autorise le retour à la ligne */
  .menu{
    flex-wrap:wrap;        /* ✅ plusieurs lignes autorisées */
    overflow:visible;      /* ✅ pas de scroll */
    max-width:none;
    gap:8px 10px;          /* un peu d’air */
    justify-content:flex-end;
    padding-right:8px;     /* ✅ évite l’effet “collé au bord droit” */
  }

  .menu a{
    white-space:normal;    /* autorise retour à la ligne si besoin */
    font-size:13px;        /* plus compact */
    line-height:1.2;
  }

  /* Bouton Contact plus petit (sinon il “mange” la place) */
  .menu .btn--small{
    padding:8px 10px;
    border-radius:12px;
  }
}



/* MODAL */
.modal{
  display:none;
  position:fixed;
  z-index:999;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.85);
  align-items:center;
  justify-content:center;
}

.modal-content{
  max-width:80%;
  max-height:80%;
  border-radius:16px;
}

.close{
  position:absolute;
  top:30px;
  right:40px;
  color:white;
  font-size:40px;
  cursor:pointer;
}

