/* ==========================================================================
   EVOCLIC — Design System
   Direction : moderne & chaleureux, orange/noir, typographie soignée,
   beaucoup de respiration.
   ========================================================================== */

:root {
  /* Brand */
  --orange-50:  #FFF4EC;
  --orange-100: #FFE4D0;
  --orange-200: #FFC8A1;
  --orange-300: #FFA46B;
  --orange-400: #FF8A3D;
  --orange-500: #F26A1F;   /* primary */
  --orange-600: #D85410;
  --orange-700: #A8400C;

  /* Neutrals (warm) */
  --ink-950: #0C0A09;      /* deepest */
  --ink-900: #1A1614;      /* hero bg */
  --ink-800: #2A2522;
  --ink-700: #3D3733;
  --ink-600: #5C534D;
  --ink-500: #7C726B;
  --ink-400: #A39990;
  --ink-300: #CFC6BD;
  --ink-200: #E7E0D8;
  --ink-100: #F4EFE8;
  --ink-50:  #FAF7F2;
  --paper:   #FFFCF7;      /* page bg */
  --white:   #FFFFFF;

  /* Accent */
  --green-500: #2BB673;
  --pink-500:  #E8478B;
  --blue-500:  #2E86E0;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(26,22,20,0.04), 0 2px 6px rgba(26,22,20,0.04);
  --shadow-md: 0 4px 12px rgba(26,22,20,0.06), 0 12px 32px rgba(26,22,20,0.06);
  --shadow-lg: 0 12px 32px rgba(26,22,20,0.08), 0 32px 64px rgba(26,22,20,0.08);
  --shadow-orange: 0 16px 40px rgba(242,106,31,0.28);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Type scale */
  --f-display: "Fraunces", "Playfair Display", Georgia, serif;
  --f-sans:    "Manrope", "Inter", system-ui, -apple-system, sans-serif;
}

/* Reset --------------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1,h2,h3,h4 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; color: var(--ink-900); }
p { margin: 0; text-wrap: pretty; }

/* Layout -------------------------------------------------------------------*/
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 48px); margin-inline: auto; }
section { padding-block: clamp(64px, 10vw, 128px); }

/* Typography helpers ------------------------------------------------------*/
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-sans); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-600);
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: currentColor;
}

.h-display { font-size: clamp(44px, 6.4vw, 92px); letter-spacing: -0.035em; }
.h-section { font-size: clamp(36px, 4.8vw, 64px); letter-spacing: -0.03em; }
.h-card    { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; }

.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-600); line-height: 1.6; }

.serif-italic { font-family: var(--f-display); font-style: italic; font-weight: 400; }

/* Buttons ------------------------------------------------------------------*/
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; letter-spacing: 0.005em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange-500); color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--orange-600); }
.btn-dark { background: var(--ink-900); color: var(--white); }
.btn-dark:hover { transform: translateY(-2px); background: var(--ink-800); }
.btn-ghost { background: transparent; color: var(--ink-900); border: 1.5px solid var(--ink-200); }
.btn-ghost:hover { border-color: var(--ink-900); transform: translateY(-2px); }
.btn-ghost-dark { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-ghost-dark:hover { border-color: var(--white); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Cards --------------------------------------------------------------------*/
.card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ink-200); }

/* Header / Nav -------------------------------------------------------------*/
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,252,247,0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--ink-100);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 18px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 600; font-size: 22px;
  letter-spacing: -0.02em;
}
.brand .dot {
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  display: grid; place-items: center; color: var(--white);
  box-shadow: var(--shadow-orange);
  font-family: var(--f-sans); font-weight: 800; font-size: 14px;
}
.nav-list {
  display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  display: inline-block; padding: 10px 14px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 500; color: var(--ink-700);
  transition: background .2s ease, color .2s ease;
}
.nav-list a:hover { background: var(--ink-100); color: var(--ink-900); }
.nav-list a.active { background: var(--ink-900); color: var(--white); }
.nav-cta { margin-left: 12px; padding: 12px 20px !important; }

.hamburger {
  display: none; width: 44px; height: 44px; border-radius: var(--r-pill);
  background: var(--ink-100);
  align-items: center; justify-content: center;
}
.hamburger span { display:block; width: 18px; height: 2px; background: var(--ink-900); position: relative; }
.hamburger span::before, .hamburger span::after {
  content:""; position: absolute; left:0; width:18px; height:2px; background: var(--ink-900);
}
.hamburger span::before { top: -6px; }
.hamburger span::after  { top: 6px; }

@media (max-width: 1080px) {
  .nav-list, .nav-cta { display: none; }
  .hamburger { display: inline-flex; }
  .mobile-open .nav-list {
    display: flex; flex-direction: column; gap: 6px;
    position: absolute; top: 100%; left: 24px; right: 24px;
    background: var(--white); padding: 16px; border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg); border: 1px solid var(--ink-100);
  }
  .mobile-open .nav-list a { padding: 12px 16px; }
}

/* Footer -------------------------------------------------------------------*/
.site-footer {
  background: var(--ink-950); color: var(--ink-200);
  padding-block: 80px 32px;
}
.site-footer h4 { color: var(--white); font-family: var(--f-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer .grid {
  display: grid; gap: 48px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
@media (max-width: 820px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .site-footer .grid { grid-template-columns: 1fr; } }

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--ink-300); transition: color .2s; font-size: 14.5px; }
.site-footer a:hover { color: var(--orange-400); }

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  display: inline-grid; place-items: center;
  background: rgba(255,255,255,0.06); color: var(--white);
  transition: background .2s, transform .2s;
}
.social-row a:hover { background: var(--orange-500); transform: translateY(-2px); }

.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px; color: var(--ink-400); flex-wrap: wrap;
}

/* Section helpers ---------------------------------------------------------*/
.section-light { background: var(--paper); }
.section-cream { background: var(--ink-50); }
.section-dark  { background: var(--ink-950); color: var(--ink-100); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .lede { color: var(--ink-300); }

/* Pills --------------------------------------------------------------------*/
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--ink-100); color: var(--ink-800);
  font-size: 13px; font-weight: 600;
}
.pill-orange { background: var(--orange-100); color: var(--orange-700); }
.pill-dark { background: var(--ink-900); color: var(--white); }

/* Animations on scroll -----------------------------------------------------*/
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}
[data-reveal-fade] {
  opacity: 0;
  transition: opacity .9s ease;
}
[data-reveal-fade].in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-fade] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* Marquee / strip ----------------------------------------------------------*/
.strip {
  background: var(--ink-950); color: var(--ink-200);
  padding-block: 18px; overflow: hidden; position: relative;
  border-block: 1px solid rgba(255,255,255,0.06);
}
.strip-track {
  display: flex; gap: 48px; align-items: center;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.strip-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-display); font-style: italic; font-size: 22px;
  white-space: nowrap; color: var(--ink-200);
}
.strip-item .star { color: var(--orange-400); font-style: normal; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Mascot frame -------------------------------------------------------------*/
.mascot-frame {
  border-radius: var(--r-xl);
  background: radial-gradient(120% 120% at 30% 20%, #2A1A12 0%, #0C0A09 70%);
  position: relative; overflow: hidden;
  aspect-ratio: 4/5;
  display: grid; place-items: center;
  isolation: isolate;
}
.mascot-frame::before {
  content:""; position: absolute; inset:-20%;
  background: radial-gradient(closest-side, rgba(242,106,31,0.45), transparent 70%);
  z-index: 0;
}
.mascot-frame .glyph {
  position: relative; z-index: 1;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--orange-300), var(--orange-600) 70%);
  box-shadow: inset -16px -20px 60px rgba(0,0,0,0.5), 0 30px 90px rgba(242,106,31,.4);
}

/* Utility ------------------------------------------------------------------*/
.flex { display: flex; }
.grid { display: grid; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 48px; }
.center { text-align: center; }
.muted { color: var(--ink-500); }
.mt-xs { margin-top: 8px; } .mt-sm { margin-top: 16px; } .mt-md { margin-top: 24px; } .mt-lg { margin-top: 40px; } .mt-xl { margin-top: 64px; }

/* Forms --------------------------------------------------------------------*/
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-800); }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--ink-200); background: var(--white);
  border-radius: var(--r-md); padding: 14px 16px; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--orange-500);
  box-shadow: 0 0 0 4px var(--orange-100);
}
.field textarea { min-height: 140px; resize: vertical; }

/* Stat / metric ------------------------------------------------------------*/
.stat .num {
  font-family: var(--f-display); font-size: clamp(48px, 6vw, 72px);
  letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { color: var(--ink-600); font-size: 14px; margin-top: 8px; }

/* Page hero variants -------------------------------------------------------*/
.page-hero {
  padding-block: clamp(64px, 9vw, 120px) clamp(48px, 7vw, 80px);
  background:
    radial-gradient(60% 80% at 90% 10%, rgba(242,106,31,.10), transparent 60%),
    radial-gradient(40% 60% at 5% 90%, rgba(242,106,31,.06), transparent 60%),
    var(--paper);
}
.page-hero .grid-2 {
  display: grid; gap: 48px; align-items: center;
  grid-template-columns: 1.2fr 0.8fr;
}
@media (max-width: 880px) { .page-hero .grid-2 { grid-template-columns: 1fr; } }

/* Checks list --------------------------------------------------------------*/
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 16px; color: var(--ink-700);
}
.check-list li::before {
  content: ""; flex: 0 0 24px; height: 24px; border-radius: 50%;
  background: var(--orange-500) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>") center/14px no-repeat;
  margin-top: 2px;
}
.check-list.dark li { color: var(--ink-200); }

/* Selection ---------------------------------------------------------------*/
::selection { background: var(--orange-200); color: var(--ink-900); }

/* Page-specific helpers ----------------------------------------------------*/
.audience-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--ink-100);
  border-radius: var(--r-lg); padding: 36px 32px; min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s, border-color .4s;
}
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--orange-200); }
.audience-card .badge {
  align-self: flex-start;
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: var(--orange-100); color: var(--orange-700);
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 24px; font-weight: 600;
}
.audience-card h3 { font-size: 26px; margin-block: 18px 8px; }
.audience-card p { color: var(--ink-600); font-size: 15.5px; }
.audience-card .more {
  margin-top: auto; padding-top: 24px;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--orange-600);
}
.audience-card .more svg { transition: transform .25s ease; }
.audience-card:hover .more svg { transform: translateX(4px); }

/* Pricing -----------------------------------------------------------------*/
.pricing-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1200px) { .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@media (max-width: 560px)  { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  position: relative;
  background: var(--white); border: 1.5px solid var(--ink-100);
  border-radius: var(--r-lg); padding: 28px 26px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured {
  border-color: var(--orange-500); box-shadow: var(--shadow-orange);
}
.price-card.featured::after {
  content: "Le plus choisi"; position: absolute; top: -14px; left: 24px;
  background: var(--orange-500); color: var(--white);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
}
.price-card .label { font-weight: 700; color: var(--ink-700); font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
.price-card .amount { font-family: var(--f-display); font-size: 48px; line-height: 1; letter-spacing: -0.03em; }
.price-card .amount small { font-family: var(--f-sans); font-size: 15px; font-weight: 500; color: var(--ink-500); margin-left: 6px; letter-spacing: normal; }
.price-card .net { color: var(--green-500); font-weight: 700; font-size: 14px; }
.price-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-700); }
.price-card ul li::before { content: "✓"; color: var(--orange-500); margin-right: 8px; font-weight: 800; }
