/* Potensal France — thème sombre premium (version statique) */
:root {
  --radius: 1rem;
  --background: oklch(0.19 0.012 60);
  --foreground: oklch(0.94 0.02 80);
  --card: oklch(0.26 0.02 60);
  --secondary: oklch(0.225 0.015 60);
  --muted-foreground: oklch(0.74 0.03 75);
  --accent: oklch(0.73 0.14 88);
  --accent-foreground: oklch(0.19 0.012 60);
  --gold-hover: oklch(0.8 0.145 90);
  --border: oklch(0.73 0.14 88 / 0.2);
  --gradient-glow: radial-gradient(closest-side, oklch(0.73 0.14 88 / 0.35), transparent);
  --gradient-dark: linear-gradient(160deg, oklch(0.26 0.02 60), oklch(0.16 0.01 60));
}

* { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--border); }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  background: var(--background); color: var(--foreground);
  font-family: "Inter", system-ui, sans-serif; line-height: 1.5;
}
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; letter-spacing: -0.01em; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { max-width: 72rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.narrow { max-width: 48rem; }

/* Boutons */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px; padding: 0.85rem 1.6rem; font-weight: 600;
  background: var(--accent); color: var(--accent-foreground);
  transition: background .2s, transform .2s;
}
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* Cartes */
.gold-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.gold-card-accent { border-color: var(--accent); }

/* Utilitaires */
.kicker { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; color: var(--accent); }
.muted { color: var(--muted-foreground); }
.text-accent { color: var(--accent); }
.alt-bg { background: var(--secondary); }
.serif { font-family: "Playfair Display", Georgia, serif; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 75%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.brand .name { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; font-weight: 600; }
.brand .tag { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }
.main-nav { display: none; gap: 1.5rem; font-size: 0.875rem; }
.main-nav a { color: var(--muted-foreground); transition: color .2s; }
.main-nav a:hover { color: var(--accent); }
@media (min-width: 768px) { .main-nav { display: flex; } }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: 560px; overflow: hidden; }
@media (min-width: 768px) { .hero { min-height: 660px; } }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in oklab, var(--background) 85%, transparent), color-mix(in oklab, var(--background) 70%, transparent), var(--background)); }
@media (min-width: 768px) {
  .hero-veil {
    background:
      radial-gradient(340px 340px at 74% 52%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 70%),
      linear-gradient(to bottom, color-mix(in oklab, var(--background) 70%, transparent), transparent, var(--background)),
      linear-gradient(to right, var(--background), color-mix(in oklab, var(--background) 80%, transparent), color-mix(in oklab, var(--background) 25%, transparent));
  }
}
.hero-inner { position: relative; width: 100%; padding-top: 4rem; padding-bottom: 7rem; }
@media (min-width: 768px) { .hero-inner { padding-top: 6rem; padding-bottom: 6rem; } }
.hero-content { max-width: 42rem; }
.hero h1 { margin-top: 1rem; font-size: 2.25rem; font-weight: 600; line-height: 1.2; }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
.hero .lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; color: var(--muted-foreground); }
.chips { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; }
.chips li { border-radius: 9999px; border: 1px solid var(--border); background: var(--card); padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; }
.hero .cta-row { margin-top: 2rem; }
.hero .disclosure { margin-top: 1rem; max-width: 36rem; font-size: 0.75rem; color: var(--muted-foreground); }

/* Sections */
.section { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .section { padding-top: 6rem; padding-bottom: 6rem; } }
.section h2 { margin-top: 0.75rem; font-size: 1.875rem; font-weight: 600; }
@media (min-width: 768px) { .section h2 { font-size: 3rem; } }
.section .summary { margin-top: 1.25rem; max-width: 48rem; font-size: 1.125rem; color: var(--muted-foreground); }
.section .body { margin-top: 2.5rem; }

/* En bref */
.brief { padding: 1.5rem; }
@media (min-width: 768px) { .brief { padding: 2.5rem; } }
.brief h2 { font-size: 1.5rem; font-weight: 600; }
.brief ul { margin-top: 1.25rem; display: grid; gap: 0.75rem; color: var(--muted-foreground); list-style: none; }
@media (min-width: 768px) { .brief ul { grid-template-columns: 1fr 1fr; } }

/* Grilles */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) { .grid-5 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }

.card { padding: 1.5rem; }
.card h3 { font-size: 1.25rem; font-weight: 600; }
.card p { margin-top: 0.75rem; color: var(--muted-foreground); }
.card .nutrient { margin-top: 1rem; font-size: 0.75rem; color: var(--accent); }

.leftline { border-left: 2px solid var(--accent); padding-left: 1.25rem; }
.leftline h3 { font-size: 1.25rem; font-weight: 600; }
.leftline p { margin-top: 0.5rem; color: var(--muted-foreground); }

.note { margin-top: 2rem; border-radius: 0.75rem; border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent); background: var(--card); padding: 1.25rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* Flacon */
.bottle-fig { position: relative; display: flex; align-items: center; justify-content: center; min-height: 280px; border-radius: 1rem; background: var(--card); }
.bottle-fig .glow { position: absolute; inset: 0; background: var(--gradient-glow); }
.bottle-fig img { position: relative; height: auto; width: 10rem; filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.35)); }
@media (min-width: 768px) { .bottle-fig img { width: 14rem; } }

/* Tableau composition */
.table-wrap { overflow-x: auto; }
table { width: 100%; text-align: left; font-size: 0.875rem; border-collapse: collapse; }
thead { border-bottom: 1px solid var(--border); color: var(--accent); }
th, td { padding: 1rem; }
tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: 0; }
td { color: var(--muted-foreground); }

/* Utilisation */
.steps { list-style: none; display: grid; gap: 1.25rem; }
.steps li { display: flex; gap: 1rem; }
.steps .num {
  display: flex; height: 2.5rem; width: 2.5rem; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: 9999px; background: var(--accent); color: var(--accent-foreground);
  font-family: "Playfair Display", Georgia, serif; font-weight: 600;
}
.steps .txt { padding-top: 0.5rem; color: var(--muted-foreground); }
.precautions h3 { font-size: 1.125rem; font-weight: 600; }
.precautions ul { margin-top: 0.75rem; list-style: none; display: grid; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* Avis placeholder */
.reviews-grid { gap: 2rem; }
.review { display: flex; flex-direction: column; padding: 2rem; }
.review .muted { line-height: 1.65; }
.review .stars { font-size: 1.125rem; letter-spacing: 0.1em; color: var(--accent); }
.review .muted { margin-top: 1rem; flex: 1; }
.review footer { margin-top: 1.5rem; font-size: 0.875rem; }
.review .review-name { font-weight: 600; }

/* Offres */
.offer { display: flex; flex-direction: column; align-items: center; padding: 2rem; text-align: center; }
.offer .bottles { display: flex; align-items: flex-end; justify-content: center; gap: 0.25rem; }
.offer .bottles img { width: auto; height: 7rem; }
.offer .bottles img.single { height: 9rem; }
.offer h3 { margin-top: 1rem; font-size: 1.5rem; font-weight: 600; }
.offer .desc { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); }
.offer .price { margin-top: 1rem; font-family: "Playfair Display", Georgia, serif; font-size: 1.875rem; color: var(--accent); }
.offer .btn-gold { margin-top: 1.5rem; width: 100%; }
.offers-note { margin-top: 1.25rem; text-align: center; font-size: 0.875rem; color: var(--muted-foreground); }

/* FAQ */
.faq { overflow: hidden; }
.faq details { padding: 1.25rem; border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; cursor: pointer; list-style: none; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: "Inter", system-ui, sans-serif; font-size: 1rem; }
.faq summary .plus { color: var(--accent); transition: transform .2s; font-size: 1.25rem; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { margin-top: 0.75rem; color: var(--muted-foreground); }

/* Prose (guide + pages légales) */
.prose h2 { font-size: 1.6rem; margin: 2rem 0 0.75rem; font-weight: 600; color: var(--foreground); }
.prose h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; font-weight: 600; color: var(--foreground); }
.prose p { margin: 0 0 1rem; line-height: 1.75; color: var(--muted-foreground); }
.prose .about { margin-top: 2.5rem; }
.prose .about h3 { margin-top: 0; }
.prose .about p { margin-bottom: 0; font-size: 0.875rem; }

/* CTA final */
.final-cta { background: var(--gradient-dark); }
.final-cta .grid { align-items: center; }
.final-cta h2 { font-size: 1.875rem; font-weight: 600; }
@media (min-width: 768px) { .final-cta h2 { font-size: 3rem; } .final-cta .grid { grid-template-columns: 1fr auto; } }
.final-cta p { margin-top: 1rem; max-width: 36rem; color: var(--muted-foreground); }
.final-cta .btn-gold { margin-top: 2rem; }
.final-cta .disclosure { margin-top: 1rem; font-size: 0.75rem; }
.final-cta .bottle-fig { display: none; width: 16rem; background: transparent; }
@media (min-width: 768px) { .final-cta .bottle-fig { display: flex; } }

/* Pied de page */
.site-footer { border-top: 1px solid var(--border); background: var(--secondary); padding-bottom: 6rem; }
@media (min-width: 768px) { .site-footer { padding-bottom: 0; } }
.site-footer .cols { display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; font-size: 0.875rem; }
@media (min-width: 768px) { .site-footer .cols { grid-template-columns: repeat(2, 1fr); } }
.site-footer .fname { font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; font-weight: 600; }
.site-footer .ftag { margin-top: 0.25rem; color: var(--muted-foreground); }
.site-footer h2 { font-family: "Playfair Display", Georgia, serif; font-size: 1.125rem; font-weight: 600; }
.site-footer p.txt { margin-top: 0.75rem; color: var(--muted-foreground); }
.site-footer nav { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; color: var(--muted-foreground); }
.site-footer nav a:hover { color: var(--accent); }
.site-footer nav.legal { color: var(--accent); }
.site-footer .updated { border-top: 1px solid var(--border); padding: 1.25rem; text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }

/* Barre mobile */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  border-top: 1px solid var(--border); padding: 0.75rem;
  background: color-mix(in oklab, var(--background) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.mobile-bar .btn-gold { width: 100%; }
@media (min-width: 768px) { .mobile-bar { display: none; } }
.page-pad { padding-bottom: 5rem; }
@media (min-width: 768px) { .page-pad { padding-bottom: 0; } }

/* Pages légales */
.legal-header { border-bottom: 1px solid var(--border); }
.legal-header .container { max-width: 48rem; display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.legal-header .brand { font-family: "Playfair Display", Georgia, serif; font-size: 1.125rem; font-weight: 600; }
.legal-header .back { font-size: 0.875rem; color: var(--accent); }
.legal-main { max-width: 48rem; margin: 0 auto; padding: 3rem 1.25rem; }
.legal-main h1 { margin-bottom: 1.5rem; font-size: 2.25rem; font-weight: 600; }

/* Animations d'apparition (uniquement si JS actif) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }
