/* ==========================================================================
   AM Aménagement — mise en page et sections du site.
   S'appuie sur les tokens et composants de design-system.css.
   ========================================================================== */

:root {
  --gutter: clamp(20px, 5vw, 64px);
  --content-max: 1280px;
  --header-breakpoint: 1100px; /* rappel : valeur reprise dans les media queries */
}

html { scroll-padding-top: 90px; }
body { overflow-x: hidden; }

/* ---------- Mise en page ---------- */
.wrap { width: 100%; max-width: var(--content-max); margin-inline: auto; }

.section { padding: clamp(44px, 7vw, 96px) var(--gutter); }
.section--md { padding-block: clamp(40px, 6vw, 88px); }
.section--flush-top { padding-top: 0; }
.section--page-intro { padding-block: clamp(36px, 5vw, 76px) clamp(24px, 3vw, 40px); }

.bg-sand { background: var(--color-neutral-200); }
.bg-sage { background: var(--color-accent-2-100); }
.bg-dark { background: var(--color-neutral-900); color: var(--color-neutral-100); }
.bg-accent { background: var(--color-accent); color: var(--color-bg); }

.grid {
  display: grid;
  gap: var(--gap, clamp(16px, 2.4vw, 26px));
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr));
}
.grid--split { --min: 300px; --gap: clamp(24px, 4vw, 56px); }
.grid--center { align-items: center; }
.grid--start { align-items: start; }

.stack { display: flex; flex-direction: column; gap: var(--stack-gap, 12px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.list-reset { list-style: none; padding: 0; margin: 0; }

/* ---------- Typographie de section ---------- */
.eyebrow {
  font-family: var(--font-heading);
  font-size: 13px; line-height: 1.12;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-accent-700);
  margin: 0 0 12px;
}
.bg-sage .eyebrow { color: var(--color-accent-2-800); }
.bg-dark .eyebrow { color: var(--color-accent-400); }

.rule {
  height: 3px; width: 64px; margin-bottom: 18px;
  background: var(--color-accent); border-radius: 999px;
}

.title { font-size: clamp(26px, 4.2vw, 42px); margin-bottom: clamp(24px, 3.4vw, 44px); text-wrap: balance; }
.title--sm { font-size: clamp(24px, 3.6vw, 36px); margin-bottom: 24px; }
.title--page { font-size: clamp(30px, 5.4vw, 54px); margin-bottom: 16px; max-width: 24ch; }
.title--tight { margin-bottom: 18px; }

.lead { font-size: clamp(14.5px, 1.6vw, 17px); max-width: 52ch; opacity: 0.85; }
.lead--lg { font-size: clamp(14.5px, 1.7vw, 18px); max-width: 58ch; }
.muted { opacity: 0.8; }

.bg-dark h2, .bg-accent h2 { color: var(--color-bg); }

/* ---------- Images ---------- */
.media { position: relative; overflow: hidden; background: var(--color-neutral-300); }
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media--fill { position: absolute; inset: 0; }
.media--rounded { border-radius: var(--radius-xl); }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-16-7 { aspect-ratio: 16 / 7; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-1 { aspect-ratio: 1; }

/* zoom doux au survol */
.media--hover { transition: filter .6s ease; }
.media--hover > img { transition: transform 1s var(--ease-out); }
.media--hover:hover > img { transform: scale(1.06); }
.media--hover:hover { filter: saturate(1.08); }
.media--hover.washed:hover { filter: saturate(0.66) contrast(0.85) brightness(1.1) opacity(0.94); }

/* ---------- Effets ---------- */
.lift { transition: transform .5s var(--ease-out), box-shadow .5s ease; }
.lift:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.zoom .media > img { transition: transform .9s var(--ease-out); }
.zoom:hover .media > img { transform: scale(1.07); }

@keyframes amUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes amKen { from { transform: scale(1.02); } to { transform: scale(1.14); } }
@keyframes amMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes amMenu { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

[data-hero-in] { animation: amUp .95s cubic-bezier(.2, .75, .2, 1) both; }
[data-hero-in="1"] { animation-delay: .08s; }
[data-hero-in="2"] { animation-delay: .2s; }
[data-hero-in="3"] { animation-delay: .32s; }
[data-hero-in="4"] { animation-delay: .44s; }
[data-hero-in="5"] { animation-delay: .56s; }

.ken-burns { animation: amKen 22s ease-in-out infinite alternate both; }
[data-parallax] { transform: translateY(var(--am-drift, 0%)) scale(1.14); will-change: transform; }

/* Apparitions au scroll : actives uniquement quand le JS a pris la main */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .85s ease, transform .85s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-step] { opacity: 0; transform: scale(.55); transition: opacity .5s ease, transform .75s cubic-bezier(.2, .9, .25, 1); }
.js [data-step].is-in { opacity: 1; transform: none; }
.js [data-step].is-in:hover { transform: scale(1.08) rotate(-3deg); transition: transform .4s var(--ease-out); }
.js .rule[data-reveal] { opacity: 1; transform-origin: left center; transform: scaleX(0); transition: transform .9s var(--ease-out); }
.js .rule[data-reveal].is-in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-step] { opacity: 1 !important; transform: none !important; }
  [data-parallax] { transform: none !important; }
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow .35s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(43, 43, 43, .12); }

.site-header__bar {
  display: flex; flex-wrap: wrap; align-items: center;
  column-gap: clamp(12px, 2vw, 26px); row-gap: 10px;
  padding: 12px clamp(16px, 4vw, 56px);
  transition: padding .35s var(--ease-out);
}
.site-header.is-scrolled .site-header__bar { padding-block: 7px; }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--color-text); }
.brand:hover { color: var(--color-text); }
.brand img { height: 40px; width: auto; transition: height .35s var(--ease-out); }
.site-header.is-scrolled .brand img { height: 32px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-heading); font-size: 17px; letter-spacing: -0.01em; }
.brand__sub { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.6; margin-top: 4px; }

.site-nav a:not(.btn) { color: var(--color-text); text-decoration: none; }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--color-accent-700); }

.header-mobile { display: flex; gap: 8px; }

/* Mobile / tablette : menu déroulant */
@media (max-width: 1099.98px) {
  .header-cta { display: none; }
  .site-nav {
    display: none;
    order: 10; flex-basis: calc(100% + 2 * clamp(16px, 4vw, 56px));
    flex-direction: column; gap: 2px;
    margin: 0 calc(-1 * clamp(16px, 4vw, 56px)) -12px;
    padding: 8px clamp(16px, 4vw, 56px) 20px;
    border-top: 1px solid var(--color-divider);
    background: var(--color-bg);
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .site-header.is-open .site-nav { display: flex; animation: amMenu .35s var(--ease-out) both; }
  .site-nav a:not(.btn) {
    padding: 13px 4px; font-size: 16px;
    border-bottom: 1px solid var(--color-divider);
  }
  .site-header.is-open .site-nav > a { animation: amMenu .45s var(--ease-out) both; }
  .site-nav > a:nth-child(2) { animation-delay: .05s; }
  .site-nav > a:nth-child(3) { animation-delay: .1s; }
  .site-nav > a:nth-child(4) { animation-delay: .15s; }
  .site-nav > a:nth-child(5) { animation-delay: .2s; }
  .site-nav > a:nth-child(6) { animation-delay: .25s; }
  .site-nav > a:nth-child(7) { animation-delay: .3s; }
  .site-nav__cta { min-height: 48px; margin-top: 14px; }
  .site-header.is-scrolled .site-nav { margin-bottom: -7px; }
}

/* Bureau : navigation en ligne */
@media (min-width: 1100px) {
  .header-mobile, .site-nav__cta { display: none; }
  .site-nav {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end;
    gap: clamp(8px, 1.4vw, 20px); flex: 1 1 430px; min-width: 0;
  }
  .site-nav a:not(.btn) {
    position: relative; padding-bottom: 3px;
    font-size: clamp(12px, 1.4vw, 14px); white-space: nowrap;
  }
  .site-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
    background: var(--color-accent); border-radius: 999px;
    transition: right .4s var(--ease-out);
  }
  .site-nav a:not(.btn):hover { color: var(--color-accent-700); }
  .site-nav a:not(.btn):hover::after,
  .site-nav a[aria-current="page"]:not(.btn)::after { right: 0; }
  .header-cta { white-space: nowrap; margin-left: auto; }
}

/* ---------- Boutons spécifiques ---------- */
.btn-lg { min-height: 50px; font-size: 15px; padding-inline: 26px; }
.btn-outline-light { border-color: rgba(245, 234, 216, .45); color: var(--color-bg); }
.btn-outline-light:hover { background: rgba(245, 234, 216, .12); border-color: rgba(245, 234, 216, .7); color: var(--color-bg); }
.btn-dark { background: var(--color-neutral-900); color: var(--color-bg); }
.btn-dark:hover { background: #1a1a1a; color: var(--color-bg); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.btn-outline-dark { border-color: rgba(32, 30, 29, .45); color: var(--color-neutral-900); }
.btn-outline-dark:hover { background: rgba(32, 30, 29, .08); color: var(--color-neutral-900); }

.tag-glass { background: rgba(245, 234, 216, .16); color: var(--color-neutral-100); }
.tag-light { background: rgba(245, 234, 216, .92); color: var(--color-neutral-900); font-size: 12px; padding: 6px 14px; }

/* ---------- Héros ---------- */
.hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: clamp(520px, 68vw, 760px);
  background: var(--color-neutral-900);
}
.hero--page { min-height: clamp(320px, 40vw, 480px); }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(32, 30, 29, .88) 0%, rgba(32, 30, 29, .55) 45%, rgba(32, 30, 29, .15) 100%);
}
.hero--page .hero__shade { background: linear-gradient(to top, rgba(32, 30, 29, .9), rgba(32, 30, 29, .25)); }
.hero__body { position: relative; width: 100%; padding: clamp(32px, 6vw, 76px) var(--gutter); }
.hero--page .hero__body { padding-block: clamp(28px, 5vw, 64px); }
.hero__content { max-width: 900px; }
.hero--page .hero__content { max-width: 820px; }
.hero h1 {
  color: var(--color-bg); font-size: clamp(32px, 7.2vw, 64px); line-height: 1.04;
  margin: clamp(14px, 2vw, 22px) 0 clamp(12px, 1.6vw, 18px); text-wrap: balance;
}
.hero--page h1 { font-size: clamp(28px, 5.6vw, 52px); line-height: 1.06; margin: 16px 0 14px; }
.hero__lead { color: var(--color-neutral-200); font-size: clamp(15px, 1.85vw, 19px); max-width: 56ch; margin-bottom: clamp(20px, 3vw, 32px); }
.hero--page .hero__lead { font-size: clamp(14.5px, 1.7vw, 18px); max-width: 54ch; margin: 0; }
.hero__tags { margin-top: clamp(22px, 3.4vw, 38px); }

/* ---------- Cartes photo (prestations, réalisations) ---------- */
.card-photo { padding: 0; overflow: hidden; background: var(--color-bg); gap: 0; }
.card-photo--surface { background: var(--color-surface); }
.card-photo__body { padding: clamp(18px, 2.4vw, 26px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-photo__body h3 { font-size: clamp(19px, 2.2vw, 24px); margin: 0; }
.card-photo--surface .card-photo__body { gap: 8px; }
.card-photo--surface .card-photo__body h3 { font-size: 19px; }
.card-photo__body p { font-size: 14px; opacity: .8; margin: 0; }
.card-photo__body p.card-meta { opacity: 1; font-size: 11px; }
.card-photo__text { flex: 1; }
.card-photo .btn-ghost { align-self: flex-start; }

.card-plain .card-title { font-size: 19px; margin: 0; }
.card-plain .card-body { font-size: 14px; }

/* ---------- Grande photo ---------- */
.bleed { position: relative; height: clamp(280px, 42vw, 520px); overflow: hidden; }
.bleed__quote {
  position: absolute; left: var(--gutter); bottom: clamp(20px, 3vw, 40px);
  max-width: min(90%, 420px); margin: 0;
  background: var(--color-bg); padding: clamp(16px, 2.2vw, 24px);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
  font-family: var(--font-heading); font-size: clamp(16px, 2vw, 21px); line-height: 1.25;
}
.bleed__quote p { margin: 0; }

/* ---------- Bandeau défilant ---------- */
.marquee { overflow: hidden; background: var(--color-neutral-900); padding: 18px 0; white-space: nowrap; }
.marquee__track {
  display: inline-flex; align-items: center; width: max-content;
  font-family: var(--font-heading); font-size: clamp(17px, 2.4vw, 28px); color: var(--color-bg);
  animation: amMarquee 30s linear infinite;
}
.marquee__track span { padding: 0 34px; }
.marquee__track i { font-style: normal; color: var(--color-accent); font-size: .6em; }

/* ---------- Avant / après ---------- */
.ba-intro { opacity: .75; max-width: 52ch; font-size: clamp(14.5px, 1.6vw, 17px); }
.ba {
  position: relative; aspect-ratio: 16 / 9; max-width: 1100px;
  border-radius: var(--radius-xl); overflow: hidden;
  margin-top: clamp(18px, 2.6vw, 30px);
}
.ba > .media { position: absolute; inset: 0; }
.ba__before { clip-path: inset(0 var(--ba-clip, 50%) 0 0); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: calc(100% - var(--ba-clip, 50%));
  width: 2px; margin-left: -1px; background: var(--color-bg); pointer-events: none;
}
.ba__label {
  position: absolute; top: 14px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; pointer-events: none;
}
.ba__label--before { left: 14px; background: rgba(32, 30, 29, .75); color: var(--color-neutral-100); }
.ba__label--after { right: 14px; background: rgba(120, 168, 60, .92); color: var(--color-bg); }
.ba-range { display: block; max-width: 1100px; margin-top: 18px; }
.ba-range span { font-size: 12px; opacity: .7; display: block; margin-bottom: 8px; }
.ba-range input { width: 100%; height: 32px; accent-color: var(--color-accent); }

/* ---------- Étapes ---------- */
.steps { --min: 220px; --gap: clamp(20px, 3vw, 34px); }
.step__num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-accent-2-200); color: var(--color-accent-2-800);
  font-family: var(--font-heading); font-size: 22px;
}
.step h3 { font-size: 20px; margin: 16px 0 6px; }
.step p { font-size: 14px; opacity: .8; margin: 0; }
.steps--compact { --min: 200px; --gap: clamp(18px, 2.6vw, 30px); }
.steps--compact .step__num { width: 48px; height: 48px; font-size: 19px; background: var(--color-bg); color: var(--color-text); }
.steps--compact .step h3 { font-size: 18px; margin-top: 14px; }

/* ---------- Encadré piscine ---------- */
.band {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--color-divider); border-radius: var(--radius-xl);
}
.band__text { flex: 1 1 280px; min-width: 0; }
.band h2, .band h3 { font-size: clamp(19px, 2.4vw, 24px); margin-bottom: 8px; }
.band p { font-size: 14.5px; opacity: .82; margin: 0; max-width: 60ch; }
.band--sand { border: 0; padding: 0; }
.band--sand .band__text { flex-basis: 300px; }
.band--sand h2 { font-size: clamp(24px, 3.6vw, 36px); margin-bottom: 10px; }
.band--sand p { font-size: 15px; max-width: 52ch; }

/* ---------- Appel à l'action ---------- */
.cta h2 { font-size: clamp(28px, 4.6vw, 48px); max-width: 26ch; margin-bottom: 16px; text-wrap: balance; }
.cta p { font-size: clamp(15px, 1.8vw, 19px); max-width: 56ch; margin-bottom: 28px; }
.cta--sm h2 { font-size: clamp(26px, 4vw, 42px); margin-bottom: 14px; }
.cta--sm p { font-size: clamp(14.5px, 1.7vw, 18px); max-width: 52ch; margin-bottom: 26px; }

/* ---------- Panneaux & contact ---------- */
.panel { padding: clamp(20px, 3vw, 34px); background: var(--color-surface); border-radius: var(--radius-xl); }
.panel h2, .panel h3 { font-size: 22px; margin-bottom: 16px; }
.panel .panel__title { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 6px; }

.contact-details { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; font-size: 15px; }
.contact-details address { font-style: normal; }
.phone-link { font-family: var(--font-heading); font-size: 22px; text-decoration: none; }

.form { display: flex; flex-direction: column; gap: 14px; }
.form__row { --min: 180px; --gap: 14px; }
.form select.input { appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23201e1d' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.form textarea.input { min-height: 120px; }
.form__file {
  width: 100%; font-size: 13px; padding: 12px;
  background: var(--color-bg); border: 1px dashed var(--color-neutral-400); border-radius: var(--radius-md);
}
.form__file::file-selector-button {
  font: inherit; margin-right: 10px; padding: 6px 14px; cursor: pointer;
  border: 1px solid var(--color-divider); border-radius: 999px; background: var(--color-surface); color: var(--color-text);
}
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.form__consent input { width: 20px; height: 20px; flex: none; accent-color: var(--color-accent); margin: 1px 0 0; }
.form__submit { min-height: 52px; font-size: 15px; }
.form__hint { font-size: 13.5px; opacity: .7; margin-bottom: 22px; }
.form__status { font-size: 14px; border-radius: var(--radius-md); padding: 12px 16px; margin: 0; }
.form__status--error { background: var(--color-accent-2-200); color: var(--color-accent-2-900); }

.form-success { text-align: center; padding: clamp(20px, 4vw, 50px) 0; }
.form-success__icon {
  width: 64px; height: 64px; border-radius: 50%; margin-bottom: 18px;
  display: inline-grid; place-items: center; background: var(--color-accent-2-300);
}
.form-success h2 { font-size: 23px; margin-bottom: 10px; }
.form-success p { font-size: 14.5px; opacity: .8; max-width: 38ch; margin: 0 auto 20px; }

.card-call { background: var(--color-neutral-900); color: var(--color-neutral-100); }
.card-call .card-title { font-size: 20px; color: var(--color-bg); }
.card-call__phone { font-family: var(--font-heading); font-size: clamp(24px, 3.2vw, 32px); text-decoration: none; color: var(--color-accent-400); }
.card-call__phone:hover { color: var(--color-accent-300); }
.card-plain .card-title--md { font-size: 20px; }

/* ---------- Pages prestation ---------- */
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.checklist li::before {
  content: "•"; width: 22px; height: 22px; flex: none; margin-top: 2px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px;
  background: var(--color-accent-200); color: var(--color-accent-800);
}
.gallery { --min: 220px; --gap: clamp(12px, 2vw, 20px); }
.gallery .media { border-radius: var(--radius-lg); }

.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq details { background: var(--color-surface); border-radius: var(--radius-lg); padding: 16px 20px; }
.faq summary { font-family: var(--font-heading); font-size: 17px; cursor: pointer; }
.faq details p { font-size: 14.5px; opacity: .82; margin: 12px 0 0; }

/* ---------- Réalisations ---------- */
.filters { margin-top: clamp(22px, 3vw, 34px); }
.filters .btn { font-size: 13px; padding: 8px 16px; border-color: var(--color-divider); }
.filters .btn[aria-pressed="true"] { background: var(--color-neutral-900); color: var(--color-bg); }
.projects { --min: 270px; }
.projects [hidden] { display: none; }
.projects .tags { gap: 6px; }
.projects h3 { margin-bottom: 6px !important; }

/* ---------- À propos ---------- */
.team .card-title { margin-top: 8px; }
.values h3 { font-size: 19px; margin: 0 0 8px; }
.values p { font-size: 14.5px; opacity: .82; margin: 0; }

/* ---------- Pages légales ---------- */
.prose > * { max-width: 72ch; }
.prose h2 { font-size: clamp(22px, 3vw, 30px); margin: 40px 0 14px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { font-size: 15px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--color-neutral-900); color: var(--color-neutral-300); padding: clamp(36px, 5vw, 72px) var(--gutter) 0; }
.site-footer__grid { --min: 200px; --gap: clamp(24px, 3vw, 40px); padding-bottom: clamp(28px, 4vw, 48px); }
.site-footer__logo { height: 104px; width: auto; margin-bottom: 14px; }
.site-footer__title {
  font-family: var(--font-heading); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-neutral-400); margin: 0 0 14px;
}
.site-footer__links { display: flex; flex-direction: column; gap: 9px; font-size: 14px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--color-neutral-200); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent-400); }
.site-footer__phone { font-size: 15px; color: var(--color-accent-400) !important; }
.site-footer__about { font-size: 14px; opacity: .75; max-width: 34ch; }
.site-footer__address { font-size: 14px; opacity: .85; margin-bottom: 10px; }
.site-footer__legal { font-size: 12px; opacity: .5; margin-top: 14px; }
.site-footer__bottom { border-top: 1px solid rgba(245, 234, 216, .15); padding: 18px 0 clamp(18px, 3vw, 26px); font-size: 12.5px; opacity: .6; }
.site-footer address { font-style: normal; }

/* ---------- Barre d'action mobile ---------- */
.mobile-cta { display: none; }
@media (max-width: 767.98px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--color-bg) 94%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-divider);
  }
  .mobile-cta .btn { flex: 1; min-height: 50px; font-size: 15px; padding-inline: 10px; white-space: nowrap; }
  .site-footer { padding-bottom: 74px; }
}

/* ---------- Variantes de mise en page (pages PHP) ---------- */
.actions--spaced { gap: 10px; margin-top: 24px; }
.tags--spaced { margin-top: 20px; }
.title--narrow { max-width: 34ch; }
.title--flush { margin: 0; }
.title--ba { margin-bottom: 8px; max-width: 30ch; }
.title--page { text-wrap: balance; }
.grid--cards { --min: 250px; }
.grid--contact { --min: 300px; --gap: clamp(20px, 3vw, 40px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin-bottom: clamp(22px, 3vw, 40px); }
.section-head > div { margin-right: auto; }
.section--band { padding-bottom: clamp(40px, 6vw, 80px); }
.section--error { min-height: 50vh; }
.text-intro { font-size: 15px; opacity: .85; max-width: 44ch; }
.contact-details .muted { margin: 0; }
.panel__hint { font-size: 14px; opacity: .8; margin-bottom: 18px; }
.form--short { gap: 12px; }
.btn-tall { min-height: 48px; padding-inline: 24px; }
.btn-start { align-self: flex-start; }
.stack--contact { --stack-gap: clamp(16px, 2.4vw, 24px); }
.card-body--lg { font-size: 15px; font-style: normal; }
.card-call .form__submit { min-height: 52px; }
.team { --min: 260px; margin-top: clamp(20px, 3vw, 32px); }
.values { --min: 240px; }

/* ---------- Formulaire : erreurs, aides, anti-robot ---------- */
.field__hint { font-size: 12px; opacity: .7; margin: 6px 0 0; }
.field__error { font-size: 12.5px; color: #9b2c1f; margin: 6px 0 0; }
.input[aria-invalid="true"] { border-color: #b8432f; background: #f6e2d8; }
.form__consent input[aria-invalid="true"] { outline: 2px solid #b8432f; outline-offset: 2px; }
.form__status--error { background: #f6e2d8; color: #6e2014; border: 1px solid #e4b3a2; }
.form__status + .form { margin-top: 18px; }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.field--captcha altcha-widget {
  display: block;
  --altcha-border-radius: var(--radius-md);
  --altcha-border-color: var(--color-divider);
  --altcha-color-base: var(--color-bg);
  --altcha-color-base-content: var(--color-text);
  --altcha-color-primary: var(--color-accent-600);
  --altcha-color-primary-content: #fff;
  --altcha-color-success: var(--color-accent-600);
  --altcha-max-width: 100%;
}
