@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg: #f5f4f0;
  --bg-dark: #2e3840;
  --bg-card: #ffffff;
  --bg-card-dark: #364450;
  --bg-nav: rgba(255,255,255,0.96);
  --accent: #ff5756;
  --accent-light: #ff7a79;
  --text: #1a2028;
  --text-muted: #6b7280;
  --text-light: #f0ece6;
  --text-muted-light: #a8b4bc;
  --border: rgba(0,0,0,0.09);
  --border-light: rgba(255,255,255,0.12);
  --radius: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-text .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.nav-logo-text .brand-name span { color: var(--accent); }

.nav-logo-text .brand-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: rgba(0,0,0,0.05);
}

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--accent-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,87,86,0.3) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 2px;
}

/* ── SECTIONS ALTERNÉES ── */
/* Section claire (default) */
.section-light {
  background: #ffffff;
  padding: 80px 0;
}

/* Section gris doux */
.section-warm {
  background: var(--bg);
  padding: 80px 0;
}

/* Section sombre */
.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0;
}

.section-dark .section-title,
.section-dark h2,
.section-dark h3 { color: var(--text-light); }
.section-dark .section-subtitle,
.section-dark p { color: var(--text-muted-light); }
.section-dark .tag { background: rgba(255,87,86,0.2); }
.section-dark .card {
  background: var(--bg-card-dark);
  border-color: var(--border-light);
  color: var(--text-light);
}
.section-dark .card h3 { color: var(--text-light); }
.section-dark .card .desc { color: var(--text-muted-light); }
.section-dark .card:hover { border-color: rgba(255,87,86,0.4); }
.section-dark .detail-card {
  background: var(--bg-card-dark);
  border-color: var(--border-light);
}
.section-dark .detail-card h3,
.section-dark .detail-card p { color: var(--text-light); }
.section-dark .detail-card li { color: var(--text-muted-light); }
.section-dark .divider-line { border-color: var(--border-light); }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── FOOTER ── */
footer {
  background: #1e262c;
  border-top: none;
  padding: 64px 32px 32px;
  color: var(--text-light);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.footer-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-light);
}

.footer-logo-name span { color: var(--accent); }

.footer-brand p {
  color: var(--text-muted-light);
  font-size: 14px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted-light);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(240,236,230,0.65);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted-light);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── SHARED COMPONENTS ── */
.page-hero {
  padding: 80px 32px 60px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.page-hero .tag {
  display: inline-block;
  background: rgba(255,87,86,0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.page-hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.page-hero p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto;
}

/* Dark hero variant */
.page-hero-dark {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 32px 60px;
  text-align: center;
}

.page-hero-dark h1 { color: var(--text-light); }
.page-hero-dark p { color: var(--text-muted-light); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--text);
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 15px;
}

.tag {
  display: inline-block;
  background: rgba(255,87,86,0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-color: rgba(255,87,86,0.3);
}

.card-badge {
  display: inline-block;
  background: rgba(255,87,86,0.12);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
  color: var(--text);
}

.card .desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.card .price {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}

.card .price span {
  font-size: 14px;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
}

.divider-line {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* CTA Button */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 16px rgba(255,87,86,0.3);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,87,86,0.35);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: none;
}

.btn-ghost-dark:hover {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.2);
}

/* Detail card (video packages) */
.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.detail-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--text);
}

.detail-card .price-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  display: block;
}

.detail-card ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

.detail-card ul li {
  color: var(--text-muted);
  font-size: 14px;
  padding: 6px 0 6px 20px;
  position: relative;
}

.detail-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.detail-card .note {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(255,87,86,0.07);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

.legal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin: 40px 0 12px;
  color: var(--text);
}

.legal-content p, .legal-content li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content ul { margin: 12px 0 12px 20px; }
.legal-content ul li { margin-bottom: 6px; }

/* Table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.pricing-table th {
  text-align: left;
  padding: 12px 16px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.pricing-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--text-muted);
  font-size: 14px;
  vertical-align: middle;
}

.pricing-table td:first-child { color: var(--text); font-weight: 500; }
.pricing-table td:last-child {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.pricing-table tr:hover td { background: rgba(0,0,0,0.02); }
.pricing-table tr:last-child td { border-bottom: none; }

/* Add-ons grid */
.add-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.add-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.add-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.add-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.add-card .desc { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.add-card .price {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

/* Retouche items */
.retouche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.retouche-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
}

.retouche-item .duration { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.retouche-item .price {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

/* Category header */
.pricing-category { margin-bottom: 60px; }

.pricing-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.pricing-category-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  white-space: nowrap;
  color: var(--text);
}

.pricing-category-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Dark section overrides for cards */
.section-dark .add-card {
  background: var(--bg-card-dark);
  border-color: var(--border-light);
  box-shadow: none;
}

.section-dark .add-card h4 { color: var(--text-light); }
.section-dark .add-card .desc { color: var(--text-muted-light); }
.section-dark .retouche-item {
  background: var(--bg-card-dark);
  border-color: var(--border-light);
  box-shadow: none;
}
.section-dark .retouche-item .price { color: var(--text-light); }
.section-dark .pricing-category-header h2 { color: var(--text-light); }
.section-dark .pricing-category-header::after { background: var(--border-light); }
.section-dark .pricing-table th { color: var(--text-muted-light); border-color: var(--border-light); }
.section-dark .pricing-table td { border-color: rgba(255,255,255,0.04); color: var(--text-muted-light); }
.section-dark .pricing-table td:first-child,
.section-dark .pricing-table td:last-child { color: var(--text-light); }
.section-dark .pricing-table tr:hover td { background: rgba(255,255,255,0.03); }
.section-dark .divider-line { border-color: var(--border-light); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; font-size: 17px; }
  .nav-toggle { display: flex; }
  .site-nav { position: relative; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .detail-card ul { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 0 20px; height: 68px; }
  .nav-logo img { width: 44px; height: 44px; }
  .nav-logo-text .brand-name { font-size: 20px; }
  .page-hero { padding: 52px 20px 40px; }
  .page-hero h1 { font-size: 2rem; }
  .section-inner { padding: 0 20px; }
  .cards-grid { grid-template-columns: 1fr; }
  .add-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { padding: 0; }
}

@media (max-width: 420px) {
  .add-grid { grid-template-columns: 1fr; }
}
