/* ==========================================================================
   Baronnies Digital — esprit « imprimerie » : encre chaude, papier, et l'ocre du
   soleil du logo comme seul signal vif (actions principales).
   ========================================================================== */

:root {
  /* Encre & papier */
  --ink: #231e15;
  --charcoal: #403b36;
  --graphite: #706d67;
  --rule: #bcbab6;
  --rule-soft: rgba(35, 30, 21, 0.14);
  --paper: #ffffff;
  --ash: #f6f4f0;
  --parchment: #ebe1cd;
  --sand: #e7b75f;

  /* Le seul signal vif : l'ocre du soleil du logo */
  --sun: #c9922f;
  --sun-wash: rgba(201, 146, 47, 0.38);

  /* Accents */
  --teal: #004e56;
  --olive: #3d4a2e;
  --olive-deep: #2b3320;
  --ochre: #c9922f;

  --shadow-warm: 0 0 20px 3px rgba(35, 30, 21, 0.15);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-ui: 'Work Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --track: -0.013em;
  --track-display: -0.021em;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: var(--track);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; letter-spacing: inherit; color: inherit; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: var(--track-display);
  color: var(--ink);
  text-wrap: balance;
}
h3 {
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nowrap { white-space: nowrap; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Éléments de base
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}
.eyebrow::before {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 1px var(--ink);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Boutons : pastille ocre cerclée d'encre, effet « tampon » au survol */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 0;
  border-radius: 26px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    background-color 0.2s ease;
}
.btn-lg { padding: 15px 30px; font-size: 1.0625rem; }
.btn-sun {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink), 0 0 0 0 var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Reflet qui balaie le bouton au survol */
.btn-sun::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -2px;
  bottom: -2px;
  left: 0;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-120%) skewX(-18deg);
  pointer-events: none;
}
.btn-sun:hover::after {
  transform: translateX(260%) skewX(-18deg);
  transition: transform 0.75s var(--ease-out);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink), 0 0 0 0 var(--ink);
}
.btn-sun:hover,
.btn-ghost:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0 0 0 1px var(--ink), 3px 3px 0 0 var(--ink);
}
.btn-ghost:hover { background: var(--paper); }
.btn-sun:active,
.btn-ghost:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 1px var(--ink), 0 0 0 0 var(--ink);
}

/* Lien fléché : pastille ocre + surlignage au survol */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--ink);
}
.link-arrow-text {
  background-image: linear-gradient(var(--sun-wash), var(--sun-wash));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 0% 45%;
  transition: background-size 0.35s var(--ease-out);
}
.link-arrow:hover .link-arrow-text { background-size: 100% 45%; }
.arrow-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 32px;
  background: var(--sun);
  box-shadow: 0 0 0 1px var(--ink);
  transition: transform 0.3s var(--ease-out);
}
.arrow-badge svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.link-arrow:hover .arrow-badge { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Bandeau d'annonce
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8125rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar-link {
  color: var(--sun);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.topbar-link:hover { border-bottom-color: var(--sun); }

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--rule-soft); }
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand-mark {
  width: 76px;
  height: auto;
  overflow: visible;
}
.brand-bridge { fill: var(--olive-deep); }
.brand-sun { fill: var(--ochre); }
.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--olive-deep);
}
.brand-accent { color: var(--ochre); }

/* Le soleil du logo se lève au chargement */
.js .site-header .brand-sun {
  transform: translateY(17px);
  animation: sun-rise 0.9s var(--ease-out) 0.1s forwards;
}
@keyframes sun-rise { to { transform: translateY(0); } }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.site-nav a:not(.btn) {
  position: relative;
  font-size: 0.9375rem;
  color: var(--ink);
  padding: 6px 0;
}
.site-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.site-nav a:not(.btn):hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.nav-cta { display: none; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.header-phone:hover { background: var(--sun-wash); }
.header-phone-icon {
  width: 16px;
  height: 16px;
  fill: var(--ink);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--sun);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  border-radius: 3px;
  box-shadow: 0 0 0 1px var(--ink);
  background: var(--paper);
  cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { background: var(--sun); }
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 1px;
  transform-origin: center;
  transition:
    transform 0.35s var(--ease-out),
    opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop { display: none; }

@media (max-width: 1080px) {
  .site-nav { gap: 22px; }
  .header-phone-label { display: none; }
  .header-phone { padding: 10px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header-cta { display: none; }
  .header-phone {
    margin-left: auto;
    width: 44px;
    height: 44px;
    justify-content: center;
  }
  .header-phone-icon { width: 18px; height: 18px; }
  .nav-toggle { display: flex; }
  .brand-mark { width: 62px; }
  .brand-name { font-size: 1.0625rem; }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(35, 30, 21, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s;
  }
  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 4px var(--gutter) 28px;
    background: var(--paper);
    box-shadow: 0 1px 0 var(--rule-soft), 0 24px 40px rgba(35, 30, 21, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.3s ease,
      transform 0.4s var(--ease-out),
      visibility 0.4s;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-nav a:not(.btn) {
    padding: 16px 0;
    border-bottom: 1px solid var(--rule-soft);
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: var(--track-display);
  }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a,
  .site-nav .nav-cta {
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.35s ease,
      transform 0.4s var(--ease-out),
      box-shadow 0.2s var(--ease-out),
      background-color 0.2s ease;
  }
  .site-nav.is-open a { opacity: 1; transform: translateY(0); }
  .site-nav.is-open a:nth-child(1) { transition-delay: 0.04s; }
  .site-nav.is-open a:nth-child(2) { transition-delay: 0.08s; }
  .site-nav.is-open a:nth-child(3) { transition-delay: 0.12s; }
  .site-nav.is-open a:nth-child(4) { transition-delay: 0.16s; }
  .site-nav.is-open a:nth-child(5) { transition-delay: 0.2s; }
  .site-nav .nav-cta {
    display: flex;
    margin-top: 22px;
    padding: 15px 24px;
  }
  body.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   Accueil
   -------------------------------------------------------------------------- */

.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px);
  background: var(--paper);
}
.hero,
section[id] { scroll-margin-top: var(--scroll-offset, 5rem); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-title {
  isolation: isolate;
  margin: 20px 0 28px;
  font-size: clamp(2.6rem, 1.5rem + 3.7vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.026em;
}
.h1-price {
  position: relative;
  font-style: italic;
}
.h1-price::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -0.08em;
  right: -0.06em;
  bottom: 0.06em;
  height: 0.42em;
  background: var(--sun);
  transform-origin: left;
}
.js .h1-price::before {
  transform: scaleX(0);
  transition: transform 0.6s var(--ease-out) 0.5s;
}
.js .hero-title.is-in .h1-price::before { transform: scaleX(1); }

/* Surtitre de l'accueil en <h1> : neutralise le style global « h1, h2 »
   pour garder l'apparence de l'ancien paragraphe. */
.hero-surtitre {
  font-family: inherit;
  letter-spacing: inherit;
  text-wrap: inherit;
}
/* Grand titre de l'accueil en <p> : reprend les styles de « h1, h2 »
   que la balise ne lui donne plus. */
.hero-titre {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--ink);
  text-wrap: balance;
}

/* Titre de l'accueil : les mots montent depuis leur ligne (découpage fait en JS) */
.split .w {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0 0.04em 0.12em;
  margin: 0 -0.04em -0.12em;
}
.split .w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 30ms);
}
.split.is-in .w > span { transform: none; }

.hero-proof {
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 46ch;
  margin: 0 0 32px;
  padding-top: 22px;
  position: relative;
}
.hero-proof::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
}
.hero-proof li {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
  line-height: 1.4;
}
.hero-proof li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.6 2.6L14.2 7.4' fill='none' stroke='%23231e15' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  box-shadow: 0 0 0 1px var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}
.hero-note {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--graphite);
}

/* --------------------------------------------------------------------------
   Carte
   -------------------------------------------------------------------------- */

.map-card {
  position: relative;
  padding: 10px 10px 0;
  border-radius: 10px;
  background: var(--parchment);
}
.map {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 6px;
}
.map-card figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  padding: 12px 6px 14px;
  border-top: 1px solid rgba(35, 30, 21, 0.2);
  font-size: 0.8125rem;
  color: var(--charcoal);
}
.map-card figcaption strong { font-weight: 600; color: var(--ink); }

.map text { font-family: var(--font-ui); letter-spacing: 0; }
.map-zone { fill: rgba(61, 74, 46, 0.13); }
.map-zone-hatch { stroke: none; }
#map-hatch line { stroke: rgba(61, 74, 46, 0.26); stroke-width: 1.1; }
.map-peaks {
  fill: none;
  stroke: var(--olive-deep);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.6;
}
.river {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}
.river--major { stroke-width: 5; opacity: 0.7; }
.river--minor { stroke-width: 1.5; }

.map-river-label {
  font-family: var(--font-display) !important;
  font-style: italic;
  font-size: 17px;
  fill: var(--teal);
  paint-order: stroke;
  stroke: var(--parchment);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.map-river-label--minor { font-size: 14px; }
.map-region {
  font-family: var(--font-display) !important;
  font-style: italic;
  font-weight: 400;
  font-size: 23px;
  fill: var(--olive-deep);
  paint-order: stroke;
  stroke: rgba(235, 225, 205, 0.85);
  stroke-width: 5px;
  stroke-linejoin: round;
}
.map-region--soft { font-size: 19px; fill: var(--charcoal); }

.map-ventoux path { fill: rgba(61, 74, 46, 0.35); stroke: var(--olive-deep); stroke-width: 1.4; stroke-linejoin: round; }
.map-ventoux .map-ventoux-cap { fill: var(--paper); stroke: none; }
.map-ventoux text {
  font-family: var(--font-display) !important;
  font-style: italic;
  font-size: 15px;
  fill: var(--olive-deep);
}

.town text {
  font-size: 14px;
  font-weight: 500;
  fill: var(--charcoal);
  paint-order: stroke;
  stroke: var(--parchment);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.town-dot { fill: var(--ink); }
.town--ref .town-dot { fill: var(--parchment); stroke: var(--ink); stroke-width: 1.6; }
.town--ref text { font-size: 15px; fill: var(--graphite); }
.town--key .town-dot { fill: var(--sun); stroke: var(--ink); stroke-width: 1.6; }
.town--key text { font-size: 19px; font-weight: 600; fill: var(--ink); stroke-width: 5px; }

.map-north path { fill: var(--ink); }
.map-north text,
.map-scale text { font-size: 12px; font-weight: 600; fill: var(--ink); }
.map-scale path { fill: none; stroke: var(--ink); stroke-width: 1.4; }

/* Animation d'apparition de la carte (déclenchée par .is-live) */
.js .map .river { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.js .map-relief,
.js .map-names,
.js .map-ventoux,
.js .map-furniture { opacity: 0; }
.js .town-dot { transform: scale(0); transform-box: fill-box; transform-origin: center; }
.js .town text { opacity: 0; }

.map-card.is-live .river { animation: map-draw 1.3s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
.map-card.is-live .map-relief { animation: map-fade 0.9s ease forwards 0.1s; }
.map-card.is-live .map-names { animation: map-fade 0.6s ease forwards 0.8s; }
.map-card.is-live .map-ventoux,
.map-card.is-live .map-furniture { animation: map-fade 0.6s ease forwards 0.9s; }
.map-card.is-live .town-dot { animation: map-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; animation-delay: var(--d, 0.8s); }
.map-card.is-live .town text { animation: map-fade 0.5s ease forwards; animation-delay: calc(var(--d, 0.8s) + 0.1s); }

@keyframes map-draw { to { stroke-dashoffset: 0; } }
@keyframes map-fade { to { opacity: 1; } }
@keyframes map-pop { to { transform: scale(1); } }

/* --------------------------------------------------------------------------
   Bandeau des communes
   -------------------------------------------------------------------------- */

.ticker {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  overflow: hidden;
}
.ticker-label {
  flex: none;
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 22px 0 max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter)));
  border-right: 1px solid var(--ink);
  background: var(--paper);
  font-size: 0.875rem;
  font-weight: 500;
}
.ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 70s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
/* Pris en main par le JS : vitesse et inclinaison suivent le défilement */
.ticker-track.is-js { animation: none; }
.ticker-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 28px 18px 0;
}
.ticker-group span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem);
  line-height: 1.1;
  letter-spacing: var(--track-display);
  white-space: nowrap;
}
.ticker-group i {
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 1px var(--ink);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-dark { background: var(--ink); color: var(--paper); }
/* La bande s'élargit jusqu'aux bords en entrant à l'écran */
.js .section-dark { clip-path: inset(0 var(--wipe, 0px) round var(--wipe-r, 0px)); }
.section-ash { background: var(--ash); }
.section-parchment { background: var(--parchment); }

.section-head {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head::before {
  content: '';
  display: block;
  height: 1px;
  margin-bottom: 20px;
  background: currentColor;
}
.section-head h2 {
  margin-top: 14px;
  max-width: 20ch;
  font-size: clamp(2rem, 1.35rem + 2.5vw, 3.125rem);
  line-height: 1.08;
}

.section-dark .section-head::before { background: rgba(255, 255, 255, 0.35); }
.section-dark .eyebrow,
.section-dark h2,
.section-dark h3 { color: var(--paper); }
.section-dark .eyebrow::before { box-shadow: none; }

/* Révélations au défilement (via « translate » pour laisser « transform » aux survols) */
.js .reveal {
  opacity: 0;
  translate: 0 14px;
  transition:
    opacity 0.45s ease var(--rd, 0s),
    translate 0.55s var(--ease-out) var(--rd, 0s);
}
.js .reveal.is-visible { opacity: 1; translate: none; }
.js .work-card.reveal,
.js .price-card.reveal {
  transition:
    opacity 0.45s ease var(--rd, 0s),
    translate 0.55s var(--ease-out) var(--rd, 0s),
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

/* --------------------------------------------------------------------------
   Pourquoi nous (bande sombre)
   -------------------------------------------------------------------------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.why-item {
  position: relative;
  padding: 4px 28px 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.why-item:first-child { padding-left: 0; border-left: 0; }
.why-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
}
.why-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--sun);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-item h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.875rem);
  line-height: 1.12;
  letter-spacing: var(--track-display);
}
.why-item h3::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 14px;
  background: var(--sun);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.why-item:hover h3::after { transform: scaleX(2.2); }
.why-item p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 28ch;
}

/* --------------------------------------------------------------------------
   Méthode
   -------------------------------------------------------------------------- */

.steps {
  --num-size: clamp(3.25rem, 2.4rem + 2.6vw, 4.75rem);
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.steps::before,
.steps::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--num-size) + 24px);
  height: 1px;
  background: var(--rule);
}
.steps::after {
  height: 3px;
  margin-top: -1px;
  background: var(--sun);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-out) 0.1s;
}
.steps.is-visible::after { transform: scaleX(1); }
.step { position: relative; }
.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--num-size);
  line-height: 1;
  letter-spacing: -0.04em;
}
.step-dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 16px;
  height: 16px;
  margin: 16px 0 22px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--ink);
  transition: background-color 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.steps.is-visible .step-dot { background: var(--sun); transform: scale(1.15); }
.steps.is-visible .step:nth-child(1) .step-dot { transition-delay: 0.1s; }
.steps.is-visible .step:nth-child(2) .step-dot { transition-delay: 0.3s; }
.steps.is-visible .step:nth-child(3) .step-dot { transition-delay: 0.5s; }
.steps.is-visible .step:nth-child(4) .step-dot { transition-delay: 0.7s; }
.step h3 { margin-bottom: 8px; font-size: 1.125rem; }
.step p { color: var(--graphite); max-width: 26ch; }

/* --------------------------------------------------------------------------
   Réalisations
   -------------------------------------------------------------------------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.work-card {
  position: relative;
  padding: 10px;
  border-radius: 10px;
  background: var(--paper);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-warm);
}
.work-browser {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 0 0 1px var(--rule-soft);
}
.work-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: var(--ash);
  border-bottom: 1px solid var(--rule-soft);
}
.work-browser-bar > span:not(.work-url) {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rule);
}
.work-url {
  flex: 1;
  min-width: 0;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--paper);
  font-size: 0.6875rem;
  color: var(--graphite);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.work-shot {
  aspect-ratio: 1877 / 918;
  overflow: hidden;
  background: var(--ash);
}
.work-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.9s var(--ease-out);
}
.work-card:hover .work-shot img { transform: scale(1.045); }
.work-body { padding: 22px 14px 14px; }
.work-body h3 {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.625rem, 1.3rem + 0.8vw, 2rem);
  line-height: 1.1;
  letter-spacing: var(--track-display);
}
.work-body p { color: var(--charcoal); margin-bottom: 18px; }
.work-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
}
.work-card:hover .link-arrow-text { background-size: 100% 45%; }
.work-card:hover .arrow-badge { transform: translateX(4px); }
.work-note {
  margin-top: 32px;
  font-size: 0.9375rem;
  color: var(--graphite);
}

/* --------------------------------------------------------------------------
   Tarifs
   -------------------------------------------------------------------------- */

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.pricing-intro .section-head { margin-bottom: 24px; }
.price-note {
  max-width: 34ch;
  margin-bottom: 22px;
  font-size: 1.0625rem;
  color: var(--charcoal);
}
.price-note em {
  font-style: normal;
  font-weight: 500;
  color: var(--ink);
  background: linear-gradient(var(--sun-wash), var(--sun-wash)) no-repeat 0 100% / 100% 42%;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule-soft);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-warm);
}
.price-card.is-featured { box-shadow: var(--shadow-warm); }
.price-card.is-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--sun);
  box-shadow: 0 1px 0 var(--ink);
}
.price-card .badge {
  position: absolute;
  top: 26px;
  right: 22px;
}
.price-card h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: var(--track-display);
}
.amount {
  margin: 14px 0 22px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 2.4rem + 1.6vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.amount .amount-num { font: inherit; letter-spacing: inherit; color: inherit; }
.amount span {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: var(--track);
  color: var(--graphite);
}
.price-card ul {
  list-style: none;
  margin-bottom: 28px;
  border-top: 1px solid var(--ink);
}
.price-card li {
  position: relative;
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.9375rem;
  color: var(--charcoal);
}
.price-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg) scale(0.85);
}
.price-card .btn { margin-top: auto; }

/* --------------------------------------------------------------------------
   Questions fréquentes (bande parchemin)
   -------------------------------------------------------------------------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.faq-intro .section-head { margin-bottom: 20px; }
.faq-aside { color: var(--charcoal); }
.faq-aside a {
  font-weight: 500;
  color: var(--ink);
  background: linear-gradient(var(--sun-wash), var(--sun-wash)) no-repeat 0 100% / 100% 40%;
  white-space: nowrap;
}

.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid rgba(35, 30, 21, 0.28); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  color: var(--ink);
}
.faq-question > span:first-child {
  transition: transform 0.35s var(--ease-out);
}
.faq-question:hover > span:first-child { transform: translateX(6px); }
.faq-icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--ink);
  transition: background-color 0.25s ease, transform 0.4s var(--ease-out);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.6px;
  margin: -0.8px 0 0 -6px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-question:hover .faq-icon { background: var(--sun-wash); }
.faq-item.is-open .faq-icon { background: var(--sun); transform: rotate(180deg); }
.faq-item.is-open .faq-icon::after { transform: rotate(0deg); }
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-panel-inner p {
  max-width: 62ch;
  padding: 0 52px 24px 0;
  color: var(--charcoal);
}
.js .faq-panel-inner p {
  opacity: 0;
  translate: 0 -8px;
  transition: opacity 0.3s ease, translate 0.4s var(--ease-out);
}
.js .faq-item.is-open .faq-panel-inner p {
  opacity: 1;
  translate: none;
  transition-delay: 0.12s;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.contact-info .section-head { margin-bottom: 20px; }
.contact-lead {
  max-width: 40ch;
  margin-bottom: 32px;
  font-size: 1.0625rem;
  color: var(--charcoal);
}
.contact-lines { list-style: none; border-top: 1px solid var(--ink); }
.contact-lines li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.contact-label { font-size: 0.875rem; color: var(--graphite); }
.contact-lines a {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  letter-spacing: var(--track-display);
  overflow-wrap: anywhere;
  background-image: linear-gradient(var(--sun-wash), var(--sun-wash));
  background-repeat: no-repeat;
  background-position: 0 90%;
  background-size: 0% 40%;
  transition: background-size 0.35s var(--ease-out);
}
.contact-lines a:hover { background-size: 100% 40%; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper);
  box-shadow: var(--shadow-warm);
}
.field { position: relative; }
.field::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.field:focus-within::after { transform: scaleX(1); }
.contact-form label {
  display: block;
  margin-bottom: 2px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--charcoal);
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  color: var(--ink);
  transition: background-color 0.25s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(35, 30, 21, 0.38); opacity: 1; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background-color: rgba(201, 146, 47, 0.08);
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  font-size: 0.9375rem;
  line-height: 1.45;
}
.form-status.is-success { padding: 12px 14px; background: var(--parchment); color: var(--ink); }
.form-status.is-error { padding: 12px 14px; background: #f6e3df; color: #7a2418; }
.contact-form .btn { align-self: stretch; margin-top: 4px; }
.contact-form .btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  box-shadow: 0 0 0 1px var(--ink);
}

/* --------------------------------------------------------------------------
   Pied de page (sable)
   -------------------------------------------------------------------------- */

.site-footer {
  padding: clamp(48px, 7vw, 72px) 0 28px;
  background: var(--sand);
  color: var(--ink);
}
.site-footer .brand-bridge,
.site-footer .brand-name,
.site-footer .brand-accent { fill: var(--ink); color: var(--ink); }
.site-footer .brand-sun { fill: #fff8e8; }
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(35, 30, 21, 0.3);
}
.foot-tagline {
  max-width: 34ch;
  margin-top: 18px;
  color: rgba(35, 30, 21, 0.8);
}
.foot-title {
  margin-bottom: 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(35, 30, 21, 0.7);
}
.foot-col a {
  display: table;
  padding: 3px 0;
  font-weight: 500;
  overflow-wrap: anywhere;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 0% 1px;
  transition: background-size 0.3s var(--ease-out);
}
.foot-col a:hover { background-size: 100% 1px; }
.foot-bottom {
  padding-top: 20px;
  font-size: 0.8125rem;
  color: rgba(35, 30, 21, 0.75);
}

/* --------------------------------------------------------------------------
   Pages légales
   -------------------------------------------------------------------------- */

.legal { padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 10vw, 104px); }
.legal h1 {
  margin-bottom: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  line-height: 1.05;
}
.legal h2 {
  margin-bottom: 10px;
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  line-height: 1.2;
}
.legal-body { max-width: 70ch; }
.legal-section { margin-bottom: 36px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section p {
  margin-bottom: 12px;
  color: var(--charcoal);
  line-height: 1.65;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Adaptations
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .why-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .pricing-layout,
  .faq-layout,
  .contact-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before,
  .steps::after { display: none; }
  .step {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 16px;
    padding: 22px 0;
    border-top: 1px solid var(--rule);
  }
  .step:last-child { border-bottom: 1px solid var(--rule); }
  .step-num { grid-row: 1 / 3; font-size: 2.75rem; }
  .step-dot { display: none; }
  .step h3, .step p { grid-column: 2; max-width: none; }
  .step h3 { margin-top: 4px; }
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar-link { display: none; }
  .topbar-inner { justify-content: center; text-align: center; }
  .hero-title { margin: 16px 0 24px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { gap: 18px; }
  .hero-note { text-align: center; }
  .hero-actions .link-arrow { margin: 0 auto; }
  .map-card { margin-inline: calc(-1 * var(--gutter) + 6px); }

  .map .town--minor,
  .map .map-river-label--minor,
  .map .map-region--soft,
  .map .map-scale,
  .map .map-ventoux text { display: none; }
  .map .town--key text { font-size: 26px; stroke-width: 6px; }
  .map .town--ref text { font-size: 21px; }
  .map .map-river-label { font-size: 22px; }
  .map .map-region { font-size: 29px; }
  .map .town-label--buis { transform: translate(-6px, 4px); }
  .map .town-label--nyons { text-anchor: end; transform: translate(-26px, 0); }
  .map .map-river-label--ouveze { display: none; }

  .ticker-label { display: none; }
  .ticker-group { padding: 12px 22px 14px 0; gap: 22px; }

  .why-grid { grid-template-columns: 1fr; row-gap: 0; }
  .why-item,
  .why-item:nth-child(3) {
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
  .why-item:first-child { border-top: 0; padding-top: 0; }
  .why-icon { margin-bottom: 18px; }

  .price-grid { grid-template-columns: 1fr; }
  .faq-question { font-size: 1.0625rem; }
  .faq-panel-inner p { padding-right: 0; }
  .contact-form { margin-inline: calc(-1 * var(--gutter) + 6px); }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .ticker-track { animation: none; }
  .ticker-viewport { -webkit-mask-image: none; mask-image: none; }
  .ticker-group + .ticker-group { display: none; }
  .ticker-group { flex-wrap: wrap; row-gap: 8px; }
  .btn-sun::after { display: none; }
  .js .section-dark { clip-path: none; }
}
