/* SG24 Location — feuille de style commune */
:root {
  --paper: #ffffff; --paper-2: #f4f2ee; --card: #ffffff;
  --ink: #1e1b17; --ink-2: #4a443b; --muted: #756d61; --rule: #d8cfbd;
  --yellow: #f4c20d; --yellow-soft: #fbe49a; --red: #b23a26;
  --green: #1d7a4f; --green-hover: #16623f; --tape: rgba(244, 226, 160, .82);
  --serif: "Bitter", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --gutter: 16px; --max: 1140px;
  color-scheme: light only;
}
@media (min-width: 760px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { top: 8px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 21px; }
p { margin: 0; }
.intro { font-size: 19px; color: var(--ink-2); max-width: 38em; }
.hand { font-family: var(--hand); font-weight: 600; font-size: 24px; line-height: 1.1; color: var(--red); }
.mark { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 90%, transparent 90%); padding: 0 .08em; }
section { padding: 80px 0; }
@media (max-width: 760px) { section { padding: 56px 0; } }
.alt { background: var(--paper-2); }
.head { display: grid; gap: 12px; margin-bottom: 32px; max-width: 760px; }
.kicker { font: 700 16px/1.4 var(--sans); letter-spacing: 0; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 10px; flex: none; background: repeating-linear-gradient(-45deg, var(--ink) 0 5px, var(--yellow) 5px 10px); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 3px; border: 2px solid var(--ink); font: 700 17px/1 var(--sans); text-decoration: none; cursor: pointer; touch-action: manipulation; transition: transform .15s ease-out, box-shadow .15s ease-out, background-color .15s; }
.btn--main { background: var(--yellow); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn--main:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn--main:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--plain { background: transparent; color: var(--ink); }
.btn--plain:hover { background: var(--paper-2); }
.btn--wa { background: var(--green); border-color: var(--green); color: #fff; }
.btn--wa:hover { background: var(--green-hover); border-color: var(--green-hover); }
.btn svg { width: 20px; height: 20px; flex: none; }
.link { font-weight: 700; color: var(--ink); }
.link:hover { color: var(--red); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 2px solid var(--ink); }
.nav { display: flex; align-items: center; height: 66px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 21px/1 var(--serif); letter-spacing: -0.01em; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 17px; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.nav-phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav .btn { min-height: 42px; padding: 0 16px; font-size: 16px; box-shadow: 2px 2px 0 var(--ink); }
.menu-toggle { display: none; margin-left: auto; height: 44px; padding: 0 14px; border: 2px solid var(--ink); background: transparent; border-radius: 3px; cursor: pointer; color: var(--ink); font: 700 16px var(--sans); }
.mobile-menu { display: none; }
@media (max-width: 980px) {
  .nav-links, .nav-phone, .nav .btn { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { display: grid; position: fixed; inset: 66px 0 auto 0; background: var(--paper); border-bottom: 2px solid var(--ink); padding: 8px var(--gutter) 24px; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .18s ease-out, transform .18s ease-out, visibility 0s .18s; max-height: calc(100vh - 66px); overflow: auto; }
  .mobile-menu.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .mobile-menu a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 19px; }
  .mobile-menu .btn { margin-top: 20px; }
}

/* Fil d'Ariane */
.crumbs { font-size: 15px; color: var(--muted); padding-top: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--ink-2); }

/* Hero */
.hero { padding: 48px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 22px; align-content: start; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }
.hero h1 .kicker { margin-bottom: 20px; }
.hero-actions { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin-top: 4px; }
.wa-text { font-weight: 700; color: var(--green); }
.hero-note { font-size: 16px; color: var(--muted); }
.hero-note strong { color: var(--ink); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Photos scotchées */
.photo { position: relative; margin: 0; background: #fff; padding: 12px 12px 14px; box-shadow: 0 1px 2px rgba(30,27,23,.12), 0 10px 24px -12px rgba(30,27,23,.35); }
.photo::before, .photo::after { content: ""; position: absolute; width: 92px; height: 26px; background: var(--tape); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.photo::before { top: -11px; left: 18%; transform: rotate(-4deg); }
.photo::after { top: -9px; right: 14%; transform: rotate(5deg); }
.photo figcaption { font-family: var(--hand); font-size: 22px; color: #3c372f; padding: 8px 4px 0; line-height: 1.15; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tilt-r { transform: rotate(1.4deg); }
.tilt-l { transform: rotate(-1.2deg); }
.hero .photo { max-width: 480px; justify-self: end; width: 100%; }
@media (max-width: 860px) { .hero .photo { justify-self: center; max-width: 420px; } }

/* Bandeau */
.strip { background: var(--yellow); color: #1e1b17; border-top: 2px solid #1e1b17; border-bottom: 2px solid #1e1b17; }
.strip ul { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 8px 36px; font-weight: 700; font-size: 17px; }
.strip li { display: flex; align-items: center; gap: 10px; }
.strip svg { width: 18px; height: 18px; flex: none; }

/* Catalogue */
.cat-block + .cat-block { margin-top: 56px; }
.cat-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 22px; }
.cat-title h3 { font-size: 26px; }
.cat-title p { color: var(--muted); font-size: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { background: var(--card); border: 2px solid var(--ink); border-radius: 3px; display: grid; grid-template-rows: auto 1fr; text-decoration: none; transition: transform .15s ease-out, box-shadow .15s ease-out; }
a.card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 2px solid var(--ink); background: var(--paper-2); }
.card-body { padding: 16px 16px 18px; display: grid; gap: 8px; align-content: start; }
.card-body h4 { margin: 0; font: 700 19px/1.25 var(--serif); }
.card-body p { font-size: 16px; color: var(--ink-2); }
.card-price { font-weight: 700; font-size: 15px; color: var(--ink); margin-top: 4px; }
.card-price span { color: var(--muted); font-weight: 600; }

/* Packs */
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.pack { background: var(--card); border: 2px solid var(--ink); border-radius: 3px; padding: 26px 24px 22px; display: grid; gap: 12px; align-content: start; position: relative; scroll-margin-top: 90px; }
.pack::before { content: ""; position: absolute; left: -2px; right: -2px; top: -2px; height: 10px; background: repeating-linear-gradient(-45deg, var(--ink) 0 8px, var(--yellow) 8px 16px); }
.pack h3 { font-size: 23px; margin-top: 4px; }
.pack .for { color: var(--muted); font-size: 16px; }
.pack ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: 16px; }
.pack li { display: flex; gap: 10px; }
.pack li b { min-width: 34px; font-variant-numeric: tabular-nums; }
.pack .agents { font-size: 15px; color: var(--ink-2); border-top: 1px dashed var(--rule); padding-top: 10px; }
.pack .btn { justify-self: start; margin-top: 6px; }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 6px; align-content: start; }
.steps li::before { content: counter(step); width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card); display: grid; place-items: center; font: 800 20px var(--serif); margin-bottom: 8px; }
.steps .when { font-size: 15px; font-weight: 700; color: var(--red); }
.steps p { color: var(--ink-2); font-size: 17px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Page produit */
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.prod-grid .photo { max-width: 520px; }
.prod-copy { display: grid; gap: 20px; }
.prod-copy h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; line-height: 1.06; }
.price-box { border: 2px solid var(--ink); background: var(--card); padding: 18px 20px; display: grid; gap: 6px; box-shadow: 5px 5px 0 var(--ink); }
.price-line { display: flex; align-items: baseline; gap: 10px; }
.price-line span:first-child { font-weight: 700; flex: none; }
.leader { flex: 1; border-bottom: 2px dotted var(--muted); transform: translateY(-5px); min-width: 20px; }
.amount { font: 800 22px/1 var(--serif); white-space: nowrap; font-variant-numeric: tabular-nums; }
.amount small { font: 600 14px var(--sans); color: var(--muted); margin-right: 4px; }
.price-note { font-size: 14px; color: var(--muted); margin-top: 6px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: start; }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--green); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--rule); }
.spec-table th { width: 38%; font-weight: 700; }
.spec-table tr:nth-child(odd) { background: var(--card); }
.spec-note { font-size: 14px; color: var(--muted); margin-top: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 16px; background: var(--card); }
@media (max-width: 860px) { .prod-grid, .cols { grid-template-columns: 1fr; gap: 36px; } .prod-grid .photo { justify-self: center; } }

/* FAQ */
.faq { border-top: 2px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font: 700 19px/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 500 28px/1 var(--sans); width: 24px; text-align: center; transition: transform .2s ease-out; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--red); }
.faq details p { padding: 0 40px 20px 0; color: var(--ink-2); }

/* CTA */
.cta { background: var(--yellow); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3vw, 34px); }
.cta .btn--main { background: var(--ink); color: #fff; box-shadow: 3px 3px 0 #fff; }

/* Devis */
.quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; gap: 36px; } }
.contact { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.contact span { display: block; font-size: 15px; color: var(--muted); }
.contact a, .contact b { font-weight: 700; font-size: 19px; text-decoration: none; }
.form-card { background: var(--card); border: 2px solid var(--ink); padding: 30px; border-radius: 3px; position: relative; }
.form-card::before { content: ""; position: absolute; left: -2px; right: -2px; top: -2px; height: 10px; background: repeating-linear-gradient(-45deg, var(--ink) 0 8px, var(--yellow) 8px 16px); }
@media (max-width: 520px) { .form-card { padding: 26px 14px 20px; } }
.form-card form { display: grid; gap: 22px; }
.form-card form[hidden] { display: none; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
legend { font: 700 20px var(--serif); padding: 0; margin-bottom: 4px; }
.pick { display: grid; gap: 8px; }
.pick-group { font-weight: 700; font-size: 15px; color: var(--muted); margin-top: 8px; }
.pick-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 8px 12px; border: 1.5px solid var(--rule); border-radius: 3px; background: var(--paper); }
.pick-row.on { border-color: var(--ink); background: var(--yellow-soft); }
.pick-row label { display: flex; gap: 10px; align-items: center; font-size: 17px; cursor: pointer; }
.pick-row input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--ink); }
.pick-row input[type=number] { width: 76px; min-height: 40px; font: inherit; font-size: 16px; padding: 6px 8px; border: 1.5px solid var(--muted); border-radius: 3px; background: #fff; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }
.field label { font-size: 16px; font-weight: 700; }
.field label i { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--muted); border-radius: 3px; padding: 11px 12px; width: 100%; min-height: 50px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.field [aria-invalid="true"] { border-color: var(--red); border-width: 2px; }
.error { font-size: 15px; font-weight: 600; color: var(--red); }
.error:empty { display: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px dashed var(--rule); padding-top: 20px; }
.form-foot p { font-size: 15px; color: var(--muted); max-width: 26em; }
@media (max-width: 520px) { .form-foot .btn { width: 100%; } }
.form-success { display: none; gap: 14px; }
.form-success.show { display: grid; }
.form-success h3 { font-size: 26px; }
.form-success .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Pied de page */
.site-footer { background: var(--paper); color: var(--ink-2); font-size: 16px; padding: 56px 0 32px; border-top: 2px solid var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--rule); }
.foot-grid p { margin-top: 14px; max-width: 26em; }
.foot-grid h4 { margin: 0 0 12px; font: 700 16px var(--serif); color: var(--ink); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--red); text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Barre mobile */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: 2px solid var(--ink); transition: transform .22s ease-out; }
  .action-bar.hidden { transform: translateY(110%); }
  .action-bar .btn { min-height: 48px; padding: 0 12px; font-size: 16px; box-shadow: none; }
  .site-footer { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
.card img.real { object-fit: contain; background: #fff; padding: 8px; }
