/* ============================================================
   Elevage Caniche France — Premium Design System
   Palette: ivoire, anthracite, or vieilli, vert profond
   ============================================================ */

/* --- Google Fonts proxy (system fallback) --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Custom properties --- */
:root {
  --color-ivory: #FFFFF0;
  --color-ivory-warm: #FAF8F0;
  --color-anthracite: #2D2D2D;
  --color-anthracite-light: #4A4A4A;
  --color-gold: #B8860B;
  --color-gold-light: #D4A843;
  --color-gold-pale: #F5E6C0;
  --color-gold-glow: rgba(184, 134, 11, 0.15);
  --color-green: #1B4332;
  --color-green-light: #2D6A4F;
  --color-green-pale: #E8F5E9;
  --color-white: #FFFFFF;
  --color-border: #E0DDD4;
  --color-text: #2D2D2D;
  --color-text-muted: #6B6B6B;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --max-width: 1200px;
  --max-width-narrow: 800px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --shadow-gold: 0 4px 20px rgba(184, 134, 11, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-ivory-warm);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--color-gold);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-anthracite);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }

/* Prose — for .Content blocks */
.prose h2 {
  margin: var(--space-xl) 0 var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--color-gold-pale);
}
.prose h3 { margin: var(--space-lg) 0 var(--space-sm); }
.prose p { margin-bottom: var(--space-md); font-size: 1.05rem; }
.prose ul, .prose ol { margin-bottom: var(--space-md); padding-left: 1.5em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.5em; font-size: 1.05rem; }
.prose li strong { color: var(--color-green); }
.prose blockquote {
  border-left: 4px solid var(--color-gold);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  background: linear-gradient(135deg, var(--color-white), var(--color-gold-pale));
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-anthracite-light);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.prose table { width: 100%; border-collapse: collapse; margin: var(--space-lg) 0; }
.prose th, .prose td { padding: 0.75em 1em; border: 1px solid var(--color-border); text-align: left; }
.prose th { background: var(--color-ivory); font-weight: 600; }
.prose img {
  border-radius: var(--radius-lg);
  margin: var(--space-lg) 0;
  box-shadow: var(--shadow-md);
}
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--color-gold-pale); }
.prose a:hover { color: var(--color-gold); text-decoration-color: var(--color-gold); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224, 221, 212, 0.6);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
  color: var(--color-anthracite);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-logo:hover {
  color: var(--color-gold);
}

.logo-icon {
  color: var(--color-gold);
  font-size: 1.2em;
}

/* Navigation */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  display: block;
  padding: 0.5em 0.85em;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-anthracite-light);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-link:hover {
  background: var(--color-ivory);
  color: var(--color-green);
  transform: translateY(-1px);
}

.nav-link.is-active {
  color: var(--color-gold);
  background: var(--color-gold-pale);
  font-weight: 600;
}

/* Hamburger — hidden on desktop */
.nav-toggle { display: none; }

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 110;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-anthracite);
  border-radius: 2px;
  position: absolute;
  left: 7px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger { top: 17px; }
.hamburger::before { content: ''; top: -7px; }
.hamburger::after { content: ''; top: 7px; }

.nav-toggle:checked ~ .nav-toggle-label .hamburger { background: transparent; }
.nav-toggle:checked ~ .nav-toggle-label .hamburger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-toggle-label .hamburger::after { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3em;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '\203A';
  margin-right: 0.3em;
  color: var(--color-border);
}

.breadcrumb-item a { color: var(--color-text-muted); }
.breadcrumb-item a:hover { color: var(--color-gold); }
.breadcrumb-item.is-current { color: var(--color-anthracite); font-weight: 500; }

/* ============================================================
   PAGE HERO BANNER (single/list pages)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-green);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 67, 50, 0.85) 0%, rgba(27, 67, 50, 0.6) 50%, rgba(184, 134, 11, 0.15) 100%);
  z-index: 2;
}

.page-hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
  color: var(--color-ivory);
}

.page-hero-content h1 {
  font-size: 3rem;
  color: var(--color-ivory);
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.page-hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 240, 0.9);
  max-width: 650px;
  line-height: 1.6;
}

/* ============================================================
   SINGLE LAYOUT
   ============================================================ */
.single-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-xl);
}

.single-header {
  margin-bottom: var(--space-lg);
}

.single-title {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.single-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Sidebar */
.single-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
}

.sidebar-block {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow);
}

.sidebar-heading {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-anthracite);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--color-gold);
}

.sidebar-links li { margin-bottom: 0.4em; }

.sidebar-link {
  display: block;
  padding: 0.4em 0.6em;
  font-size: 0.9rem;
  color: var(--color-anthracite-light);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.sidebar-link:hover {
  color: var(--color-gold);
  background: var(--color-gold-pale);
  transform: translateX(4px);
}

/* Sidebar photo */
.sidebar-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-md);
}

.sidebar-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.sidebar-photo:hover img {
  transform: scale(1.05);
}

/* ============================================================
   LIST LAYOUT
   ============================================================ */
.list-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.list-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.list-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-xs);
}

.list-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
}

.list-intro {
  max-width: var(--max-width-narrow);
  margin: 0 auto var(--space-xl);
}

.list-empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: var(--space-xl) 0;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-lg);
}

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

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

.card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-image {
  overflow: hidden;
}

.card-body {
  padding: var(--space-lg);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.card-title a { color: var(--color-anthracite); }
.card-title a:hover { color: var(--color-gold); }

.card-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: gap var(--transition);
}

.card-link::after {
  content: '\2192';
  transition: transform var(--transition);
}

.card-link:hover { color: var(--color-green); }
.card-link:hover::after { transform: translateX(4px); }

/* ============================================================
   TWO-COLUMN IMAGE+TEXT BLOCK
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin: var(--space-2xl) 0;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

.two-col-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.two-col-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.two-col-image:hover img {
  transform: scale(1.03);
}

.two-col-text h2 {
  margin-bottom: var(--space-md);
  border-bottom: none;
}

.two-col-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-anthracite-light);
}

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin: var(--space-xl) 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.photo-gallery-item {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.photo-gallery-item:hover img {
  transform: scale(1.08);
}

.photo-gallery-item:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

/* ============================================================
   AMBIANCE IMAGE (full-width break)
   ============================================================ */
.ambiance-break {
  position: relative;
  margin: var(--space-3xl) calc(-50vw + 50%);
  width: 100vw;
  height: 350px;
  overflow: hidden;
}

.ambiance-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ambiance-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250, 248, 240, 0.3) 0%, transparent 30%, transparent 70%, rgba(250, 248, 240, 0.3) 100%);
}

/* ============================================================
   HOMEPAGE — Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--color-green);
  color: var(--color-ivory);
  padding: var(--space-3xl) var(--space-md);
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(184, 134, 11, 0.12) 0%, transparent 60%),
    linear-gradient(135deg, rgba(0,0,0,0.2) 0%, transparent 50%);
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  text-align: left;
}

.hero-map {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-map img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.4));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  color: var(--color-ivory);
  margin-bottom: var(--space-sm);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--color-gold-light);
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: var(--space-md);
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 240, 0.85);
  line-height: 1.7;
  max-width: 580px;
}

/* ============================================================
   HOMEPAGE — Content area
   ============================================================ */
.content-area {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}

/* --- Stats row (homepage) --- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) 0;
  border-bottom: 2px solid var(--color-gold-pale);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 110px;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-green);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.3em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   HOMEPAGE — Tailles grid
   ============================================================ */
.tailles-grid {
  background: var(--color-white);
  padding: var(--space-3xl) var(--space-md);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
}

.section-lead {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.tailles-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.taille-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-ivory-warm);
  color: var(--color-anthracite);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.taille-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.taille-card:hover::before {
  transform: scaleX(1);
}

.taille-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
  color: var(--color-anthracite);
}

.taille-icon {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.15em;
}

.taille-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.3em;
  color: var(--color-anthracite);
}

.taille-range {
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
}

.taille-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ============================================================
   HOMEPAGE — Pourquoi section
   ============================================================ */
.pourquoi-section {
  padding: var(--space-3xl) var(--space-md);
  background: var(--color-ivory-warm);
}

.pourquoi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.pourquoi-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.pourquoi-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pourquoi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
  color: var(--color-ivory);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.3);
}

.pourquoi-item h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.pourquoi-item p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   HOMEPAGE — Regions section
   ============================================================ */
.regions-section {
  background: var(--color-white);
  padding: var(--space-3xl) var(--space-md);
}

.regions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.region-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 1.2em;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.92rem;
  color: var(--color-anthracite-light);
  background: var(--color-ivory-warm);
  transition: all var(--transition);
}

.region-link:hover {
  border-color: var(--color-gold);
  background: var(--color-gold-pale);
  color: var(--color-anthracite);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.region-count {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--color-green);
  color: var(--color-ivory);
  padding: 0.2em 0.6em;
  border-radius: 12px;
}

/* ============================================================
   HOMEPAGE — CTA section
   ============================================================ */
.cta-section {
  position: relative;
  background: var(--color-green);
  color: var(--color-ivory);
  padding: var(--space-3xl) var(--space-md);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(184, 134, 11, 0.15) 0%, transparent 70%);
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--color-ivory);
  margin-bottom: var(--space-sm);
  position: relative;
}

.cta-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 240, 0.8);
  margin-bottom: var(--space-xl);
  position: relative;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8em 1.8em;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.3);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  color: var(--color-white);
  box-shadow: 0 6px 24px rgba(184, 134, 11, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-ivory);
  border: 1.5px solid rgba(255, 255, 240, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 240, 0.1);
  border-color: var(--color-ivory);
  color: var(--color-ivory);
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-anthracite);
  color: rgba(255, 255, 240, 0.7);
  padding: var(--space-2xl) var(--space-md) var(--space-lg);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-ivory);
  margin-bottom: var(--space-xs);
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-ivory);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links li { margin-bottom: 0.4em; }

.footer-links a {
  color: rgba(255, 255, 240, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 240, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 240, 0.4);
}

/* ============================================================
   COMPARISON TABLES — Premium
   ============================================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0 var(--space-xl);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}

.comparison-table thead {
  background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
}

.comparison-table th {
  color: var(--color-ivory);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 1em 1.2em;
  text-align: left;
  border: none;
  border-right: 1px solid rgba(255,255,240,0.12);
}

.comparison-table th:last-child { border-right: none; }

.comparison-table td {
  padding: 0.85em 1.2em;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  vertical-align: middle;
}

.comparison-table td:last-child { border-right: none; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: var(--color-ivory-warm); }

.comparison-table tbody tr {
  transition: background var(--transition);
}

.comparison-table tbody tr:hover {
  background: var(--color-gold-pale);
}

.comparison-table td a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--color-gold-pale);
}

.comparison-table td strong { color: var(--color-anthracite); }

/* Price table variant */
.price-table td:nth-child(2),
.price-table td:nth-child(3),
.price-table td:nth-child(4) { text-align: center; font-weight: 600; }
.price-table th:nth-child(2),
.price-table th:nth-child(3),
.price-table th:nth-child(4) { text-align: center; }

/* ============================================================
   FAQ ITEMS (details/summary) — Premium
   ============================================================ */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-sm);
  background: var(--color-white);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-item summary {
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-anthracite);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-gold);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-gold-pale);
  transition: all var(--transition);
}

.faq-item[open] summary::after {
  content: '\2212';
  background: var(--color-gold);
  color: var(--color-white);
}

.faq-item summary:hover {
  background: var(--color-ivory);
}

.faq-item p {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-anthracite-light);
  line-height: 1.7;
  font-size: 0.98rem;
}

/* ============================================================
   COLOR SWATCHES — Premium
   ============================================================ */
.color-swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.color-swatch {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition);
}

.color-swatch:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.swatch-circle {
  display: inline-block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: var(--space-md);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1);
}

.swatch-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-anthracite);
  margin-bottom: 0.4em;
}

.swatch-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  text-align: left;
}

/* ============================================================
   UPDATE DATE
   ============================================================ */
.update-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
  padding: var(--space-xs) var(--space-md);
  border-left: 3px solid var(--color-gold);
  margin: var(--space-lg) 0;
  background: var(--color-gold-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============================================================
   FEATURE HIGHLIGHT BOXES
   ============================================================ */
.highlight-box {
  background: linear-gradient(135deg, var(--color-white), var(--color-ivory));
  border: 1px solid var(--color-gold-pale);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.highlight-box h3 {
  color: var(--color-green);
  margin-bottom: var(--space-sm);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet (< 900px) */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text { text-align: center; }
  .hero-lead { margin: 0 auto; }

  .hero-map {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero {
    min-height: auto;
    padding: var(--space-2xl) var(--space-md);
  }

  .single-layout {
    grid-template-columns: 1fr;
  }

  .single-sidebar { position: static; }

  .tailles-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .pourquoi-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .color-swatches {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .two-col--reverse { direction: ltr; }

  .two-col-image img { height: 300px; }

  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-gallery-item:first-child {
    grid-row: span 1;
  }

  .page-hero { min-height: 300px; }
  .page-hero-content h1 { font-size: 2.25rem; }

  .comparison-table { font-size: 0.85rem; }
  .comparison-table th, .comparison-table td { padding: 0.6em 0.7em; }
}

/* Mobile (< 640px) */
@media (max-width: 640px) {
  h1, .list-title { font-size: 2rem; }
  h2, .section-title { font-size: 1.5rem; }
  .hero-title { font-size: 2.25rem; }
  .single-title { font-size: 2rem; }
  .cta-title { font-size: 1.75rem; }
  .page-hero-content h1 { font-size: 1.85rem; }

  .header-inner { height: 60px; }

  /* Show hamburger on mobile */
  .nav-toggle-label { display: block; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--color-white);
    border-left: 1px solid var(--color-border);
    padding: 80px var(--space-md) var(--space-md);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 105;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  }

  .nav-toggle:checked ~ .site-nav { transform: translateX(0); }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    padding: 0.85em 0.5em;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .tailles-cards { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .color-swatches { grid-template-columns: 1fr; }

  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .ambiance-break { height: 220px; }

  .two-col-image img { height: 250px; }

  .stats-row { gap: var(--space-md); }
  .stat-value { font-size: 1.75rem; }
}
