/* ==========================================================================
   AfriKall Landing Page - Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors (from constants/afrikall.ts) */
  --color-primary-orange: #C85A3F;
  --color-primary-orange-hover: #B5503A;
  --color-primary-orange-light: rgba(200, 90, 63, 0.1);
  --color-primary-green: #5FAD56;
  --color-accent-blue: #2F6FA3;
  --color-accent-yellow: #E8A957;
  --color-accent-white: #FFFFFF;
  --color-bg-cream: #F5EFE7;
  --color-card-beige: #EDE5D8;
  --color-text-dark: #2C2C2C;
  --color-text-muted: #666666;
  --color-text-white: #FFFFFF;
  --color-border-light: #E0D8CD;
  --color-disabled: #CCCCCC;
  --color-error: #D32F2F;
  --color-overlay: rgba(0, 0, 0, 0.5);

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows (from AFRIKALL_SHADOWS) */
  --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 6px 12px rgba(0, 0, 0, 0.18);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

/* --------------------------------------------------------------------------
   2. CSS Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-bg-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. Base Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   4. Utility Classes
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
}

.section--white {
  background-color: var(--color-accent-white);
}

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

.section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section__title {
  margin-bottom: var(--space-sm);
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  box-shadow: var(--shadow-medium);
  border-bottom-color: var(--color-border-light);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-primary-orange);
  flex-shrink: 0;
}

.nav__logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary-orange);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary-orange);
  border-radius: 1px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.nav-open .nav__hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

body.nav-open .nav__hamburger span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav__hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
}

.lang-switcher__btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  transition: all 0.2s ease;
}

.lang-switcher__btn--active {
  background: var(--color-primary-orange);
  color: var(--color-text-white);
}

/* CTA button in nav */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.btn--primary {
  background: var(--color-primary-orange);
  color: var(--color-text-white);
}

.btn--primary:hover {
  background: var(--color-primary-orange-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn--nav {
  display: none;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-accent-white);
  padding: var(--space-lg);
  box-shadow: var(--shadow-strong);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 999;
}

body.nav-open .mobile-menu {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__link {
  display: block;
  padding: var(--space-md) 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text-dark);
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-menu__link:last-child {
  border-bottom: none;
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.nav-open .mobile-menu__overlay {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--color-primary-orange);
}

.hero__pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary-orange);
  overflow: hidden;
}

/* Curved bottom edge for the hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-bg-cream);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

/* African Pattern Rows (from AfricanPatternHeader.tsx) */
.pattern-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  position: absolute;
  left: 0;
  right: 0;
}

.pattern-row--top {
  top: 100px;
}

.pattern-row--bottom {
  top: 124px;
}

.triangle-up {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 16px solid var(--color-accent-blue);
}

.triangle-up--yellow { border-bottom-color: var(--color-accent-yellow); }
.triangle-up--white { border-bottom-color: var(--color-accent-white); opacity: 0.6; }

.triangle-down {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid var(--color-accent-yellow);
}

.triangle-down--blue { border-top-color: var(--color-accent-blue); }
.triangle-down--white { border-top-color: var(--color-accent-white); opacity: 0.6; }

.diamond {
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: var(--color-accent-yellow);
}

.diamond--blue { background: var(--color-accent-blue); }

.small-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-white);
  opacity: 0.5;
}

.small-circle--yellow {
  background: var(--color-accent-yellow);
  opacity: 1;
}

/* Side Zigzag Patterns */
.zigzag-group {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.zigzag-group--left { left: 16px; }
.zigzag-group--right { right: 16px; }

.zigzag-line {
  width: 24px;
  height: 3px;
  border-radius: 2px;
}

.zigzag-line--yellow { background: var(--color-accent-yellow); }
.zigzag-line--blue { background: var(--color-accent-blue); }

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
  gap: var(--space-2xl);
}

.hero__content {
  max-width: 600px;
}

.hero__content h1 {
  color: var(--color-text-white);
  margin-bottom: var(--space-md);
  font-size: 2.2rem;
}

.hero__content .hero__subheadline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  min-width: 220px;
  justify-content: center;
}

.store-btn--apple {
  background: var(--color-text-dark);
  color: var(--color-text-white);
}

.store-btn--apple:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.store-btn--google {
  background: var(--color-accent-white);
  color: var(--color-text-dark);
  border: 2px solid var(--color-accent-white);
}

.store-btn--google:hover {
  background: var(--color-card-beige);
  border-color: var(--color-card-beige);
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.store-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-btn__small {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.8;
}

.store-btn__big {
  font-size: 1rem;
  font-weight: 600;
}

.hero__image {
  position: relative;
}

.hero__image img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* --------------------------------------------------------------------------
   7. Features Section
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

/* Blocs de contenu, pas cartes.
   La grille precedente etait le motif « icone dans un rond de couleur +
   titre gras + deux lignes de description », repete six fois, tout centre.
   C'est la mise en page la plus reconnaissable des pages generees, et elle
   contredit DESIGN.md sur trois points : les cartes doivent etre
   l'interaction elle-meme (ici il n'y a rien a cliquer), la separation se
   fait par le vide et non par un conteneur, et l'ornement decoratif est
   proscrit. On garde le fond de section, on retire les six boites. */
.features-grid {
  counter-reset: feature;
}

.feature-card {
  counter-increment: feature;
  text-align: left;
  padding: 0;
  background: none;
  box-shadow: none;
}

/* Index editorial : donne un rythme de sommaire de revue plutot qu'une
   mosaique de tuiles interchangeables. Genere en CSS, donc rien a maintenir
   dans le HTML si l'ordre des blocs change. */
.feature-card::before {
  content: counter(feature, decimal-leading-zero);
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary-orange);
  margin-bottom: var(--space-sm);
}

/* Icone nue. Le rond teinte etait de la decoration : il ajoutait une forme
   et une couleur sans rien dire de plus que l'icone qu'il contenait. */
.feature-card__icon {
  display: block;
  margin: 0 0 var(--space-sm);
}

.feature-card__icon svg {
  width: 30px;
  height: 30px;
  color: var(--color-primary-orange);
  stroke-width: 1.5;
}

.feature-card__title {
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.feature-card__desc {
  font-size: 1rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. How It Works Section
   -------------------------------------------------------------------------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
}

.step {
  text-align: center;
  max-width: 280px;
  position: relative;
}

.step__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary-orange);
  color: var(--color-text-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.step__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  color: var(--color-accent-blue);
}

.step__icon svg {
  width: 100%;
  height: 100%;
}

.step__title {
  margin-bottom: var(--space-sm);
}

.step__desc {
  font-size: 1rem;
}

/* Connector line between steps (desktop) */
.steps__connector {
  display: none;
}

/* --------------------------------------------------------------------------
   9. Pricing Section
   -------------------------------------------------------------------------- */
.offers {
  display: grid;
  /* Largeurs inégales : les deux offres ne pèsent pas la même chose
     commercialement, et deux colonnes égales relèvent de la grille de
     template que DESIGN.md nous demande d'éviter. */
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-lg);
  align-items: start;
}

/* Aucune bordure : la hiérarchie vient du décalage de surface (règle No-Line
   de DESIGN.md). La surface la plus claire porte l'offre la plus importante. */
.offer {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: left;
}

.offer--credits {
  background: var(--color-card-beige);
}

.offer--pro {
  background: var(--color-accent-white);
}

.offer__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.offer__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.offer__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  /* Mesure de lecture : au-delà de ~68 caractères l'œil perd la ligne. */
  max-width: 52ch;
  margin-bottom: var(--space-lg);
}

.offer__meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

/* Lots de crédits : une échelle, pas cinq cartes. Le chiffre EST l'information,
   il porte donc tout le poids typographique. */
.packs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
}

.pack {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary-orange);
  background: var(--color-bg-cream);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  min-width: 64px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Paliers Pro : lignes, pas cartes. Une carte doit être l'interaction
   elle-même ; ici il n'y a rien à cliquer, seulement à comparer. */
.tiers {
  list-style: none;
  display: grid;
  gap: var(--space-xs);
}

.tier {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name volume"
    "unit volume";
  align-items: center;
  column-gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease;
}

.tier:hover {
  background: var(--color-bg-cream);
}

.tier--popular {
  background: var(--color-primary-orange-light);
}

.tier--popular:hover {
  background: var(--color-primary-orange-light);
}

.tier__name {
  grid-area: name;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
}

.tier__unit {
  grid-area: unit;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.tier__volume {
  grid-area: volume;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary-orange);
  font-variant-numeric: tabular-nums;
}

.tier__badge {
  position: absolute;
  top: calc(var(--space-xs) * -1);
  right: var(--space-md);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: var(--color-primary-orange);
  color: var(--color-text-white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.offers__footer {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.pricing-note {
  text-align: center;
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 60ch;
}

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

/* --------------------------------------------------------------------------
   10. Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--color-card-beige);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  position: relative;
  box-shadow: var(--shadow-light);
}

.testimonial-card__quote-icon {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-size: 3rem;
  color: var(--color-primary-orange);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
}

.star--filled {
  color: var(--color-accent-yellow);
  fill: var(--color-accent-yellow);
}

.star--empty {
  color: var(--color-disabled);
  fill: none;
  stroke: var(--color-disabled);
}

.testimonial-card__text {
  font-style: italic;
  margin-bottom: var(--space-lg);
  color: var(--color-text-dark);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary-orange);
  color: var(--color-text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--color-text-dark);
}

.testimonial-card__city {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   11. FAQ Section
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--color-accent-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-light);
  border-left: 4px solid transparent;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item--active {
  border-left-color: var(--color-primary-orange);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  text-align: left;
  gap: var(--space-md);
}

.faq-question__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 0.3s ease;
}

.faq-item--active .faq-question__chevron {
  transform: rotate(180deg);
  color: var(--color-primary-orange);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer__content {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   12. Contact Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: var(--color-accent-white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-light);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
}

.contact-card__icon--fr {
  background: rgba(47, 111, 163, 0.1);
}

.contact-card__icon--uk {
  background: rgba(200, 90, 63, 0.1);
}

.contact-card__icon--phone {
  background: rgba(95, 173, 86, 0.1);
}

.contact-card__icon--hours {
  background: rgba(232, 169, 87, 0.1);
}

.contact-card__body {
  flex: 1;
  min-width: 0;
}

.contact-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text-dark);
  margin-bottom: var(--space-xs);
}

.contact-card__subtitle {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.contact-card__address {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  white-space: pre-line;
  margin-bottom: var(--space-sm);
}

.contact-card__phone {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-orange);
}

.contact-card__phone a {
  color: var(--color-primary-orange);
  transition: color 0.2s ease;
}

.contact-card__phone a:hover {
  color: var(--color-primary-orange-hover);
}

.contact-card__lines {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-card__lines span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.contact-card__lines a {
  font-weight: 600;
  color: var(--color-primary-orange);
}

.contact-card__days {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-xs);
}

.contact-card__time {
  font-size: 0.9rem;
  color: var(--color-primary-orange);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-text-dark);
  color: var(--color-text-white);
}

.footer__main {
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--color-accent-white);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer__brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary-orange);
}

.footer__desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.footer__social-link:hover {
  background: var(--color-primary-orange);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  color: var(--color-text-white);
}

.footer__link {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  padding: var(--space-xs) 0;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--color-primary-orange);
}

/* SpeedPresta bar */
.footer__powered {
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.footer__powered span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Wordmark Wariflow.
   L'identite de l'editeur est un pur wordmark, sans symbole : serif editorial,
   capitales, interlettrage 0,28em (planche de marques
   platform/generator/generator/wariflow-logo-full.png). Georgia double la
   Fraunces de la planche, qui n'est pas chargee sur cette page ; la pile de
   repli reste serif dans tous les cas. Compose en texte, donc net a toute
   densite d'ecran et sans requete reseau. */
.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  /* L'interlettrage ajoute une chasse APRES la derniere lettre : sans cette
     compensation le mot parait decale vers la gauche de son propre bloc. */
  padding-left: 0.28em;
  color: inherit;
  opacity: 0.85;
}

/* Copyright */
.footer__bottom {
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--color-primary-orange);
}

/* --------------------------------------------------------------------------
   13. Scroll Animations
   -------------------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for grid items */
.features-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.features-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.features-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.features-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.features-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.features-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

.steps .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.steps .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.steps .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

.testimonials-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.testimonials-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.testimonials-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   14. Responsive - Tablet (768px+)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }

  .section {
    padding: var(--space-3xl) 0;
  }

  .nav__links {
    display: flex;
  }

  .nav__hamburger {
    display: none;
  }

  .btn--nav {
    display: inline-flex;
  }

  .mobile-menu,
  .mobile-menu__overlay {
    display: none;
  }

  .hero__inner {
    flex-direction: row;
    text-align: left;
    padding: var(--space-4xl) var(--space-md);
  }

  .hero__content {
    flex: 1;
  }

  .hero__content h1 {
    font-size: 2.8rem;
  }

  .hero__buttons {
    flex-direction: row;
  }

  .hero__image img {
    width: 280px;
    height: 280px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-3xl);
  }

  .steps__connector {
    display: block;
    position: absolute;
    top: 32px;
    left: calc(50% - 200px);
    width: 400px;
    height: 2px;
    border-top: 2px dashed var(--color-border-light);
    z-index: 0;
  }

  .step {
    z-index: 1;
  }

  .pricing-grid {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .pricing-card {
    flex: 0 0 200px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   15. Responsive - Desktop (1024px+)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  h1 { font-size: 3.5rem; }

  .section {
    padding: var(--space-4xl) 0;
  }

  .container {
    padding: 0 var(--space-xl);
  }

  .hero__content h1 {
    font-size: 3.2rem;
  }

  .hero__image img {
    width: 320px;
    height: 320px;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps__connector {
    left: calc(50% - 280px);
    width: 560px;
  }

  .pricing-card {
    flex: 0 0 200px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* --------------------------------------------------------------------------
   16. Focus Visible (Accessibility)
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--color-primary-orange);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary-orange);
  outline-offset: 2px;
}

/* Scroll margin for anchor links */
section[id] {
  scroll-margin-top: calc(var(--nav-height) + var(--space-md));
}
