/* ============================================================
   LA LASTRA — Design System
   Moderne · Élégant · Ranch espagnol
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── 1. VARIABLES ─────────────────────────────────────────── */
:root {
  --bg:          #FDFAF5;
  --bg-warm:     #F4EDDF;
  --bg-sand:     #EAD9C2;
  --dark:        #1C1610;
  --text:        #352A1C;
  --muted:       #7D6B54;
  --lighter:     #A89070;
  --leather:     #8C5E38;
  --leather-h:   #A6713F;
  --leather-dk:  #6B4525;
  --olive:       #5C6B3E;
  --olive-h:     #6E7F4B;
  --gold:        #B8892C;
  --gold-light:  #D4A84A;
  --white:       #FFFFFF;
  --border:      rgba(140,94,56,.11);
  --border-2:    rgba(140,94,56,.22);
  --shadow-sm:   0 1px 6px rgba(28,22,16,.06);
  --shadow:      0 4px 24px rgba(28,22,16,.09);
  --shadow-lg:   0 12px 48px rgba(28,22,16,.14);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;

  --r:    8px;
  --r-lg: 14px;
  --r-xl: 20px;
  --nav-h: 74px;
  --max-w: 1200px;
  --pad:   1.5rem;
  --ease:  cubic-bezier(.4,0,.2,1);
}

/* ── 2. RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  { font-family: var(--sans); font-size: 1rem; line-height: 1.65;
        color: var(--text); background: var(--bg); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select {
  font: inherit; color: inherit; width: 100%;
  border: 1.5px solid var(--border-2); border-radius: var(--r);
  padding: .65rem .9rem; background: var(--white); transition: border-color .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--leather); }

/* ── 3. TYPOGRAPHIE ───────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--dark); }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { line-height: 1.75; }
.lead  { font-size: 1.1rem; color: var(--muted); line-height: 1.8; }
.eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--leather);
}

/* ── 4. LAYOUT ────────────────────────────────────────────── */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.section     { padding: 5.5rem var(--pad); }
.section--sm { padding: 3.5rem var(--pad); }
.section--lg { padding: 7.5rem var(--pad); }
.section-hd  { text-align: center; margin-bottom: 3.5rem; }
.section-hd .eyebrow { margin-bottom: .6rem; }
.section-hd h2 { margin-top: .4rem; }
.section-hd p  { max-width: 540px; margin: .75rem auto 0; color: var(--muted); }
.bg-warm  { background: var(--bg-warm); }
.bg-sand  { background: var(--bg-sand); }
.bg-dark  { background: var(--dark); color: rgba(255,255,255,.85); }

/* ── 5. BOUTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .78rem 1.9rem; border-radius: var(--r);
  font-size: .82rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; white-space: nowrap;
  transition: background .22s var(--ease), color .22s var(--ease),
              transform .18s var(--ease), box-shadow .22s var(--ease);
}
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary  { background: var(--leather); color: var(--white); box-shadow: 0 2px 12px rgba(140,94,56,.28); }
.btn--primary:hover  { background: var(--leather-h); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(140,94,56,.32); }
.btn--outline  { border: 1.5px solid var(--leather); color: var(--leather); }
.btn--outline:hover  { background: var(--leather); color: var(--white); transform: translateY(-2px); }
.btn--ghost    { border: 1.5px solid rgba(255,255,255,.4); color: var(--white); backdrop-filter: blur(4px); }
.btn--ghost:hover    { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.btn--gold     { background: var(--gold); color: var(--white); }
.btn--gold:hover     { background: var(--gold-light); transform: translateY(-2px); }
.btn--whatsapp { background: #25D366; color: var(--white); box-shadow: 0 2px 12px rgba(37,211,102,.25); }
.btn--whatsapp:hover { background: #1EBE59; transform: translateY(-2px); }
.btn--olive    { background: var(--olive); color: var(--white); }
.btn--olive:hover    { background: var(--olive-h); transform: translateY(-2px); }
.btn--sm  { padding: .5rem 1.1rem; font-size: .76rem; }
.btn--lg  { padding: .95rem 2.2rem; font-size: .86rem; }
.btn--xl  { padding: 1.1rem 2.6rem; font-size: .9rem; }
.btn--full { width: 100%; }

/* ── 6. NAVIGATION ────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.nav--transparent { background: transparent; }
.nav--solid {
  background: rgba(253,250,245,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
  width: 100%; display: flex; align-items: center; gap: .5rem;
}

/* Logo */
.nav__logo { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.nav__logo-icon {
  width: 38px; height: 38px; border-radius: 50%;
  flex-shrink: 0; display: block; overflow: hidden;
  object-fit: cover;
}
.nav--transparent .nav__logo-icon { box-shadow: 0 0 0 1px rgba(255,255,255,.3); }
.nav__logo-text {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 400;
  color: var(--dark); line-height: 1; white-space: nowrap;
}
.nav--transparent .nav__logo-text { color: var(--white); }

/* Liens */
.nav__menu {
  display: flex; align-items: center; gap: .1rem; margin-left: auto;
}
.nav__menu a {
  padding: .45rem .85rem; border-radius: var(--r);
  font-size: .82rem; font-weight: 500; letter-spacing: .03em;
  color: var(--text); transition: color .2s, background .2s;
  position: relative;
}
.nav--transparent .nav__menu a { color: rgba(255,255,255,.88); }
.nav__menu a:hover { color: var(--leather); }
.nav--transparent .nav__menu a:hover { color: var(--white); background: rgba(255,255,255,.12); }
.nav__menu a.active::after {
  content: ''; position: absolute; bottom: 2px; left: .85rem; right: .85rem;
  height: 1.5px; background: var(--leather); border-radius: 2px;
}
.nav--transparent .nav__menu a.active::after { background: rgba(255,255,255,.7); }
.nav__menu a.active { color: var(--leather); }
.nav--transparent .nav__menu a.active { color: var(--white); }

/* Barre de langue */
.lang-bar {
  display: flex; align-items: center; gap: 2px;
  margin-left: 1rem;
  border: 1px solid var(--border-2); border-radius: var(--r);
  overflow: hidden;
}
.nav--transparent .lang-bar { border-color: rgba(255,255,255,.3); }
.lang-btn {
  padding: .32rem .6rem; font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); transition: background .18s, color .18s;
}
.nav--transparent .lang-btn { color: rgba(255,255,255,.65); }
.lang-btn:hover, .lang-btn.active {
  background: var(--leather); color: var(--white);
}
.nav--transparent .lang-btn:hover,
.nav--transparent .lang-btn.active { background: rgba(255,255,255,.22); color: var(--white); }

/* Hamburger */
.nav__burger {
  display: none; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; padding: 7px; border-radius: var(--r); margin-left: auto;
}
.nav__burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--dark); border-radius: 2px; transition: all .25s;
}
.nav--transparent .nav__burger span { background: var(--white); }
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer mobile */
.nav__drawer {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--bg); padding: 1.25rem var(--pad) 2rem;
  box-shadow: var(--shadow-lg); z-index: 899;
  border-top: 1px solid var(--border);
  flex-direction: column; gap: .25rem;
  animation: drawerIn .22s var(--ease) forwards;
}
.nav__drawer.open { display: flex; }
@keyframes drawerIn { from { opacity:0; transform:translateY(-8px) } to { opacity:1; transform:none } }
.nav__drawer a {
  padding: .75rem 1rem; font-size: .95rem; font-weight: 500;
  color: var(--text); border-radius: var(--r); transition: background .15s;
}
.nav__drawer a:hover, .nav__drawer a.active { background: var(--bg-warm); color: var(--leather); }
.nav__drawer .lang-bar {
  margin: 1rem 0 0; border: 1px solid var(--border-2); border-radius: var(--r);
  overflow: hidden; align-self: flex-start;
}
.nav__drawer .lang-btn { padding: .45rem .9rem; font-size: .78rem; }

/* ── 7. HERO ──────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg,
    rgba(28,22,16,.68) 0%, rgba(28,22,16,.38) 55%, rgba(92,107,62,.28) 100%);
}
.hero__content {
  position: relative; z-index: 2; text-align: center;
  padding: 2rem var(--pad); max-width: 820px;
}
.hero__eyebrow {
  display: inline-block; color: var(--gold-light);
  font-size: .72rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; margin-bottom: 1.4rem;
}
.hero__title {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(3.5rem, 10vw, 8rem); color: var(--white);
  line-height: 1; letter-spacing: -.01em;
  text-shadow: 0 2px 40px rgba(0,0,0,.25);
  margin-bottom: 1.2rem;
}
.hero__sub {
  font-size: clamp(.95rem, 1.6vw, 1.15rem); color: rgba(255,255,255,.82);
  max-width: 500px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero__actions { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.4); font-size: .65rem; letter-spacing: .14em;
  text-transform: uppercase; animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero__scroll-line {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.45));
}
@keyframes scrollBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ── 8. STATS BANDE ───────────────────────────────────────── */
.stats-band { background: var(--dark); padding: 3rem var(--pad); }
.stats-grid  { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.stat-item {
  text-align: center; padding: 1.5rem 3rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300; font-style: italic; color: var(--gold-light);
  line-height: 1;
}
.stat-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
              color: rgba(255,255,255,.5); margin-top: .35rem; }

/* ── 9. BIENVENUE ─────────────────────────────────────────── */
.welcome-grid {
  display: grid; gap: 4rem; align-items: center;
}
.welcome-img {
  border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.welcome-img img { width: 100%; height: 100%; object-fit: cover; }
.welcome-text .eyebrow  { margin-bottom: .6rem; }
.welcome-text h2 { margin-top: .4rem; margin-bottom: 1.25rem; }
.welcome-text p  { color: var(--muted); }

/* ── 10. CARTES CHEVAL ────────────────────────────────────── */
.horses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.75rem;
}
.horses-empty {
  grid-column: 1/-1; text-align: center;
  padding: 4rem 0; color: var(--muted); font-style: italic;
}
.horse-card {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.horse-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.horse-card__link { display: flex; flex-direction: column; height: 100%; }
.horse-card__img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-sand); }
.horse-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.horse-card:hover .horse-card__img-wrap img { transform: scale(1.05); }
.horse-card__badge {
  position: absolute; top: .85rem; left: .85rem;
  padding: .25rem .7rem; border-radius: 20px;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge--available { background: var(--olive);         color: var(--white); }
.badge--sold      { background: rgba(53,42,28,.75);   color: rgba(255,255,255,.75); }
.badge--reserved  { background: var(--gold);           color: var(--white); }
.horse-card__body { padding: 1.1rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.horse-card__meta { font-size: .78rem; color: var(--lighter); margin-bottom: .3rem; letter-spacing: .02em; }
.horse-card__name { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; margin-bottom: .25rem; }
.horse-card__discipline { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--leather); margin-bottom: .9rem; }
.horse-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.horse-card__price { font-family: var(--serif); font-size: 1.6rem; font-weight: 300; color: var(--dark); }
.horse-card__sold  { font-size: .85rem; color: var(--lighter); font-style: italic; }
.horse-card__cta   { font-size: .78rem; font-weight: 600; color: var(--leather); letter-spacing: .04em; white-space: nowrap; }

/* Copy link button on horse card */
.horse-card__img-wrap { position: relative; }
.horse-card__copy-btn {
  position: absolute; bottom: .5rem; right: .5rem;
  background: rgba(28,22,16,.65); color: #fff;
  border-radius: 6px; padding: .25rem .45rem; font-size: .85rem;
  opacity: 0; transition: opacity .2s; cursor: pointer; line-height: 1;
  border: 1px solid rgba(255,255,255,.18);
}
.horse-card__img-wrap:hover .horse-card__copy-btn { opacity: 1; }
.horse-card__copy-btn:hover { background: rgba(28,22,16,.9); }

/* Photo counter on detail page */
.detail-main-img { position: relative; }
.detail-photo-counter {
  position: absolute; bottom: .6rem; right: .75rem;
  background: rgba(28,22,16,.6); color: rgba(255,255,255,.85);
  font-size: .75rem; font-weight: 600; border-radius: 20px;
  padding: .2rem .65rem; pointer-events: none; letter-spacing: .04em;
}

/* Barre de recherche + filtres avancés */
.search-bar {
  display: flex; align-items: center; gap: .65rem;
  margin-bottom: 2rem; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: .65rem 1rem;
}
.search-bar__input-wrap {
  display: flex; align-items: center; gap: .5rem; flex: 1; min-width: 180px;
  color: var(--muted);
}
.search-bar__input-wrap input {
  border: none; outline: none; background: transparent;
  font-size: .88rem; color: var(--text); width: 100%;
  font-family: var(--sans);
}
.search-bar__select {
  border: 1px solid var(--border-2); border-radius: var(--r);
  padding: .35rem .7rem; font-size: .82rem; color: var(--text);
  background: var(--white); cursor: pointer; font-family: var(--sans);
}
.search-bar__price {
  display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--muted);
}
.search-bar__price input {
  width: 90px; border: 1px solid var(--border-2); border-radius: var(--r);
  padding: .3rem .6rem; font-size: .82rem; font-family: var(--sans);
  background: var(--white); color: var(--text);
}

/* Filtres */
.filter-bar { display: flex; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.filter-btn {
  padding: .48rem 1.2rem; border-radius: 30px;
  font-size: .79rem; font-weight: 600; letter-spacing: .04em;
  border: 1.5px solid var(--border-2); color: var(--muted);
  transition: all .2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--leather); color: var(--white); border-color: var(--leather); }

/* ── 11. FICHE CHEVAL ─────────────────────────────────────── */
.horse-detail-section { padding-top: calc(var(--nav-h) + 2.5rem); padding-bottom: 5rem; }
.detail-back {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .83rem; color: var(--muted); margin-bottom: 2rem;
  transition: color .2s;
}
.detail-back:hover { color: var(--leather); }
.detail-layout {
  display: grid; gap: 3.5rem; align-items: start;
}
/* Galerie */
.detail-main-img {
  border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3;
  background: var(--bg-sand); cursor: zoom-in; box-shadow: var(--shadow);
}
.detail-main-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.detail-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: .6rem; }
.gallery-thumb {
  aspect-ratio: 1; overflow: hidden; border-radius: var(--r);
  border: 2px solid transparent; transition: border-color .2s; cursor: pointer;
}
.gallery-thumb.active { border-color: var(--leather); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-thumb:hover img { transform: scale(1.08); }
/* Infos */
.detail-badge { margin-bottom: .75rem; }
.detail-name {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.8rem);
  font-style: italic; font-weight: 300; margin-bottom: 1.5rem;
}
.detail-specs {
  background: var(--bg-warm); border-radius: var(--r-lg); padding: 1.4rem 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin-bottom: 1.75rem;
}
.spec dt { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lighter); margin-bottom: .15rem; }
.spec dd { font-weight: 600; font-size: .92rem; color: var(--dark); }
.detail-price {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); font-weight: 300;
  color: var(--dark); margin-bottom: 1.5rem;
}
.detail-ctas { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2rem; }
.detail-description { border-top: 1px solid var(--border); padding-top: 2rem; }
.detail-description h2 { font-size: 1.4rem; margin-bottom: .9rem; }
.detail-description p  { color: var(--muted); line-height: 1.8; }
.horse-videos { padding-top: 3rem; margin-top: 3rem; border-top: 1px solid var(--border); }
.horse-videos h3 { margin-bottom: 1.5rem; }
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.video-wrap  { border-radius: var(--r-lg); overflow: hidden; background: var(--dark); }
.video-wrap video { width: 100%; display: block; }

/* ── 12. GALERIE ──────────────────────────────────────────── */
.gallery-grid {
  columns: 2; column-gap: .75rem;
}
.gallery-item {
  break-inside: avoid; margin-bottom: .75rem;
  border-radius: var(--r-lg); overflow: hidden;
  cursor: pointer; position: relative;
}
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .45s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item__overlay {
  position: absolute; inset: 0; background: rgba(28,22,16,.42);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s; border-radius: var(--r-lg);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

/* ── 13. LIGHTBOX ─────────────────────────────────────────── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.93);
  flex-direction: column; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lb-img { max-height: 88vh; max-width: 90vw; object-fit: contain; border-radius: var(--r); }
.lb-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  color: rgba(255,255,255,.6); font-size: 1.7rem; line-height: 1;
  transition: color .2s; padding: .25rem; z-index: 1;
}
.lb-close:hover { color: var(--white); }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.5); font-size: 2rem; padding: .5rem 1.2rem;
  transition: color .2s; cursor: pointer;
}
.lb-prev { left: 0; }
.lb-next { right: 0; }
.lb-prev:hover, .lb-next:hover { color: var(--white); }
.lb-counter { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.4); font-size: .8rem; }

/* ── 14. CONTACT ──────────────────────────────────────────── */
.contact-grid { display: grid; gap: 3rem; align-items: start; }
.contact-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
}
.contact-card__body { padding: 2.2rem; }
.contact-card__body h3 { font-size: 1.6rem; margin-bottom: .75rem; }
.contact-card__body p  { color: var(--muted); margin-bottom: 1.75rem; line-height: 1.75; }
.contact-ctas { display: flex; flex-direction: column; gap: .65rem; }
.contact-meta { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-meta__item { display: flex; align-items: flex-start; gap: .75rem; font-size: .9rem; }
.contact-meta__item svg { flex-shrink: 0; color: var(--leather); margin-top: 1px; }
.contact-meta__item span { color: var(--muted); }
.contact-map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--r-xl); display: block; }

/* ── 15. PAGE HERO ────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 4.5rem) var(--pad) 4rem;
  background: linear-gradient(150deg, var(--bg-warm) 0%, var(--bg) 70%);
  text-align: center; border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: .6rem; }
.page-hero h1 { margin-top: .4rem; margin-bottom: .75rem; }
.page-hero p  { color: var(--muted); max-width: 480px; margin: 0 auto; }

/* ── 16. À PROPOS ─────────────────────────────────────────── */
.about-grid  { display: grid; gap: 4rem; align-items: center; }
.about-img   { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text .eyebrow  { margin-bottom: .5rem; }
.about-text h2 { margin-top: .4rem; margin-bottom: 1.25rem; }
.about-text p  { color: var(--muted); line-height: 1.8; }
.about-text p + p { margin-top: 1rem; }

/* ── 17. CTA BANDE ────────────────────────────────────────── */
.cta-section {
  background: var(--leather-dk);
  background-image: linear-gradient(135deg, var(--leather-dk) 0%, #4A2E15 100%);
  padding: 5.5rem var(--pad); text-align: center;
}
.cta-section h2 { color: var(--white); font-style: italic; margin-bottom: .9rem; }
.cta-section p  { color: rgba(255,255,255,.68); max-width: 500px; margin: 0 auto 2.5rem; }
.cta-section .cta-btns { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }

/* ── 18. FOOTER ───────────────────────────────────────────── */
.footer { background: var(--dark); padding: 5rem var(--pad) 2.5rem; }
.footer__inner { max-width: var(--max-w); margin: 0 auto; display: grid; gap: 3rem; }
.footer__logo-text { font-family: var(--serif); font-size: 1.3rem; color: var(--bg-warm); }
.footer__tagline { font-size: .82rem; color: rgba(255,255,255,.35); margin-top: .6rem; max-width: 220px; }
.footer__col h5 {
  font-family: var(--sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 1rem;
}
.footer__links { display: flex; flex-direction: column; gap: .55rem; }
.footer__links a { font-size: .88rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer__links a:hover { color: var(--bg-warm); }
.footer__links span { font-size: .82rem; color: rgba(255,255,255,.3); }
.footer__bottom {
  max-width: var(--max-w); margin: 3rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.07);
  text-align: center; font-size: .78rem; color: rgba(255,255,255,.28);
}

/* ── 19. ANIMATIONS ───────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].visible { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: .1s; }
[data-reveal][data-d="2"] { transition-delay: .2s; }
[data-reveal][data-d="3"] { transition-delay: .3s; }
[data-reveal][data-d="4"] { transition-delay: .4s; }

/* ── 20. TOAST ────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 3000;
  background: var(--dark); color: var(--white);
  padding: .75rem 1.25rem; border-radius: var(--r-lg);
  font-size: .85rem; pointer-events: none;
  opacity: 0; transform: translateY(8px);
  transition: opacity .28s, transform .28s;
}
.toast.show { opacity: 1; transform: none; }
.toast--success { background: var(--olive); }
.toast--error   { background: #b03020; }

/* ── 21. RESPONSIVE ───────────────────────────────────────── */
/* ── Navigation précédent / suivant (fiche cheval) ──────── */
.detail-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.detail-nav__item {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--ink);
  padding: .9rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, background .2s;
  min-width: 0;
  max-width: 48%;
}
.detail-nav__item:hover {
  border-color: var(--leather);
  background: var(--warm-white);
}
.detail-nav__item--next { margin-left: auto; }
.detail-nav__text { min-width: 0; }
.detail-nav__label {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .15rem;
}
.detail-nav__name {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.detail-nav__arrow {
  flex-shrink: 0;
  color: var(--leather);
  font-size: 1.1rem;
}

@media (min-width: 640px) {
  .gallery-grid { columns: 3; }
  .welcome-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .about-grid   { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .detail-layout { grid-template-columns: 1.1fr 1fr; }
}
@media (min-width: 768px) {
  .nav__menu  { display: flex; }
  .lang-bar   { display: flex; }
  .nav__burger { display: none; }
  .gallery-grid { columns: 3; }
  .horses-grid  { grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); }
}
@media (min-width: 1024px) {
  .horses-grid  { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { columns: 4; }
  .detail-layout { grid-template-columns: 1.2fr 1fr; gap: 5rem; }
  .welcome-grid  { gap: 6rem; }
}
@media (max-width: 767px) {
  :root { --nav-h: 64px; }
  .nav__menu  { display: none; }
  .lang-bar   { display: none; }
  .nav__burger { display: flex; }
  .stat-item  { padding: 1.25rem 1.5rem; }
  .horses-grid { grid-template-columns: 1fr; }
  .detail-specs { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-grid { columns: 2; }
  .hero__title  { font-size: clamp(3rem, 14vw, 5rem); }
}
