/* ═══════════════════════════════════════════════
   MAEVA BUSINESS — Design Expert v2
   Palette : ivoire chaud · or riche · noir profond
═══════════════════════════════════════════════ */

:root {
  --white:        #fffdf9;
  --ivory:        #f8f3ea;
  --beige:        #efe6d8;
  --gold:         #c8a040;
  --gold-light:   #e8c97a;
  --gold-dark:    #a07828;
  --gold-glow:    rgba(200,160,64,0.28);
  --gold-border:  rgba(200,160,64,0.38);
  --champagne-soft: #eadfc9;
  --black:        #13110e;
  --dark:         #1e1a14;
  --ink:          #2d2820;
  --muted:        #6b6357;
  --line:         rgba(44,39,34,0.10);
  --shadow-sm:    0 2px 12px rgba(30,24,14,0.08);
  --shadow:       0 8px 32px rgba(30,24,14,0.12);
  --shadow-lg:    0 20px 56px rgba(30,24,14,0.18);
  --shadow-gold:  0 8px 32px rgba(200,160,64,0.20);
  --radius:       18px;
  --radius-sm:    12px;
  --header-height:72px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ── FOND GLOBAL avec texture dorée subtile ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(200,160,64,0.10), transparent),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(200,160,64,0.06), transparent);
  z-index: -1;
}

/* ══════════════════════════════════
   HEADER
══════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 5vw, 4rem);
  background: rgba(248,243,234,0.92);
  border-bottom: 1px solid var(--gold-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  color: var(--black);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Point doré après le logo */
.brand::after {
  content: ".";
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ══════════════════════════════════
   BOUTONS — système complet
══════════════════════════════════ */
.ghost-link,
.primary-link,
.cta-button,
.secondary-button,
.pill-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
  line-height: 1.15;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ghost-link {
  display: none;
  padding: 0.7rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}
.ghost-link:hover { color: var(--black); background: rgba(200,160,64,0.08); }

/* Bouton principal nav — doré */
.primary-link {
  padding: 0.72rem 1.1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold);
}
.primary-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(200,160,64,0.35);
}

/* CTA principal — noir premium */
.cta-button {
  width: 100%;
  padding: 1rem 1.4rem;
  background: var(--black);
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(200,160,64,0.20);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,160,64,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(30,24,14,0.28), 0 0 0 1px var(--gold-border);
}

/* Bouton secondaire */
.secondary-button {
  width: 100%;
  padding: 0.95rem 1.2rem;
  border: 1.5px solid var(--gold-border);
  background: transparent;
  color: var(--black);
  font-size: 0.95rem;
}
.secondary-button:hover {
  background: rgba(200,160,64,0.08);
  transform: translateY(-2px);
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  display: grid;
  gap: 2rem;
  padding: 3rem clamp(1rem, 5vw, 4rem) 2.5rem;
  background: linear-gradient(160deg, #fff9f0 0%, var(--ivory) 60%);
  border-bottom: 1px solid var(--line);
  position: relative;
}

/* Ligne décorative dorée à gauche */
.hero-content {
  display: grid;
  gap: 1.1rem;
  position: relative;
  padding-left: 1.2rem;
}
.hero-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), transparent);
  border-radius: 2px;
}

.hero-copy,
.section-heading p,
.plan-card p,
.contact-panel p,
.site-footer {
  color: var(--muted);
}

.hero-copy {
  font-size: 0.97rem;
  max-width: 44rem;
}

.hero-visual {
  overflow: hidden;
  width: 100%;
  max-height: 160px;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-gold), var(--shadow);
  aspect-ratio: 16 / 6.5;
}
.hero-visual img,
.plan-image { width: 100%; height: 100%; object-fit: cover; }

/* ══════════════════════════════════
   TYPOGRAPHIE
══════════════════════════════════ */
.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dark-eyebrow { color: var(--gold); }

h1, h2, h3 {
  margin: 0;
  color: var(--black);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.06;
}
h1 { max-width: 12ch; font-size: clamp(2.4rem, 11.2vw, 5rem); }
h2 { font-size: clamp(1.85rem, 7.4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 6.1vw, 2.3rem); }

/* ══════════════════════════════════
   TÉMOIGNAGES
══════════════════════════════════ */
.global-testimonials {
  padding: 3rem clamp(1rem, 5vw, 4rem);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

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

.testimonial-shot {
  overflow: hidden;
  width: 100%;
  max-height: 210px;
  margin: 0;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius);
  background: var(--dark);
  box-shadow: var(--shadow);
}
.testimonial-shot img {
  width: 100%;
  height: auto;
  max-height: 210px;
  object-fit: contain;
}

/* ══════════════════════════════════
   NAVIGATION RAPIDE (pills)
══════════════════════════════════ */
.quick-nav {
  padding: 2.5rem clamp(1rem, 5vw, 4rem);
  background: var(--dark);
  border-bottom: 1px solid rgba(200,160,64,0.15);
}

/* Titres blancs sur fond sombre */
.quick-nav .section-heading h2 {
  color: var(--white);
}
.quick-nav .section-heading p {
  color: rgba(255,253,249,0.55);
}

.plan-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  width: 100%;
}

.pill-button {
  width: 100%;
  min-height: 52px;
  padding: 0.72rem 0.8rem;
  background: rgba(255,253,249,0.06);
  border: 1px solid rgba(200,160,64,0.25);
  color: rgba(255,253,249,0.85);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-sm);
  white-space: normal;
  overflow-wrap: anywhere;
  backdrop-filter: blur(8px);
}
.pill-button:hover {
  background: rgba(200,160,64,0.14);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,160,64,0.15);
}

/* ══════════════════════════════════
   SECTION PLANS
══════════════════════════════════ */
.plans-section {
  padding: 3rem clamp(1rem, 5vw, 4rem);
  background: var(--ivory);
}

.plans-list { display: grid; gap: 1.2rem; }

/* CARDS — le vrai changement visuel */
.plan-card {
  scroll-margin-top: calc(var(--header-height) + 1rem);
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);   /* ← LIGNE DORÉE en haut */
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.plan-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Badge numéroté doré en haut à droite — retiré car pas dans le HTML */

.promise {
  color: var(--black);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.3;
}

.plan-image {
  overflow: hidden;
  max-height: 155px;
  aspect-ratio: 16 / 6.6;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
  background: var(--ivory);
}

.plan-grid { display: grid; gap: 0.85rem; }

/* Blocs internes */
.contains-block, .call-block {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.contains-block {
  background: var(--ivory);
}
.call-block {
  background: linear-gradient(135deg, #fdf8ee, #fff9f0);
  border: 1px solid var(--gold-border);
  box-shadow: inset 0 1px 0 rgba(200,160,64,0.15);
}
.contains-block h4, .call-block h4 {
  margin: 0 0 0.7rem;
  color: var(--black);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.call-block p { font-size: 0.92rem; color: var(--muted); }

.contains-list {
  column-count: 2;
  column-gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contains-list li {
  position: relative;
  break-inside: avoid;
  margin-bottom: 0.45rem;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: 0.9rem;
}
.contains-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--gold);
}

@media (max-width: 360px) { .contains-list { column-count: 1; } }

/* ── Bouton achat dans les cards ── */
.plan-card .cta-button {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-gold);
  font-size: 0.97rem;
  letter-spacing: 0.02em;
}
.plan-card .cta-button::after {
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
}
.plan-card .cta-button:hover {
  box-shadow: 0 16px 40px rgba(200,160,64,0.38);
  transform: translateY(-2px);
}

/* ══════════════════════════════════
   BUSINESS PLAN PERSONNALISÉ
══════════════════════════════════ */
.custom-plan-section {
  padding: 0 clamp(1rem, 5vw, 4rem) 3rem;
  background: var(--ivory);
}

.custom-plan-card {
  display: grid;
  gap: 1.2rem;
  padding: 1.5rem;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fffbf2, #fff9ed);
  box-shadow: var(--shadow-gold), var(--shadow);
  position: relative;
  overflow: hidden;
}
.custom-plan-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.custom-plan-card div { display: grid; gap: 0.7rem; }
.custom-plan-card p:not(.eyebrow) { color: var(--muted); }

/* ══════════════════════════════════
   SECTION CONTACT (WhatsApp)
══════════════════════════════════ */
.contact-section {
  padding: 4.5rem clamp(1rem, 5vw, 4rem);
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* Halo doré en arrière-plan */
.contact-section::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  max-width: 500px;
  max-height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,160,64,0.10), transparent 70%);
  pointer-events: none;
}

.contact-panel {
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.contact-panel h2,
.contact-panel p { color: var(--white); }
.contact-panel .eyebrow {
  color: var(--gold);
  letter-spacing: 0.14em;
}
.contact-panel h2 { max-width: 14ch; }
.contact-panel > p:not(.eyebrow) {
  max-width: 34rem;
  color: rgba(255,253,249,0.60);
  font-weight: 500;
}

.contact-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.2rem;
}
.contact-panel .cta-button {
  width: min(100%, 22rem);
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: 0 16px 40px rgba(34,197,94,0.30);
}
.contact-panel .cta-button:hover {
  background: #16a34a;
  box-shadow: 0 20px 48px rgba(34,197,94,0.40);
}

/* ══════════════════════════════════
   PAGES DÉTAIL (business plan individuel)
══════════════════════════════════ */
.detail-page { background: var(--ivory); }

.detail-root {
  display: grid;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 5vw, 4rem) 3rem;
}

.back-link {
  width: fit-content;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.back-link:hover { color: var(--black); }

.detail-card {
  display: grid;
  gap: 1.1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-heading { display: grid; gap: 0.7rem; }
.detail-heading h1 {
  max-width: 14ch;
  font-size: clamp(2.1rem, 10vw, 4.5rem);
}

.detail-image { max-height: 155px; }

.detail-presentation { color: var(--muted); font-size: 0.96rem; }

.detail-grid { gap: 0.9rem; }
.detail-side { display: grid; gap: 0.9rem; align-content: start; }

.block-title {
  margin: 0 0 0.7rem;
  color: var(--black);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

/* Panneau paiement */
.payment-panel {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fffbf2, #fff9ed);
  box-shadow: var(--shadow-gold);
}

/* Countdown */
.offer-countdown {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
}
.countdown-title { color: var(--black); font-size: 0.88rem; font-weight: 900; }
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  width: 100%;
}
.countdown-unit { display: grid; justify-items: center; gap: 0.22rem; min-width: 0; }
.countdown-value {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--dark);
  color: var(--gold-light);
  font-size: clamp(1.15rem, 6.4vw, 1.65rem);
  font-weight: 900;
  border: 1px solid rgba(200,160,64,0.20);
}
.countdown-label { color: var(--muted); font-size: 0.58rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }

.payment-button { width: 100%; }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.site-footer {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem clamp(1rem, 5vw, 4rem) 2.5rem;
  background: var(--dark);
  border-top: 1px solid rgba(200,160,64,0.15);
  color: rgba(255,253,249,0.45);
  font-size: 0.88rem;
}
.site-footer a {
  color: var(--gold);
  font-weight: 700;
}
.site-footer a:hover { color: var(--gold-light); }

/* ══════════════════════════════════
   RESPONSIVE — Tablette (720px+)
══════════════════════════════════ */
@media (min-width: 720px) {
  .ghost-link { display: inline-flex; }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    align-items: center;
    gap: 2rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .hero-visual { max-height: 240px; aspect-ratio: 16 / 7; }

  .cta-button, .secondary-button { width: fit-content; }

  .testimonial-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }

  .plan-pills { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .plan-card { padding: 1.6rem; }

  .detail-root { padding-top: 2rem; padding-bottom: 4rem; }
  .detail-card { max-width: 70rem; margin: 0 auto; padding: 1.8rem; }
  .detail-heading h1 { max-width: 17ch; }
  .plan-grid { grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.86fr); }

  .custom-plan-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 1.6rem;
  }

  .contact-actions { flex-wrap: wrap; }
}

/* ══════════════════════════════════
   RESPONSIVE — Desktop (1040px+)
══════════════════════════════════ */
@media (min-width: 1040px) {
  .plans-list { gap: 1.4rem; }
  .global-testimonials,
  .quick-nav,
  .plans-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .contact-section { padding-top: 6rem; padding-bottom: 6rem; }
  .testimonial-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
