/* ============================================
   VERDALYS — mon-mur-vegetal.fr
   Persona : office manager, dirigeant, architecte d'intérieur, particulier premium.
   Design : galerie d'architecture. Beaucoup de blanc, vert forêt profond,
   typographie fine et large interlettrage, filets discrets, images plein cadre.
   ADN opposé à Frigalis (industriel) et Fornetto (trattoria chaleureuse).
   ============================================ */
:root {
  --foret: #1d3a2b;
  --foret-clair: #2f5c44;
  --mousse: #7a9a60;
  --sauge: #9db89f;
  --lin: #f7f6f1;
  --lin-2: #eeeee6;
  --craie: #ffffff;
  --encre: #222824;
  --gris: #6f7873;
  --ligne: #dfe2da;
  --or: #b08d49;
  --radius: 2px;
  --shadow: 0 20px 60px rgba(29, 58, 43, .10);
  --titre: "Georgia", "Times New Roman", serif;
  --texte: "Helvetica Neue", "Segoe UI", system-ui, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--texte); color: var(--encre); background: var(--craie); line-height: 1.8; font-size: 17px; font-weight: 300; }
img { max-width: 100%; display: block; }
a { color: var(--foret-clair); }
strong, b { font-weight: 600; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Bandeau ---------- */
.topbar { background: var(--foret); color: var(--sauge); font-size: 12px; padding: 10px 0; letter-spacing: 2px; text-transform: uppercase; }
.topbar .container { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }

/* ---------- Header ---------- */
header.site { background: var(--craie); border-bottom: 1px solid var(--ligne); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; gap: 24px; }
.logo { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--foret); }
.logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.logo b { font-family: var(--titre); font-size: 24px; font-weight: 400; letter-spacing: 4px; text-transform: uppercase; display: block; line-height: 1; }
.logo small { display: block; font-size: 9.5px; color: var(--gris); letter-spacing: 3px; text-transform: uppercase; margin-top: 4px; }
nav.menu { display: flex; gap: 6px; align-items: center; }
nav.menu > div { position: relative; }
nav.menu a.item { display: block; white-space: nowrap; padding: 10px 12px; color: var(--encre); text-decoration: none; font-size: 13px; font-weight: 400; letter-spacing: 1.4px; text-transform: uppercase; }
nav.menu a.item:hover { color: var(--foret-clair); }
.sub { display: none; position: absolute; top: 100%; left: 0; background: var(--craie); border: 1px solid var(--ligne); box-shadow: var(--shadow); min-width: 274px; padding: 10px 0; }

/* Sous-menus : survol reserve au desktop (sinon :focus-within empeche de replier sur mobile) */
@media (min-width: 981px) {
  nav.menu > div:hover > .sub,
  nav.menu > div:focus-within > .sub { display: block; }
  nav.menu > div > a.item::after { content: "▾"; font-size: .72em; margin-left: 6px; opacity: .55; vertical-align: middle; }
}
.sub a { display: block; padding: 10px 22px; text-decoration: none; color: var(--encre); font-size: 14.5px; letter-spacing: .2px; }
.sub a:hover { background: var(--lin); color: var(--foret); }
.btn { display: inline-block; white-space: nowrap; background: var(--foret); color: #fff !important; text-decoration: none; font-weight: 400; padding: 15px 32px; border: 1px solid var(--foret); cursor: pointer; font-size: 12.5px; letter-spacing: 2.2px; text-transform: uppercase; transition: background .2s, color .2s; font-family: var(--texte); border-radius: var(--radius); }
.btn:hover { background: transparent; color: var(--foret) !important; }
.btn.ghost { background: transparent; color: var(--foret) !important; }
.btn.ghost:hover { background: var(--foret); color: #fff !important; }
.btn.big { padding: 18px 42px; font-size: 13.5px; }
nav.menu > a.btn { flex-shrink: 0; }
.burger { display: none; background: none; border: 0; font-size: 25px; cursor: pointer; color: var(--foret); }
.sub-toggle { display: none; }

/* ---------- Hero pleine largeur ---------- */
.hero { position: relative; background: var(--foret); color: var(--craie); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; opacity: .40; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .container { position: relative; z-index: 1; padding-top: 128px; padding-bottom: 128px; max-width: 900px; text-align: center; }
.hero h1 { font-family: var(--titre); font-size: 52px; line-height: 1.18; margin-bottom: 26px; font-weight: 400; letter-spacing: .5px; }
.hero h1 em { font-style: italic; color: var(--sauge); }
.hero p.lead { font-size: 19px; color: var(--lin-2); margin: 0 auto 38px; max-width: 620px; font-weight: 300; }
.hero .btn { background: var(--craie); color: var(--foret) !important; border-color: var(--craie); }
.hero .btn:hover { background: transparent; color: var(--craie) !important; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.alt { background: var(--lin); }
section.foret { background: var(--foret); color: var(--lin-2); }
section.foret h2.title, section.foret h3 { color: var(--craie); }
section.foret .card { background: transparent; border-color: rgba(255,255,255,.16); }
section.foret .card p { color: var(--sauge); }
.kicker { font-size: 11.5px; letter-spacing: 3.4px; text-transform: uppercase; color: var(--gris); margin-bottom: 18px; }
h2.title { font-family: var(--titre); font-size: 38px; color: var(--foret); margin-bottom: 20px; line-height: 1.3; font-weight: 400; }
p.sub-title { color: var(--gris); max-width: 660px; margin-bottom: 52px; font-size: 17.5px; font-weight: 300; }
.center { text-align: center; }
.center p.sub-title { margin-left: auto; margin-right: auto; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.card { background: var(--craie); border: 1px solid var(--ligne); padding: 36px 30px; border-radius: var(--radius); }
.card h3 { font-family: var(--titre); color: var(--foret); font-size: 21px; margin-bottom: 13px; font-weight: 400; }
.card p { font-size: 15.5px; color: var(--gris); margin-bottom: 18px; font-weight: 300; }
.card .tag { display: inline-block; color: var(--gris); font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; margin-bottom: 14px; }
.card a.more { font-size: 12.5px; letter-spacing: 1.8px; text-transform: uppercase; text-decoration: none; color: var(--foret); border-bottom: 1px solid var(--sauge); padding-bottom: 3px; }
.card a.more:hover { border-color: var(--foret); }
.media { margin: -36px -30px 24px; overflow: hidden; }
.media img { width: 100%; height: 230px; object-fit: cover; transition: transform .7s; }
.card:hover .media img { transform: scale(1.05); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; counter-reset: step; }
.step { border-top: 1px solid var(--ligne); padding-top: 26px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--titre); font-size: 15px; color: var(--sauge); letter-spacing: 2px; display: block; margin-bottom: 14px; }
.step h3 { font-family: var(--titre); font-size: 19px; color: var(--foret); margin-bottom: 10px; font-weight: 400; }
.step p { font-size: 14.5px; color: var(--gris); font-weight: 300; }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; }
table.prix { width: 100%; border-collapse: collapse; background: var(--craie); }
table.prix th { background: transparent; color: var(--foret); text-align: left; padding: 16px 20px; font-size: 11.5px; letter-spacing: 2.2px; text-transform: uppercase; font-weight: 400; border-bottom: 2px solid var(--foret); }
table.prix td { color: var(--encre); padding: 17px 20px; border-bottom: 1px solid var(--ligne); font-size: 15.5px; font-weight: 300; }
table.prix td strong { color: var(--foret); font-weight: 600; }

/* ---------- Images ---------- */
figure.illus { margin: 46px 0; }
figure.illus img { width: 100%; height: 400px; object-fit: cover; }
figure.illus figcaption { color: var(--gris); font-size: 13px; padding: 14px 2px; letter-spacing: .4px; border-bottom: 1px solid var(--ligne); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { cursor: pointer; font-family: var(--titre); padding: 28px 50px 28px 0; color: var(--foret); font-size: 20px; font-weight: 400; list-style: none; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 26px; font-size: 22px; color: var(--sauge); font-family: var(--texte); font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 60px 28px 0; color: var(--gris); font-size: 15.5px; font-weight: 300; }

/* ---------- CTA ---------- */
.cta-band { background: var(--foret); color: var(--craie); padding: 76px 60px; text-align: center; }
.cta-band h2 { font-family: var(--titre); font-size: 34px; margin-bottom: 14px; font-weight: 400; }
.cta-band p { color: var(--sauge); margin-bottom: 32px; font-weight: 300; }
.cta-band .btn { background: var(--craie); color: var(--foret) !important; border-color: var(--craie); }
.cta-band .btn:hover { background: transparent; color: var(--craie) !important; }

/* ---------- Formulaire ---------- */
.devis-box { max-width: 700px; margin: 0 auto; background: var(--craie); border: 1px solid var(--ligne); padding: 48px; scroll-margin-top: 130px; }
.progress { height: 2px; background: var(--lin-2); margin-bottom: 40px; }
.progress > div { height: 100%; background: var(--foret); width: 20%; transition: width .4s; }
.f-step { display: none; }
.f-step.on { display: block; animation: fade .35s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.f-step h2 { font-family: var(--titre); color: var(--foret); font-size: 26px; margin-bottom: 10px; font-weight: 400; }
.f-step p.help { color: var(--gris); font-size: 15px; margin-bottom: 30px; font-weight: 300; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.choice { border: 1px solid var(--ligne); padding: 22px 18px; cursor: pointer; font-size: 15.5px; text-align: center; transition: all .2s; background: var(--craie); color: var(--encre); }
.choice small { display: block; color: var(--gris); font-size: 12.5px; margin-top: 6px; font-weight: 300; }
.choice:hover { border-color: var(--sauge); background: var(--lin); }
.choice.sel { border-color: var(--foret); background: var(--lin); }
.fields { display: grid; gap: 20px; margin-bottom: 30px; }
.fields label { font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--foret); display: block; margin-bottom: 9px; }
.fields input, .fields select, .fields textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--ligne); font-size: 16px; font-family: inherit; background: var(--craie); font-weight: 300; }
.fields input:focus, .fields select:focus, .fields textarea:focus { outline: none; border-color: var(--foret); }
.f-nav { display: flex; justify-content: space-between; gap: 16px; }
.rgpd { font-size: 12px; color: var(--gris); margin-top: 20px; font-weight: 300; }
.merci { text-align: center; padding: 40px 10px; }
.merci .pic { font-size: 50px; margin-bottom: 18px; }
.merci h2 { font-family: var(--titre); color: var(--foret); margin-bottom: 14px; font-size: 28px; font-weight: 400; }

/* ---------- Footer ---------- */
footer.site { background: var(--foret); color: var(--sauge); padding: 76px 0 32px; font-size: 14.5px; font-weight: 300; }
footer.site .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 48px; }
footer.site h4 { color: var(--craie); font-size: 11px; letter-spacing: 2.6px; text-transform: uppercase; margin-bottom: 18px; font-weight: 400; }
footer.site a { color: var(--sauge); text-decoration: none; display: block; padding: 5px 0; }
footer.site a:hover { color: var(--craie); }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; }

/* ---------- Landing SEA ---------- */
body.landing header.site .nav { justify-content: center; }
body.landing .hero .container { padding-top: 70px; padding-bottom: 70px; }

/* ---------- Responsive ---------- */
/* Ecrans intermediaires (petits portables) : on resserre la barre de navigation
   pour eviter que les 5 menus + le bouton ne debordent. */
@media (min-width: 981px) and (max-width: 1200px) {
  nav.menu { gap: 0; }
  nav.menu a.item { padding-left: 8px; padding-right: 8px; font-size: 13.5px; }
  nav.menu > a.btn { padding-left: 17px; padding-right: 17px; font-size: 14.5px; }
  .logo small { display: none; }
}

@media (max-width: 980px) {
  /* Bandeau : une seule accroche sur mobile, sur une ligne compacte */
  .topbar { font-size: 11.5px; padding: 6px 0; letter-spacing: .2px; }
  .topbar .container { flex-wrap: nowrap; justify-content: center; gap: 0; padding-left: 14px; padding-right: 14px; }
  .topbar span:not(:first-child) { display: none; }
  .topbar span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .grid-3, .grid-2, .steps, footer.site .cols { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 33px; }
  .hero .container { padding-top: 72px; padding-bottom: 72px; }
  h2.title { font-size: 28px; }
  section { padding: 58px 0; }
  figure.illus img { height: 250px; }
  nav.menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--craie); flex-direction: column; align-items: stretch; padding: 14px; box-shadow: var(--shadow); max-height: calc(100vh - 120px); overflow-y: auto; }
  nav.menu.open { display: flex; }
  nav.menu > div { position: relative; }
  .sub { position: static; display: none; box-shadow: none; border: 0; border-left: 1px solid var(--ligne); margin: 0 0 6px 14px; padding: 2px 0 2px 10px; }
  nav.menu > div.open > .sub { display: block; }
  .sub-toggle { display: block; position: absolute; right: 2px; top: 0; width: 48px; height: 42px; background: none; border: 0; font-size: 15px; color: var(--foret); cursor: pointer; transition: transform .2s; }
  nav.menu > div.open > .sub-toggle { transform: rotate(180deg); }
  nav.menu a.item { padding-right: 54px; }
  nav.menu > a.btn { margin-top: 10px; text-align: center; }
  .burger { display: block; }
  .choices { grid-template-columns: 1fr; }
  .cta-band { padding: 46px 26px; }
  .devis-box { padding: 28px; }
}
