@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&family=EB+Garamond:wght@500;600&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');
@import url('./tokens.css');

/* DELTA-007 — fontes de marque locales.
   Les fichiers sont installés via bin/install-brand-fonts.php. */
@font-face {
  font-family: "EEV Luthon Southard";
  src: url('/assets/fonts/luthon-southard-serif.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "EEV Caveat";
  src: url('/assets/fonts/caveat-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-2);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.page { overflow: hidden; background: var(--paper-2); }
.container { width: min(calc(100% - (var(--gutter) * 2)), var(--container)); margin-inline: auto; }
.container-wide { width: min(calc(100% - 40px), var(--container-wide)); margin-inline: auto; }

.eyebrow {
  margin: 0 0 14px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .72;
}
.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: .96;
}
.section-title { font-size: var(--fs-h2); line-height: 1.02; }
.body-muted { color: var(--muted); }

.icon { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 22px; height: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--lime); color: var(--ink); box-shadow: 0 10px 24px rgba(196,216,47,.17); }
.btn-outline { border-color: rgba(18,49,42,.38); background: rgba(255,255,255,.45); }
.btn-small { min-height: 44px; padding-inline: 22px; font-size: 13px; }
.arrow { font-size: 20px; line-height: 1; }

/* header */
.site-header { padding: 18px 0 12px; position: relative; z-index: 5; }
.nav { display: grid; grid-template-columns: 330px 1fr auto; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 92px; height: 64px; object-fit: contain; flex: 0 0 auto; }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; white-space: nowrap; }
.brand-copy strong {
  display: block;
  font-family: "EEV Luthon Southard", "EB Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: .025em;
  line-height: .92;
}
.brand-copy small {
  display: block;
  margin-top: 4px;
  font-family: "EEV Caveat", "Caveat", cursive;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
  color: var(--ink);
}
.nav-links { display: flex; justify-content: center; gap: 36px; font-size: 13px; font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: 28px; }
.nav-tagline { display: flex; align-items: center; gap: 9px; font-size: 14px; line-height: 1.08; text-align: right; }
.nav-tagline .leaf-mini { font-size: 26px; color: var(--lime); transform: rotate(-22deg); }

/* hero */
.hero { position: relative; padding: 26px 0 42px; }
.hero::before, .faq::after, .contact::before {
  content: ""; position: absolute; pointer-events: none; opacity: .5;
  background-repeat: no-repeat; background-size: contain;
}
.hero::before {
  width: 150px; height: 235px; left: -22px; top: 72px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 240'%3E%3Cg fill='none' stroke='%2312312A' stroke-width='2' opacity='.45'%3E%3Cpath d='M5 220C65 180 76 92 137 18'/%3E%3Cpath d='M48 174c5-28 15-51 28-70'/%3E%3Cpath d='M76 104c-14-9-25-11-38-9 4 15 13 24 26 28'/%3E%3Cpath d='M93 80c-3-16-1-29 6-43 12 8 17 20 14 35'/%3E%3Cpath d='M54 153c-17-8-31-8-44-2 9 15 22 22 39 21'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 52px; }
.hero-copy { padding-left: 60px; }
.hero h1 { font-size: var(--fs-h1); max-width: 9.7ch; }
.hero .lead { margin: 22px 0 8px; font-family: var(--font-hand); font-size: 25px; color: #49625c; }
.hero .intro { max-width: 540px; margin: 0; font-size: 16px; color: #5b6a64; line-height: 1.45; }
.hero-actions { display: flex; gap: 18px; align-items: center; margin-top: 28px; }
.hero-phone { display: inline-flex; align-items: center; gap: 11px; line-height: 1.1; }
.hero-phone small { font-size: 11px; display: block; color: var(--muted); }
.hero-phone strong { display: block; font-size: 14px; }
.hero-visual { position: relative; padding-right: 26px; }
.hero-image { aspect-ratio: 364/265; object-fit: cover; border-radius: 50px 50px 18px 50px; }
.hero-leaf { position: absolute; width: 110px; left: -66px; bottom: 22px; opacity: .62; }

/* trust */
.trust-bar { background: rgba(246,244,236,.82); border-top: 1px solid rgba(18,49,42,.04); border-bottom: 1px solid rgba(18,49,42,.05); }
.trust-grid { min-height: 90px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; }
.trust-item { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 0 28px; font-size: 14px; line-height: 1.2; font-weight: 600; }
.trust-item + .trust-item { border-left: 1px solid rgba(18,49,42,.22); }

/* expertise */
.expertise { padding: 88px 0 105px; background: #fbfaf6; }
.section-heading-row { display: grid; grid-template-columns: 1fr 320px; gap: 70px; align-items: end; margin-bottom: 46px; }
.section-heading-row .description { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.card { border: 1px solid var(--line-soft); border-radius: var(--r-md); background: rgba(255,255,255,.78); box-shadow: var(--shadow); overflow: hidden; }
.card-media { position: relative; }
.card-media img { aspect-ratio: 2.28/1; object-fit: cover; border-radius: var(--r-md) var(--r-md) 0 0; }
.card-icon { position: absolute; left: 18px; bottom: -27px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid rgba(18,49,42,.09); color: var(--ink); }
.card-body { padding: 40px 24px 24px; }
.card h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 28px; line-height: 1.05; }
.card p { margin: 0 0 20px; color: #5e6f68; font-size: 15px; line-height: 1.36; min-height: 62px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; }

/* promise */
.promise { background: var(--ink-deep); color: white; }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 392px; }
.promise-image { width: 100%; height: 100%; object-fit: cover; }
.promise-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 62px 70px 50px; }
.promise-copy::after { content:"⌁"; position:absolute; right: 28px; top: 12px; color: var(--lime); font-size: 110px; font-family: Georgia, serif; transform: rotate(-25deg); opacity: .85; }
.promise .eyebrow { color: #fff; opacity: .76; }
.promise h2 { max-width: 650px; }
.promise p { margin: 24px 0 36px; max-width: 620px; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.48; }
.promise-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.promise-point { display: flex; align-items: center; gap: 14px; padding-right: 18px; font-size: 12px; line-height: 1.2; }
.promise-point + .promise-point { border-left: 1px solid rgba(255,255,255,.25); padding-left: 22px; }
.promise-point .icon { color: var(--lime); flex: 0 0 auto; }

/* method */
.method { padding: 64px 0 76px; background: #fbfaf6; position: relative; }
.method-head { display: grid; grid-template-columns: 1fr 220px; align-items: end; gap: 40px; margin-bottom: 45px; }
.method-note { justify-self: end; font-family: var(--font-hand); font-size: 25px; line-height: 1.1; transform: rotate(-2deg); }
.method-note::after { content:""; display:block; width: 90px; height: 3px; background: var(--lime); margin: 7px 0 0 22px; transform: rotate(-4deg); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.step { position: relative; padding-right: 26px; }
.step::before { content:""; position:absolute; top: 25px; left: 58px; right: 20px; height: 2px; background: linear-gradient(90deg, var(--lime), #d2dda0); }
.step:last-child::before { display:none; }
.step-num { width: 46px; height: 46px; display:grid; place-items:center; border-radius:50%; background:var(--ink-deep); color:white; font-weight:700; font-size:20px; position:relative; z-index:1; }
.step h3 { margin: 18px 0 8px; font-size: 17px; }
.step p { margin:0; font-size: 13px; line-height:1.35; color:var(--muted); max-width:220px; }

/* projects */
.projects { padding: 52px 0 66px; background: var(--paper); }
.projects-head { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:34px; }
.projects-head .text-link { margin-bottom: 6px; font-size: 13px; }
.projects-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.project-card img { aspect-ratio: 1.6/1; object-fit: cover; border-radius: 16px; }
.project-label { display:inline-block; transform: translateY(-13px); margin-left: 16px; background:#fff; border:1px solid var(--line-soft); border-radius: var(--r-pill); padding:7px 14px; font-size:12px; font-weight:600; box-shadow: 0 7px 16px rgba(18,49,42,.05); }
.project-location { margin: -6px 0 0 16px; font-size: 11px; color: var(--muted); }

/* testimonials */
.testimonials { padding: 46px 0 52px; background: var(--ink-deep); color:white; }
.testimonials-head { display:grid; grid-template-columns: 1fr 1fr; gap:40px; align-items:end; margin-bottom:34px; }
.testimonials h2 { font-size: 43px; }
.stats { display:grid; grid-template-columns:repeat(3,1fr); }
.stat { min-height:64px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; font-size:11px; line-height:1.2; color:rgba(255,255,255,.75); }
.stat + .stat { border-left:1px solid rgba(255,255,255,.23); }
.stat strong { display:block; color:var(--lime); font-size:28px; line-height:1; margin-bottom:6px; }
.quote-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.quote { position:relative; border-radius:14px; background:#fff; color:var(--ink); padding:24px 24px 20px 64px; min-height:160px; }
.quote-mark { position:absolute; left:22px; top:15px; font-family: Georgia,serif; font-size:58px; line-height:1; color:var(--lime); }
.quote p { margin:0 0 12px; font-size:12px; line-height:1.38; color:#596660; }
.quote strong { font-size:12px; }
.quote small { display:block; font-size:10px; color:#7b8782; }
.stars { position:absolute; right:22px; bottom:19px; color:#EFA500; letter-spacing:2px; font-size:13px; }

/* faq */
.faq { position:relative; padding:36px 0 42px; background:#fbfaf6; }
.faq::after { width:170px; height:190px; right:-20px; top:24px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 200'%3E%3Cg fill='none' stroke='%2312312A' stroke-width='2' opacity='.38'%3E%3Cpath d='M18 190C79 155 110 92 155 10'/%3E%3Cpath d='M87 115c-21-11-38-12-55-4 12 18 28 26 48 23'/%3E%3Cpath d='M118 74c-6-20-3-38 8-54 14 12 20 27 16 45'/%3E%3Cpath d='M59 151c-18-5-34-2-48 8 15 14 32 18 49 12'/%3E%3C/g%3E%3C/svg%3E"); }
.faq-grid { display:grid; grid-template-columns: .75fr 1.25fr; gap:70px; align-items:center; }
.faq-left .btn { margin-top:26px; }
.accordion { display:grid; gap:9px; padding-right:120px; }
.accordion-row { min-height:43px; background:white; border:1px solid var(--line-soft); border-radius:8px; display:flex; align-items:center; justify-content:space-between; padding:0 14px; font-size:12px; font-weight:600; box-shadow:0 5px 16px rgba(18,49,42,.025); }
.accordion-row span:last-child { font-size:20px; }

/* contact */
.contact { position:relative; padding:38px 0 38px; background:#f0eee4; }
.contact::before { width:180px; height:185px; left:-42px; top:18px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 200'%3E%3Cg fill='none' stroke='%2312312A' stroke-width='2' opacity='.55'%3E%3Cpath d='M15 195C66 157 92 91 140 7'/%3E%3Cpath d='M72 125c-23-7-40-5-55 7 14 15 31 21 51 15'/%3E%3Cpath d='M106 72c-5-19-2-36 8-53 13 11 18 26 14 43'/%3E%3C/g%3E%3C/svg%3E"); }
.contact-grid { display:grid; grid-template-columns: 1fr 1.02fr; gap:60px; align-items:center; }
.contact h2 { font-size: 39px; }
.contact-copy > p { margin:7px 0 28px; color:var(--muted); font-size:13px; }
.contact-details { display:flex; gap:28px; flex-wrap:wrap; font-size:12px; }
.contact-detail { display:flex; align-items:center; gap:8px; }
.contact-form-wrap { display:grid; grid-template-columns: 1fr 155px; gap:20px; align-items:center; }
.contact-form { display:grid; gap:9px; }
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap:10px; }
input, textarea { width:100%; border:1px solid var(--line-soft); border-radius:7px; background:rgba(255,255,255,.86); color:var(--ink); padding:0 14px; min-height:37px; outline:none; }
textarea { min-height:58px; resize:vertical; padding-top:11px; }
.form-submit { width:100%; min-height:44px; border:0; border-radius:var(--r-pill); background:var(--lime); color:var(--ink); font-size:12px; font-weight:700; }
.contact-note { min-height:128px; display:grid; place-items:center; background:rgba(203,184,154,.17); border-radius: 48% 52% 43% 57% / 55% 41% 59% 45%; font-family:var(--font-hand); font-size:22px; text-align:center; line-height:1.04; transform: rotate(-3deg); }

/* footer */
.footer { padding:26px 0 30px; background:#fbfaf6; }
.footer-grid { display:grid; grid-template-columns: 330px 1fr 280px; align-items:center; gap:30px; }
.footer .brand-mark { width:70px; height:49px; }
.footer .brand-copy strong { font-size:20px; }
.footer .brand-copy small { margin-top:3px; font-size:10.5px; }
.footer-links { display:flex; justify-content:center; gap:28px; font-size:10px; }
.footer-meta { text-align:right; font-size:9px; color:var(--muted); }
.footer-meta strong { color:var(--ink); font-size:10px; display:block; margin-bottom:8px; }

@media (max-width: 1100px) {
  :root { --gutter: 30px; }
  .nav { grid-template-columns: 270px 1fr auto; }
  .nav-tagline { display:none; }
  .hero-copy { padding-left: 20px; }
  .hero-grid { gap:30px; }
  .promise-copy { padding-inline:45px; }
}

@media (max-width: 820px) {
  :root { --gutter: 20px; --fs-h1: 52px; --fs-h2: 38px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display:none; }
  .nav-actions .btn { min-height:42px; padding-inline:18px; }
  .brand-copy small { font-size: 12.5px; }
  .hero-grid, .promise-grid, .contact-grid, .faq-grid { grid-template-columns:1fr; }
  .hero-copy { padding-left:0; }
  .hero { padding-top:30px; }
  .hero-visual { padding-right:0; }
  .trust-grid { grid-template-columns:1fr 1fr; }
  .trust-item:nth-child(3) { border-left:0; border-top:1px solid var(--line); }
  .trust-item:nth-child(4) { border-top:1px solid var(--line); }
  .section-heading-row { grid-template-columns:1fr; gap:18px; }
  .cards, .quote-grid { grid-template-columns:1fr; }
  .promise-grid { min-height:auto; }
  .promise-image { min-height:340px; }
  .steps { grid-template-columns:1fr 1fr; gap:34px 10px; }
  .step:nth-child(2)::before { display:none; }
  .projects-grid { grid-template-columns:1fr 1fr; }
  .testimonials-head { grid-template-columns:1fr; }
  .accordion { padding-right:0; }
  .contact-form-wrap { grid-template-columns:1fr; }
  .contact-note { display:none; }
  .footer-grid { grid-template-columns:1fr; text-align:center; }
  .footer .brand { justify-content:center; }
  .footer-meta { text-align:center; }
}

@media (max-width: 520px) {
  :root { --fs-h1: 44px; --fs-h2: 34px; }
  .brand-mark { width:64px; height:46px; }
  .brand-copy strong { font-size:20px; }
  .brand-copy small { margin-top:2px; font-size:10.5px; }
  .nav-actions .btn { font-size:11px; padding:0 14px; }
  .hero-actions { align-items:stretch; flex-direction:column; }
  .trust-grid, .projects-grid, .stats, .steps, .promise-points { grid-template-columns:1fr; }
  .trust-item + .trust-item, .promise-point + .promise-point, .stat + .stat { border-left:0; }
  .trust-item { border-top:1px solid var(--line); }
  .cards { gap:18px; }
  .promise-copy { padding:50px 24px; }
  .promise-point + .promise-point { border-top:1px solid rgba(255,255,255,.2); padding:15px 0 0; margin-top:15px; }
  .step::before { display:none; }
  .section-heading-row { margin-bottom:30px; }
  .form-row { grid-template-columns:1fr; }
}

/* =========================================================
   CMS/JAMstack extensions — built on the supplied EEV pack
   ========================================================= */
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 999; background: var(--ink-deep); color: #fff; padding: 10px 14px; border-radius: 8px; transition: top .15s ease; }
.skip-link:focus { top: 12px; }
.preview-bar { position: sticky; top: 0; z-index: 30; padding: 8px 20px; background: #fff3be; color: #493d08; text-align: center; font-size: 12px; border-bottom: 1px solid #eadf9e; }
.preview-bar a { text-decoration: underline; font-weight: 700; }
.menu-toggle { display: none; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: var(--r-pill); min-height: 40px; padding: 0 14px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.menu-toggle i,.menu-toggle i::before,.menu-toggle i::after { width: 15px; height: 1.5px; background: currentColor; display: block; position: relative; transition: transform .2s ease; }
.menu-toggle i::before,.menu-toggle i::after { content:""; position:absolute; left:0; }
.menu-toggle i::before { top:-5px; }.menu-toggle i::after { top:5px; }
.menu-toggle[aria-expanded="true"] i { background: transparent; }.menu-toggle[aria-expanded="true"] i::before { top:0; transform:rotate(45deg); }.menu-toggle[aria-expanded="true"] i::after { top:0; transform:rotate(-45deg); }
.nav-links a[aria-current="page"] { font-weight: 700; }
.brand-copy { white-space: nowrap; }
.light { color:#fff !important; opacity:.76 !important; }
.hp { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.form-status { min-height: 18px; margin: 0; font-size: 11px; color: var(--ink); }
.form-submit:disabled { opacity:.6; cursor: wait; }
.contact-detail { color: inherit; }

/* FAQ becomes an accessible interactive accordion while preserving the mockup look. */
.accordion-row { display:block; padding:0; overflow:hidden; }
.accordion-row summary { list-style:none; min-height:43px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:0 14px; cursor:pointer; }
.accordion-row summary::-webkit-details-marker { display:none; }
.accordion-plus { transition: transform .2s ease; font-size:20px; flex:0 0 auto; }
.accordion-row[open] .accordion-plus { transform:rotate(45deg); }
.accordion-answer { padding:0 14px 14px; color:var(--muted); font-size:12px; line-height:1.5; }

/* Reusable sections for secondary pages and articles. */
.inner-hero { position:relative; padding:78px 0 70px; background:#fbfaf6; overflow:hidden; }
.inner-hero::after { content:""; position:absolute; right:-40px; bottom:-55px; width:240px; height:260px; opacity:.18; background-repeat:no-repeat; background-size:contain; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 200'%3E%3Cg fill='none' stroke='%2312312A' stroke-width='2'%3E%3Cpath d='M18 190C79 155 110 92 155 10'/%3E%3Cpath d='M87 115c-21-11-38-12-55-4 12 18 28 26 48 23'/%3E%3Cpath d='M118 74c-6-20-3-38 8-54 14 12 20 27 16 45'/%3E%3C/g%3E%3C/svg%3E"); }
.inner-hero-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,.8fr); gap:70px; align-items:center; position:relative; z-index:1; }
.inner-hero h1 { font-size:clamp(50px,5vw,76px); max-width:13ch; }
.inner-lead { max-width:680px; margin:24px 0 0; color:var(--muted); font-size:18px; line-height:1.55; }
.inner-hero img { aspect-ratio:1.4/1; object-fit:cover; border-radius:var(--r-xl) var(--r-xl) var(--r-md) var(--r-xl); }
.inner-hero-grid > div:only-child { grid-column:1/-1; max-width:900px; }
.rich-section { padding:72px 0; background:#fbfaf6; }
.content-narrow { max-width:860px; }
.rich-copy { margin-top:24px; color:#53655e; font-size:17px; line-height:1.75; }
.rich-section h2 + .rich-copy { margin-top:24px; }
.media-text { padding:80px 0; background:var(--paper); }
.media-text-grid { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.media-text-grid.image-right .media-text-image { order:2; }
.media-text-image img { aspect-ratio:1.35/1; object-fit:cover; border-radius:var(--r-lg); }
.media-text-copy .rich-copy { margin:22px 0 28px; }
.gallery-section { padding:72px 0 84px; background:#fbfaf6; }
.gallery-head { margin-bottom:34px; max-width:760px; }
.gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.gallery-grid figure { margin:0; }
.gallery-grid img { aspect-ratio:1.25/1; object-fit:cover; border-radius:18px; }
.gallery-grid figcaption { padding:8px 4px 0; color:var(--muted); font-size:12px; }
.cta-section { padding:70px 0; background:#fbfaf6; }
.cta-panel { display:flex; align-items:center; justify-content:space-between; gap:45px; padding:44px 50px; border-radius:var(--r-lg); background:var(--ink-deep); color:#fff; }
.cta-panel p:not(.eyebrow) { max-width:650px; margin:15px 0 0; color:rgba(255,255,255,.72); }
.cta-panel .section-title { max-width:720px; }
.posts-section { padding:20px 0 90px; background:#fbfaf6; }
.posts-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.post-card { overflow:hidden; background:#fff; border:1px solid var(--line-soft); border-radius:var(--r-md); box-shadow:var(--shadow); }
.post-card-image { display:block; overflow:hidden; }
.post-card img { aspect-ratio:1.55/1; object-fit:cover; transition:transform .35s ease; }
.post-card:hover img { transform:scale(1.025); }
.post-card > div { padding:24px; }
.post-card h2 { margin:0 0 12px; font-size:30px; line-height:1.02; }
.post-card p:not(.eyebrow) { min-height:54px; color:var(--muted); font-size:14px; }

@media (max-width: 1100px) {
  .nav { grid-template-columns:270px 1fr auto; }
}
@media (max-width: 820px) {
  .nav { position:relative; grid-template-columns:1fr auto auto; gap:10px; }
  .menu-toggle { display:inline-flex; }
  .nav-links { display:none; position:absolute; z-index:20; left:0; right:0; top:calc(100% + 10px); padding:14px; background:#fbfaf6; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); flex-direction:column; align-items:stretch; gap:4px; }
  .nav-links.open { display:flex; }
  .nav-links a { padding:11px 12px; border-radius:10px; }
  .nav-links a:hover { background:var(--paper); }
  .inner-hero-grid,.media-text-grid { grid-template-columns:1fr; gap:34px; }
  .media-text-grid.image-right .media-text-image { order:0; }
  .gallery-grid,.posts-grid { grid-template-columns:1fr 1fr; }
  .cta-panel { align-items:flex-start; flex-direction:column; }
}
@media (max-width: 620px) {
  .nav-actions .btn { display:none; }
  .nav { grid-template-columns:1fr auto; }
  .menu-toggle { grid-column:2; grid-row:1; }
  .nav-actions { display:none; }
  .inner-hero { padding:54px 0 48px; }
  .inner-hero h1 { font-size:44px; }
  .gallery-grid,.posts-grid { grid-template-columns:1fr; }
  .cta-panel { padding:34px 28px; }
}

/* Mobile navigation keeps the main conversion action reachable when the desktop CTA is hidden. */
.mobile-nav-cta{display:none!important}
.posts-empty{grid-column:1/-1;max-width:760px;padding:34px 0 50px}
.posts-empty h2{font-size:42px;max-width:14ch}
.posts-empty p:not(.eyebrow){color:var(--muted);max-width:620px}
@media(max-width:820px){.nav-links .mobile-nav-cta{display:flex!important;margin-top:8px;justify-content:center;padding:12px 16px}}

/* =========================================================
   DELTA-002 — updated EEV mockup
   Navigation appendix, hero overlays and project-fit block
   ========================================================= */
.nav-tagline-leaf {
  width: 31px;
  height: 39px;
  flex: 0 0 auto;
  color: var(--lime);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-8deg);
}

.hero-stage { position: relative; width: 100%; }
.hero-media-shape { display: block; width: 100%; height: auto; overflow: visible; }
.hero-message-card {
  position: absolute;
  width: clamp(190px, 31%, 245px);
  right: -3px;
  top: 34px;
  color: #fff;
  transform: rotate(1.4deg);
  filter: drop-shadow(0 14px 24px rgba(15,64,54,.16));
  isolation: isolate;
}
/* DELTA-003: le contenu dimensionne désormais la carte. Le SVG n'est plus
   une boîte indépendante à ratio fixe : il épouse toujours la hauteur réelle
   du texte + icône, y compris lorsqu'ils passent sur davantage de lignes. */
.hero-message-shape {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  fill: var(--ink-deep);
  overflow: visible;
}
.hero-message-shine { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 2; stroke-linecap: round; }
.hero-message-content {
  position: relative;
  z-index: 1;
  min-height: clamp(132px, 13.6vw, 158px);
  padding: clamp(27px, 3.25vw, 37px) clamp(31px, 4vw, 46px) clamp(24px, 3vw, 34px) clamp(31px, 3.7vw, 43px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(34px, 18%, 45px);
  align-items: center;
  gap: clamp(5px, .8vw, 9px);
}
.hero-message-content p {
  margin: 0;
  font-family: var(--font-hand);
  font-size: clamp(18px, 1.75vw, 28px);
  line-height: 1.02;
  letter-spacing: .01em;
}
.hero-message-leaf {
  width: 45px;
  height: 45px;
  color: #fff;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-12deg);
}
.hero-eco-card {
  position: absolute;
  right: -18px;
  bottom: -12px;
  min-width: 196px;
  min-height: 78px;
  padding: 14px 54px 13px 22px;
  border: 1px solid rgba(18,49,42,.08);
  border-radius: 38px 12px 38px 38px;
  background: rgba(251,250,245,.97);
  box-shadow: 0 15px 30px rgba(18,49,42,.09);
  display: flex;
  align-items: center;
  font-size: 12px;
  line-height: 1.25;
  color: var(--ink);
}
.hero-eco-card strong { font-size: 13px; }
.hero-eco-leaf {
  position: absolute;
  right: 13px;
  bottom: 6px;
  width: 42px;
  height: 52px;
  color: var(--ink);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(9deg);
  opacity: .82;
}

/* Bloc 3 / Bloc 4 — audience & objections */
.project-fit {
  position: relative;
  overflow: hidden;
  padding: 82px 0 94px;
  background: #f1f0e8;
}
.project-fit-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) 230px;
  gap: 52px;
  align-items: end;
  margin-bottom: 38px;
}
.project-fit-heading .section-title { max-width: 850px; }
.project-fit-note {
  justify-self: end;
  position: relative;
  padding: 13px 8px 16px;
  font-family: var(--font-hand);
  font-size: 24px;
  line-height: 1.03;
  text-align: center;
  transform: rotate(-3deg);
}
.project-fit-note i {
  display: block;
  width: 82px;
  height: 3px;
  margin: 8px auto 0;
  background: var(--lime);
  border-radius: 999px;
  transform: rotate(-4deg);
}
.project-fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; position: relative; z-index: 1; }
.fit-card {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  border-radius: 28px;
  padding: 42px 44px;
  border: 1px solid rgba(18,49,42,.08);
  box-shadow: 0 18px 40px rgba(18,49,42,.06);
}
.fit-card-a { background: #fbfaf5; }
.fit-card-b { background: var(--ink-deep); color: #fff; }
.fit-card-copy { position: relative; z-index: 2; max-width: 510px; }
.fit-card-a .fit-card-copy { margin-left: 72px; }
.fit-kicker {
  margin: 0 0 13px;
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: .68;
}
.fit-card-b .fit-kicker { color: rgba(255,255,255,.73); }
.fit-card h3 {
  margin: 0 0 22px;
  max-width: 500px;
  font-family: var(--font-display);
  font-size: clamp(27px, 2.35vw, 38px);
  line-height: 1.03;
  letter-spacing: -.018em;
}
.fit-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.fit-card li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.42; }
.fit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 9px;
  height: 9px;
  border: 2px solid var(--lime);
  border-radius: 50% 0 50% 50%;
  transform: rotate(-35deg);
}
.fit-card-b li { color: rgba(255,255,255,.84); }
.fit-card-b li::before { background: var(--lime); }
.fit-card-botanical,
.fit-card-leaf,
.project-fit-accent { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.fit-card-botanical {
  position: absolute;
  left: -7px;
  bottom: -17px;
  width: 136px;
  color: var(--ink);
  opacity: .22;
}
.fit-card-leaf {
  position: absolute;
  right: 21px;
  bottom: 18px;
  width: 72px;
  color: var(--lime);
  opacity: .7;
}
.project-fit-accent {
  position: absolute;
  right: -26px;
  bottom: -36px;
  width: 155px;
  color: var(--ink);
  opacity: .17;
}

@media (max-width: 1100px) {
  .hero-message-card { right: -8px; top: 24px; }
  .hero-eco-card { right: -4px; }
  .project-fit-head { grid-template-columns: 1fr 190px; gap: 30px; }
  .fit-card { padding: 36px 34px; }
  .fit-card-a .fit-card-copy { margin-left: 52px; }
}

@media (max-width: 820px) {
  .hero-stage { max-width: 680px; margin-inline: auto; }
  .hero-message-card { width: 225px; right: 5px; top: 28px; }
  .hero-message-content p { font-size: 24px; }
  .hero-eco-card { right: 3px; bottom: -10px; }
  .project-fit { padding: 64px 0 70px; }
  .project-fit-head { grid-template-columns: 1fr auto; }
  .project-fit-grid { grid-template-columns: 1fr; }
  .fit-card { min-height: 300px; }
}

@media (max-width: 600px) {
  .hero-message-card { width: 178px; top: 16px; right: -2px; }
  .hero-message-content { min-height: 116px; grid-template-columns: minmax(0, 1fr) 32px; padding: 22px 29px 20px 27px; gap: 5px; }
  .hero-message-content p { font-size: 19px; }
  .hero-message-leaf { width: 32px; height: 32px; }
  .hero-eco-card { min-width: 168px; min-height: 65px; padding: 10px 44px 10px 17px; font-size: 10px; border-radius: 30px 10px 30px 30px; }
  .hero-eco-card strong { font-size: 11px; }
  .hero-eco-leaf { width: 34px; height: 42px; right: 9px; }
  .project-fit-head { grid-template-columns: 1fr; gap: 14px; }
  .project-fit-note { justify-self: start; text-align: left; font-size: 21px; padding-left: 0; }
  .project-fit-note i { margin-left: 15px; }
  .fit-card { padding: 30px 25px; min-height: auto; }
  .fit-card-a .fit-card-copy { margin-left: 0; padding-top: 70px; }
  .fit-card-b { padding-bottom: 72px; }
  .fit-card-botanical { top: -20px; bottom: auto; left: 7px; width: 102px; }
  .fit-card h3 { font-size: 30px; }
  .fit-card li { font-size: 13px; }
}

/* =========================================================
   DELTA-004 — mobile composition pass
   Recompose les blocs critiques au lieu d'empiler le desktop.
   ========================================================= */

/* Header: sur tablette/mobile, la fonction de navigation prime sur les
   éléments décoratifs du header desktop. Le CTA reste dans le panneau menu. */
@media (max-width: 900px) {
  .site-header { padding: 12px 0 10px; }
  .nav {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px;
  }
  .nav .brand { min-width: 0; }
  .nav-actions { display: none !important; }
  .menu-toggle {
    display: inline-flex !important;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    min-height: 42px;
    padding-inline: 15px;
    background: #fbfaf6;
    box-shadow: 0 5px 16px rgba(18,49,42,.06);
  }
  .nav-links {
    display: none !important;
    position: absolute;
    z-index: 40;
    left: 0;
    right: 0;
    top: calc(100% + 9px);
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(251,250,246,.985);
    box-shadow: 0 20px 50px rgba(18,49,42,.14);
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
  }
  .nav-links.open { display: flex !important; }
  .nav-links > a:not(.mobile-nav-cta) {
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 14px;
  }
  .nav-links .mobile-nav-cta {
    display: flex !important;
    margin-top: 7px;
    min-height: 46px;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .site-header .container { width: min(100% - 30px, var(--container)); }
  .brand { gap: 9px; }
  .brand-mark { width: 66px; height: 48px; }
  .brand-copy strong { font-size: 20px; letter-spacing: .018em; }
  .brand-copy small { display: block; margin-top: 2px; font-size: 10.5px; line-height: .98; }
  .menu-toggle { min-width: 76px; justify-content: center; }
}

/* Project fit: la note manuscrite reste un accent secondaire et vient occuper
   le côté droit sans créer une grande bande vide avant les cartes. */
@media (max-width: 700px) {
  .project-fit { padding: 52px 0 58px; }
  .project-fit-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "heading heading"
      ". note";
    column-gap: 16px;
    row-gap: 5px;
    margin-bottom: 18px;
    align-items: start;
  }
  .project-fit-heading { grid-area: heading; }
  .project-fit-heading .section-title {
    max-width: 100%;
    font-size: clamp(30px, 8.4vw, 37px);
    line-height: .99;
  }
  .project-fit-note {
    grid-area: note;
    justify-self: end;
    max-width: 130px;
    margin: -2px 10px -1px 0;
    padding: 4px 2px 5px;
    font-size: clamp(17px, 4.8vw, 20px);
    line-height: .98;
    text-align: right;
    transform: rotate(-3deg);
  }
  .project-fit-note i {
    width: 66px;
    height: 3px;
    margin: 5px 2px 0 auto;
  }
  .project-fit-grid { gap: 16px; }
  .fit-card { border-radius: 24px; }
  .fit-card-a .fit-card-copy { padding-top: 58px; }
}

/* Method: le titre reprend toute la largeur. La note devient un accent placé
   après le heading, puis les étapes passent en timeline verticale explicite. */
@media (max-width: 820px) {
  .method { padding: 52px 0 60px; }
  .method-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 34px;
    align-items: start;
  }
  .method-head > div:first-child { min-width: 0; }
  .method .section-title {
    max-width: 18ch;
    font-size: clamp(34px, 7.3vw, 46px);
    line-height: .99;
  }
  .method-note {
    justify-self: end;
    max-width: 150px;
    margin: 0 10px 0 0;
    font-size: clamp(19px, 4.8vw, 24px);
    line-height: 1.02;
    text-align: right;
  }
  .method-note::after {
    width: 74px;
    margin: 6px 0 0 auto;
  }
}

@media (max-width: 620px) {
  .method-head { margin-bottom: 28px; }
  .method .section-title {
    max-width: none;
    font-size: clamp(33px, 9.3vw, 40px);
  }
  .method-note { max-width: 138px; margin-right: 3px; }
  .steps {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 0;
  }
  .step {
    position: relative;
    min-height: 112px;
    padding: 2px 0 28px 66px;
  }
  .step:last-child { min-height: 0; padding-bottom: 0; }
  .step::before,
  .step:nth-child(2)::before {
    display: block;
    left: 22px;
    right: auto;
    top: 46px;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--lime), rgba(196,216,47,.18));
  }
  .step:last-child::before { display: none; }
  .step-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 46px;
    height: 46px;
  }
  .step h3 { margin: 4px 0 7px; font-size: 17px; }
  .step p { max-width: 34ch; font-size: 13px; line-height: 1.42; }
}

/* Testimonials: les trois preuves restent scannables en un regard, même sur
   mobile. Les avis continuent naturellement en colonne sous les stats. */
@media (max-width: 620px) {
  .testimonials { padding: 42px 0 48px; }
  .testimonials-head { gap: 25px; margin-bottom: 28px; }
  .testimonials h2 { font-size: clamp(38px, 10vw, 46px); line-height: .98; }
  .testimonials .stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 0;
    align-items: stretch;
  }
  .testimonials .stat {
    min-width: 0;
    min-height: 86px;
    padding: 6px 8px;
    font-size: 9.5px;
    line-height: 1.18;
  }
  .testimonials .stat + .stat {
    border-left: 1px solid rgba(255,255,255,.2) !important;
    border-top: 0;
  }
  .testimonials .stat strong {
    font-size: clamp(25px, 7vw, 31px);
    margin-bottom: 6px;
  }
  .quote-grid { gap: 12px; }
}

@media (max-width: 380px) {
  .testimonials .stat { padding-inline: 5px; font-size: 8.7px; }
  .project-fit-note { margin-right: 3px; }
  .menu-toggle span { display: none; }
  .menu-toggle { min-width: 46px; width: 46px; padding: 0; }
}

/* =========================================================
   DELTA-005 — hero actions adaptatifs tablette / petit desktop
   Les CTA ne se compressent plus jusqu'a casser leur texte. Le wrapper
   decide naturellement de garder une ligne ou de passer au rang suivant.
   ========================================================= */
.hero-actions {
  flex-wrap: wrap;
}
.hero-actions > .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.hero-phone > span {
  min-width: 0;
  white-space: nowrap;
}

@media (min-width: 821px) and (max-width: 1100px) {
  .hero-actions {
    column-gap: 14px;
    row-gap: 12px;
    align-items: stretch;
  }
  .hero-actions > .btn {
    min-height: 48px;
    padding-inline: clamp(17px, 2vw, 22px);
  }
  .hero-phone {
    min-width: 158px;
  }
}

/* Une fois le Hero empile, les CTA reprennent toute la largeur disponible
   sur les tres petits ecrans comme avant. */
@media (max-width: 520px) {
  .hero-actions > .btn {
    width: 100%;
    min-width: 0;
  }
}


/* DELTA-007 — garde l'identité lisible sur les très petits écrans. */
@media (max-width: 380px) {
  .brand { gap: 7px; }
  .brand-mark { width: 56px; height: 42px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { font-size: 9.5px; }
  .menu-toggle { min-width: 66px; padding-inline: 11px; }
}
