:root {
  --green: #203820;
  --green-2: #345834;
  --terracotta: #B85830;
  --cream: #F7F4ED;
  --paper: #FFFDF8;
  --sage: #E8EEE5;
  --sage-2: #F0F4EE;
  --ink: #253029;
  --muted: #657067;
  --line: #D8DDD4;
  --radius: 20px;
  --content: 1160px;
  --shadow: 0 12px 32px rgba(32, 56, 32, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 1000;
  transform: translateY(-180%); padding: .7rem 1rem; border-radius: 10px;
  background: var(--green); color: #fff; font-weight: 750;
}
.skip-link:focus { transform: none; }

.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section--sage { background: var(--sage-2); border-block: 1px solid var(--line); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,237,.96); border-bottom: 1px solid rgba(32,56,32,.10);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; min-width: 0; }
.brand img { width: 42px; height: 42px; flex: 0 0 auto; }
.brand-copy { display: grid; line-height: 1.12; }
.brand-copy strong { color: var(--green); font-size: .98rem; }
.brand-copy span { color: var(--muted); font-size: .72rem; margin-top: .18rem; }
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: .55rem .78rem; border-radius: 999px; text-decoration: none; font-size: .92rem; font-weight: 650; }
.site-nav a:hover, .site-nav a:focus-visible { background: var(--sage); color: var(--green); }
.nav-cta { background: var(--green) !important; color: white !important; padding-inline: 1rem !important; }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--green-2) !important; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--green); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }

.eyebrow { margin: 0 0 1rem; color: var(--terracotta); font-weight: 800; font-size: .78rem; letter-spacing: .10em; text-transform: uppercase; }
.kicker { margin: 0 0 .65rem; color: var(--green); font-weight: 800; font-size: .92rem; }
h1, h2, h3 { color: var(--green); line-height: 1.08; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(2.55rem, 7.6vw, 5.7rem); max-width: 13ch; margin-bottom: 1.25rem; }
h2 { font-size: clamp(2rem, 5vw, 3.55rem); margin-bottom: 1rem; }
h3 { font-size: 1.18rem; margin-bottom: .55rem; }
p { margin: 0 0 1rem; }
.lead { max-width: 66ch; color: #3b463f; font-size: clamp(1.08rem, 2vw, 1.28rem); }
.muted { color: var(--muted); }

.hero { padding: clamp(4rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .72rem 1.05rem; border: 1px solid var(--green); border-radius: 12px; background: transparent; color: var(--green); text-decoration: none; font-weight: 800; }
.btn:hover, .btn:focus-visible { background: var(--sage); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--green-2); }
.btn--accent { border-color: var(--terracotta); background: var(--terracotta); color: #fff; }
.btn--accent:hover, .btn--accent:focus-visible { filter: brightness(.93); background: var(--terracotta); }
.btn--quiet { border-color: var(--line); background: var(--paper); }

.hero-note { border-left: 3px solid var(--terracotta); padding-left: 1rem; color: var(--muted); font-size: .93rem; margin-top: 1.35rem; }
.principle-card { padding: clamp(1.5rem, 3vw, 2.3rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.principle-mark { width: 70px; height: 70px; margin-bottom: 1.5rem; }
.principle-card blockquote { margin: 0 0 1.5rem; color: var(--green); font-weight: 850; font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.15; }
.value-list { display: grid; gap: .72rem; margin: 0; padding: 0; list-style: none; }
.value-list li { display: flex; gap: .65rem; align-items: flex-start; color: #465048; font-size: .94rem; }
.value-list li::before { content: ""; width: 8px; height: 8px; margin-top: .5em; border-radius: 50%; background: var(--terracotta); flex: 0 0 auto; }

.section-head { max-width: 760px; margin-bottom: 2.3rem; }
.section-head p:last-child { color: var(--muted); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.service-card { min-height: 100%; padding: 1.35rem; border-top: 2px solid var(--green); background: transparent; }
.service-card .num { display: block; color: var(--terracotta); font-size: .78rem; font-weight: 850; margin-bottom: 1.5rem; }
.service-card p { color: var(--muted); font-size: .94rem; }

.funnel-panel { border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--paper); overflow: hidden; box-shadow: var(--shadow); }
.funnel-intro { display: grid; grid-template-columns: 1fr auto; gap: 1.25rem; align-items: end; padding: clamp(1.6rem, 4vw, 2.8rem); border-bottom: 1px solid var(--line); }
.funnel-intro h2 { max-width: 14ch; margin-bottom: .6rem; }
.funnel-intro p { max-width: 58ch; color: var(--muted); }
.funnel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.funnel-link { position: relative; display: block; padding: 1.5rem; min-height: 180px; border-right: 1px solid var(--line); text-decoration: none; background: var(--paper); }
.funnel-link:last-child { border-right: 0; }
.funnel-link:hover, .funnel-link:focus-visible { background: var(--sage-2); }
.funnel-link span { display: block; }
.funnel-link .icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--green); font-size: 1.15rem; margin-bottom: 1.1rem; }
.funnel-link .label { font-weight: 850; color: var(--green); line-height: 1.2; }
.funnel-link .desc { color: var(--muted); font-size: .88rem; margin-top: .5rem; }
.funnel-link .arrow { position: absolute; right: 1.2rem; bottom: 1rem; color: var(--terracotta); font-weight: 900; }
.funnel-foot { padding: .9rem 1.25rem; background: var(--sage-2); color: var(--muted); font-size: .86rem; border-top: 1px solid var(--line); }

.approach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 2.2rem; }
.approach-item { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.approach-item strong { color: var(--green); display: block; margin-bottom: .35rem; }
.approach-item p { color: var(--muted); margin: 0; }

.location-band { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.location-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.fact { padding: 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.fact strong { color: var(--green); display: block; margin-bottom: .35rem; }
.fact span { color: var(--muted); font-size: .92rem; }

.contact-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding: clamp(1.7rem, 4vw, 3rem); border-radius: calc(var(--radius) + 4px); background: var(--green); color: #fff; }
.contact-panel h2 { color: #fff; }
.contact-panel p { color: #e5ece4; }
.contact-panel .eyebrow { color: #f0a17e; }
.contact-links { display: grid; gap: .7rem; }
.contact-links a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border: 1px solid rgba(255,255,255,.26); border-radius: 12px; color: #fff; text-decoration: none; font-weight: 750; }
.contact-links a:hover, .contact-links a:focus-visible { background: rgba(255,255,255,.08); }

.site-footer { padding: 2.2rem 0 3rem; border-top: 1px solid var(--line); background: var(--cream); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: end; }
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand img { width: 34px; height: 34px; }
.footer-brand div { display: grid; }
.footer-brand strong { color: var(--green); }
.footer-brand span { color: var(--muted); font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .55rem 1rem; justify-content: flex-end; }
.footer-links a { color: var(--muted); font-size: .84rem; }
.footer-meta { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* /carte/ */
.card-page { min-height: 100svh; display: flex; flex-direction: column; background: var(--cream); }
.card-topbar { padding: 1rem 0; }
.card-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card-topbar .brand-copy span { display: none; }
.card-main { flex: 1; display: grid; place-items: center; padding: 1.5rem 0 3rem; }
.scan-shell { width: min(calc(100% - 2rem), 720px); }
.scan-hero { text-align: left; padding: clamp(1.5rem, 5vw, 3.2rem); border: 1px solid var(--line); border-radius: 26px; background: var(--paper); box-shadow: var(--shadow); }
.scan-hero .mark { width: 72px; height: 72px; margin-bottom: 1.5rem; }
.scan-hero h1 { max-width: 10ch; font-size: clamp(2.7rem, 10vw, 4.8rem); }
.scan-hero .lead { font-size: 1.08rem; }
.scan-main-action { margin: 1.6rem 0 1.8rem; padding: 1.2rem; border-radius: 16px; background: var(--green); color: #fff; text-decoration: none; display: block; }
.scan-main-action strong { display: block; font-size: 1.1rem; }
.scan-main-action span { display: block; color: #e3ebe2; font-size: .91rem; margin-top: .25rem; }
.scan-main-action:hover, .scan-main-action:focus-visible { background: var(--green-2); }
.quick-title { color: var(--muted); font-size: .84rem; font-weight: 800; margin: 0 0 .7rem; }
.quick-grid { display: grid; gap: .65rem; }
.quick-link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; min-height: 58px; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 13px; text-decoration: none; background: #fff; }
.quick-link:hover, .quick-link:focus-visible { border-color: #aeb9ad; background: var(--sage-2); }
.quick-link strong { color: var(--green); font-size: .96rem; }
.quick-link span { color: var(--terracotta); font-weight: 900; }
.scan-reassure { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.scan-footer { padding: 1rem 0 2rem; }
.scan-footer-inner { display: flex; justify-content: center; gap: .75rem 1.1rem; flex-wrap: wrap; color: var(--muted); font-size: .82rem; }

/* /liens/ */
.links-page .hero { padding-bottom: 3rem; }
.links-shell { width: min(calc(100% - 2rem), 720px); margin-inline: auto; }
.link-stack { display: grid; gap: .75rem; }
.big-link { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; min-height: 72px; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); text-decoration: none; }
.big-link:hover, .big-link:focus-visible { background: var(--sage-2); border-color: #aeb9ad; }
.big-link .bubble { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--green); font-weight: 900; }
.big-link strong { display: block; color: var(--green); }
.big-link small { display: block; color: var(--muted); margin-top: .15rem; }
.big-link .go { color: var(--terracotta); font-weight: 900; }
[data-whatsapp][hidden] { display: none !important; }

/* errors */
.error-main { min-height: 72svh; display: grid; place-items: center; padding: 3rem 0; text-align: center; }
.error-card { max-width: 620px; }
.error-code { color: var(--terracotta); font-weight: 900; font-size: .88rem; letter-spacing: .14em; }
.error-card h1 { margin-inline: auto; max-width: 12ch; }
.error-card p { color: var(--muted); max-width: 54ch; margin-inline: auto; }
.error-card .button-row { justify-content: center; }

:focus-visible { outline: 3px solid rgba(184, 88, 48, .58); outline-offset: 3px; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-nav { position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); display: none; padding: .6rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .site-nav[data-open="true"] { display: grid; }
  .site-nav a { border-radius: 10px; }
  .hero-grid, .location-band, .contact-panel { grid-template-columns: 1fr; }
  .hero-grid { gap: 2.5rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funnel-intro { grid-template-columns: 1fr; align-items: start; }
  .funnel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funnel-link:nth-child(2) { border-right: 0; }
  .funnel-link:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 1.25rem), var(--content)); }
  .brand-copy span { display: none; }
  .hero { padding-top: 3rem; }
  h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  h2 { font-size: clamp(1.95rem, 9.5vw, 3rem); }
  .grid-4, .approach-grid, .location-facts, .funnel-grid { grid-template-columns: 1fr; }
  .service-card { padding-inline: .2rem; }
  .funnel-link { border-right: 0; border-bottom: 1px solid var(--line); min-height: 145px; }
  .funnel-link:last-child { border-bottom: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .scan-shell, .links-shell { width: min(calc(100% - 1rem), 720px); }
  .scan-hero { border-radius: 20px; padding: 1.35rem; }
  .card-topbar .brand-copy strong { font-size: .9rem; }
}

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