/* ==========================================================================
   IRON IPTV FRANCE : feuille de style principale
   ========================================================================== */
:root {
  --bg: #050505;
  --bg-2: #0a0d0c;
  --bg-3: #0f1413;
  --green: #20d957;
  --green-2: #17b847;
  --green-soft: rgba(32, 217, 87, 0.12);
  --green-line: rgba(32, 217, 87, 0.28);
  --navy: #102a38;
  --text: #ffffff;
  --muted: #a6b1ac;
  --muted-2: #6f7a75;
  --line: rgba(255, 255, 255, 0.08);
  --card: #ffffff;
  --card-text: #0b1210;
  --card-muted: #5a6661;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --glow: 0 0 0 1px rgba(32, 217, 87, 0.35), 0 18px 60px -18px rgba(32, 217, 87, 0.55);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
::selection { background: var(--green); color: #000; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.accent { color: var(--green); }
.center { text-align: center; }
.muted { color: var(--muted); }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- Buttons */
.button {
  --b-bg: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--b-bg); color: #03140a;
  font-weight: 800; font-size: 0.98rem; letter-spacing: 0.01em;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(32, 217, 87, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(32, 217, 87, 0.85); background: #3ae56c; }
.button:active { transform: translateY(0); }
.button svg { width: 18px; height: 18px; flex: none; }
.button-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: rgba(255, 255, 255, 0.18); box-shadow: none; backdrop-filter: blur(8px); }
.button-ghost:hover { background: rgba(32, 217, 87, 0.08); border-color: var(--green); color: var(--green); box-shadow: none; }
.button-dark { background: #0b1210; color: #fff; box-shadow: none; }
.button-dark:hover { background: var(--green); color: #03140a; }
.button-small { min-height: 42px; padding: 0 20px; font-size: 0.9rem; }
.button-block { width: 100%; }
.button[disabled], .button[aria-disabled="true"] { opacity: 0.45; pointer-events: none; box-shadow: none; }
.button-whatsapp { background: #25d366; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--green); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); box-shadow: 0 0 12px var(--green); }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--green); box-shadow: 0 0 12px var(--green); }

.text-link { color: var(--green); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ----------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled { background: rgba(5, 5, 5, 0.88); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img, .footer-brand img { width: auto; max-width: 220px; object-fit: contain; object-position: left center; }
.brand img { height: 60px; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.button) {
  position: relative; padding: 10px 14px; border-radius: 10px;
  color: #d7dfdb; font-weight: 600; font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease;
}
.site-nav a:not(.button):hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.site-nav a[aria-current="page"] { color: var(--green); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--green); box-shadow: 0 0 10px var(--green); }
.site-nav .button { margin-left: 10px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.3s ease, background 0.3s ease; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------- Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(calc(100svh - var(--header-h)), 860px);
  display: flex; align-items: center;
  padding: 80px 0 100px;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 70px);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url("/assets/img/hero-bg.svg") center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 220px; z-index: -1; background: linear-gradient(to bottom, transparent, var(--bg)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; text-wrap: balance; }
.hero h1 .accent { text-shadow: 0 0 40px rgba(32, 217, 87, 0.45); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: #c9d2ce; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 38px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; }
.stat {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.stat strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--green); }
.stat span { color: var(--muted); font-size: 0.85rem; line-height: 1.3; }
/* Accueil : bannière photo (iron-homepage-hero.jpg) */
/* Hauteur limitée : l’image source fait 1672×466, on évite un agrandissement excessif */
.hero-home { min-height: 0; padding-top: calc(var(--header-h) + 48px); padding-bottom: 64px; }
.hero-home .hero-grid { grid-template-columns: minmax(0, 700px); }
.hero-home h1 { font-size: clamp(2.3rem, 4.3vw, 3.7rem); margin-bottom: 18px; }
.hero-home .hero-actions { margin: 28px 0 30px; }
.hero-home .hero-bg {
  background-color: #050505;
  background-image: url("/assets/img/iron-homepage-hero.jpg");
  background-image: image-set(url("/assets/img/iron-homepage-hero.webp") type("image/webp"), url("/assets/img/iron-homepage-hero.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: 72% 38%;
  background-repeat: no-repeat;
}
.hero-home .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0) 22%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.8) 32%, rgba(5, 5, 5, 0.35) 62%, rgba(5, 5, 5, 0.2) 100%);
}
.hero-home .stat { background: rgba(5, 5, 5, 0.55); }

/* Abonnements : bannière fournie (iron-pricing-hero.jpg), affichée sans recadrage sur ordinateur */
.pricing-hero { position: relative; isolation: isolate; }
.pricing-hero-bg {
  position: relative; width: 100%;
  aspect-ratio: 1672 / 471; max-height: 560px; min-height: 220px;
  background-color: #050505;
  background-image: url("/assets/img/iron-pricing-hero.jpg");
  background-image: image-set(url("/assets/img/iron-pricing-hero.webp") type("image/webp"), url("/assets/img/iron-pricing-hero.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.pricing-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.12) 0%, rgba(5, 5, 5, 0.12) 70%, var(--bg) 100%);
}
.pricing-intro { padding: 28px 0 0; }
.pricing-intro .lead { max-width: 860px; }
.pricing-intro .lead strong { color: #fff; }
.pricing-hero + .pricing-intro + .section { padding-top: 70px; }

/* --------------------------------------------------------------- Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.section-heading { max-width: 720px; margin-bottom: 56px; }
.section-heading.center { margin-inline: auto; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  position: relative; padding: 36px 32px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(16, 42, 56, 0.55), rgba(10, 13, 12, 0.9));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.feature-card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: radial-gradient(400px circle at 0% 0%, rgba(32, 217, 87, 0.16), transparent 60%); opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.feature-card:hover { transform: translateY(-6px); border-color: var(--green-line); box-shadow: var(--shadow); }
.feature-card:hover::after { opacity: 1; }
.feature-card p { color: var(--muted); margin: 0; }
.icon-box {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 24px;
  display: grid; place-items: center;
  background: var(--green-soft); border: 1px solid var(--green-line); color: var(--green);
  box-shadow: 0 0 30px -8px rgba(32, 217, 87, 0.6);
}
.icon-box svg { width: 28px; height: 28px; }

/* ---------------------------------------------------------------- Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 28px 30px; border-radius: var(--radius-lg);
  background: var(--card); color: var(--card-text);
  border-top: 5px solid var(--green);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s ease;
}
.price-card:hover { transform: translateY(-10px); box-shadow: 0 0 0 2px var(--green), 0 30px 70px -20px rgba(32, 217, 87, 0.45); }
.price-card.recommended {
  background: linear-gradient(180deg, #ffffff 0%, #f1fff5 100%);
  box-shadow: 0 0 0 2px var(--green), 0 30px 80px -20px rgba(32, 217, 87, 0.6);
  transform: scale(1.04);
}
.price-card.recommended:hover { transform: scale(1.04) translateY(-10px); }
.badge {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  padding: 7px 16px; border-radius: 999px;
  background: var(--green); color: #03140a;
  font-size: 0.72rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 8px 24px -6px rgba(32, 217, 87, 0.8);
}
.plan-name { font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; letter-spacing: 0.14em; color: var(--card-text); margin: 0 0 4px; }
.plan-tagline { color: var(--card-muted); font-size: 0.9rem; margin: 0 0 22px; }
.price { font-family: var(--font-display); font-weight: 900; font-size: 4rem; line-height: 1; letter-spacing: -0.04em; margin: 0; display: flex; align-items: flex-start; gap: 4px; }
.price span { font-size: 1.8rem; margin-top: 6px; color: var(--green-2); }
.price-month { margin: 10px 0 0; font-size: 0.9rem; color: var(--card-muted); }
.price-month strong { color: var(--green-2); }
.price-rule { height: 1px; background: #e6ece9; margin: 24px 0; }
.plan-features { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; line-height: 1.45; color: #26302c; }
.plan-features li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303140a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.price-card .button { width: 100%; }
.price-card:not(.recommended) .button { background: #0b1210; color: #fff; box-shadow: none; }
.price-card:not(.recommended) .button:hover { background: var(--green); color: #03140a; }
.pricing-note { text-align: center; color: var(--muted-2); font-size: 0.9rem; margin: 46px auto 0; max-width: 680px; }
.pricing-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 40px; color: var(--muted); font-size: 0.92rem; }
.pricing-trust span { display: inline-flex; align-items: center; gap: 8px; }
.pricing-trust svg { width: 18px; height: 18px; color: var(--green); }

/* ---------------------------------------------------------------- Devices */
.device-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.device-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 30px 16px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.device-card:hover { transform: translateY(-5px); border-color: var(--green-line); background: rgba(32, 217, 87, 0.05); }
.device-card svg { width: 44px; height: 44px; color: var(--green); }
.device-card strong { font-family: var(--font-display); font-size: 1rem; }
.device-card span { color: var(--muted); font-size: 0.82rem; line-height: 1.4; }

/* ---------------------------------------------------------- Promo / sport */
.promo {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 34px; padding: clamp(40px, 6vw, 80px);
  border: 1px solid var(--green-line);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  box-shadow: var(--shadow);
}
.promo-bg { position: absolute; inset: 0; z-index: -1; background: url("/assets/img/sports-bg.svg") center / cover no-repeat; }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.6) 55%, rgba(5, 5, 5, 0.15) 100%); }
.promo p { color: #c9d2ce; }
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.category-tile {
  padding: 20px; border-radius: 18px;
  background: rgba(5, 5, 5, 0.55); border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.category-tile:hover { border-color: var(--green); transform: translateY(-4px); }
.category-tile svg { width: 30px; height: 30px; color: var(--green); margin-bottom: 10px; }
.category-tile strong { display: block; font-family: var(--font-display); }
.category-tile span { color: var(--muted); font-size: 0.85rem; }

/* ------------------------------------------------------------------ Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps-grid::before { content: ""; position: absolute; top: 44px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, transparent, var(--green), transparent); opacity: 0.4; }
.step-card { position: relative; text-align: center; padding: 0 18px; counter-increment: step; }
.step-card::before {
  content: counter(step, decimal-leading-zero);
  display: grid; place-items: center; margin: 0 auto 26px;
  width: 88px; height: 88px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--green);
  background: radial-gradient(circle, #0d1a14, #050505); border: 2px solid var(--green);
  box-shadow: 0 0 0 8px var(--bg), 0 0 40px -4px rgba(32, 217, 87, 0.6);
  position: relative; z-index: 1;
}
.step-card p { color: var(--muted); }

/* -------------------------------------------------------------------- FAQ */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); transition: border-color 0.3s ease, background 0.3s ease; }
.faq-item[open] { border-color: var(--green-line); background: rgba(32, 217, 87, 0.04); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; font-weight: 700; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320d957' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 26px 24px; color: var(--muted); }
.faq-answer p { margin: 0; }
.faq-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -24px 0 40px; }
.faq-cats span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

/* -------------------------------------------------------------- CTA band */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(48px, 7vw, 84px) 24px; border-radius: 34px;
  background: radial-gradient(800px 300px at 50% 0%, rgba(32, 217, 87, 0.28), transparent 70%), linear-gradient(160deg, var(--navy), #06100c);
  border: 1px solid var(--green-line);
}
.cta-band p { color: #c9d2ce; max-width: 560px; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* -------------------------------------------------------------- Page hero */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 70px) 0 70px; margin-top: calc(var(--header-h) * -1);
  background: radial-gradient(900px 400px at 80% -10%, rgba(32, 217, 87, 0.18), transparent 70%), radial-gradient(700px 400px at 0% 100%, rgba(16, 42, 56, 0.7), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 900px; text-wrap: balance; }
.page-hero .lead { max-width: 720px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--muted-2); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }
.content-section { padding: 70px 0 110px; }

/* ---------------------------------------------------------------- Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-option {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px; border-radius: var(--radius); margin-top: 16px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
}
.contact-option .icon-box { margin: 0; flex: none; }
.contact-option h3 { margin-bottom: 4px; }
.contact-option p { color: var(--muted); margin: 0 0 12px; font-size: 0.95rem; }
.contact-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--card); color: var(--card-text); border-top: 5px solid var(--green); box-shadow: var(--shadow); }
.contact-card h2 { font-size: 1.8rem; }
.contact-card > p { color: var(--card-muted); }
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field label { font-weight: 700; font-size: 0.9rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid #dbe3df; background: #f7faf8; color: var(--card-text);
  font: inherit; font-size: 1rem; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(32, 217, 87, 0.18); }
.form-field input:disabled, .form-field textarea:disabled, .form-field select:disabled { opacity: 0.6; cursor: not-allowed; }
.form-consent { font-size: 0.82rem; color: var(--card-muted); margin: 0; }
.form-consent a { color: var(--green-2); text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status.is-success { background: #e7fbee; color: #0d6b2c; }
.form-status.is-error { background: #fdecec; color: #9b1c1c; }
.form-status.is-info { background: #eef4f8; color: #24485c; }

/* ------------------------------------------------------------------- Blog */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--bg-3); border: 1px solid var(--line);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.article-card:hover { transform: translateY(-6px); border-color: var(--green-line); box-shadow: var(--shadow); }
.article-card .cover { aspect-ratio: 1200 / 630; overflow: hidden; background: #0b1210; }
.article-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.article-card:hover .cover img { transform: scale(1.05); }
.article-body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.article-meta { color: var(--green); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.article-card h2, .article-card h3 { font-size: 1.22rem; line-height: 1.3; margin-bottom: 10px; }
.article-card h2 a::after, .article-card h3 a::after { content: ""; position: absolute; inset: 0; }
.article-card { position: relative; }
.article-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.article-card .text-link { margin-top: 8px; }
.article-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.article-featured .cover { aspect-ratio: auto; min-height: 100%; }
.article-featured .article-body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.article-featured h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: start; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-bottom: 44px; }
.article-content { font-size: 1.08rem; color: #d4dcd8; }
.article-content h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: #fff; margin-top: 1.8em; }

.article-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside-card { padding: 26px; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line); }
.aside-card h2 { font-size: 1.05rem; }
.aside-card ol, .aside-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.93rem; display: grid; gap: 8px; }
.aside-card a:hover { color: var(--green); }
.aside-cta { background: linear-gradient(160deg, var(--navy), #07110d); border-color: var(--green-line); }
.aside-cta p { color: var(--muted); font-size: 0.93rem; }
.article-info { margin-top: 44px; padding: 20px 24px; border-radius: var(--radius); border-left: 3px solid var(--green); background: rgba(32, 217, 87, 0.05); color: var(--muted); font-size: 0.93rem; }

/* ------------------------------------------------------------------ Legal */
.legal-copy { max-width: 820px; color: #d4dcd8; }
.legal-copy h2 { font-size: 1.5rem; color: #fff; margin-top: 1.8em; }
.legal-copy a { color: var(--green); text-decoration: underline; }
.legal-copy dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; }
.legal-copy dt { color: var(--muted); }
.legal-copy dd { margin: 0; }
.legal-updated { color: var(--muted-2); font-size: 0.9rem; }
.todo { display: inline-block; padding: 1px 8px; border-radius: 6px; background: rgba(255, 196, 0, 0.12); color: #ffcf4d; font-size: 0.9em; }

/* ----------------------------------------------------------------- Footer */
.site-footer { position: relative; margin-top: 40px; padding: 80px 0 30px; border-top: 1px solid var(--line); background: radial-gradient(800px 300px at 15% 0%, rgba(16, 42, 56, 0.6), transparent 70%), #030303; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--green), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 84px; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 340px; }
.footer-title { font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s ease, transform 0.2s ease; }
.footer-links a:hover { color: var(--green); transform: translateX(3px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 0.86rem; }
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------- Floating WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.7);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ------------------------------------------------------------- Animations */
.js-enabled [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--delay, 0s); }
.js-enabled [data-reveal].is-visible { opacity: 1; transform: none; }
.js-enabled .price-card.recommended[data-reveal].is-visible { transform: scale(1.04); }
.js-enabled .price-card.recommended[data-reveal].is-visible:hover { transform: scale(1.04) translateY(-10px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js-enabled [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 22px; max-width: 720px; margin-inline: auto; }
  .device-grid { grid-template-columns: repeat(3, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: inline-flex; }
  .brand img { height: 52px; max-width: 170px; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px 20px 26px;
    background: rgba(5, 5, 5, 0.97); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a:not(.button) { padding: 14px 12px; font-size: 1.05rem; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav .button { margin: 12px 0 0; }
  .hero-grid, .promo, .contact-grid, .article-featured { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-bottom: 60px; }
  .hero-home .hero-bg { background-position: 66% center; }
  .hero-home .hero-bg::after {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.6) 0%, rgba(5, 5, 5, 0.72) 45%, rgba(5, 5, 5, 0.9) 100%);
  }
  .feature-grid, .steps-grid, .article-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .promo::before { background: linear-gradient(180deg, rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.75)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  /* Mobile : on garde le logo et le titre intégrés à la bannière (partie gauche) lisibles */
  .pricing-hero-bg { aspect-ratio: auto; height: 300px; min-height: 0; background-position: 4% center; }
  .feature-grid, .steps-grid, .article-grid, .pricing-grid, .form-row { grid-template-columns: 1fr; }
  .pricing-grid { max-width: 400px; }
  .price-card.recommended, .js-enabled .price-card.recommended[data-reveal].is-visible { transform: none; }
  .device-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .button { width: 100%; }
  .stat { flex: 1 1 140px; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-copy dl { grid-template-columns: 1fr; gap: 2px; }
  .legal-copy dd { margin-bottom: 12px; }
  .faq-item summary { padding: 18px 20px; font-size: 1rem; }
  .faq-answer { padding: 0 20px 20px; }
}

/* Correctifs */
.text-link svg { width: 16px; height: 16px; flex: none; }
.article-cover { margin: 0 0 44px; }
.article-content > .legal-updated { font-size: 0.9rem; color: var(--muted-2); }
.article-content > .legal-updated + p { font-size: 1.2rem; color: #fff; }
.contact-grid > *, .contact-option > div { min-width: 0; }
.contact-option .button { white-space: normal; text-align: center; min-height: 48px; padding: 10px 22px; }
.hero-home h1 .accent { display: block; }

/* Contact : WhatsApp seul moyen de contact */
.contact-card .button-whatsapp { margin-top: 8px; }
.wa-plans-title { font-size: 1rem; margin: 30px 0 14px; padding-top: 26px; border-top: 1px solid #e6ece9; }
.wa-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wa-plans .button { width: 100%; }
.wa-note { font-size: 0.85rem; color: var(--card-muted); margin: 14px 0 0; }
@media (max-width: 400px) { .wa-plans { grid-template-columns: 1fr; } }
