/* =========================================================
   Les Pointers des Brises de Paimpol
   Style : nature & chaleureux · ambiance bretonne / maritime
   ========================================================= */

:root {
  /* Palette */
  --green-900: #1f3d33;
  --green-800: #2f5d4f;
  --green-700: #3a7361;
  --green-500: #5a9a83;
  --sand-100: #faf6ee;
  --sand-200: #f2ead9;
  --sand-300: #e7dbc3;
  --terra: #c56b3f;
  --terra-dark: #a9542d;
  --gold: #d8a24a;
  --ink: #22302b;
  --ink-soft: #52605a;
  --white: #ffffff;

  --shadow-sm: 0 2px 8px rgba(31, 61, 51, .08);
  --shadow-md: 0 10px 30px rgba(31, 61, 51, .12);
  --shadow-lg: 0 24px 60px rgba(31, 61, 51, .22);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1160px;

  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-100);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; font-weight: 600; color: var(--green-900); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 100px; font-weight: 600; font-size: 1rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  will-change: transform;
}
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 8px 22px rgba(197,107,63,.35); }
.btn-primary:hover { background: var(--terra-dark); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(197,107,63,.42); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); transform: translateY(-3px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: .5rem 0;
}
.site-header.scrolled { background: rgba(250,246,238,.92); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .5rem 0; }

.brand { display: flex; align-items: center; gap: .65rem; margin-right: auto; }

/* Contact permanent dans la barre du haut : téléphone au-dessus, email en dessous */
.header-contact { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; margin-left: 1.4rem; }
.header-call { display: inline-flex; align-items: center; gap: .45rem; background: var(--green-700); color: #fff !important; font-weight: 700; font-size: .95rem; padding: .55rem 1.05rem; border-radius: 100px; white-space: nowrap; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), background .2s; }
.header-call:hover { background: var(--green-800); transform: translateY(-2px); }
.header-mail { display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; font-weight: 600; color: var(--green-800); white-space: nowrap; transition: color .2s; }
.header-mail:hover { color: var(--terra); text-decoration: underline; }
.site-header:not(.scrolled) .header-mail { color: rgba(255,255,255,.92); }
.brand-mark { font-size: 1.6rem; filter: drop-shadow(0 2px 3px rgba(0,0,0,.15)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.12rem; color: var(--green-900); }
.brand-text span { font-size: .74rem; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; }
.site-header:not(.scrolled) .brand-text strong { color: #fff; }
.site-header:not(.scrolled) .brand-text span { color: rgba(255,255,255,.8); }

.main-nav { display: flex; align-items: center; gap: 1.9rem; }
.main-nav a { font-weight: 500; font-size: .96rem; color: var(--ink); position: relative; transition: color .2s; }
.main-nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--terra); transition: width .3s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.site-header:not(.scrolled) .main-nav a { color: #fff; }
.nav-cta { background: var(--terra); color: #fff !important; padding: .55rem 1.3rem; border-radius: 100px; transition: transform .2s, background .2s; }
.nav-cta:hover { background: var(--terra-dark); transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.site-header.scrolled .nav-toggle span { background: var(--green-900); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--green-900); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(31,61,51,.78) 0%, rgba(47,93,79,.66) 45%, rgba(58,115,97,.55) 100%),
    url("../images/hero.jpg") center 40% / cover no-repeat;
  animation: heroZoom 18s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
/* PC : on zoome un peu et on décale la photo pour dégager la chienne du texte (le texte est à gauche → la chienne se cale à droite, bien visible). Ajuste "left 30%" / "auto 140%" pour affiner. */
@media (min-width: 861px) {
  .hero-bg { background-position: center, left 30%; background-size: cover, auto 140%; }
}
.hero-bg::after {
  /* silhouette de vagues / dunes en bas */
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 220px;
  background:
    radial-gradient(120% 100% at 50% 100%, rgba(31,61,51,.85), transparent 70%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath d='M0,120 C240,200 480,40 720,90 C960,140 1200,220 1440,150 L1440,220 L0,220 Z' fill='black'/%3E%3C/svg%3E") no-repeat bottom / cover;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath d='M0,120 C240,200 480,40 720,90 C960,140 1200,220 1440,150 L1440,220 L0,220 Z' fill='black'/%3E%3C/svg%3E") no-repeat bottom / cover;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,40,33,.55), transparent 60%); }
.hero-content { position: relative; z-index: 2; max-width: 720px; padding-top: 90px; }

.hero-eyebrow {
  display: inline-block; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  padding: .45rem 1rem; border-radius: 100px; margin-bottom: 1.5rem; font-weight: 600;
  animation: fadeUp .8s var(--ease) both;
}
.hero-title {
  color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -.02em;
  margin-bottom: 1.3rem; animation: fadeUp .8s var(--ease) .1s both;
}
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 600px; color: rgba(255,255,255,.9);
  margin-bottom: 2.2rem; animation: fadeUp .8s var(--ease) .2s both;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; animation: fadeUp .8s var(--ease) .3s both; }
.hero-badges { display: flex; gap: 2.2rem; flex-wrap: wrap; animation: fadeUp .8s var(--ease) .45s both; }
.badge { display: flex; flex-direction: column; }
.badge strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--gold); }
.badge span { font-size: .85rem; color: rgba(255,255,255,.8); }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 100px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-hint span { width: 4px; height: 8px; background: #fff; border-radius: 4px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ---------- En-tête de page (portee.html) ---------- */
.nav-cta.is-current, .main-nav a.is-current { color: var(--terra) !important; }
.page-hero { position: relative; padding: 130px 0 60px; color: #fff; overflow: hidden; display: flex; align-items: center; min-height: 46vh; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(31,61,51,.86), rgba(47,93,79,.72)); }
.page-hero-content { position: relative; z-index: 2; max-width: 720px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: .4rem 0 1rem; }
.page-hero p { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 600px; }
.page-hero p strong { color: var(--gold); }
.breadcrumb { font-size: .88rem; color: rgba(255,255,255,.8); margin-bottom: 1rem; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span { margin: 0 .3rem; }

/* ---------- Mini-parents (portee.html) ---------- */
.parents-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; max-width: 720px; margin: 0 auto; }
.parent-mini { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sand-300); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.parent-mini:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.parent-mini-photo { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.parent-mini-photo.studio { background-color: #fff; }
.parent-mini-cap { padding: 1rem 1.2rem; }
.parent-mini-cap strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--green-900); }
.parent-mini-cap span { font-size: .88rem; color: var(--ink-soft); }

/* ---------- Bande CTA centrée ---------- */
.cta-band { text-align: center; max-width: 640px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: .8rem; }
.cta-band p { color: rgba(255,255,255,.88); margin-bottom: 1.6rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: linear-gradient(180deg, var(--sand-200), var(--sand-100)); }
.section-head { max-width: 680px; margin: 0 auto 3.2rem; text-align: center; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin-bottom: .8rem; }
.kicker-light { color: var(--gold); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 1rem; }
.section-intro { color: var(--ink-soft); font-size: 1.08rem; }
.section-intro a { color: var(--terra); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Bandeau race (visuel) ---------- */
.race-band { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.race-band-media { position: relative; height: 460px; }
.race-photo { position: absolute; border-radius: var(--radius); background-size: cover; background-position: center; box-shadow: var(--shadow-md); }
.race-photo-1 { top: 0; left: 0; width: 74%; height: 74%; z-index: 1; }
.race-photo-2 { bottom: 0; right: 0; width: 58%; height: 62%; z-index: 2; border: 6px solid var(--sand-100); }
.race-band-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: .5rem 0 1rem; }
.race-band-text > p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 1.4rem; }
.race-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.7rem; }
.race-chips li { background: #fff; border: 1px solid var(--sand-300); border-radius: 100px; padding: .5rem 1rem; font-size: .92rem; font-weight: 600; color: var(--green-800); box-shadow: var(--shadow-sm); }
.race-facts { display: flex; gap: 2rem; margin-bottom: 1.8rem; }
.fact { text-align: left; }
.fact-num { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--terra); font-weight: 600; }
.fact-lbl { font-size: .82rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Parents ---------- */
.parents-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.parent-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--sand-300); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.parent-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.parent-photo {
  position: relative; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-500), var(--green-800));
  background-size: cover; background-position: center; color: rgba(255,255,255,.85); font-weight: 600;
}
.photo-tag { position: absolute; top: 14px; left: 14px; background: var(--terra); color: #fff; padding: .3rem .9rem; border-radius: 100px; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.photo-placeholder { font-size: 1rem; opacity: .9; }
.parent-photo.has-img .photo-placeholder { display: none; }
.parent-photo.studio.has-img { background-color: #fff; background-size: cover; background-repeat: no-repeat; background-position: center; }
.parent-body { padding: 1.7rem; }
.parent-body h3 { font-size: 1.5rem; display: flex; align-items: center; gap: .7rem; }
.parent-role { font-family: var(--font-body); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--sand-200); color: var(--green-700); padding: .25rem .7rem; border-radius: 100px; }
.parent-desc { color: var(--ink-soft); margin: .8rem 0 1.3rem; font-size: .97rem; }
.parent-specs { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.parent-specs li { display: flex; flex-direction: column; background: var(--sand-100); border: 1px solid var(--sand-300); border-radius: var(--radius-sm); padding: .6rem .8rem; }
.parent-specs span { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.parent-specs strong { font-size: .95rem; color: var(--green-900); }

/* ---------- Nos engagements ---------- */
.engagements { background: linear-gradient(160deg, var(--green-800), var(--green-900)); color: var(--sand-100); }
.engagements h2 { color: #fff; }
.engagements .section-intro { color: rgba(255,255,255,.82); }
.engage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.engage-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.8rem 1.6rem; transition: transform .3s var(--ease), background .3s var(--ease); }
.engage-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); }
.engage-icon { display: block; font-size: 2rem; margin-bottom: .9rem; }
.engage-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: .5rem; }
.engage-card p { color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.6; }

/* ---------- Teaser portée (accueil) ---------- */
.teaser { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--sand-300); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.teaser-media { position: relative; min-height: 340px; background-size: cover; background-position: center; }
.teaser-badge { position: absolute; top: 16px; left: 16px; background: var(--green-500); color: #fff; padding: .35rem 1rem; border-radius: 100px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; box-shadow: var(--shadow-sm); }
.teaser-body { padding: 2.4rem; display: flex; flex-direction: column; justify-content: center; }
.teaser-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: .4rem 0 .8rem; }
.teaser-body > p { color: var(--ink-soft); margin-bottom: 1.5rem; }
.teaser-stats { display: flex; gap: 2rem; margin-bottom: 1.8rem; }
.teaser-stats div { display: flex; flex-direction: column; }
.teaser-stats strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--terra); }
.teaser-stats span { font-size: .82rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.teaser .btn { align-self: flex-start; }

/* ---------- Compteur de disponibilité ---------- */
.dispo-count { text-align: center; color: var(--ink-soft); font-size: .96rem; margin-bottom: 1.4rem; }
.dispo-count strong { color: var(--green-900); }
.dc-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .25rem; vertical-align: middle; }
.dc-dispo { background: var(--green-500); }
.dc-reserve { background: var(--terra); }
.dc-sep { margin: 0 .5rem; color: var(--sand-300); }

/* ---------- Filtres ---------- */
.filters { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.filter { padding: .55rem 1.3rem; border-radius: 100px; background: #fff; border: 1.5px solid var(--sand-300); color: var(--ink-soft); font-weight: 600; font-size: .92rem; transition: .25s var(--ease); }
.filter:hover { border-color: var(--terra); color: var(--terra); }
.filter.is-active { background: var(--green-800); border-color: var(--green-800); color: #fff; }

/* ---------- Chiots ---------- */
.puppies-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.6rem; }
.puppy-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--sand-300); cursor: pointer; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
  animation: fadeUp .5s var(--ease) both;
}
.puppy-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.puppy-card.is-hidden { display: none; }
.puppy-photo { position: relative; aspect-ratio: 4/3; background-size: cover; background-position: center; display: flex; align-items: flex-end; background-color: #eee; }
.puppy-photo .emoji { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3.4rem; }
.status-pill { position: absolute; top: 12px; right: 12px; padding: .3rem .8rem; border-radius: 100px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; backdrop-filter: blur(4px); }
.status-disponible { background: rgba(90,154,131,.95); color: #fff; }
.status-reserve { background: rgba(197,107,63,.95); color: #fff; }
.status-vendu { background: rgba(80,80,80,.9); color: #fff; }
.sex-pill { position: absolute; top: 12px; left: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: .9rem; }
.sex-male { background: #4a83b8; }
.sex-femelle { background: #c56b8f; }
.puppy-body { padding: 1.2rem 1.3rem 1.5rem; }
.puppy-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .2rem; }
.puppy-body h3 { font-size: 1.4rem; }
.puppy-price { font-family: var(--font-head); font-weight: 700; color: var(--terra); font-size: 1.15rem; white-space: nowrap; }
.puppy-meta { color: var(--ink-soft); font-size: .9rem; margin-bottom: .9rem; }
.puppy-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { font-size: .76rem; background: var(--sand-200); color: var(--green-700); padding: .2rem .6rem; border-radius: 100px; font-weight: 600; }
.tag-lof { background: var(--green-800); color: #fff; }
.puppy-more { margin-top: 1rem; font-size: .9rem; color: var(--terra); font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.puppy-card:hover .puppy-more { gap: .55rem; }

.empty-state { grid-column: 1/-1; text-align: center; padding: 3rem; color: var(--ink-soft); }

/* ---------- Galerie ---------- */
/* Mosaïque « masonry » : les photos gardent leurs proportions, aucune coupe, aucun trou */
.gallery { columns: 3 250px; column-gap: 14px; }
.gallery-item { break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); display: block; background: var(--green-700); transition: box-shadow .3s var(--ease); }
.gallery-item:hover { box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.no-img { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.gallery-item .emoji { font-size: 2.8rem; }
/* Légende dégradée qui apparaît au survol */
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.7rem .95rem .8rem;
  color: #fff; font-size: .88rem; font-weight: 600;
  background: linear-gradient(to top, rgba(15,25,20,.85), rgba(15,25,20,0));
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }
/* Petit repère « agrandir » */
.gallery-item::after { content: '🔍'; position: absolute; top: 10px; right: 12px; font-size: .95rem; opacity: 0; transition: opacity .3s; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.gallery-item:hover::after { opacity: .95; }

/* ---------- Accordéon ---------- */
.accordion { max-width: 780px; margin: 0 auto; }
.acc-item { background: #fff; border: 1px solid var(--sand-300); border-radius: var(--radius-sm); margin-bottom: .9rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 1.5rem; font-size: 1.06rem; font-weight: 600; color: var(--green-900); text-align: left; }
.acc-head:hover { color: var(--terra); }
.acc-icon { font-size: 1.5rem; color: var(--terra); transition: transform .3s var(--ease); flex-shrink: 0; }
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-inner { padding: 0 1.5rem 1.4rem; color: var(--ink-soft); font-size: .98rem; }
.acc-inner strong { color: var(--green-900); }

/* ---------- Bandeau vert (CTA portée) ---------- */
.section-contact { background: linear-gradient(160deg, var(--green-900), var(--green-800)); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.85); padding-top: 3rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.2rem; }
.footer-brand { display: flex; gap: .9rem; align-items: center; }
.footer-brand strong { font-family: var(--font-head); color: #fff; font-size: 1.1rem; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.7); }
.footer-nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-nav a { font-size: .95rem; transition: color .2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.3rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: rgba(255,255,255,.6); }

/* ---------- Modale chiot ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 1.2rem; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,40,33,.6); backdrop-filter: blur(4px); animation: fade .3s; }
.modal-card { position: relative; background: var(--sand-100); border-radius: var(--radius); max-width: 720px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: popIn .35s var(--ease); }
.modal-close { position: absolute; top: 12px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.85); font-size: 1.6rem; color: var(--green-900); display: grid; place-items: center; line-height: 1; transition: background .2s, transform .2s; }
.modal-close:hover { background: #fff; transform: rotate(90deg); }
.modal-hero { aspect-ratio: 16/10; background-size: cover; background-position: center; display: grid; place-items: center; position: relative; background-color: var(--green-700); }
.modal-hero .emoji { font-size: 5rem; }
.modal-hero .status-pill { top: 16px; right: 16px; font-size: .8rem; }
.modal-inner { padding: 1.8rem 2rem 2.2rem; }
.modal-inner h2 { display: flex; align-items: center; gap: .7rem; font-size: 2rem; }
.modal-sub { color: var(--ink-soft); margin: .3rem 0 1.3rem; }
.modal-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .8rem; margin-bottom: 1.5rem; }
.modal-specs li { background: #fff; border: 1px solid var(--sand-300); border-radius: var(--radius-sm); padding: .8rem; text-align: center; }
.modal-specs span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.modal-specs strong { font-size: 1rem; color: var(--green-900); }
.modal-desc { color: var(--ink-soft); margin-bottom: 1.6rem; }
.modal-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 210; background: rgba(15,25,20,.92); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; animation: fade .3s; }
.lb-figure { max-width: 90vw; max-height: 82vh; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lb-figure .lb-img { max-width: min(1000px, 92vw); max-height: 78vh; width: auto; height: auto; object-fit: contain; border-radius: var(--radius); background-color: var(--green-900); box-shadow: var(--shadow-lg); }
.lb-figure .lb-media { width: min(880px, 90vw); aspect-ratio: 3/2; border-radius: var(--radius); background-size: cover; background-position: center; display: grid; place-items: center; background-color: var(--green-700); box-shadow: var(--shadow-lg); }
.lb-figure .emoji { font-size: 5rem; }
.lb-figure figcaption { color: rgba(255,255,255,.85); font-size: .95rem; }
.lb-close { position: absolute; top: 18px; right: 22px; font-size: 2.4rem; color: #fff; width: 48px; height: 48px; line-height: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 3rem; color: #fff; width: 60px; height: 60px; border-radius: 50%; transition: background .2s; }
.lb-nav:hover { background: rgba(255,255,255,.15); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }

/* ---------- Contact compact dans la barre du haut (mobile) ---------- */
@media (max-width: 600px) {
  /* Barre du haut compacte : numéro + email en dessous, en plus petit pour tenir à côté du menu */
  .header-contact { margin-left: .5rem; gap: .18rem; }
  .header-call { font-size: .8rem; padding: .4rem .75rem; gap: .28rem; }
  .header-mail { font-size: .68rem; gap: .25rem; }
  /* Le hero s'adapte à son contenu sur mobile (fini le grand vide du 100vh) */
  .hero { min-height: auto; padding: 104px 0 64px; }
  .hero-content { padding-top: 0; }
  .scroll-hint { display: none; }
}

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.94) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(78%, 320px); flex-direction: column;
    background: var(--green-900); padding: 6rem 2rem 2rem; gap: 1.4rem; align-items: flex-start;
    transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { color: #fff !important; font-size: 1.1rem; }
  .nav-cta { align-self: stretch; text-align: center; }
  .nav-toggle.open span { background: #fff; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-badges { gap: 1.4rem; }
  .race-band { grid-template-columns: 1fr; gap: 2rem; }
  /* Mobile : fini la superposition en position absolue (qui déformait les photos) → 2 photos côte à côte, proportions propres */
  .race-band-media { position: static; height: auto; max-width: 520px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .race-photo { position: static; width: auto; height: auto; aspect-ratio: 4 / 3; }
  .race-photo-2 { border: none; }
  .teaser { grid-template-columns: 1fr; }
  .teaser-media { min-height: 240px; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .parent-specs { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
