/* =========================================================================
   VITE FRENCH — SHARED BRAND SYSTEM
   One source of truth for the whole funnel (index / welcome / thank-you /
   bootcamp lesson pages). Derived from the product (Lemon Squeezy) graphics.
   Link from every page:  <link rel="stylesheet" href="/assets/brand.css" />
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* === DESIGN TOKENS ===================================================== */
:root {
  /* brand */
  --navy: #122B65;
  --navy-deep: #0C1D45;
  --navy-soft: #1C3A7E;
  --red: #C82227;
  --red-dark: #A81B1F;
  --white: #FFFFFF;
  --gold: #FFD23F;          /* sparing highlight (e.g. the "toilettes" accent) */

  /* neutrals */
  --ink: #0F1B3D;           /* primary text (near-navy) */
  --slate: #54648A;         /* muted text (AA on white) */
  --surface: #F2F5FA;       /* light section / card surface */
  --surface-2: #E9EEF6;
  --border: #E2E8F0;

  /* type */
  --font-display: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;

  /* layout */
  --container: 760px;
  --radius: 16px;
  --radius-sm: 10px;

  /* elevation */
  --shadow-sm: 0 1px 2px rgba(15,27,61,.06), 0 2px 6px rgba(15,27,61,.07);
  --shadow-md: 0 12px 32px -14px rgba(15,27,61,.22);
  --shadow-lg: 0 28px 64px -28px rgba(18,43,101,.5);

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* === RESET ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--navy);
}

/* visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, audio:focus-visible,
input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* === FRENCH FLAG ACCENTS =============================================== */
.flag-bar { display: flex; height: 4px; width: 100%; }
.flag-bar span { flex: 1; }
.flag-bar span:nth-child(1) { background: var(--navy); }
.flag-bar span:nth-child(2) { background: var(--white); }
.flag-bar span:nth-child(3) { background: var(--red); }

.flag-chip {
  display: inline-flex;
  width: 32px; height: 21px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.flag-chip i { flex: 1; display: block; }
.flag-chip i:nth-child(1) { background: var(--navy); }
.flag-chip i:nth-child(2) { background: var(--white); }
.flag-chip i:nth-child(3) { background: var(--red); }

/* === BRAND LOGO LOCKUP (VF monogram + wordmark) ======================== */
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .vf-mark { height: 34px; width: auto; display: block; flex-shrink: 0; }
.brand .brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1;
}
.brand .brand-word .fr { color: var(--red); }

/* === EYEBROW / PILL ==================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
}
.pill.red { background: var(--red); }
.pill.ghost { background: var(--surface); color: var(--navy); }

/* === ICONS (inline SVG) =============================================== */
.ico { width: 22px; height: 22px; flex-shrink: 0; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 26px; height: 26px; }

/* === BUTTONS ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-block { width: 100%; }

.btn-primary { background: var(--red); color: #fff; padding: 18px 26px; box-shadow: 0 0 0 0 rgba(200,34,39,.5); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(200,34,39,.7); }
.btn-primary:active { transform: translateY(0); }

.btn-navy { background: var(--navy); color: #fff; padding: 15px 24px; }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-1px); }

/* tasteful slow pulse — motion-safe only */
@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: ctaPulse 2.6s ease-in-out infinite; }
  @keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200,34,39,.5); }
    50%      { box-shadow: 0 0 26px 4px rgba(200,34,39,.3); }
  }
  .pulse:hover { animation: none; }
}

/* === CARDS ============================================================ */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-accent { position: relative; overflow: hidden; }
.card-accent::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--navy); }
.card-accent.red::before { background: var(--red); }

/* === LAYOUT HELPERS =================================================== */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* === FOOTER =========================================================== */
.foot { max-width: var(--container); margin: 0 auto; padding: 44px 24px 56px; text-align: center; font-size: 13px; color: var(--slate); line-height: 1.7; }
.foot .brand-foot { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); font-size: 14px; margin-bottom: 6px; }
.foot a { color: var(--navy); text-decoration: none; font-weight: 600; }
.foot a:hover { text-decoration: underline; }

/* === ENTRANCE ANIMATIONS (motion-safe) =============================== */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fadeDown { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: translateY(0); } }
  .animate { animation: fadeUp .6s var(--ease) backwards; }
  .delay-1 { animation-delay: .06s; }
  .delay-2 { animation-delay: .14s; }
  .delay-3 { animation-delay: .22s; }
  .delay-4 { animation-delay: .30s; }
}

/* === MOBILE BASE ====================================================== */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand .brand-word { font-size: 19px; }
  .brand .vf-mark { width: 32px; height: 32px; }
}
