/* Élevage Shiba de Treheu — styles partagés */
:root {
  --color-bg: #faf7f6;
  --color-bg-alt: #f5ebea;
  --color-surface: #ffffff;
  --color-primary: #9a1b1b;
  --color-primary-dark: #6b1212;
  --color-primary-light: #b83333;
  --color-accent: #9a1b1b;
  --color-accent-soft: #f3e4e4;
  --color-text: #1f1518;
  --color-text-muted: #6b5559;
  --color-border: #e8d5d3;
  --color-success: #3d7a4a;
  --color-footer: #1f1518;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(107, 18, 18, 0.08);
  --shadow-hover: 0 8px 28px rgba(107, 18, 18, 0.14);
  --max-width: 1100px;
  --nav-height: 84px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

ul {
  list-style: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ——— Header / Nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 246, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
  gap: 0.65rem;
}

.logo-img {
  height: 68px;
  width: auto;
  display: block;
  max-width: min(300px, 62vw);
  object-fit: contain;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.02em;
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-brand .logo-img {
  height: 48px;
  width: auto;
  margin-bottom: 0.65rem;
  filter: brightness(1.05);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 1px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem 1.25rem;
}

.main-nav.is-open {
  display: block;
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.main-nav a {
  display: block;
  padding: 0.65rem 0.85rem;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--color-accent-soft);
  color: var(--color-primary-dark);
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .main-nav {
    display: block;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .main-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.15rem;
  }

  .main-nav a {
    padding: 0.45rem 0.65rem;
    font-size: 0.875rem;
  }
}

/* ——— Main ——— */
main {
  flex: 1;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  background: linear-gradient(160deg, #5c1010 0%, #8b1a1a 40%, #faf7f6 100%);
  color: #fff;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.hero-copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.hero-media {
  flex: 0 0 auto;
  width: min(260px, 42vw);
}

.hero-video {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(40, 8, 8, 0.3);
  background: #3a0c0c;
  border: 1px solid rgba(255, 255, 255, 0.18);
}


@media (max-width: 640px) {
  .hero-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-media {
    width: min(220px, 100%);
  }

  .hero-video {
    max-width: 220px;
  }
}

.hero .btn {
  text-shadow: none;
}

.hero .btn-primary {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.hero .btn-primary:hover {
  background: #5c1010;
  border-color: #5c1010;
  color: #fff;
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.hero-lead {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(92, 16, 16, 0.22);
  font-size: 0.9rem;
  color: #3a1818;
  opacity: 1;
  text-shadow: none;
}

.hero-meta strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-bottom: 0.15rem;
  color: #6b1212;
}

.page-hero {
  background: var(--color-bg-alt);
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

.page-hero .lead {
  color: var(--color-text-muted);
  max-width: 40rem;
  margin: 0;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  border-color: var(--color-primary-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary-dark);
  border-color: rgba(255, 255, 255, 0.95);
  text-shadow: none;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-accent-soft);
  color: var(--color-primary-dark);
}

/* ——— Sections ——— */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section-header p {
  color: var(--color-text-muted);
}

/* ——— Cards / Grid ——— */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.card-img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  width: 100%;
  background: var(--color-bg-alt);
}

.card-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.5rem;
}

.card-body p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ——— Feature list ——— */
.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.feature-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-soft);
  color: var(--color-primary-dark);
  border-radius: 50%;
  font-size: 1.15rem;
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.feature-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ——— Pricing ——— */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.price-table th,
.price-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.price-table th {
  background: var(--color-primary-dark);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:nth-child(even) td {
  background: var(--color-bg-alt);
}

.price-value {
  font-weight: 700;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

.price-cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .price-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: var(--color-accent);
  box-shadow: 0 4px 24px rgba(107, 18, 18, 0.2);
  position: relative;
}

.price-card .breed {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.price-card .deposit {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ——— Placeholder ——— */
.placeholder-box {
  background: var(--color-bg-alt);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--color-text-muted);
}

.placeholder-box h3 {
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

/* ——— Info / Callout ——— */
.callout {
  background: var(--color-accent-soft);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.15rem 1.35rem;
  margin: 1.5rem 0;
}

.callout p {
  margin: 0;
  color: var(--color-text);
}

.callout strong {
  color: var(--color-primary-dark);
}

/* ——— Contact form ——— */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.contact-info {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.contact-info h2 {
  margin-bottom: 1.25rem;
}

.contact-row {
  margin-bottom: 1.15rem;
}

.contact-row:last-child {
  margin-bottom: 0;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.contact-row a {
  font-weight: 600;
  font-size: 1.05rem;
}

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(196, 137, 74, 0.25);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  background: #e8f5eb;
  border: 1px solid #a8d5b0;
  color: var(--color-success);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

/* ——— Content prose ——— */
.prose {
  max-width: 42rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin-bottom: 1rem;
}

.prose ul li {
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.prose ul li::marker {
  color: var(--color-primary-light);
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

/* ——— Race detail ——— */
.race-block {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.race-block:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .race-block {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .race-block.reverse .race-media {
    order: 2;
  }
}

.race-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.race-media img.race-photo-portrait {
  aspect-ratio: 3 / 4;
}

.race-content h2 {
  margin-bottom: 0.75rem;
}

.race-content p {
  color: var(--color-text-muted);
}

/* ——— CTA band ——— */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  padding: 2.75rem 0;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--color-footer);
  color: rgba(255,255,255,0.85);
  padding: 2.75rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .logo-name {
  color: #fff;
  font-size: 1.2rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-col h3 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  font-family: var(--font-sans);
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--color-primary-light);
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  opacity: 0.65;
  text-align: center;
}

/* ——— Misc ——— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-muted {
  color: var(--color-text-muted);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-0 { margin-bottom: 0; }

/* ——— Product / affiliate grid ——— */
.product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.35rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.product-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-soft);
  border-radius: 50%;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  flex: 1;
  margin-bottom: 1.15rem;
}

.product-card .btn {
  align-self: flex-start;
  font-size: 0.88rem;
  padding: 0.55rem 1.1rem;
}

.product-secondary-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.affiliate-note {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.affiliate-note p {
  margin-bottom: 0.5rem;
}

.affiliate-note p:last-child {
  margin-bottom: 0;
}

/* ——— Chiots sales page ——— */
.price-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(107, 18, 18, 0.18);
  padding: 1.1rem 1.35rem;
  margin: 1.25rem 0 0.5rem;
}

.price-badge .price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  font-weight: 600;
}

.price-badge .price-amount {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.1;
}

.price-badge .price-deposit {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.chiots-dispo {
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--color-accent-soft);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.98rem;
  color: var(--color-text);
}

.chiots-hero-layout {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 800px) {
  .chiots-hero-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.chiots-hero-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  max-height: 520px;
}

.puppy-gallery {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .puppy-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .puppy-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.puppy-gallery-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.puppy-gallery-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.puppy-gallery-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--color-bg-alt);
}

.puppy-gallery-card .caption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0;
}

.reserve-card {
  background: var(--color-surface);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(107, 18, 18, 0.16);
  padding: 1.75rem 1.5rem;
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 700px) {
  .reserve-card {
    grid-template-columns: 180px 1fr auto;
  }
}

.reserve-card img {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin: 0 auto;
}

.reserve-card h3 {
  margin-bottom: 0.35rem;
}

.reserve-card p {
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.reserve-card .btn {
  justify-self: start;
}

.chiots-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
}

.visit-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem;
}

.visit-box ul {
  margin-top: 0.75rem;
}

.visit-box li {
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.visit-box a {
  font-weight: 600;
}


/* ——— Litter offer cards (chiots) ——— */
.litter-offer {
  background: #fff;
  border: 4px solid #7a1515;
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(107, 18, 18, 0.22);
  outline: 2px solid rgba(122, 21, 21, 0.25);
  outline-offset: 4px;
  padding: 1.5rem 1.5rem 1.65rem;
  margin-bottom: 2.75rem;
  max-width: 100%;
}

.litter-offer--males {
  border-color: #8b1a1a;
  background: linear-gradient(180deg, #fff8f6 0%, #f3dede 100%);
  box-shadow: 0 10px 32px rgba(139, 26, 26, 0.28);
}

.litter-offer--femelles {
  border-color: #5c1010;
  background: linear-gradient(180deg, #ffffff 0%, #e8d0d0 100%);
  box-shadow: 0 10px 32px rgba(92, 16, 16, 0.28);
}

.litter-offer--aout {
  border-color: #9a2a1a;
  background: linear-gradient(180deg, #fffaf7 0%, #f5e4d8 100%);
  box-shadow: 0 10px 32px rgba(154, 42, 26, 0.26);
}

.litter-offer-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(107, 18, 18, 0.2);
}

.litter-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary-dark);
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.litter-offer-head h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.litter-meta {
  margin: 0;
  color: var(--color-text-muted);
}

.litter-media {
  margin-bottom: 1rem;
}

.litter-photos {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0.75rem;
  padding-bottom: 0.15rem;
}

.litter-photos img {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: 130px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: var(--color-bg-alt);
}

@media (min-width: 700px) {
  .litter-photos img {
    height: 160px;
  }
}

.litter-media:has(.litter-video) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.litter-media:has(.litter-video) .litter-photos {
  flex: 1 1 220px;
  margin-bottom: 0;
}

.litter-video {
  display: block;
  flex: 0 0 auto;
  width: 100px;
  height: 178px;
  max-width: 28%;
  margin: 0;
  border-radius: 10px;
  background: #1a0a0a;
  border: 1px solid rgba(107, 18, 18, 0.25);
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

@media (min-width: 700px) {
  .litter-video {
    width: 120px;
    height: 214px;
  }
}

.litter-video--landscape {
  width: min(220px, 42%);
  height: auto;
  max-width: 220px;
  aspect-ratio: 16 / 9;
}

@media (min-width: 700px) {
  .litter-video--landscape {
    width: 240px;
    max-width: 240px;
    height: auto;
  }
}

.litter-body p {
  margin: 0 0 0.55rem;
  color: var(--color-text-muted);
}

.litter-body p:last-child {
  margin-bottom: 0;
}


.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a:hover {
  opacity: 1;
}

/* Certificat d'engagement (ajout 06/10/2026) */
.section--cec { padding: 2.5rem 0; }
.cec-box { max-width: 760px; margin: 0 auto; background: #f4efe6; border-radius: 16px; padding: 2rem 1.75rem; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.cec-box h2 { color: #4a1f0e; margin: 0 0 .9rem; }
.cec-lead { font-size: 1.15rem; font-weight: 600; color: #4a1f0e; line-height: 1.45; margin: 0 0 1.1rem; }
.cec-steps { text-align: left; max-width: 560px; margin: 0 auto 1.4rem; padding-left: 1.3rem; line-height: 1.55; }
.cec-steps li { margin-bottom: .35rem; }
.cec-btn { font-size: 1.05rem; padding: .9rem 1.6rem; }
.cec-note { font-size: .85rem; color: #6b5a4e; margin: 1.1rem 0 0; }
@media (max-width: 600px) { .cec-box { padding: 1.5rem 1.1rem; } .cec-lead { font-size: 1.05rem; } }
