/* ═══════════════════════════════════════════════
   VAL SAUVAGE — MAINE COON
   style.css
   ═══════════════════════════════════════════════ */

/* ── RESET & ROOT ─────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette */
  --sand:        #F5EFE0;
  --sand-2:      #EDE4CC;
  --sand-3:      #E0D3B4;
  --cream:       #FDFAF3;
  --rust:        #C85A2A;
  --rust-hover:  #E07040;
  --rust-pale:   #FAE8DC;
  --rust-pale-2: #F5D5C0;
  --green:       #3A6B3A;
  --green-light: #52A852;
  --green-pale:  #E4F0E4;
  --brown:       #4A2E18;
  --brown-mid:   #8B5E38;
  --text:        #2A1F10;
  --text-2:      #6B5540;
  --text-3:      #A08870;
  --white:       #FFFFFF;
  --red-soft:    #FEE2E2;
  --red:         #DC2626;

  /* Typography */
  --font-display: 'Cormorant', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Sizing */
  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(74,46,24,0.08);
  --shadow-md: 0 8px 24px rgba(74,46,24,0.1);
  --shadow-lg: 0 20px 56px rgba(74,46,24,0.14);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --duration: 0.25s;
}

/* ── BASE ─────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* ── SCROLLBAR ────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--sand-3); border-radius: 3px; }

/* ── CONTAINER ────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5vw;
}

/* ── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--primary {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}
.btn--primary:hover {
  background: var(--rust-hover);
  border-color: var(--rust-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}
.btn--ghost:hover {
  background: var(--brown);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--text-2);
  border-color: var(--sand-3);
}
.btn--outline:hover {
  background: var(--sand);
  border-color: var(--sand-3);
}

.btn--lg {
  font-size: 0.95rem;
  padding: 1rem 2.2rem;
}

.btn--block {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* ── SECTION TAG ──────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--rust-pale);
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

/* ── SECTION TITLES ───────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--brown);
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--rust);
}

.section-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-2);
  margin-top: 1.25rem;
  max-width: 50ch;
}

.section-intro {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-2);
  margin-top: 1rem;
  max-width: 54ch;
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header--center {
  text-align: center;
}
.section-header--center .section-tag { margin-left: auto; margin-right: auto; }
.section-header--center .section-title,
.section-header--center .section-intro { max-width: none; }

/* ── GENERIC SECTION ──────────────────────────── */
.section {
  padding: var(--space-2xl) 0;
}

/* ── REVEAL ANIMATION ─────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,250,243,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid var(--sand-2);
  transition: box-shadow var(--duration) var(--ease);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-md);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--brown);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 36px; height: 36px;
  background: var(--rust);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav__link {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--duration);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}
.nav__link:hover { color: var(--rust); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta { margin-left: var(--space-sm); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform var(--duration), opacity var(--duration);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - 72px);
  background: var(--sand);
  position: relative;
  overflow: hidden;
}

.hero__bg-shape {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 120%;
  background: var(--rust-pale);
  border-radius: 60% 0 0 50% / 50% 0 0 50%;
  z-index: 0;
}

.hero__bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--sand-3) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  z-index: 0;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: calc(100vh - 72px);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.hero__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--sand-2);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.1rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brown-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}
.hero__tag-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-light);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--brown);
  margin-bottom: var(--space-md);
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--rust);
}

.hero__desc {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-2);
  max-width: 44ch;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero__stats {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1.5px solid var(--sand-3);
}

.hero__stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--rust);
  line-height: 1;
}
.hero__stat-val sup {
  font-size: 1rem;
  vertical-align: super;
}
.hero__stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

/* Hero visual */
.hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.hero__cat-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--rust-pale-2);
}
.hero__cat-svg {
  width: 100%;
  display: block;
}

.hero__visual-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.85rem 1.2rem;
}
.hero__visual-badge--top {
  top: 1.5rem; left: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
}
.hero__visual-badge--top strong { display: block; color: var(--brown); }
.hero__visual-badge--top small  { display: block; color: var(--text-3); font-size: 0.72rem; }
.hero__visual-badge--top .hero__visual-badge-icon {
  width: 38px; height: 38px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero__visual-badge--bottom {
  bottom: 1.5rem; right: -1.5rem;
  background: var(--rust);
  color: var(--white);
  text-align: right;
}
.hero__visual-badge--bottom strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}
.hero__visual-badge--bottom small {
  display: block;
  font-size: 0.72rem;
  opacity: 0.75;
}

/* ═══════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════ */
.trust-bar {
  background: var(--brown);
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.trust-item:last-child { border-right: none; }
.trust-item span { font-size: 1rem; }

/* ═══════════════════════════════════════════════
   RACE SECTION
   ═══════════════════════════════════════════════ */
.race-section {
  background: var(--cream);
}
.race-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.race-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: var(--space-lg);
}
.race-chip {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.race-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.race-chip__icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.6rem;
}
.race-chip h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.3rem;
}
.race-chip p {
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.6;
}

.race-card-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.race-card-visual svg {
  display: block;
  width: 100%;
}
.race-card-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(74,46,24,0.88) 0%, transparent 100%);
}
.race-card-caption__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 400;
  color: #fff;
}
.race-card-caption__sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════
   CATS SECTION
   ═══════════════════════════════════════════════ */
.cats-section {
  background: var(--sand);
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cat-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.cat-card--featured {
  box-shadow: 0 0 0 2.5px var(--rust), var(--shadow-md);
}

.cat-card__portrait {
  height: 290px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-card__portrait svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--white);
  color: var(--rust);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
}

.cat-card__body {
  padding: 1.5rem 1.75rem 2rem;
}
.cat-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.2rem;
}
.cat-card__breed {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}
.cat-card__specs {
  list-style: none;
}
.cat-card__specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-2);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--sand);
}
.cat-card__specs li:last-child { border-bottom: none; }
.cat-card__specs li span:first-child { color: var(--text-3); }
.cat-card__specs .ok { color: var(--green-light); font-weight: 600; }

/* ═══════════════════════════════════════════════
   PORTÉES SECTION
   ═══════════════════════════════════════════════ */
.portees-section {
  background: var(--cream);
}

.portees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-xl);
}

.portee-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid var(--sand-2);
  transition: border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.portee-card:hover {
  border-color: var(--rust);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.portee-card--featured {
  border-color: var(--rust);
  box-shadow: 0 0 0 1px var(--rust), var(--shadow-md);
}

.portee-card__header {
  background: var(--sand);
  padding: 1.75rem 1.75rem 1.25rem;
}
.portee-card--featured .portee-card__header {
  background: var(--rust);
}

.portee-badge {
  display: inline-block;
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.9rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.portee-badge--dispo   { background: var(--green-pale); color: var(--green); }
.portee-badge--reserve { background: var(--red-soft); color: var(--red); }
.portee-badge--attente { background: var(--sand-2); color: var(--text-3); }
.portee-card--featured .portee-badge--dispo {
  background: rgba(255,255,255,0.22);
  color: var(--white);
}

.portee-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.25rem;
}
.portee-card--featured .portee-card__title { color: var(--white); }

.portee-card__parents {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-3);
}
.portee-card--featured .portee-card__parents { color: rgba(255,255,255,0.65); }

.portee-card__body {
  padding: 1.5rem 1.75rem 2rem;
}

.portee-specs {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.portee-specs > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--sand);
}
.portee-specs > div:last-child { border-bottom: none; }
.portee-specs dt { color: var(--text-3); font-weight: 400; }
.portee-specs dd { color: var(--text); font-weight: 500; }

.portee-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding-top: 1.2rem;
  margin-top: 1.2rem;
  border-top: 2px solid var(--sand-2);
  margin-bottom: 1.2rem;
}
.portee-price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--rust);
  line-height: 1;
}
.portee-price-unit {
  font-size: 0.8rem;
  color: var(--text-3);
}

/* ═══════════════════════════════════════════════
   ELEVAGE / ENGAGEMENT SECTION
   ═══════════════════════════════════════════════ */
.elevage-section {
  background: var(--sand);
}
.elevage-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.engage-list {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  list-style: none;
}
.engage-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1.5px solid var(--sand-3);
  transition: padding-left var(--duration) var(--ease);
}
.engage-item:hover { padding-left: 0.5rem; }
.engage-item:last-child { border-bottom: none; }

.engage-item__num {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rust-pale);
  color: var(--rust);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
  margin-top: 2px;
  transition: background var(--duration), color var(--duration);
}
.engage-item:hover .engage-item__num {
  background: var(--rust);
  color: var(--white);
}

.engage-item h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.4rem;
}
.engage-item p {
  font-size: 0.87rem;
  color: var(--text-2);
  line-height: 1.75;
}

.elevage-section__right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 4rem;
}

.quote-block {
  background: var(--brown);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: var(--white);
}
.quote-block p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
}
.quote-block p::before {
  content: '"';
  font-size: 5rem;
  line-height: 0.5;
  color: var(--rust);
  display: block;
  margin-bottom: 1rem;
  font-weight: 700;
  font-style: normal;
}
.quote-block footer {
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.certifs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.certif-item {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background var(--duration), transform var(--duration);
}
.certif-item:hover { background: var(--white); transform: translateY(-2px); }
.certif-item span { font-size: 1.1rem; }

/* ═══════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════ */
.contact-section {
  background: var(--cream);
}
.contact-section__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-infos {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--sand);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: background var(--duration), transform var(--duration);
}
.contact-info-item:hover {
  background: var(--sand-2);
  transform: translateX(4px);
}
.contact-info-item__icon {
  width: 44px; height: 44px;
  background: var(--rust-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.contact-info-item strong {
  font-size: 0.9rem;
  color: var(--brown);
}

.contact-form {
  background: var(--sand);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--cream);
  border: 1.5px solid var(--sand-3);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--duration), box-shadow var(--duration);
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-3);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(200,90,42,0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A08870' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--green-pale);
  color: var(--green);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
}
.form-success.show { display: block; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--brown);
  padding: var(--space-xl) 0 var(--space-lg);
}
.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.footer__brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: color var(--duration);
}
.footer__nav a:hover { color: var(--white); }
.footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__social-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: color var(--duration);
}
.footer__social-link:hover { color: var(--rust-hover); }
.footer__bottom {
  padding-top: var(--space-md);
}
.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  text-align: center;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__content        { grid-template-columns: 1fr; text-align: center; align-content: center; }
  .hero__left           { align-items: center; }
  .hero__desc           { max-width: none; }
  .hero__right          { display: none; }
  .race-section__inner  { grid-template-columns: 1fr; }
  .race-section__visual { max-width: 480px; margin: 0 auto; }
  .elevage-section__inner { grid-template-columns: 1fr; }
  .elevage-section__right { padding-top: 0; }
  .contact-section__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }

  /* Nav mobile */
  .nav__links, .nav__cta {
    display: none;
  }
  .nav__links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1.5px solid var(--sand-2);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    box-shadow: var(--shadow-md);
  }
  .nav__links.open {
    display: flex;
  }
  .nav__links li {
    width: 100%;
    border-bottom: 1px solid var(--sand-2);
  }
  .nav__link {
    display: block;
    padding: 1rem 5vw;
    font-size: 1rem;
  }
  .nav__burger { display: flex; }

  /* Grids → 1 col */
  .cats-grid, .portees-grid { grid-template-columns: 1fr; }

  /* Trust bar scroll */
  .trust-bar__inner { justify-content: flex-start; }

  /* Race chips */
  .race-chips { grid-template-columns: 1fr; }

  /* Hero stats */
  .hero__stats { gap: var(--space-md); }

  /* Hero badges hidden */
  .hero__visual-badge { display: none; }

  /* Contact form row */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { flex-direction: column; gap: var(--space-lg); }
  .footer__nav, .footer__social { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.4rem; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .section-title { font-size: 1.8rem; }
  .cats-grid, .portees-grid { gap: 1rem; }
}


/* ═══════════════════════════════════════════════
   INTERACTIONS (ajout interactif)
   ═══════════════════════════════════════════════ */

/* ── 1. PROGRESS BAR ──────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--rust), var(--rust-light, #E87A4A));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── 2. CUSTOM CURSOR ─────────────────────────── */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, [role="button"],
  .cat-card, .portee-card,
  .race-chip, .engage-item { cursor: none; }
}

#cursor-dot {
  position: fixed;
  top: -6px; left: -6px;
  width: 10px; height: 10px;
  background: var(--rust);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  will-change: transform;
  transition: opacity 0.2s;
}

#cursor-ring {
  position: fixed;
  top: -18px; left: -18px;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(200,90,42,0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transition: width 0.25s, height 0.25s, top 0.25s, left 0.25s, border-color 0.2s;
}

#cursor-ring.big {
  top: -28px; left: -28px;
  width: 56px; height: 56px;
  border-color: var(--rust);
}

/* ── 3. SCROLL REVEAL ─────────────────────────── */
.reveal-anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0,0,0.2,1),
              transform 0.75s cubic-bezier(0,0,0.2,1);
}
.reveal-anim.is-visible,
.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ── 5. NAV ACTIVE LINK ───────────────────────── */
.nav-links a.nav-active,
.nav__link.nav-active {
  color: var(--rust, #C85A2A) !important;
}
.nav-links a.nav-active::after,
.nav__link.nav-active::after {
  transform: scaleX(1) !important;
}

/* NAV scrolled shadow */
nav.scrolled, .header.scrolled {
  box-shadow: 0 4px 24px rgba(74,46,24,0.1);
}

/* ── 8. ACCORDION ENGAGE ──────────────────────── */
.engage-item--closed .engage-num {
  background: var(--sand2, #EDE4CC);
  color: var(--text3, #A0896E);
}
.engage-title {
  user-select: none;
}
.engage-title::after {
  content: '↓';
  margin-left: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.45;
  display: inline-block;
  transition: transform 0.3s;
}
.engage-item--closed .engage-title::after {
  transform: rotate(-90deg);
}

/* ── 9. CAT FILTER BAR ────────────────────────── */
.cat-filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cat-filter-btn {
  background: var(--cream, #FDFAF3);
  border: 1.5px solid var(--sand2, #EDE4CC);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2, #6B5540);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.cat-filter-btn:hover {
  border-color: var(--rust, #C85A2A);
  color: var(--rust, #C85A2A);
  transform: translateY(-2px);
}
.cat-filter-btn.active {
  background: var(--rust, #C85A2A);
  border-color: var(--rust, #C85A2A);
  color: #fff;
}

/* ── 10. PORTEE CARD TILT ─────────────────────── */
/* portee tilt removed — was conflicting */

/* ── 11. FORM VALIDATION ──────────────────────── */
.field--error {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1) !important;
}
.field--ok {
  border-color: var(--green-light, #5A9A5A) !important;
  box-shadow: 0 0 0 3px rgba(90,154,90,0.1) !important;
}
.field-msg {
  font-size: 0.72rem;
  color: #DC2626;
  margin-top: 0.2rem;
  display: block;
  min-height: 1em;
}

/* Shake animation for submit button */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}
.shake { animation: shake 0.4s ease; }

/* ── 12. TOAST ────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--brown, #4A2E18);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s, transform 0.35s;
  max-width: 360px;
}
.toast--success { background: var(--green, #3A6B3A); }
.toast--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── HERO PARALLAX ────────────────────────────── */
.hero-right svg,
.hero svg {
  will-change: transform;
}


/* ═══════════════════════════════════════════════
   HERO CAROUSEL
   ═══════════════════════════════════════════════ */

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero__carousel {
  border-radius: var(--radius-xl, 40px);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  box-shadow: 0 32px 80px rgba(74,46,24,0.18);
  background: var(--rust-pale, #FAE8DC);
  /* Pause on hover */
  cursor: pointer;
}

.hero__carousel:hover .hero__carousel-track {
  animation-play-state: paused;
}

.hero__carousel-track {
  display: flex;
  height: 100%;
  /* CSS-only infinite scroll */
  animation: carouselScroll 18s linear infinite;
  will-change: transform;
}

@keyframes carouselScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-62.5%); } /* 5 slides out of 8 = 62.5% */
}

.hero__carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero__carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.hero__carousel:hover .hero__carousel-slide img {
  transform: scale(1.03);
}

/* Caption overlay */
.hero__carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 1.5rem 1.2rem;
  background: linear-gradient(to top, rgba(74,46,24,0.75) 0%, transparent 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}

.hero__carousel:hover .hero__carousel-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Dots */
.hero__carousel-dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.hero__carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, width 0.3s;
}

.hero__carousel-dot.active {
  background: #fff;
  width: 20px;
  border-radius: 3px;
}

/* Fade edge masks */
.hero__carousel::before,
.hero__carousel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 0;
  z-index: 2;
  pointer-events: none;
}

/* ── Responsive carousel ──────────────────────── */
@media (max-width: 1024px) {
  .hero__visual { max-width: 100%; }
  .hero__carousel { aspect-ratio: 16 / 9; max-height: 360px; }
}

/* ── CARD HOVER FIXES ─────────────────────────
   The <a> wrapper (cat-card__link) is block-level
   so hover on the article still fires correctly.
   These rules make the effect visible & smooth.
───────────────────────────────────────────── */

/* Cat card — ensure transform fires on article even with <a> inside */
.cat-card {
  will-change: transform;
}
.cat-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 24px 56px rgba(74,46,24,0.16) !important;
  z-index: 2;
}

/* Portée card — same fix */
.portee-card:hover {
  transform: translateY(-8px) !important;
  border-color: var(--rust) !important;
  box-shadow: 0 20px 48px rgba(74,46,24,0.14) !important;
}

/* Hover CTA button inside cat card */
.cat-card:hover .cat-card__hover-cta {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
}

/* Portee CTA row */
.portee-card:hover .portee-card__cta-row {
  background: var(--rust) !important;
  color: #fff !important;
}

/* Featured portée stays styled */
.portee-card--featured:hover .portee-card__cta-row {
  background: var(--rust-hover, #E07040) !important;
}

.toast--error { background: #991B1B; }

/* ── LOADING PLACEHOLDER ──────────────────────── */
.loading-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--text-3, #A08870);
  font-size: 0.95rem;
}
