/* Layout pages internes (Intervention + Nature) */

.shell{
  max-width: var(--max);
  margin: 34px auto 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 16px 18px;
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid var(--line);
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight: 850;
  letter-spacing:.2px;
}
.brand .dot{
  width:10px;height:10px;border-radius:999px;
  background: linear-gradient(135deg, var(--accent), rgba(15,23,42,.25));
}

.navlinks{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.navlink{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 650;
}
.navlink:hover{ background: rgba(15,23,42,.04); color: var(--text); }
.navlink.active{
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.82);
}
.navlink.cta{
  color:#fff;
  background: var(--accent);   /* ✅ couleur pleine, sans reflet */
  border-color: transparent;
}


.hero{
  position:relative;
  min-height: 340px;
  padding: 22px 22px 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.65)),
    var(--accentSoft),
    var(--hero-image, linear-gradient(135deg, rgba(15,23,42,.12), rgba(15,23,42,.04)));
  background-size: cover;
  background-position:center;
  border-bottom: 1px solid var(--line);
}
.heroInner{ max-width: 70ch; padding: 18px 4px; }
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:.25px; color: var(--muted);
}
.kicker::before{ content:""; width:10px; height:10px; border-radius:999px; background: var(--accent); }
.hero h1{ margin: 12px 0 8px; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.hero p{ margin:0; color:var(--muted); line-height:1.5; }
.heroCtas{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }

.pagehead{
  padding: 22px 22px 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.75)),
    radial-gradient(800px 260px at 12% 0%, var(--accentSoft), transparent 60%);
  border-bottom: 1px solid var(--line);
}
.pagehead h1{ margin:0 0 6px; font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
.pagehead p{ margin:0; color:var(--muted); max-width: 85ch; }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  font-weight: 700;
}
.btnPrimary{
  border-color: transparent;
  color: #fff;
  background: var(--accent);
}
.btnGhost{ background: rgba(255,255,255,.68); }

.content{ padding: 22px; }
.section{
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.74);
}
.section h2{ margin:0 0 10px; font-size:1.25rem; line-height:1.25; }

.grid3{ display:grid; grid-template-columns: repeat(3,1fr); gap:12px; }
@media (max-width: 900px){ .grid3{grid-template-columns:1fr} }

.card{
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.90);
}
.card b{ display:block; margin-bottom:6px; }
.card p{ margin:0; color:var(--muted); line-height:1.45; }

.form{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 900px){ .form{grid-template-columns:1fr} }

.field label{ display:block; font-weight:700; margin-bottom:6px; }
.field input, .field textarea{
  width:100%; padding:12px;
  border-radius:14px; border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  font: inherit;
}
.field textarea{ min-height:130px; resize:vertical; }

/* ------------------------------
   Typographie — contenu standard
   But : cohérence globale, sans écraser les blocs “spéciaux”
   (hero, boutons, cards, blocs WP, etc.)
   ------------------------------ */

/* Sous-titre pagehead */
.pagehead p{
  font-size: 1rem;
  line-height: var(--lh-base);
  max-width: var(--prose-max);
}

/* Largeur de lecture sur les sections de texte (CGV, légal, pages simples) */
.content > .section{
  max-width: var(--prose-max);
  margin-left: auto;
  margin-right: auto;
}

/* Hiérarchie simple (si aucune règle plus spécifique n’existe) */
.section h2{
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section h3{
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 18px 0 10px;
  letter-spacing: -0.01em;
}
.section h4{
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 16px 0 8px;
  letter-spacing: -0.01em;
}

/* Paragraphes et listes standards */
.section p{ margin: 0 0 14px; line-height: var(--lh-base); }
.section p:last-child{ margin-bottom: 0; }

.section ul, .section ol{
  margin: 0 0 14px;
  padding-left: 20px;
  line-height: var(--lh-base);
}
.section ul:last-child, .section ol:last-child{ margin-bottom: 0; }
.section li{ margin: 6px 0; }

/* Liens : visibles dans le contenu standard, sans toucher aux boutons */
.pagehead a:not(.btn):not(.navlink),
.section a:not(.btn):not(.navlink):not(.wpBtn):not(.wp-btn):not(.wp-btn-dark):not(.btnOutline){
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pagehead a:hover,
.section a:not(.btn):not(.navlink):not(.wpBtn):not(.wp-btn):not(.wp-btn-dark):not(.btnOutline):hover{
  text-decoration-thickness: 2px;
}

/* Blocs éditoriaux SEO / conversion */
.seoBlock{
  margin-top: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
}
.seoBlock h2{ margin-bottom: 10px; }
.seoBlock p + p{ margin-top: 12px; }

.notFoundWrap{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.notFoundWrap p{ max-width: 58ch; margin-left:auto; margin-right:auto; }
.notFoundActions{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 18px;
}
