/* Solutions Lacombe — feuille de style du site */
:root {
  --vert: #1f4d3f;
  --vert-fonce: #143429;
  --vert-pale: #e6efe9;
  --lac: #2f6f8f;
  --creme: #faf7f1;
  --sable: #f1ebdf;
  --texte: #1d2522;
  --texte-doux: #4d5a55;
  --accent: #c8702a;
  --accent-fonce: #a95a1c;
  --bouton: #ad5b1d;       /* 4,9:1 avec du blanc */
  --bouton-survol: #8a4614;
  --bordure: #dcd5c7;
  --blanc: #ffffff;
  --rayon: 14px;
  --ombre: 0 2px 4px rgba(20, 52, 41, .06), 0 8px 24px rgba(20, 52, 41, .08);
  --largeur: 1120px;
  --titres: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --corps: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--corps);
  font-size: 1.125rem; /* 18px : plus confortable à lire */
  line-height: 1.65;
  color: var(--texte);
  background: var(--creme);
}

img, svg { max-width: 100%; display: block; }

a { color: var(--lac); text-underline-offset: 3px; }
a:hover { color: var(--vert); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--titres);
  color: var(--vert-fonce);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }

.saut {
  position: absolute; left: -9999px; top: 0;
  background: var(--vert); color: #fff; padding: 10px 16px; z-index: 100;
}
.saut:focus { left: 10px; top: 10px; }

/* ---------- En-tête ---------- */
.entete {
  background: var(--creme);
  border-bottom: 1px solid var(--bordure);
  position: sticky; top: 0; z-index: 50;
}
.entete .conteneur {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--vert-fonce); }
.logo svg { width: 44px; height: 44px; flex: none; }
.logo-texte { font-family: var(--titres); font-weight: 700; font-size: 1.3rem; line-height: 1.1; }
.logo-texte small { display: block; font-family: var(--corps); font-weight: 500; font-size: .78rem; color: var(--texte-doux); letter-spacing: .02em; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 10px;
  text-decoration: none; color: var(--texte); font-weight: 500;
}
.nav a:hover { background: var(--vert-pale); color: var(--vert-fonce); }
.nav a[aria-current="page"] { color: var(--vert-fonce); background: var(--vert-pale); }
.nav .bouton { margin-left: 8px; color: #fff; }
.nav .bouton:hover { color: #fff; }

.menu-bouton {
  display: none; background: none; border: 2px solid var(--vert); color: var(--vert-fonce);
  border-radius: 10px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer;
}

@media (max-width: 860px) {
  .menu-bouton { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--creme); border-bottom: 1px solid var(--bordure); box-shadow: var(--ombre); }
  .nav.ouvert { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 4px; }
  .nav a { padding: 14px 12px; font-size: 1.15rem; }
  .nav .bouton { margin: 8px 0 0; text-align: center; }
}

/* ---------- Boutons ---------- */
.bouton {
  display: inline-block; background: var(--bouton); color: #fff;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 700; border: 0; font: inherit; font-weight: 700; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.bouton:hover, .nav .bouton:hover { background: var(--bouton-survol); color: #fff; }
.bouton:active { transform: translateY(1px); }
.bouton-secondaire { background: transparent; color: var(--vert-fonce); border: 2px solid var(--vert); padding: 12px 24px; }
.bouton-secondaire:hover { background: var(--vert); color: #fff; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-sable { background: var(--sable); }
.section-verte { background: var(--vert); color: #e9f1ec; }
.section-verte h2, .section-verte h3 { color: #fff; }
.intro { max-width: 720px; margin-bottom: 40px; }
.intro p { color: var(--texte-doux); font-size: 1.2rem; }
.section-verte .intro p { color: #cfe0d6; }
.surtitre { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-fonce); margin-bottom: 10px; }
.section-verte .surtitre { color: #f0b47c; }

@media (max-width: 640px) { .section { padding: 56px 0; } }

/* ---------- Accueil : héros ---------- */
.heros { padding: 72px 0 80px; position: relative; overflow: hidden; }
.heros .conteneur { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.heros p.lead { font-size: 1.3rem; color: var(--texte-doux); max-width: 34ch; }
.heros .garanties { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--vert-fonce); font-weight: 600; }
.heros .garanties li { display: flex; align-items: center; gap: 8px; }
.heros .garanties svg { width: 22px; height: 22px; flex: none; }
.heros-carte { background: var(--blanc); border-radius: 22px; box-shadow: var(--ombre); padding: 30px; border: 1px solid var(--bordure); }
.heros-carte h2 { font-size: 1.4rem; }
.heros-carte ol { margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.heros-carte li { counter-increment: etape; position: relative; padding: 0 0 18px 52px; }
.heros-carte li:last-child { padding-bottom: 0; }
.heros-carte li::before {
  content: counter(etape); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; background: var(--vert-pale); color: var(--vert-fonce);
  display: grid; place-items: center; font-weight: 700;
}
.heros-carte li strong { display: block; color: var(--vert-fonce); }
.heros-carte li span { color: var(--texte-doux); font-size: 1rem; }
.paysage { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none; opacity: .9; }

@media (max-width: 860px) {
  .heros { padding: 48px 0 110px; }
  .heros .conteneur { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Cartes de service ---------- */
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grille-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grille-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grille-2 { grid-template-columns: 1fr; } }

.carte {
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--rayon);
  padding: 28px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(20,52,41,.04);
}
.carte .icone { width: 52px; height: 52px; border-radius: 12px; background: var(--vert-pale); display: grid; place-items: center; margin-bottom: 18px; }
.carte .icone svg { width: 28px; height: 28px; }
.carte p { color: var(--texte-doux); }
.carte .prix { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--bordure); font-weight: 600; color: var(--vert-fonce); }
.carte .prix b { font-size: 1.5rem; font-family: var(--titres); }
.carte a.lien { font-weight: 600; margin-top: 12px; }

/* ---------- Avantages ---------- */
.avantages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.avantage { display: flex; gap: 18px; }
.avantage svg { width: 34px; height: 34px; flex: none; margin-top: 4px; }
.avantage h3 { margin-bottom: .3em; }
.avantage p { margin: 0; }
@media (max-width: 720px) { .avantages { grid-template-columns: 1fr; } }

/* ---------- Territoire ---------- */
.territoire { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.villes { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.villes li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 6px 14px; font-size: .98rem; }
.villes li.principale { background: var(--bouton); border-color: var(--bouton); color: #fff; font-weight: 700; }
@media (max-width: 860px) { .territoire { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Appel à l'action ---------- */
.appel { background: var(--vert-pale); border-radius: 22px; padding: 48px; display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.appel h2 { margin-bottom: .3em; }
.appel p { margin: 0; color: var(--texte-doux); max-width: 46ch; }
@media (max-width: 640px) { .appel { padding: 32px 24px; } }

/* ---------- En-tête de page intérieure ---------- */
.entete-page { padding: 64px 0 40px; }
.entete-page p { font-size: 1.25rem; color: var(--texte-doux); max-width: 46em; }

/* ---------- Services détaillés ---------- */
.service-detail { scroll-margin-top: 96px; display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; padding: 48px 0; border-top: 1px solid var(--bordure); }
.service-detail:first-of-type { border-top: 0; padding-top: 8px; }
.service-detail ul.coches { padding: 0; list-style: none; margin: 0 0 1em; }
.service-detail ul.coches li { position: relative; padding-left: 34px; margin-bottom: 8px; }
.service-detail ul.coches li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--vert-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4d3f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}
.encadre-prix { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 26px; box-shadow: var(--ombre); position: sticky; top: 100px; }
.encadre-prix .montant { font-family: var(--titres); font-size: 2.2rem; color: var(--vert-fonce); font-weight: 700; line-height: 1.1; }
.encadre-prix .note { font-size: .98rem; color: var(--texte-doux); }
.encadre-prix .bouton { width: 100%; text-align: center; margin-top: 8px; }
.exemples { font-size: 1rem; color: var(--texte-doux); background: var(--sable); border-radius: 10px; padding: 14px 18px; }
@media (max-width: 860px) {
  .service-detail { grid-template-columns: 1fr; gap: 20px; }
  .encadre-prix { position: static; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { background: var(--blanc); border: 1px solid var(--bordure); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--vert-fonce); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 18px; color: var(--texte-doux); }
.faq details > div p:last-child { margin: 0; }

/* ---------- À propos ---------- */
.apropos { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: 22px; background: var(--vert-pale);
  display: grid; place-items: center; color: var(--vert); border: 1px solid var(--bordure);
  text-align: center; font-size: .95rem; padding: 20px;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.parcours { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--vert-pale); }
.parcours li { padding: 0 0 22px 24px; position: relative; }
.parcours li::before { content: ""; position: absolute; left: -9px; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--vert); border: 3px solid var(--creme); }
.parcours .annees { font-size: .9rem; font-weight: 700; color: var(--accent-fonce); letter-spacing: .03em; }
.parcours strong { display: block; color: var(--vert-fonce); }
.parcours span { color: var(--texte-doux); font-size: 1rem; }
@media (max-width: 860px) { .apropos { grid-template-columns: 1fr; } .portrait { max-width: 260px; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
form .champ { margin-bottom: 20px; }
form label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--vert-fonce); }
form label .facultatif { font-weight: 400; color: var(--texte-doux); font-size: .95rem; }
form input, form select, form textarea {
  width: 100%; font: inherit; color: var(--texte); background: var(--blanc);
  border: 2px solid var(--bordure); border-radius: 10px; padding: 12px 14px;
}
form input:focus, form select:focus, form textarea:focus { border-color: var(--lac); outline: none; box-shadow: 0 0 0 3px rgba(47,111,143,.2); }
form textarea { min-height: 150px; resize: vertical; }
form .consentement { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--texte-doux); }
form .consentement input { width: 22px; height: 22px; flex: none; margin-top: 3px; }
.cache { position: absolute; left: -9999px; }
.message-form { padding: 14px 18px; border-radius: 10px; margin-top: 16px; display: none; }
.message-form.succes { display: block; background: var(--vert-pale); color: var(--vert-fonce); }
.message-form.erreur { display: block; background: #fbe7dc; color: #7a3410; }
.coordonnees { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 28px; }
.coordonnees dl { margin: 0; }
.coordonnees dt { font-weight: 700; color: var(--vert-fonce); margin-top: 16px; }
.coordonnees dt:first-child { margin-top: 0; }
.coordonnees dd { margin: 2px 0 0; overflow-wrap: anywhere; }

/* ---------- Texte légal ---------- */
.texte-long { max-width: 760px; }
.texte-long h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* ---------- Pied de page ---------- */
.pied { background: var(--vert-fonce); color: #c9d8cf; padding: 56px 0 32px; font-size: 1rem; }
.pied a { color: #fff; }
.pied .colonnes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.pied h2 { color: #fff; font-size: 1.1rem; font-family: var(--corps); margin-bottom: .8em; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 6px; }
.pied .logo { color: #fff; margin-bottom: 12px; }
.pied .logo-texte small { color: #a9c0b3; }
.pied .bas { border-top: 1px solid rgba(255,255,255,.15); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .92rem; }
@media (max-width: 760px) { .pied .colonnes { grid-template-columns: 1fr; gap: 24px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.nav .bouton[aria-current="page"] { background: var(--bouton-survol); color: #fff; }
