/* ==========================================================
   LALIGNE.CA — BRAND / WEBSITE SYSTEM
   Visual language derived from the LaLigne Meta ad campaign.

   Primary font: DM Sans — VARIABLE build required.
   This system uses weights 550, 650, 730, 750 and 800. Those exist only on the
   variable weight axis. If a static build loads, every one of them snaps to
   400/500/700 and the typographic identity flattens.

   Self-host the variable file, or load:
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link rel="stylesheet"
     href="https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,100..1000&display=swap">

   The `wght@...100..1000` range is what makes the intermediate weights real.
   A URL requesting discrete weights (e.g. `wght@400;700`) will silently break
   this system.

   Brand feel:
   - warm
   - confident
   - francophone
   - human
   - editorial rather than SaaS-blue
   ========================================================== */


/* ==========================================================
   1. DESIGN TOKENS
   ========================================================== */

:root {
  /* Brand */
  --laligne-red: #ef4f4f;
  /* Decorative only. 4.46:1 under white — just under AA, so it is not a
     substitute for --laligne-red-surface behind normal-size text. */
  --laligne-red-dark: #d83f42;
  --laligne-red-deep: #a92732;
  --laligne-red-soft: #ff7270;

  /* Semantic reds — pick by role, not by eye.

     --laligne-red is 3.56:1 on white and 3.38:1 on cream. That clears the 3:1
     bar for large text and for non-text UI (borders, focus rings, fills), but
     NOT the 4.5:1 bar for normal-size text — in either direction, as ink or as
     a background under white text.

     So: coral is the poster colour. Deep red is the reading colour.  */

  /* Coral text/fill. Display type only: >=24px, or >=18.66px bold. */
  --laligne-red-display: var(--laligne-red);

  /* Red text at normal size on light backgrounds. 6.94:1 on white. */
  --laligne-red-text: var(--laligne-red-deep);

  /* Red surface carrying white text at normal size. 6.94:1 under white. */
  --laligne-red-surface: var(--laligne-red-deep);

  --laligne-apricot: #f7b97f;
  --laligne-apricot-light: #ffd6ae;
  --laligne-peach: #ffe5cf;

  /* Neutrals */
  --laligne-ink: #171515;
  --laligne-ink-soft: #393333;
  --laligne-muted: #736b68;

  --laligne-cream: #fff8f2;
  --laligne-warm-white: #fffdf9;
  --laligne-white: #ffffff;

  --laligne-border: rgba(23, 21, 21, 0.12);
  --laligne-border-strong: rgba(23, 21, 21, 0.22);

  /* Functional */
  --laligne-success: #2f7d5b;

  /* Focus. Two rings: ink on light surfaces, cream on ink/red surfaces.
     Anything on a dark background must set --laligne-focus to the light one. */
  --laligne-focus: #171515;
  --laligne-focus-light: var(--laligne-cream);

  /* Typography */
  --font-brand:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  /* Font sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;

  --display-sm: clamp(2.25rem, 5vw, 3.5rem);
  --display-md: clamp(3rem, 7vw, 5.75rem);
  --display-lg: clamp(4rem, 10vw, 8rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:
    0 1px 2px rgba(23, 21, 21, 0.05),
    0 4px 14px rgba(23, 21, 21, 0.04);

  --shadow-md:
    0 12px 30px rgba(70, 35, 30, 0.10);

  --shadow-lg:
    0 24px 70px rgba(70, 35, 30, 0.16);

  /* Layout */
  --container: 1200px;
  --container-wide: 1400px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 160ms var(--ease);
  --transition: 280ms var(--ease);
}


/* ==========================================================
   2. RESET
   ========================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--laligne-warm-white);
  color: var(--laligne-ink);
  font-family: var(--font-brand);
  font-size: 16px;
  line-height: 1.5;
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-brand);
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

::selection {
  background: var(--laligne-apricot);
  color: var(--laligne-ink);
}

/* One focus ring for everything focusable. Dark and red surfaces override
   --laligne-focus locally, so the ring inverts instead of disappearing. */
:focus-visible {
  outline: 3px solid var(--laligne-focus);
  outline-offset: 3px;
}


/* ==========================================================
   3. BASE TYPOGRAPHY
   ========================================================== */

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1 {
  font-size: var(--display-md);
  font-weight: 750;
}

h2 {
  font-size: var(--display-sm);
  font-weight: 730;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
}

p {
  color: var(--laligne-ink-soft);
}

strong {
  font-weight: 700;
}

/* Display sizes only — see the semantic red tokens.
   For red text at body size, use .text-red--reading. */
.text-red {
  color: var(--laligne-red-display);
}

.text-red--reading {
  color: var(--laligne-red-text);
}

.text-muted {
  color: var(--laligne-muted);
}

.text-center {
  text-align: center;
}


/* ==========================================================
   4. LAYOUT
   ========================================================== */

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.container--wide {
  width: min(calc(100% - 40px), var(--container-wide));
  margin-inline: auto;
}

.section {
  padding-block: clamp(72px, 10vw, 140px);
}

.section--tight {
  padding-block: clamp(48px, 7vw, 90px);
}

.section--cream {
  background: var(--laligne-cream);
}

/* Carries readable copy, so it uses the deep red rather than coral.
   For a full-coral poster surface, use .statement — which only ever holds
   display-size type. */
.section--red {
  background: var(--laligne-red-surface);
  color: var(--laligne-white);
  --laligne-focus: var(--laligne-focus-light);
}

.section--dark {
  background: var(--laligne-ink);
  color: var(--laligne-white);
  --laligne-focus: var(--laligne-focus-light);
}

/* `p` sets its own colour, so it does not inherit the section's white. */
.section--red p,
.section--dark p {
  color: rgba(255, 255, 255, 0.82);
}


/* ==========================================================
   5. HEADER
   ========================================================== */

.site-header {
  position: relative;
  z-index: 50;
  padding: 20px 0;
  background: rgba(255, 253, 249, 0.92);
  border-bottom: 1px solid transparent;
}

.site-header--sticky {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--laligne-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.055em;
}

/* The wordmark and its dot must be one flex item, or the .logo gap pushes the
   dot away from the name. */
.logo__word {
  display: inline-block;
}

.logo__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--laligne-red);
  color: white;
  border-radius: 50%;
}

.logo__dot {
  color: var(--laligne-red);
}

/* Mobile navigation is a no-JS <details> disclosure:

     <details class="nav-menu">
       <summary class="nav-toggle" aria-label="Menu">…</summary>
       <nav class="nav">…</nav>
     </details>

   Above 720px the toggle is hidden and .nav lays out inline as usual.

   The demo phone CTA belongs OUTSIDE .nav-menu, as a direct child of
   .site-header__inner, so it stays visible when the menu is closed. */
.nav-menu {
  position: relative;
}

.nav-menu > summary {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__link {
  color: var(--laligne-ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    color var(--transition-fast),
    opacity var(--transition-fast);
}

.nav__link:hover {
  color: var(--laligne-red-text);
}


/* ==========================================================
   6. BUTTONS
   ========================================================== */

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 0 24px;

  border-radius: var(--radius-pill);

  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Button label is 15.4px bold — below the 18.66px large-text threshold — so a
   coral fill under white text would sit at 3.56:1. Deep red keeps the CTA
   unmistakably LaLigne at 6.94:1. */
.btn--primary {
  background: var(--laligne-red-surface);
  color: var(--laligne-white);
  box-shadow: 0 8px 24px rgba(169, 39, 50, 0.24);
  --laligne-focus: var(--laligne-focus-light);
}

.btn--primary:hover {
  background: color-mix(in srgb, var(--laligne-red-surface) 88%, #000);
  box-shadow: 0 12px 30px rgba(169, 39, 50, 0.32);
}

.btn--dark {
  background: var(--laligne-ink);
  color: var(--laligne-white);
  --laligne-focus: var(--laligne-focus-light);
}

.btn--dark:hover {
  background: #2b2727;
}

.btn--cream {
  background: var(--laligne-cream);
  color: var(--laligne-ink);
}

.btn--outline {
  border: 1.5px solid var(--laligne-border-strong);
  background: transparent;
  color: var(--laligne-ink);
}

.btn--outline:hover {
  background: rgba(23, 21, 21, 0.04);
}

.btn--large {
  min-height: 60px;
  padding-inline: 30px;
  font-size: 1.05rem;
}


/* ==========================================================
   7. BADGES / EYEBROWS
   ========================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  margin-bottom: 22px;

  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: var(--laligne-red-text);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 13px;

  background: var(--laligne-peach);
  border-radius: var(--radius-pill);

  color: var(--laligne-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.badge--red {
  background: var(--laligne-red-surface);
  color: white;
}


/* ==========================================================
   8. HERO
   ========================================================== */

.hero {
  position: relative;
  overflow: hidden;

  padding-block:
    clamp(60px, 8vw, 110px)
    clamp(80px, 11vw, 150px);

  background:
    radial-gradient(
      circle at 84% 25%,
      rgba(247, 185, 127, 0.42),
      transparent 32%
    ),
    var(--laligne-warm-white);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title {
  max-width: 780px;
  margin-bottom: 28px;
}

.hero__title em {
  color: var(--laligne-red);
  font-style: normal;
}

.hero__lead {
  max-width: 610px;

  margin-bottom: 32px;

  font-size: clamp(1.12rem, 2vw, 1.4rem);
  line-height: 1.5;
  letter-spacing: -0.018em;

  color: var(--laligne-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero__note {
  margin-top: 18px;
  color: var(--laligne-muted);
  font-size: 0.88rem;
}

/* `isolation` is load-bearing: it gives ::before a stacking context to sit in.
   Without it the z-index:-1 circle falls behind .hero's own background and
   never renders. */
.hero__visual {
  position: relative;
  isolation: isolate;
  min-height: 580px;
}

.hero__image {
  width: 100%;
  height: 100%;
  min-height: 580px;

  object-fit: cover;
  object-position: center;

  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-lg);
}

.hero__visual::before {
  content: "";
  position: absolute;
  z-index: -1;

  width: 80%;
  aspect-ratio: 1;
  right: -12%;
  bottom: -14%;

  background: var(--laligne-red);
  border-radius: 50%;
}


/* ==========================================================
   9. DEMO PHONE NUMBER
   ========================================================== */

.demo-number {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;

  padding: 16px 22px;

  background: var(--laligne-white);
  border: 1px solid var(--laligne-border);
  border-radius: var(--radius-md);

  box-shadow: var(--shadow-sm);
}

.demo-number__label {
  color: var(--laligne-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.demo-number__number {
  color: var(--laligne-ink);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.demo-number__number:hover {
  color: var(--laligne-red);
}


/* ==========================================================
   10. FLOATING PHONE / CALL CARD
   ========================================================== */

.call-card {
  position: absolute;
  z-index: 5;
  left: -28px;
  bottom: 38px;

  width: min(310px, 75%);

  padding: 18px;

  background: rgba(255, 255, 255, 0.94);

  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);

  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.call-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.call-card__icon {
  flex: 0 0 auto;

  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--laligne-red);
  color: white;
}

.call-card__meta {
  min-width: 0;
}

.call-card__label {
  margin: 0 0 2px;
  color: var(--laligne-muted);
  font-size: 0.75rem;
}

.call-card__name {
  margin: 0;
  color: var(--laligne-ink);
  font-weight: 750;
}

.call-card__status {
  display: flex;
  align-items: center;
  gap: 6px;

  margin-top: 14px;

  color: var(--laligne-success);
  font-size: 0.78rem;
  font-weight: 650;
}

.call-card__status::before {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
}


/* ==========================================================
   11. SECTION HEADERS
   ========================================================== */

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 22px;
}

.section-heading p {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}


/* ==========================================================
   12. FEATURE CARDS
   ========================================================== */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;

  padding: clamp(26px, 4vw, 38px);

  background: var(--laligne-white);

  border: 1px solid var(--laligne-border);
  border-radius: var(--radius-lg);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 79, 79, 0.30);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  margin-bottom: 28px;

  background: var(--laligne-peach);
  border-radius: 14px;

  color: var(--laligne-red-deep);
}

.feature-card h3 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--laligne-muted);
  line-height: 1.6;
}


/* ==========================================================
   13. HOW IT WORKS
   ========================================================== */

.steps {
  display: grid;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 24px;

  padding-block: 34px;

  border-bottom: 1px solid var(--laligne-border);
}

.step:first-child {
  border-top: 1px solid var(--laligne-border);
}

.step__number {
  color: var(--laligne-red-text);
  font-size: 0.85rem;
  font-weight: 800;
}

.step__content h3 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.step__content p {
  max-width: 650px;
  margin: 0;
  color: var(--laligne-muted);
}


/* ==========================================================
   14. CONVERSATION / TRANSCRIPT COMPONENT
   ========================================================== */

.conversation {
  max-width: 620px;
  padding: 26px;

  background: var(--laligne-white);
  border: 1px solid var(--laligne-border);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-md);
}

.message {
  max-width: 78%;

  margin-bottom: 14px;
  padding: 13px 16px;

  border-radius: 18px;

  font-size: 0.95rem;
  line-height: 1.45;
}

.message--caller {
  margin-right: auto;
  background: #f1eeeb;
  color: var(--laligne-ink);
  border-bottom-left-radius: 5px;
}

/* Transcript copy is the point of this component, so it takes the reading red
   rather than coral. */
.message--laligne {
  margin-left: auto;
  background: var(--laligne-red-surface);
  color: white;
  border-bottom-right-radius: 5px;
}


/* ==========================================================
   15. QUOTE / TESTIMONIAL
   ========================================================== */

.quote {
  padding: clamp(28px, 5vw, 50px);

  background: var(--laligne-cream);
  border-radius: var(--radius-xl);
}

.quote__text {
  max-width: 840px;

  margin-bottom: 28px;

  color: var(--laligne-ink);

  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.quote__author {
  color: var(--laligne-muted);
  font-size: 0.9rem;
  font-weight: 650;
}


/* ==========================================================
   16. BIG AD-STYLE MESSAGE BLOCK
   This is the direct visual descendant of:
   "Tu ne peux pas répondre."
   ========================================================== */

.statement {
  position: relative;
  overflow: hidden;

  min-height: 600px;

  display: flex;
  align-items: flex-end;

  padding: clamp(36px, 7vw, 90px);

  background: var(--laligne-red);

  border-radius: var(--radius-xl);

  color: var(--laligne-white);
  --laligne-focus: var(--laligne-focus-light);
}

/* Width is capped so the headline never runs across the apricot circle —
   white on apricot is 1.72:1, effectively unreadable. The circle lives in the
   column to the right of this one. */
.statement__content {
  position: relative;
  z-index: 2;

  max-width: min(850px, 62%);
}

.statement__title {
  margin: 0;

  color: white;

  font-size: clamp(3.8rem, 10vw, 8.5rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.07em;
}

/* Stays on coral, so it must stay large: full white at >=24px clears the 3:1
   large-text bar. Shrinking this below 1.5rem, or reintroducing an alpha,
   drops it under threshold. */
.statement__text {
  max-width: 600px;

  margin: 30px 0 0;

  color: var(--laligne-white);

  font-size: clamp(1.5rem, 3vw, 1.75rem);
}

.statement__circle {
  position: absolute;

  width: min(420px, 38vw);
  aspect-ratio: 1;

  top: 50%;
  right: -6%;
  transform: translateY(-50%);

  background: var(--laligne-apricot);

  border-radius: 50%;
}


/* ==========================================================
   17. PROFESSION PILLS
   ========================================================== */

.professions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profession {
  padding: 10px 15px;

  border: 1px solid var(--laligne-border);
  border-radius: var(--radius-pill);

  background: var(--laligne-white);

  color: var(--laligne-ink-soft);

  font-size: 0.88rem;
  font-weight: 650;
}


/* ==========================================================
   18. DEMO CTA BLOCK
   ========================================================== */

.demo-cta {
  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 40px;

  padding: clamp(38px, 7vw, 78px);

  background: var(--laligne-ink);

  border-radius: var(--radius-xl);

  color: white;
  --laligne-focus: var(--laligne-focus-light);
}

.demo-cta::after {
  content: "";

  position: absolute;
  width: 340px;
  height: 340px;

  right: -150px;
  top: -150px;

  background: var(--laligne-red);
  border-radius: 50%;
}

.demo-cta__content {
  position: relative;
  z-index: 2;
}

.demo-cta h2 {
  max-width: 750px;
  margin-bottom: 16px;
  color: white;
}

.demo-cta p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.demo-cta__action {
  position: relative;
  z-index: 2;
}


/* ==========================================================
   19. CALL-THE-DEMO BUTTON
   ========================================================== */

.call-demo {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  padding: 13px 20px 13px 13px;

  background: white;
  border-radius: var(--radius-pill);

  color: var(--laligne-ink);

  box-shadow: var(--shadow-md);

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.call-demo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.call-demo__icon {
  width: 45px;
  height: 45px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  background: var(--laligne-red);
  border-radius: 50%;

  color: white;
}

.call-demo__copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.call-demo__label {
  color: var(--laligne-muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.call-demo__number {
  color: var(--laligne-ink);
  font-size: 1.05rem;
  font-weight: 800;
}


/* ==========================================================
   20. PRICING / OFFER CARD
   ========================================================== */

.price-card {
  padding: clamp(30px, 5vw, 50px);

  background: var(--laligne-white);

  border: 1px solid var(--laligne-border);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-md);
}

.price-card--featured {
  border: 2px solid var(--laligne-red);
}

.price-card__label {
  margin-bottom: 16px;

  color: var(--laligne-red-text);

  font-size: 0.8rem;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-card__price {
  display: flex;
  align-items: flex-end;
  gap: 7px;

  margin-bottom: 16px;
}

.price-card__amount {
  color: var(--laligne-ink);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.price-card__period {
  margin-bottom: 5px;
  color: var(--laligne-muted);
  font-size: 0.9rem;
}

.price-card__description {
  margin-bottom: 28px;
}

.price-list {
  display: grid;
  gap: 12px;

  margin: 28px 0;
  padding: 0;

  list-style: none;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.price-list li::before {
  content: "✓";
  color: var(--laligne-red-text);
  font-weight: 800;
}


/* ==========================================================
   21. FAQ
   ========================================================== */

.faq {
  border-top: 1px solid var(--laligne-border);
}

.faq-item {
  border-bottom: 1px solid var(--laligne-border);
}

.faq-item summary {
  position: relative;

  padding: 26px 45px 26px 0;

  cursor: pointer;

  color: var(--laligne-ink);

  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 700;

  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";

  position: absolute;
  right: 4px;
  top: 50%;

  transform: translateY(-50%);

  color: var(--laligne-red);

  font-size: 1.7rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item__answer {
  max-width: 780px;
  padding: 0 0 26px;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}


/* ==========================================================
   22. FOOTER
   ========================================================== */

.site-footer {
  padding: 64px 0 32px;

  background: var(--laligne-ink);

  color: white;
  --laligne-focus: var(--laligne-focus-light);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(140px, 0.6fr));
  gap: 50px;

  padding-bottom: 52px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer a:hover {
  color: white;
}

.footer-blurb {
  max-width: 34ch;
  margin-top: 14px;
}

.footer-title {
  margin-bottom: 14px;
  color: white;
  font-size: 0.85rem;
  font-weight: 750;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  padding-top: 24px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);

  color: rgba(255, 255, 255, 0.48);

  font-size: 0.78rem;
}


/* ==========================================================
   23. FORMS
   ========================================================== */

.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-label {
  color: var(--laligne-ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.form-control {
  width: 100%;
  min-height: 52px;

  padding: 12px 15px;

  background: white;

  border: 1px solid var(--laligne-border-strong);
  border-radius: var(--radius-md);

  color: var(--laligne-ink);

  outline: none;

  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--laligne-red);
  box-shadow: 0 0 0 4px rgba(239, 79, 79, 0.10);
}

.form-control::placeholder {
  color: #aaa09b;
}


/* ==========================================================
   24. TRUST / MICROCOPY
   ========================================================== */

.microcopy {
  display: flex;
  align-items: center;
  gap: 8px;

  color: var(--laligne-muted);

  font-size: 0.78rem;
  line-height: 1.4;
}

.microcopy__icon {
  color: var(--laligne-success);
}


/* ==========================================================
   25. AD CREATIVE COMPONENT
   Reproduces the social creative language on the site.
   ========================================================== */

.ad-panel {
  position: relative;
  overflow: hidden;

  aspect-ratio: 4 / 5;

  display: grid;
  grid-template-columns: 1fr 0.88fr;

  background: var(--laligne-apricot);

  border-radius: var(--radius-xl);
}

.ad-panel__copy {
  position: relative;
  z-index: 3;

  display: flex;
  flex-direction: column;

  padding: clamp(28px, 6vw, 65px);
}

.ad-panel__headline {
  max-width: 560px;

  margin: 0;

  color: var(--laligne-ink);

  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 800;
  line-height: 0.87;
  letter-spacing: -0.065em;
}

.ad-panel__subhead {
  max-width: 440px;

  margin-top: 24px;

  color: rgba(23, 21, 21, 0.76);

  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 550;
  line-height: 1.3;
}

.ad-panel__cta {
  margin-top: auto;
  padding-top: 32px;

  color: var(--laligne-ink);

  font-size: 0.95rem;
  font-weight: 800;
}

.ad-panel__image-wrap {
  position: absolute;

  width: 54%;
  height: 100%;

  right: 0;
  top: 0;
}

.ad-panel__image {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.ad-panel__image-wrap::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      var(--laligne-apricot) 0%,
      rgba(247, 185, 127, 0.18) 32%,
      transparent 58%
    );
}

.ad-panel__footer {
  position: absolute;
  z-index: 5;

  left: 0;
  right: 0;
  bottom: 0;

  min-height: 58px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-inline: clamp(22px, 4vw, 45px);

  background: var(--laligne-red-surface);

  color: white;

  font-size: 0.78rem;
  font-weight: 700;

  --laligne-focus: var(--laligne-focus-light);
}


/* ==========================================================
   26. DECORATIVE BRAND ELEMENTS
   ========================================================== */

.brand-circle {
  width: 160px;
  aspect-ratio: 1;

  background: var(--laligne-red);
  border-radius: 50%;
}

.brand-star {
  position: relative;

  width: 40px;
  height: 40px;
}

.brand-star::before,
.brand-star::after {
  content: "";

  position: absolute;
  inset: 50% auto auto 50%;

  width: 100%;
  height: 8px;

  background: var(--laligne-apricot);

  transform: translate(-50%, -50%);
  border-radius: var(--radius-pill);
}

.brand-star::after {
  transform: translate(-50%, -50%) rotate(90deg);
}


/* ==========================================================
   27. UTILITIES
   ========================================================== */

.stack {
  display: flex;
  flex-direction: column;
}

.stack--sm {
  gap: 10px;
}

.stack--md {
  gap: 20px;
}

.stack--lg {
  gap: 36px;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.surface {
  background: white;
  border: 1px solid var(--laligne-border);
  border-radius: var(--radius-lg);
}

.shadow {
  box-shadow: var(--shadow-md);
}


/* ==========================================================
   28. RESPONSIVE
   ========================================================== */

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

  .hero__visual {
    min-height: 500px;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .demo-cta {
    grid-template-columns: 1fr;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .ad-panel {
    min-height: 680px;
    grid-template-columns: 1fr;
  }

  .ad-panel__copy {
    width: 62%;
  }
}


@media (max-width: 720px) {
  .container,
  .container--wide {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-menu > summary {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;

    border: 1px solid var(--laligne-border);
    border-radius: var(--radius-pill);

    cursor: pointer;
    list-style: none;
  }

  .nav-menu > summary::-webkit-details-marker {
    display: none;
  }

  .nav {
    position: absolute;
    z-index: 60;

    right: 0;
    top: calc(100% + 12px);

    min-width: 220px;
    padding: 12px;

    flex-direction: column;
    align-items: stretch;
    gap: 4px;

    background: var(--laligne-white);

    border: 1px solid var(--laligne-border);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-lg);
  }

  .nav-menu:not([open]) .nav {
    display: none;
  }

  .nav__link {
    display: flex;
    align-items: center;

    min-height: 48px;
    padding-inline: 12px;

    border-radius: var(--radius-sm);
  }

  .hero {
    padding-top: 42px;
  }

  .hero__visual,
  .hero__image {
    min-height: 430px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .call-card {
    left: 14px;
    bottom: 14px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }

  /* Too narrow to keep a side column, so the headline takes the full width and
     the circle retreats to the empty space above it. */
  .statement__content {
    max-width: none;
  }

  .statement__circle {
    width: min(240px, 46vw);
    top: -60px;
    right: -50px;
    transform: none;
  }

  .demo-cta {
    padding: 34px 24px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
  }

  .ad-panel {
    aspect-ratio: auto;
    min-height: 650px;
  }

  .ad-panel__copy {
    width: 100%;
    padding-bottom: 250px;
  }

  .ad-panel__headline {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .ad-panel__image-wrap {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 58px;
  }

  .ad-panel__image-wrap::after {
    background:
      linear-gradient(
        180deg,
        var(--laligne-apricot) 0%,
        transparent 38%
      );
  }
}


/* ==========================================================
   29. ACCESSIBILITY / REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
