/* =========================================================
   Arabica Kids — Feuille de styles principale
   Mobile-first · Design system basé sur le mockup validé
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --ivory: #FFFAF4;
  --teal: #3D8B7A;
  --teal-dark: #2C6B5E;
  --teal-light: #E8F4F0;
  --terracotta: #D4735E;
  --terracotta-light: #FFF0EC;
  --gold: #D4A843;
  --gold-light: #FDF6E3;
  --text-dark: #2B3040;
  --text-med: #5A6070;
  --text-light: #8A8E9A;
  --sand: #F3EDE4;
  --cream: #FBF3E7;
  --cream-deep: #F6E9D3;
  --mint: #EAF5F0;
  --sage: #8FA98C;
  --white: #FFFFFF;

  --radius-card: 18px;
  --radius-btn: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --shadow: 0 6px 20px rgba(94, 74, 45, 0.06);
  --shadow-hover: 0 16px 38px rgba(61, 139, 122, 0.14);
  --shadow-soft: 0 4px 14px rgba(94, 74, 45, 0.05);

  --font-title: 'Quicksand', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --font-cursive: 'Caveat', 'Segoe Script', cursive;

  --maxw: 1120px;
  --nav-h: 68px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: 2rem; }        /* ~32-40px, ajusté plus bas */
h2 { font-size: 1.75rem; }     /* ~28-30px */
h3 { font-size: 1.125rem; }    /* ~18px */

p { color: var(--text-med); }

/* ---------- Layout utils ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding-block: 44px; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--text-med); }

/* Libellé de section doré avec lignes latérales */
.eyebrow-lined {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.eyebrow-lined::before,
.eyebrow-lined::after {
  content: "";
  height: 2px;
  width: 46px;
  background: currentColor;
  opacity: 0.5;
  border-radius: 2px;
}

.text-arabic {
  font-family: 'Amiri', 'Traditional Arabic', serif;
  direction: rtl;
  font-weight: 700;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); box-shadow: var(--shadow-hover); }

.btn-secondary {
  background: var(--white);
  border: 2px solid var(--teal);
  color: var(--teal);
}
.btn-secondary:hover { background: var(--teal-light); box-shadow: var(--shadow-hover); }

/* Bouton "Suivez-nous" : terracotta plein, en pilule */
.btn-follow {
  background: var(--terracotta);
  color: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(212, 115, 94, 0.25);
}
.btn-follow:hover { background: #c26350; box-shadow: 0 10px 24px rgba(212, 115, 94, 0.32); }

.btn-terracotta {
  background: var(--terracotta);
  color: var(--white);
}
.btn-terracotta:hover { background: #c26350; box-shadow: 0 12px 32px rgba(212, 115, 94, 0.22); }

.btn-pill { border-radius: var(--radius-pill); }

.btn-amazon { background: var(--teal); color: var(--white); }
.btn-amazon:hover { background: var(--teal-dark); box-shadow: var(--shadow-hover); }

.btn-kindle { background: var(--gold); color: var(--text-dark); }
.btn-kindle:hover { background: #c29a37; box-shadow: 0 12px 32px rgba(212, 168, 67, 0.22); }

.btn-payhip { background: var(--terracotta); color: var(--white); }
.btn-payhip:hover { background: #bf6350; box-shadow: 0 12px 32px rgba(212, 115, 94, 0.22); }

.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: box-shadow 0.25s ease;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.35rem;
}
.logo svg { width: 30px; height: 30px; }
.logo .logo-arabica { color: var(--teal); }
.logo .logo-kids { color: var(--terracotta); }
/* Logo image dans la navbar */
.navbar .logo img { height: 32px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--text-med);
  transition: color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

/* Le bouton "Suivez-nous" du menu déroulant n'apparaît que sur mobile */
.nav-mobile-cta { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--ivory) 0%, var(--cream) 55%, var(--mint) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/arabesque-pattern.svg");
  background-size: 360px;
  opacity: 0.05;
  pointer-events: none;
}
/* Feuillage décoratif en haut à gauche du hero */
.hero::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -30px;
  width: 200px;
  height: 240px;
  background: url("../images/leaf-branch.svg") no-repeat top left / contain;
  transform: rotate(-12deg);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  padding-block: 48px 40px;
  align-items: center;
}
.hero-title { font-size: 2.1rem; margin-bottom: 16px; }
.hero-title .accent { color: var(--terracotta); }
.hero-text { font-size: 1.05rem; margin-bottom: 24px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-quote {
  margin-top: 26px;
  font-family: var(--font-cursive);
  font-weight: 700;
  color: var(--terracotta);
  font-size: 1.65rem;
  line-height: 1.2;
}
.hero-media { position: relative; justify-self: center; }
/* Halo doux derrière les mascottes (détourées) */
.hero-media::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 78%;
  height: 78%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 55%, rgba(212, 168, 67, 0.14) 0%, rgba(212, 168, 67, 0) 68%);
  z-index: 0;
}
.hero-media img {
  position: relative;
  z-index: 1;
  max-height: 440px;
  width: auto;
  filter: drop-shadow(0 12px 18px rgba(43, 48, 64, 0.12));
}
.hero-caption {
  font-family: var(--font-cursive);
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 1.4rem;
  text-align: center;
  margin-top: 10px;
  opacity: 0.85;
}

/* Séparateur décoratif à cœur (ligne — ♡ — ligne) */
.deco-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px auto 0;
  max-width: 220px;
  color: var(--gold);
}
.deco-line::before,
.deco-line::after {
  content: "";
  height: 2px;
  width: 60px;
  background: currentColor;
  opacity: 0.55;
  border-radius: 2px;
}
.deco-line span { font-size: 1.1rem; line-height: 1; }

/* ---------- Cartes valeurs ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.value-card {
  background: var(--white);
  border: 1px solid rgba(212, 168, 67, 0.16);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.value-icon {
  height: 52px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  color: var(--gold);
}
.value-icon img { height: 48px; width: auto; }
.value-card h3 { margin-bottom: 6px; }
.value-card p { font-size: 0.9rem; }

/* ---------- Produit vedette ---------- */
.featured {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--cream) 0%, var(--cream-deep) 100%);
}
/* Silhouette mosquée + palmier, très discrète, à droite */
.featured::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: 0;
  width: 320px;
  height: 260px;
  background: url("../images/palm.svg") no-repeat right bottom / 130px,
             url("../images/mosque-silhouette.svg") no-repeat right bottom / 300px;
  color: var(--gold);
  opacity: 0.12;
  pointer-events: none;
}
.featured-card {
  position: relative;
  z-index: 1;
  background: transparent;
  display: grid;
  gap: 24px;
  align-items: center;
}
.featured-cover {
  display: grid;
  place-items: center;
  padding: 10px;
}
.featured-cover img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(72, 52, 30, 0.22);
}
.featured-body { padding: 12px 8px; }
.badge-collection {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.badge-collection::before { content: "★"; font-size: 0.9rem; }
.featured-body h2 { margin-bottom: 8px; }
.featured-arabic { display: inline-block; font-size: 2.4rem; color: var(--teal); margin-bottom: 14px; }
.featured-body p { margin-bottom: 18px; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.badge {
  background: var(--white);
  color: var(--text-med);
  border: 1px solid rgba(94, 74, 45, 0.12);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 7px 15px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.featured-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-med);
  margin-top: 14px;
}
.featured-note svg { color: var(--teal); flex-shrink: 0; }

/* ---------- Bientôt disponible ---------- */
.coming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.coming-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  opacity: 0.92;
}
.coming-card .cover-wrap { position: relative; background: var(--sand); }
.coming-card img { filter: grayscale(0.35) opacity(0.9); width: 100%; }
.coming-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--text-dark);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.coming-body { padding: 16px; }
.coming-body h3 { font-size: 1rem; margin-bottom: 4px; }
.coming-body .subtitle { font-size: 0.85rem; color: var(--text-med); margin-bottom: 10px; }
.format-badge {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--terracotta-light);
  color: var(--terracotta);
}

/* ---------- Blog cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.post-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.post-card > a { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.post-card > a img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.post-card:hover > a img { transform: scale(1.04); }
.post-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.post-cat {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  margin-bottom: 8px;
}
.post-body h3 { margin-bottom: 8px; }
.post-body p { font-size: 0.9rem; margin-bottom: 14px; }
.post-body .post-link {
  margin-top: auto;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--teal);
}
.post-meta { font-size: 0.8rem; color: var(--text-light); margin-bottom: 10px; }

/* Accueil : grille blog centrée avec de belles cartes */
.blog-section .blog-grid { max-width: 1040px; margin-inline: auto; gap: 24px; }

/* ---------- Blog (section accueil) ---------- */
.blog-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--mint) 0%, var(--teal-light) 100%);
}
.blog-section::before {
  content: "";
  position: absolute;
  top: 10px;
  right: -30px;
  width: 170px;
  height: 200px;
  background: url("../images/leaf-branch.svg") no-repeat top right / contain;
  transform: scaleX(-1) rotate(-8deg);
  opacity: 0.7;
  pointer-events: none;
}

/* ---------- Newsletter ---------- */
.newsletter {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-dark) 100%);
}
.newsletter .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  align-items: center;
}
.newsletter-intro { display: flex; align-items: center; gap: 18px; }
.newsletter-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  color: rgba(255, 255, 255, 0.9);
}
.newsletter h2 { color: var(--white); margin-bottom: 6px; }
.newsletter p { color: rgba(255, 255, 255, 0.85); max-width: 420px; margin: 0; }
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.newsletter-form input {
  flex: 1 1 220px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.newsletter-cursive {
  position: absolute;
  top: 22px;
  right: 28px;
  font-family: var(--font-cursive);
  font-weight: 700;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
  line-height: 1.1;
  z-index: 1;
}
@media (min-width: 860px) {
  .newsletter .container { grid-template-columns: 1fr 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 72px;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 40px;
  width: 340px;
  height: 150px;
  background: url("../images/palm.svg") no-repeat right bottom / 90px,
             url("../images/mosque-silhouette.svg") no-repeat right bottom / 320px;
  color: #fff;
  opacity: 0.06;
  pointer-events: none;
}
.footer .container { position: relative; z-index: 1; }
.footer-cursive {
  font-family: var(--font-cursive);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--gold);
  margin-top: 14px;
}
.social-link { display: inline-flex; align-items: center; gap: 10px; }
.social-link svg {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.footer a { color: rgba(255, 255, 255, 0.72); transition: color 0.15s ease; }
.footer a:hover { color: var(--white); }
.footer li { margin-bottom: 8px; }
.footer .brand-col .logo { color: var(--white); margin-bottom: 12px; }
.footer .brand-col .logo .logo-kids { color: var(--terracotta); }
.footer .brand-col p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Fiche produit ---------- */
.product { padding-block: 32px 48px; }
.product-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 20px;
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.product-gallery { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.product-cover {
  width: 100%;
  background: linear-gradient(150deg, var(--sand), var(--cream));
  border-radius: var(--radius-card);
  padding: 22px;
  display: grid;
  place-items: center;
}
.product-cover img {
  max-width: 260px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(72, 52, 30, 0.20);
}
.product-thumbs { display: flex; gap: 10px; justify-content: center; }
.thumb {
  width: 58px;
  height: 74px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--sand);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.thumb:hover { transform: translateY(-2px); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.selected { border-color: var(--teal); }

.product-info h1 { font-size: 1.55rem; margin: 8px 0 4px; }
.product-info .subtitle { font-size: 1rem; color: var(--text-med); margin-bottom: 10px; }
.product-arabic { display: inline-block; font-size: 1.9rem; color: var(--teal); margin-bottom: 12px; }
.product-info .description { font-size: 0.95rem; margin-bottom: 18px; }
.product-buy { display: flex; align-items: baseline; gap: 14px; margin: 22px 0 14px; }
.product-price { font-family: var(--font-title); font-weight: 800; font-size: 1.7rem; color: var(--teal-dark); }
.product-format { font-family: var(--font-title); font-weight: 600; font-size: 0.9rem; color: var(--text-med); }

/* Sélecteur de format */
.format-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 18px;
}
.format-option {
  border: 2px solid var(--sand);
  border-radius: var(--radius-card);
  padding: 18px 16px;
  text-align: center;
  background: var(--white);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
  cursor: pointer;
}
.format-option:hover { transform: translateY(-2px); }
.format-option .fmt-icon { font-size: 1.8rem; }
.format-option .fmt-name {
  font-family: var(--font-title);
  font-weight: 700;
  margin: 6px 0 2px;
  display: block;
}
.format-option .fmt-price { font-weight: 700; color: var(--text-med); }
.format-option.selected {
  border-color: var(--teal);
  background: var(--teal-light);
}
.format-option.selected .fmt-price { color: var(--teal-dark); }
.buy-note { font-size: 0.85rem; color: var(--text-light); margin-top: 12px; text-align: center; }

.related { background: var(--teal-light); }

/* ---------- Pages de contenu (à propos, contact, légal, 404) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--ivory) 0%, var(--teal-light) 100%);
  padding-block: 48px;
  text-align: center;
}
.page-hero h1 { margin-bottom: 8px; }
.page-hero p { max-width: 560px; margin: 0 auto; }

.prose { max-width: 720px; margin-inline: auto; padding-block: 40px; }
.prose h2 { font-size: 1.5rem; margin: 30px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 22px 0 8px; }
.prose p { color: var(--text-dark); margin-bottom: 16px; }
.prose ul { list-style: disc; margin: 0 0 16px 1.2em; color: var(--text-dark); }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--teal); font-weight: 700; text-decoration: underline; }
.prose strong { color: var(--text-dark); }

/* Contact */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-card .value-icon { margin-bottom: 12px; }

/* 404 */
.error-page { text-align: center; padding-block: 80px; }
.error-page .code {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 5rem;
  color: var(--teal);
  line-height: 1;
}

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

/* ---------- Décors ---------- */
.section-divider {
  text-align: center;
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.5rem;
  opacity: 0.6;
  margin-block: 8px;
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.875rem; }

  .hero .container {
    grid-template-columns: 1.05fr 0.95fr;
    padding-block: 52px 40px;
  }
  .hero-title { font-size: 2.6rem; }
  .featured-card { grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }

  .values-grid { grid-template-columns: repeat(4, 1fr); }
  .coming-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .product-layout { grid-template-columns: 320px 1fr; gap: 44px; align-items: start; }
}

@media (max-width: 767px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    background: var(--white);
    padding: 20px;
    gap: 18px;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 0.28s ease;
    z-index: 90;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-desktop-cta { display: none; }
  .nav-mobile-cta { display: block; }
}
