/* ==========================================================================
   Studio Garoupe — styles.css
   Compilé depuis le design system « Studio Garoupe Design System »
   (tokens/colors, typography, spacing, effects + composants).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Base — palette Garoupe */
  --encre: #0E2733;
  --marine: #173D4F;
  --marine-600: #1F4F66;
  --azur: #3E7E93;
  --azur-fort: #2C6274;
  --azur-pale: #DCE9EC;
  --craie: #FDFBF5;
  --calcaire: #F5F0E4;
  --sable: #EAE1CD;
  --pierre-200: #D8D0BE;
  --pierre-400: #A8A493;
  --pierre-600: #5F6E73;
  --pierre-800: #2A3B42;
  --laiton: #B98A44;
  --laiton-pale: #F5EDDC;
  --terracotta: #A9553F;
  --terracotta-pale: #F2DFD8;
  --olive: #52704F;
  --olive-pale: #E2E8DC;

  /* Semantic — surfaces */
  --surface-page: #FFFFFF;
  --surface-card: #FFFFFF;
  --surface-raised: #FFFFFF;
  --surface-inverse: var(--encre);
  --surface-inverse-raised: var(--marine);
  --surface-accent-tint: var(--azur-pale);
  --surface-brass-tint: var(--laiton-pale);
  --surface-tint: #F2F1ED;

  /* Semantic — text */
  --text-heading: var(--encre);
  --text-body: var(--pierre-800);
  --text-muted: var(--pierre-600);
  --text-on-inverse: #F2EFE6;
  --text-muted-on-inverse: #AFC0C4;
  --text-on-accent: #FFFFFF;
  --text-accent: var(--azur-fort);
  --text-brass: #8A6527;

  /* Semantic — interactive */
  --accent: var(--azur);
  --accent-strong: var(--azur-fort);
  --accent-pressed: #235061;
  --link: var(--azur-fort);
  --link-hover: var(--encre);
  --focus-ring: rgba(62, 126, 147, .45);

  /* Semantic — borders */
  --border-subtle: #E9E7E2;
  --border-strong: #CFCCC5;
  --border-inverse: rgba(242, 239, 230, .18);

  /* Semantic — status */
  --success: var(--olive);
  --success-bg: var(--olive-pale);
  --warning: #96702F;
  --warning-bg: var(--laiton-pale);
  --danger: var(--terracotta);
  --danger-bg: var(--terracotta-pale);

  /* Type */
  --font-display: 'Marcellus', Georgia, serif;
  --font-body: 'Karla', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Fragment Mono', 'SF Mono', Consolas, monospace;
  --text-hero: clamp(44px, 5vw, 64px);
  --text-h1: 40px;
  --text-h2: 30px;
  --text-h3: 22px;
  --text-h4: 18px;
  --text-body-lg: 18px;
  --text-body-md: 16px;
  --text-body-sm: 14px;
  --text-caption: 12.5px;
  --leading-display: 1.08;
  --leading-heading: 1.2;
  --leading-body: 1.6;
  --leading-tight: 1.35;
  --tracking-display: 0.01em;
  --tracking-caps: 0.16em;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;

  /* Espacement */
  --space-1: 4px;  --space-2: 8px;   --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px;  --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 144px;
  --container-max: 1120px;
  --container-text: 680px;
  --gutter: 24px;
  --radius-xs: 2px;
  --radius-sm: 3px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  /* Effets */
  --shadow-card: 0 1px 2px rgba(14, 39, 51, .06), 0 8px 24px rgba(14, 39, 51, .08);
  --shadow-raised: 0 2px 6px rgba(14, 39, 51, .09), 0 20px 48px rgba(14, 39, 51, .14);
  --ease-out: cubic-bezier(.22, .61, .25, 1);
  --ease-inout: cubic-bezier(.6, .05, .3, .95);
  --duration-fast: 140ms;
  --duration-base: 240ms;
  --duration-slow: 420ms;
}

@media (max-width: 640px) {
  :root {
    --text-hero: clamp(36px, 9.5vw, 64px);
    --text-h1: 32px;
    --text-h2: 26px;
    --gutter: 20px;
  }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  /* Footer collé en bas de l'écran sur les pages courtes */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
body > * { flex-shrink: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-heading);
  line-height: var(--leading-heading);
  margin: 0;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
  transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--link-hover); text-decoration-color: currentColor; }

::selection { background: var(--azur-pale); color: var(--encre); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--encre);
  color: var(--text-on-inverse);
  padding: 10px 16px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { left: 0; color: var(--text-on-inverse); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Apparition douce des sections (classes posées par main.js, jamais sans JS) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Stagger des grilles à l'intérieur des sections révélées */
.reveal .grid-3 > *, .reveal .grid-2 > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.reveal.is-visible .grid-3 > *, .reveal.is-visible .grid-2 > * { opacity: 1; transform: none; }
.reveal.is-visible :is(.grid-3, .grid-2) > :nth-child(2) { transition-delay: 90ms; }
.reveal.is-visible :is(.grid-3, .grid-2) > :nth-child(3) { transition-delay: 180ms; }
.reveal.is-visible :is(.grid-3, .grid-2) > :nth-child(n+4) { transition-delay: 240ms; }

/* Lenis — scroll à inertie (classes posées par la lib sur <html>) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Parallaxe (transforms pilotés par main.js, desktop uniquement) */
@media (min-width: 901px) {
  [data-parallax] { will-change: transform; }
  img[data-parallax] { transform: scale(1.1) translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  [data-parallax] { transform: none !important; }
}

/* --------------------------------------------------------------------------
   Composants — Kicker, Photo, filet
   -------------------------------------------------------------------------- */
.kicker {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-brass);
  margin-bottom: 14px;
}

.photo {
  background: linear-gradient(160deg, var(--marine) 0%, var(--azur) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.photo:has(img) { padding: 0; overflow: hidden; }
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Phare de la Garoupe — feu réel Fl(2)W 10s : 2 éclats blancs groupés toutes les 10 s */
.hero__visual .photo { position: relative; }
.lighthouse-light {
  --lh-x: 31.3%;
  --lh-y: 47.5%;
  position: absolute;
  left: var(--lh-x);
  top: var(--lh-y);
  width: 24%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 251, 235, .95) 0%,
    rgba(255, 236, 179, .55) 22%,
    rgba(255, 214, 120, .22) 45%,
    rgba(255, 200, 90, 0) 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: .35;
  animation: garoupe-flash 10s ease-in-out infinite;
}
@keyframes garoupe-flash {
  0%, 2% { opacity: .35; transform: translate(-50%, -50%) scale(1); }
  5%     { opacity: 1;   transform: translate(-50%, -50%) scale(1.15); }
  10%    { opacity: .35; transform: translate(-50%, -50%) scale(1); }
  22%    { opacity: 1;   transform: translate(-50%, -50%) scale(1.15); }
  27%    { opacity: .35; transform: translate(-50%, -50%) scale(1); }
  100%   { opacity: .35; transform: translate(-50%, -50%) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .lighthouse-light { animation: none; opacity: .45; }
}
.photo span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(242, 239, 230, .75);
}
.photo--16-9 { aspect-ratio: 16 / 9; }
.photo--4-5 { aspect-ratio: 4 / 5; }

.rule-brass { width: 40px; height: 1px; background: var(--laiton); border: none; margin: 0; }

/* --------------------------------------------------------------------------
   Composants — Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: 14.5px;
  line-height: 1.2;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
@media (hover: hover) {
  .btn:not([disabled]):hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(14, 39, 51, .12); }
  .btn:not([disabled]):active { transform: translateY(0); box-shadow: none; }
  .offer:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
}
.btn--sm { padding: 7px 14px; font-size: 13px; }
.btn--lg { padding: 13px 26px; font-size: 16px; }

.btn--primary { background: var(--accent); color: var(--text-on-accent); }
.btn--primary:hover { background: var(--accent-strong); color: var(--text-on-accent); }
.btn--primary:active { background: var(--accent-pressed); }

.btn--inverse { background: #FFFFFF; color: var(--encre); }
.btn--inverse:hover { background: #EDF2F3; color: var(--encre); }

.btn--secondary { background: transparent; color: var(--encre); border-color: var(--border-strong); }
.btn--secondary:hover { border-color: var(--encre); color: var(--encre); }

.btn--ghost { background: transparent; color: var(--text-accent); }
.btn--ghost:hover { color: var(--link-hover); }

.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* --------------------------------------------------------------------------
   Composants — Card, Badge, Tag
   -------------------------------------------------------------------------- */
.card {
  border-radius: var(--radius-md);
  padding: 24px;
  font-family: var(--font-body);
  transition: box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}
.card--line { border: 1px solid var(--border-subtle); background: var(--surface-card); box-shadow: 0 1px 2px rgba(14, 39, 51, .04); }
.card--shadow { background: var(--surface-card); box-shadow: var(--shadow-card); }
.card--inverse { background: var(--surface-inverse); color: var(--text-on-inverse); }
.card--flush { padding: 0; overflow: hidden; }
a.card { display: block; text-decoration: none; color: inherit; }
.card--interactive:hover { box-shadow: var(--shadow-raised); transform: translateY(-2px); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: var(--weight-bold);
  letter-spacing: .02em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.badge--neutral { background: var(--surface-tint); color: var(--pierre-800); }
.badge--accent { background: var(--azur-pale); color: var(--azur-fort); }
.badge--brass { background: var(--laiton-pale); color: var(--text-brass); }
.badge--success { background: var(--success-bg); color: var(--success); }
.badge--danger { background: var(--danger-bg); color: var(--danger); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: var(--weight-medium);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: transparent;
  color: var(--text-body);
  border: 1px solid var(--border-strong);
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}
.tag:hover { background: var(--surface-tint); }
.tag.is-selected { background: var(--encre); color: var(--text-on-inverse); border-color: var(--encre); }

/* --------------------------------------------------------------------------
   Composants — Formulaires
   -------------------------------------------------------------------------- */
.field { display: block; font-family: var(--font-body); }
.field__label {
  display: block;
  font-size: 13.5px;
  font-weight: var(--weight-bold);
  color: var(--encre);
  margin-bottom: 6px;
}
.field__label .req { color: var(--terracotta); }
.field__label .field__optional { color: var(--text-muted); font-weight: 400; }
.field__hint { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 5px; }
.field__error { display: block; font-size: 12.5px; color: var(--danger); margin-top: 5px; }

.input, .textarea, .select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-body);
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--azur);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.input::placeholder, .textarea::placeholder { color: var(--pierre-400); }
.textarea { min-height: 96px; resize: vertical; }

.select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 34px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235F6E73' stroke-width='1.5'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-family: var(--font-body);
}
.checkbox input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.checkbox__box {
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}
.checkbox input:checked + .checkbox__box {
  border-color: var(--accent-strong);
  background-color: var(--accent-strong);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3'><path d='M20 6 9 17l-5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.checkbox input:focus-visible + .checkbox__box { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.checkbox__text { font-size: 14.5px; line-height: 1.35; color: var(--text-body); }

/* --------------------------------------------------------------------------
   Composants — Dialog, Toast
   -------------------------------------------------------------------------- */
.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 39, 51, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.dialog-overlay[hidden] { display: none; }
.dialog {
  width: 520px;
  max-width: 100%;
  background: var(--surface-raised);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised);
  font-family: var(--font-body);
}
.dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.dialog__head h3 { font-size: var(--text-h3); }
.dialog__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--pierre-600);
  padding: 4px;
  line-height: 0;
}
.dialog__body { padding: 24px; font-size: 15px; line-height: var(--leading-body); color: var(--text-body); }
.dialog__foot {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
}

.toast-region { position: fixed; bottom: 24px; right: 24px; z-index: 120; }
.toast {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 360px;
  max-width: calc(100vw - 48px);
  background: var(--surface-inverse);
  color: var(--text-on-inverse);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-raised);
  padding: 14px 16px;
  font-family: var(--font-body);
  animation: toast-in var(--duration-base) var(--ease-out);
}
.toast[hidden] { display: none; }
.toast__bar { width: 3px; align-self: stretch; border-radius: 2px; flex: none; background: var(--success); }
.toast--danger .toast__bar { background: var(--danger); }
.toast__content { flex: 1; font-size: 13.5px; line-height: 1.45; }
.toast__content strong { display: block; font-size: 14px; }
.toast__content span { color: var(--text-muted-on-inverse); }
.toast__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted-on-inverse);
  padding: 2px;
  line-height: 0;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 16px rgba(14, 39, 51, .04);
}
.site-header__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--encre);
  text-decoration: none;
}
.brand:hover { color: var(--encre); }

.nav { display: flex; gap: 28px; align-items: center; }
.nav__link {
  font-size: 14px;
  text-decoration: none;
  color: var(--text-muted);
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0 1px;
  transition: background-size var(--duration-base) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}
.nav__link:hover { color: var(--encre); background-size: 100% 1px; }
.nav__link.is-active { color: var(--encre); font-weight: var(--weight-bold); }

.lang-switch {
  display: inline-flex;
  gap: 2px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 2px;
}
.lang-switch__btn {
  font-size: 11.5px;
  font-weight: var(--weight-bold);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--text-muted);
}
.lang-switch__btn:hover { color: var(--encre); }
.lang-switch__btn.is-active { background: var(--encre); color: var(--text-on-inverse); }
.lang-switch__btn.is-active:hover { color: var(--text-on-inverse); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--encre);
  padding: 8px;
  line-height: 0;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px var(--gutter) 28px;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav.is-open { display: flex; }
  .nav__link { font-size: 16px; }
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--encre);
  color: var(--text-on-inverse);
  margin-top: var(--space-9);
}
/* Quand la page se termine par un bandeau sombre, il rejoint le footer sans blanc. */
main:has(> .band:last-child) + .site-footer { margin-top: 0; }
.site-footer__grid {
  padding-top: 56px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.site-footer__brand { font-family: var(--font-display); font-size: 22px; }
.site-footer__place {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--laiton);
  margin-top: 6px;
}
.site-footer__baseline {
  font-size: 13.5px;
  color: var(--text-muted-on-inverse);
  max-width: 320px;
  line-height: 1.6;
}
.site-footer__nav { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.site-footer__nav a,
.site-footer__contact a {
  color: var(--text-muted-on-inverse);
  text-decoration: none;
  padding-bottom: 1px;
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0 1px;
  transition: background-size var(--duration-base) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}
.site-footer__nav a:hover,
.site-footer__contact a:hover { color: var(--text-on-inverse); background-size: 100% 1px; }
.site-footer__contact { font-size: 13.5px; color: var(--text-muted-on-inverse); line-height: 1.8; }
.site-footer__contact .mono { font-family: var(--font-mono); font-size: 12px; }
.site-footer__bar { border-top: 1px solid var(--border-inverse); }
.site-footer__bar-inner {
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 12px;
  color: var(--text-muted-on-inverse);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.site-footer__bar-inner a { color: var(--text-muted-on-inverse); text-decoration: none; }
.site-footer__bar-inner a:hover { color: var(--text-on-inverse); text-decoration: underline; }

@media (max-width: 700px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* --------------------------------------------------------------------------
   Sections communes
   -------------------------------------------------------------------------- */
.section { padding-top: var(--space-9); }
.hero + .section { padding-top: 0; }
.mono { font-family: var(--font-mono); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 940px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Accueil
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 96px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: center;
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.hero h1 {
  animation: hero-rise .6s var(--ease-out) both;
  font-size: var(--text-hero);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
}
.hero__lead {
  font-size: var(--text-body-lg);
  max-width: 520px;
  margin: 22px 0 30px;
}
.hero__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero__meta {
  display: flex;
  gap: 18px;
  margin-top: 34px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; gap: 40px; }
  .hero__visual { max-width: 440px; margin-left: auto; margin-right: auto; width: 100%; }
}

.band {
  background: var(--surface-inverse);
  color: var(--text-on-inverse);
}
.section + .band,
.process + .band,
.testimonial + .band,
.container + .band { margin-top: var(--space-9); }
.band__inner { padding-top: 72px; padding-bottom: 72px; }
.band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.band h2 { font-size: var(--text-h1); color: var(--text-on-inverse); }
.band p {
  color: var(--text-muted-on-inverse);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 22px;
}
@media (max-width: 860px) {
  .band__grid { grid-template-columns: 1fr; gap: 28px; }
  .band__inner { padding-top: 56px; padding-bottom: 56px; }
}

.audiences h2 { font-size: var(--text-h2); margin-bottom: 32px; }
.audiences .card h3 { font-size: var(--text-h3); margin: 16px 0 8px; }
.audiences .card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.6; }
.audiences__more {
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

.about__grid { align-items: center; }
.about__visual { max-width: 380px; }
.about__visual img { object-position: top; }
@media (max-width: 700px) {
  .about__visual { margin-left: auto; margin-right: auto; width: 100%; max-width: 240px; }
  .about__visual .photo { aspect-ratio: 1; }
}
.about h2 { font-size: var(--text-h2); margin: 10px 0 16px; }
.about p { color: var(--text-muted); line-height: 1.7; margin: 0 0 24px; max-width: 480px; }

.reassure__title { font-size: 17px; margin-bottom: 8px; }
.reassure__text { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.testimonial {
  max-width: var(--container-text);
  margin: 0 auto;
  padding: 88px var(--gutter) 0;
  text-align: center;
}
.testimonial .rule-brass { margin: 0 auto 26px; }
.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 5px;
  color: var(--laiton);
  margin-bottom: 20px;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.45;
  color: var(--encre);
  margin: 0;
}
.testimonial figcaption { font-size: 13.5px; color: var(--text-muted); margin-top: 16px; }
.testimonial figcaption .mono { font-size: 12px; }

/* --------------------------------------------------------------------------
   Pages intérieures (Offres, Réalisations, Contact)
   -------------------------------------------------------------------------- */
.page-head { padding-top: 72px; }
.page-head h1 { font-size: var(--text-h1); max-width: 640px; }
.page-head__lead { font-size: var(--text-body-lg); max-width: 560px; margin: 18px 0 44px; }

/* Offres */
.offers { align-items: start; }
.offer h3 { font-size: var(--text-h3); }
.offer--featured h3 { color: var(--text-on-inverse); }
.offer__price {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--text-brass);
  margin: 8px 0 14px;
}
.offer--featured .offer__price { color: var(--laiton); }
.offer__desc { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0 0 18px; }
.offer--featured .offer__desc { color: var(--text-muted-on-inverse); }
.offer__badge { margin-bottom: 14px; }
.offer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.offer li {
  font-size: 13.5px;
  display: flex;
  gap: 9px;
  align-items: baseline;
  color: var(--text-body);
}
.offer--featured li { color: var(--text-on-inverse); }
.offer li::before { content: "—"; color: var(--laiton); flex: none; }
.offer__note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin: -10px 0 18px;
}
.offer--featured .offer__note { color: var(--text-muted-on-inverse); }
.offers-note {
  max-width: 620px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.process {
  max-width: var(--container-text);
  margin: 0 auto;
  padding-top: 80px;
}
.process h2 { font-size: var(--text-h2); margin-bottom: 24px; }
.process__step {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--border-subtle);
}
.process__step h3 { font-size: 17px; }
.process__step p { margin: 0; font-size: 14.5px; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 640px) {
  .process__step { grid-template-columns: 1fr; gap: 6px; }
}

/* Réalisations */
.work-note {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin: 14px 0 28px;
}
.work-filters { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.grid-2 > .work-card:nth-child(odd):last-child {
  grid-column: 1 / -1;
  width: calc(50% - 12px);
  justify-self: center;
}
@media (max-width: 700px) {
  .grid-2 > .work-card:nth-child(odd):last-child { width: 100%; }
}
.work-card .photo { border-radius: var(--radius-md) var(--radius-md) 0 0; }
.work-card__row {
  padding: 18px 22px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.work-card__row h3 { font-size: 18px; }
.work-card.is-hidden { display: none; }

/* Contact */
.contact-grid {
  padding-top: 72px;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 64px;
  align-items: start;
}
.contact-grid h1 { font-size: var(--text-h1); }
.contact-intro__lead { font-size: var(--text-body-lg); margin: 18px 0 28px; }
.contact-details {
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
}
.contact-details .mono { font-size: 13px; color: var(--text-brass); }
.contact-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.contact-person img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
  flex: none;
  box-shadow: var(--shadow-card);
}
.contact-person__id { display: flex; flex-direction: column; gap: 2px; }
.contact-person__id strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  color: var(--text-heading);
}
.contact-person__id span { font-size: 13.5px; color: var(--text-muted); }
.contact-next {
  border-top: 1px solid var(--border-subtle);
  margin-top: 22px;
  padding-top: 22px;
  font-size: 14px;
}
.contact-next__title { display: block; font-size: 12px; color: var(--text-brass); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-next ol { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--text-body); }
.contact-next p { margin: 0; font-size: 13px; color: var(--text-muted); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
}

.quote-form {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .quote-form { padding: 24px 20px; }
  .quote-form__row { grid-template-columns: 1fr; }
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   Pages simples (mentions, confidentialité, merci)
   -------------------------------------------------------------------------- */
.prose {
  max-width: var(--container-text);
  margin: 0 auto;
  padding: 72px var(--gutter) 0;
}
.prose h1 { font-size: var(--text-h1); margin-bottom: 28px; }
.prose h2 { font-size: var(--text-h3); margin: 36px 0 10px; }
.prose p, .prose li { font-size: 15px; line-height: 1.7; }
.prose .placeholder { font-family: var(--font-mono); font-size: 13px; color: var(--text-brass); }

.thanks {
  max-width: var(--container-text);
  margin: 0 auto;
  padding: 120px var(--gutter) 0;
  text-align: center;
}
.thanks h1 { font-size: var(--text-h1); margin: 26px 0 14px; }
.thanks p { font-size: var(--text-body-lg); margin: 0 0 32px; }
.thanks .rule-brass { margin: 0 auto; }
.thanks__next {
  text-align: left;
  max-width: 480px;
  margin: 0 auto 32px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  font-size: 14.5px;
}
.thanks__next .mono { display: block; font-size: 12px; color: var(--text-brass); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.thanks__next ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--text-body); }
.thanks__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
