@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Lobster+Two:wght@400;700&family=Nunito:wght@400;500;600;700;800&display=swap');

/* =========================================
   VARIABLES & THEME
   ========================================= */
:root {
  /* Palette du flyer : bleu lumineux, bleu nuit et or */
  --primary: #06245b;
  --primary-deep: #061331;
  --primary-light: #2f92dc;
  --accent: #f4c736;
  --accent-soft: #ffe996;
  --accent-glow: #fff0a9;
  --text-main: #ffffff;
  --text-muted: #edf5ff;
  --bg-base: #0b4fba;

  /* Matières visuelles proches du flyer */
  --glass-bg: rgba(10, 59, 142, 0.28);
  --glass-bg-strong: rgba(4, 30, 79, 0.68);
  --glass-border: rgba(255, 231, 129, 0.48);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.16);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.24);
  --shadow-lg: 0 22px 58px rgba(0, 0, 0, 0.34);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --max: 1180px;

  /* Polices de la DA : noms du flyer en premier, alternatives web ensuite. */
  --font-script: "CreamCake", "Lobster Two", "Pacifico", "Segoe Script", "Brush Script MT", cursive;
  --font-body: "Nunito", "Aptos", "Segoe UI", Arial, sans-serif;
  --font-badge: "Cinzel", "Trajan Pro", Georgia, serif;
}

/* =========================================
   BASE & RESET
   ========================================= */
* { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

/* Arrière-plan 100% CSS (Effet Halo et fond marin cosmique) */
body {
  position: relative;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1.12rem;
  line-height: 1.78;
  background-color: var(--bg-base);
  background-image:
    linear-gradient(180deg, rgba(43, 150, 220, 0.10), rgba(5, 31, 93, 0.24)),
    url("assets/background-landscape.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.18), transparent 15rem),
    radial-gradient(circle at 12% 42%, rgba(255, 255, 255, 0.13), transparent 14rem),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(4,18,55,0.24));
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
button, input, textarea { font: inherit; }

/* === ACCESSIBILITÉ === */
.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--accent);
  color: var(--primary);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}
.skip-link:focus { left: 1rem; }

/* =========================================
   TYPOGRAPHIE GLOBALE DES TITRES
   ========================================= */
/* Les titres reprennent l’écriture manuscrite du flyer. */
h1, h2, h3 {
  font-family: var(--font-script);
  color: var(--accent);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.22);
}

/* =========================================
   EN-TÊTE (HEADER)
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 30, 84, 0.66);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-text { display: grid; line-height: 1.2; }
.brand-name { 
  font-family: var(--font-script); 
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 400; 
  color: var(--text-main); 
  letter-spacing: 0.02em;
  text-shadow: 0 2px 7px rgba(0,0,0,0.34);
}
.brand-kicker { 
  font-family: var(--font-badge);
  font-size: 0.78rem; 
  color: var(--accent); 
  font-weight: 700; 
  text-transform: uppercase;
  letter-spacing: 1.8px;
  border: 2px solid var(--accent);
  background: rgba(6, 28, 78, 0.42);
  padding: 3px 9px;
  margin-top: 3px;
  width: fit-content;
}

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 0.5rem; }
.main-nav a {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-badge);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--accent);
  background: rgba(4, 31, 86, 0.55);
  box-shadow: var(--shadow-sm);
}

/* Actions & Boutons */
.header-actions { display: flex; align-items: center; gap: 0.8rem; }

.icon-link, .nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(4, 31, 86, 0.55);
  border: 1px solid var(--glass-border);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.icon-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.nav-toggle { display: none; cursor: pointer; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--primary-deep); 
  font-family: var(--font-badge);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.cta:hover { 
  background: var(--accent-glow);
  transform: translateY(-2px); 
  box-shadow: 0 12px 25px rgba(255, 204, 0, 0.3);
}

.cta.secondary {
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-sm);
}
.cta.secondary:hover {
  background: rgba(255, 204, 0, 0.1);
}

/* =========================================
   STRUCTURE PRINCIPALE
   ========================================= */
main { min-height: 60vh; }
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

h1 {
  font-size: clamp(4.5rem, 9vw, 7.4rem);
  line-height: 0.95;
  color: var(--text-main); 
  font-weight: 400;
  text-shadow: 0 5px 14px rgba(0,0,0,0.36);
}

.subtitle {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  color: var(--accent);
  line-height: 1.05;
  margin-top: 1rem;
  text-shadow: 0 3px 10px rgba(0,0,0,0.24);
}

.lead {
  font-size: clamp(1.18rem, 1.42vw, 1.32rem);
  color: var(--text-main);
  max-width: 62ch;
  margin-top: 1.5rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.26);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--accent);
  font-family: var(--font-badge);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.92rem;
}
.eyebrow::before {
  content: "";
  width: 64px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.hero-contact {
  display: grid;
  gap: 0.5rem;
  margin-top: 2.5rem;
  color: var(--text-muted);
  font-size: 1rem;
}
.hero-contact a { font-weight: 600; color: var(--accent); text-decoration: none; }
.hero-contact a:hover { color: var(--accent-glow); text-decoration: underline; text-underline-offset: 4px; }

/* Logo Animé (Arbre de vie) */
.logo-stage {
  justify-self: center;
  width: min(350px, 80vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(255, 204, 0, 0.2), inset 0 0 20px rgba(0,0,0,0.5);
  animation: floatIn 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  background: radial-gradient(circle at center, #102a66 0%, #031331 72%); 
}

/* =========================================
   COMPOSANTS DE PAGES
   ========================================= */

/* PAGE HERO */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(4, 22, 64, 0.62), rgba(9, 69, 155, 0.18));
  border-bottom: 1px solid var(--glass-border);
}
.page-hero .section {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* PANNEAUX ET CARTES */
.panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(16px);
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}


.text-only-section {
  max-width: 980px;
}
.text-only-section .content-card {
  width: 100%;
}

.content-card {
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
}
.content-card::before {
  content: "";
  display: block;
  width: min(86%, 760px);
  height: 2px;
  margin: 0 auto clamp(1.4rem, 3vw, 2rem);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.76), transparent);
}
.content-card h2 { font-size: clamp(2.9rem, 5vw, 4.7rem); margin-bottom: 1.5rem; text-align: center; line-height: 1.05;}
.content-card p { color: var(--text-main); margin-bottom: 1rem; font-weight: 600; }

.copy-list {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}
.copy-list > div {
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(4, 31, 86, 0.42);
  border: 1px solid rgba(255, 204, 0, 0.15);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.copy-list strong { color: var(--accent); font-family: var(--font-script); font-size: 2.15rem; font-weight: 400; display: block; margin-bottom: 0.2rem; line-height: 1; }

/* GRILLE DE SERVICES */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(4, 31, 86, 0.55);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.service-card::before {
  content: "";
  display: block;
  width: 68%;
  height: 1px;
  margin: 0 auto 1.2rem;
  background: rgba(255,255,255,0.72);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.service-card h3 { font-size: clamp(2.4rem, 4vw, 3.2rem); margin-bottom: 0.8rem; line-height: 1.02; }
.service-card p { color: var(--text-muted); margin: 0; }

/* ÉTAPES */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(4, 31, 86, 0.55);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}
.step::before {
  content: "0" counter(step);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  font-family: var(--font-badge);
}
.step h3 { font-size: clamp(2.1rem, 3.5vw, 3rem); margin-bottom: 0.5rem; line-height: 1.05; }

/* TARIFS */
.price-box { display: grid; gap: 1.5rem; margin-top: 2rem; }
.price-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.8rem;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--glass-bg-strong), rgba(5, 26, 61, 0.9));
  border: 1px solid var(--accent);
  color: var(--text-main);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.price-main strong { 
  font-family: var(--font-script);
  font-size: clamp(4.4rem, 7.4vw, 6rem); 
  font-weight: normal; 
  line-height: 1; 
  color: var(--accent); 
}
.price-main span { color: var(--text-main); font-size: 1.1rem; }

.info-strip {
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(4, 31, 86, 0.55);
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  text-align: center;
  font-size: 1rem;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 3rem);
}
.contact-card, .contact-form {
  padding: clamp(2rem, 4vw, 3rem);
  background: rgba(4, 31, 86, 0.55);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.contact-methods { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-method {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(10, 38, 86, 0.5);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}
.contact-method svg { width: 1.5rem; height: 1.5rem; color: var(--accent); flex-shrink: 0; }
.contact-method span { color: var(--text-muted); font-size: 1rem; }
.contact-method strong { color: var(--text-main); display: block; font-size: 1.2rem; letter-spacing: 1px;}

.contact-form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-family: var(--font-badge); font-weight: 700; color: var(--accent); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.06em; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  font-family: var(--font-body);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.1);
}

/* LÉGAL & NOTICES */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  background: rgba(4, 31, 86, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.legal-content h2 { font-size: clamp(2rem, 3vw, 2.5rem); margin: 2.5rem 0 1rem; color: var(--accent); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: 1rem; }
.legal-content a { color: var(--accent); font-weight: bold; text-decoration: underline; text-underline-offset: 3px; }

/* =========================================
   PIED DE PAGE (FOOTER)
   ========================================= */
.site-footer {
  margin-top: 4rem;
  background: #020a1f; 
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 204, 0, 0.2);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-logo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.footer-logo img { width: 50px; height: 50px; }
.footer-logo strong { 
  font-family: var(--font-script); 
  font-size: 2.8rem; 
  font-weight: 400;
  display: block; 
  color: var(--accent); 
  line-height: 1;
}
.footer-col h3 { 
  font-family: var(--font-script); 
  color: var(--accent); 
  font-size: 2.25rem; 
  font-weight: 400;
  margin-bottom: 1.2rem; 
  line-height: 1;
}
.footer-col a { display: block; margin: 0.8rem 0; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 231, 129, 0.24);
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes floatIn {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: none; }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1040px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    padding: 1rem;
    border-radius: var(--radius);
    background: rgba(5, 26, 61, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
  }
  .main-nav.is-open { display: flex; }
  .nav-toggle { display: inline-flex; }
  
  .hero-inner, .split, .contact-grid { grid-template-columns: 1fr; }
  .logo-stage { grid-row: 1; width: min(300px, 70vw); }
  
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 620px) {
  body { background-attachment: scroll; }
  .brand-text { display: none; }
  .header-actions .cta { display: none; }
  .hero { min-height: auto; }
  .hero-inner { padding-top: 3rem; text-align: center; }
  .hero-actions { flex-direction: column; align-items: stretch; justify-content: center; }
  .eyebrow { justify-content: center; }
  
  .section { padding-top: 3rem; padding-bottom: 3rem; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { justify-content: center; }
}

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

/* Ajustements spécifiques pour rester lisible avec les polices manuscrites */
.page-hero h1 {
  font-size: clamp(3.6rem, 8vw, 6.7rem);
  color: var(--text-main);
}
.page-hero .lead {
  max-width: 780px;
}
.panel {
  outline: 1px solid rgba(255,255,255,0.06);
}
.info-strip,
.contact-method,
.footer-col,
.footer-bottom,
.legal-content {
  font-weight: 600;
}
.legal-content h2 {
  font-family: var(--font-badge);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow: none;
}
.contact-method strong {
  font-family: var(--font-script);
  color: var(--accent);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

@media (orientation: portrait) {
  body {
    background-image:
      linear-gradient(180deg, rgba(43, 150, 220, 0.10), rgba(5, 31, 93, 0.24)),
      url("assets/background-portrait.webp");
  }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(3.6rem, 18vw, 5.1rem); }
  .subtitle { font-size: clamp(2.5rem, 15vw, 4.2rem); }
  .page-hero h1 { font-size: clamp(3.1rem, 15vw, 4.8rem); }
  .content-card h2 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .service-card h3 { font-size: 2.65rem; }
}

/* =========================================
   LISIBILITÉ & AÉRATION DES TEXTES
   ========================================= */
:root {
  --readable-width: 72ch;
  --readable-width-narrow: 60ch;
}

body {
  font-size: clamp(1.04rem, 0.36vw + 0.98rem, 1.18rem);
  line-height: 1.88;
}

p,
li,
.info-strip,
.contact-method,
.footer-col,
.footer-bottom {
  line-height: 1.9;
  letter-spacing: 0.008em;
}

strong,
b {
  letter-spacing: 0.01em;
}

.page-hero .section {
  max-width: 1060px;
}

.page-hero h1 {
  margin-top: 0.7rem;
  margin-bottom: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1.03;
  text-wrap: balance;
}

.page-hero .lead,
.hero-copy .lead {
  max-width: var(--readable-width-narrow);
  font-size: clamp(1.18rem, 0.75vw + 1rem, 1.42rem);
  line-height: 1.95;
  font-weight: 500;
}

.page-hero .lead {
  margin-top: 1.2rem;
}

.hero-copy .lead {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

.subtitle {
  margin-top: clamp(1.1rem, 2.4vw, 1.8rem);
  margin-bottom: 0.2rem;
}

.hero-actions {
  margin-top: clamp(2.5rem, 4.2vw, 3.4rem);
}

.hero-contact {
  gap: 0.85rem;
  margin-top: clamp(2.5rem, 4.2vw, 3.4rem);
  font-size: clamp(1.02rem, 0.3vw + 0.95rem, 1.14rem);
  line-height: 1.7;
}

.content-card {
  padding: clamp(2.4rem, 5.5vw, 4.8rem);
}

.content-card::before {
  margin-bottom: clamp(2rem, 3.8vw, 3rem);
}

.content-card h2 {
  max-width: 16ch;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  text-wrap: balance;
}

.content-card > p {
  max-width: var(--readable-width);
  margin: 0 auto clamp(1.45rem, 2.5vw, 1.9rem);
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.12rem, 0.5vw + 1rem, 1.28rem);
  line-height: 2;
  font-weight: 500;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.16);
}

.content-card > p:last-of-type {
  margin-bottom: 0;
}

.card-grid {
  gap: clamp(1.5rem, 3vw, 2.3rem);
  margin-top: clamp(2.8rem, 5vw, 4rem);
}

.service-card {
  padding: clamp(2rem, 3.5vw, 2.8rem);
}

.service-card h3 {
  margin-bottom: 1.1rem;
  text-wrap: balance;
}

.service-card p {
  max-width: 34ch;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(1.04rem, 0.28vw + 0.98rem, 1.16rem);
  line-height: 1.9;
  font-weight: 500;
}

.copy-list {
  max-width: 860px;
  gap: clamp(1.35rem, 2.6vw, 2rem);
  margin: clamp(2.7rem, 5vw, 4rem) auto 0;
}

.copy-list > div {
  padding: clamp(1.5rem, 3vw, 2.1rem) clamp(1.4rem, 3.2vw, 2.3rem);
  text-align: left;
  font-size: clamp(1.06rem, 0.35vw + 0.98rem, 1.2rem);
  line-height: 1.85;
  font-weight: 500;
}

.copy-list strong {
  margin-bottom: 0.6rem;
  font-size: clamp(2.15rem, 3.5vw, 3rem);
  text-align: left;
}

.steps {
  max-width: 900px;
  gap: clamp(1.4rem, 3vw, 2.1rem);
  margin: clamp(2.7rem, 5vw, 4rem) auto 0;
}

.step {
  gap: clamp(1.2rem, 2.8vw, 2rem);
  padding: clamp(1.5rem, 3.2vw, 2.2rem);
}

.step h3 {
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

.step p {
  max-width: 58ch;
  color: rgba(237, 245, 255, 0.96);
  font-size: clamp(1.04rem, 0.35vw + 0.98rem, 1.16rem);
  line-height: 1.9;
  font-weight: 500;
}

.price-box {
  max-width: 820px;
  margin: clamp(2.7rem, 5vw, 4rem) auto 0;
  gap: clamp(1.25rem, 2.5vw, 1.8rem);
}

.price-main {
  padding: clamp(2.4rem, 5vw, 3.5rem);
}

.price-main span,
.info-strip {
  font-size: clamp(1.06rem, 0.35vw + 0.98rem, 1.18rem);
}

.info-strip {
  padding: clamp(1.25rem, 2.6vw, 1.8rem) clamp(1.25rem, 3vw, 2rem);
  line-height: 1.85;
  font-weight: 500;
}

.contact-card h2,
.contact-form h2 {
  margin-bottom: clamp(1.3rem, 2.5vw, 2rem);
  font-size: clamp(2.7rem, 4.8vw, 4.2rem);
  line-height: 1.08;
}

.form-note,
.contact-form p {
  max-width: 62ch;
  font-size: clamp(1.04rem, 0.3vw + 0.98rem, 1.14rem);
  line-height: 1.85;
  font-weight: 500;
  color: rgba(237, 245, 255, 0.96);
}

.contact-methods {
  gap: clamp(1.1rem, 2vw, 1.5rem);
}

.contact-method {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.contact-method span,
.contact-method strong,
.hero-contact a,
.footer-col a {
  overflow-wrap: anywhere;
}

.footer-col p,
.footer-col a,
.footer-col span {
  font-size: 1rem;
  line-height: 1.85;
}

.legal-content {
  max-width: 900px;
}

.legal-content p,
.legal-content li {
  max-width: var(--readable-width);
  font-size: clamp(1.03rem, 0.3vw + 0.98rem, 1.13rem);
  line-height: 1.9;
  font-weight: 500;
}

@media (max-width: 620px) {
  body {
    font-size: 1rem;
  }

  .content-card,
  .contact-card,
  .contact-form,
  .legal-content {
    padding: 2rem 1.25rem;
  }

  .page-hero .lead,
  .hero-copy .lead,
  .content-card > p {
    font-size: 1.06rem;
    line-height: 1.82;
  }

  .content-card h2 {
    margin-bottom: 1.8rem;
  }

  .copy-list > div,
  .step,
  .info-strip {
    text-align: left;
  }

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

  .step::before {
    width: 3rem;
    height: 3rem;
  }
}

/* =========================================
   CORRECTION LISIBILITÉ DES BLOCS DE TEXTE
   ========================================= */
:root {
  --copy-size: clamp(1.22rem, 0.65vw + 1.05rem, 1.42rem);
  --copy-size-small: clamp(1.12rem, 0.42vw + 1rem, 1.24rem);
  --copy-line: 1.78;
  --copy-bg: rgba(3, 22, 62, 0.58);
}

body {
  font-family: var(--font-body);
  font-size: var(--copy-size-small);
  line-height: var(--copy-line);
}

p,
li,
.info-strip,
.contact-method,
.footer-col,
.footer-bottom,
.form-note,
.contact-form p {
  font-family: var(--font-body);
  font-weight: 500;
  line-height: var(--copy-line);
  letter-spacing: 0.005em;
}

/* Les grands paragraphes sont traités comme de vrais blocs de lecture. */
.content-card > p,
.page-hero .lead,
.hero-copy .lead,
.service-card p,
.step p,
.legal-content p,
.legal-content li,
.form-note,
.contact-form p {
  font-size: var(--copy-size);
  line-height: 1.82;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.content-card > p {
  max-width: 68ch;
  margin-bottom: clamp(1.6rem, 2.6vw, 2.2rem);
  padding: clamp(1rem, 1.8vw, 1.25rem) clamp(1.1rem, 2.3vw, 1.6rem);
  border-radius: 18px;
  background: var(--copy-bg);
  border: 1px solid rgba(255, 231, 129, 0.18);
}

.content-card > p:last-of-type {
  margin-bottom: 0;
}

.page-hero .lead,
.hero-copy .lead {
  max-width: 64ch;
  padding: clamp(1rem, 1.8vw, 1.25rem) clamp(1.1rem, 2.3vw, 1.6rem);
  border-radius: 18px;
  background: rgba(3, 22, 62, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.service-card p,
.step p,
.info-strip,
.contact-form p,
.form-note {
  font-size: var(--copy-size-small);
}

.service-card,
.step,
.info-strip,
.contact-method,
.legal-content {
  background: rgba(3, 22, 62, 0.62);
}

.copy-list > div {
  font-family: var(--font-body);
  font-size: var(--copy-size-small);
  line-height: 1.76;
  font-weight: 500;
  background: rgba(3, 22, 62, 0.62);
}

/* Les titres conservent la police du flyer, seuls les textes courants passent en police de lecture. */
.content-card h2,
.service-card h3,
.step h3,
.contact-card h2,
.contact-form h2,
.footer-col h3,
.footer-logo strong,
.brand-name,
.subtitle,
h1,
h2,
h3 {
  font-family: var(--font-script);
}

.brand-kicker,
.main-nav a,
.cta,
.eyebrow,
.field label,
.legal-content h2 {
  font-family: var(--font-badge);
}

@media (max-width: 620px) {
  :root {
    --copy-size: 1.14rem;
    --copy-size-small: 1.06rem;
    --copy-line: 1.72;
  }

  .content-card > p,
  .page-hero .lead,
  .hero-copy .lead {
    padding: 0.95rem 1rem;
    border-radius: 16px;
  }
}


/* =========================================
   VERSION TABLETTE & MOBILE
   ========================================= */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

svg {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
}

.main-nav a,
.cta,
.icon-link,
.nav-toggle,
.contact-method,
.field input,
.field textarea {
  -webkit-tap-highlight-color: rgba(244, 199, 54, 0.22);
}

@media (max-width: 1120px) {
  body {
    background-attachment: scroll;
    background-position: center top;
  }

  .site-header {
    background: rgba(5, 25, 70, 0.86);
  }

  .header-inner {
    position: relative;
    padding: 0.75rem clamp(1rem, 3vw, 1.7rem);
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand-name {
    font-size: clamp(1.85rem, 4vw, 2.35rem);
  }

  .brand-kicker {
    font-size: 0.68rem;
    letter-spacing: 1.2px;
    padding: 2px 7px;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: clamp(1rem, 3vw, 1.7rem);
    right: clamp(1rem, 3vw, 1.7rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.85rem;
    border-radius: 22px;
    background: rgba(3, 18, 51, 0.97);
    border: 1px solid rgba(255, 231, 129, 0.52);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.38);
    z-index: 90;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

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

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 3rem);
    padding-top: clamp(2.4rem, 6vw, 4rem);
    padding-bottom: clamp(3.2rem, 7vw, 5rem);
    text-align: center;
  }

  .logo-stage {
    grid-row: 1;
    width: min(300px, 48vw);
  }

  .hero-copy,
  .page-hero .section {
    display: grid;
    justify-items: center;
  }

  .hero-copy .lead,
  .page-hero .lead {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-contact {
    justify-items: center;
  }

  .section {
    padding: clamp(3.4rem, 7vw, 5rem) clamp(1.25rem, 3.5vw, 2rem);
  }

  .content-card,
  .contact-card,
  .contact-form,
  .legal-content {
    padding: clamp(2rem, 4.5vw, 3.2rem);
  }

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

  .contact-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .contact-form {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --copy-size: 1.12rem;
    --copy-size-small: 1.04rem;
    --copy-line: 1.72;
  }

  body {
    line-height: var(--copy-line);
  }

  .header-inner {
    gap: 0.8rem;
  }

  .header-actions {
    gap: 0.55rem;
  }

  .header-actions .cta {
    display: none;
  }

  h1 {
    font-size: clamp(3.6rem, 13vw, 5.7rem);
  }

  .subtitle {
    font-size: clamp(2.55rem, 9vw, 4.2rem);
  }

  .lead,
  .page-hero .lead,
  .hero-copy .lead {
    max-width: 58ch;
    line-height: 1.72;
  }

  .page-hero h1 {
    font-size: clamp(3.2rem, 12vw, 5rem);
  }

  .page-hero .section {
    padding-top: clamp(2.8rem, 7vw, 4rem);
    padding-bottom: clamp(2.5rem, 6vw, 3.5rem);
  }

  .content-card h2,
  .contact-card h2,
  .contact-form h2 {
    font-size: clamp(2.65rem, 9vw, 4rem);
    max-width: 14ch;
  }

  .card-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
  }

  .service-card {
    padding: clamp(1.65rem, 4.5vw, 2.4rem);
  }

  .service-card p {
    max-width: 46ch;
  }

  .copy-list > div {
    text-align: left;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .site-header {
    background: rgba(3, 18, 51, 0.94);
  }

  .header-inner {
    padding: 0.65rem 0.85rem;
  }

  .brand {
    min-width: 0;
    gap: 0.65rem;
  }

  .brand img {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .brand-text {
    min-width: 0;
    display: grid;
  }

  .brand-name {
    max-width: 45vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(1.42rem, 7vw, 1.8rem);
    line-height: 1;
  }

  .brand-kicker {
    display: none;
  }

  .icon-link,
  .nav-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .main-nav {
    top: calc(100% + 0.45rem);
    left: 0.75rem;
    right: 0.75rem;
    max-height: calc(100vh - 5.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.65rem;
    border-radius: 18px;
  }

  .main-nav a {
    min-height: 50px;
    padding: 0.85rem 0.9rem;
    font-size: 0.84rem;
  }

  .hero-inner {
    padding: 2rem 1rem 3rem;
    gap: 1.6rem;
  }

  .logo-stage {
    width: min(210px, 56vw);
    box-shadow: 0 0 24px rgba(255, 204, 0, 0.22), inset 0 0 16px rgba(0, 0, 0, 0.5);
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 4.55rem);
    line-height: 0.98;
  }

  .subtitle {
    font-size: clamp(2.35rem, 13vw, 3.55rem);
    margin-top: 0.9rem;
  }

  .eyebrow {
    gap: 0.55rem;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
  }

  .eyebrow::before {
    width: 36px;
  }

  .hero-copy .lead,
  .page-hero .lead,
  .content-card > p {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    font-size: 1.06rem;
    line-height: 1.68;
  }

  .hero-actions {
    width: 100%;
    gap: 0.8rem;
    margin-top: 1.7rem;
  }

  .hero-actions .cta,
  .contact-form .cta {
    width: 100%;
  }

  .cta {
    min-height: 48px;
    padding: 0.82rem 1rem;
    font-size: 0.82rem;
    text-align: center;
  }

  .hero-contact {
    width: 100%;
    gap: 0.65rem;
    margin-top: 1.6rem;
    font-size: 0.96rem;
    justify-items: stretch;
  }

  .hero-contact span {
    display: block;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    background: rgba(3, 22, 62, 0.52);
  }

  .section {
    padding: 2.6rem 0.95rem;
  }

  .page-hero .section {
    padding-top: 2.25rem;
    padding-bottom: 2.2rem;
  }

  .page-hero h1 {
    font-size: clamp(2.95rem, 15vw, 4.3rem);
    margin-bottom: 1rem;
  }

  .panel,
  .service-card,
  .step,
  .contact-method,
  .info-strip {
    border-radius: 18px;
  }

  .content-card,
  .contact-card,
  .contact-form,
  .legal-content {
    padding: 1.45rem 1rem;
  }

  .content-card::before,
  .service-card::before {
    width: 76%;
    margin-bottom: 1.25rem;
  }

  .content-card h2,
  .contact-card h2,
  .contact-form h2 {
    max-width: 13ch;
    margin-bottom: 1.45rem;
    font-size: clamp(2.35rem, 12vw, 3.45rem);
  }

  .card-grid,
  .copy-list,
  .steps,
  .price-box,
  .contact-methods {
    gap: 1rem;
    margin-top: 1.7rem;
  }

  .service-card {
    padding: 1.35rem 1rem;
  }

  .service-card h3 {
    font-size: clamp(2.15rem, 11vw, 2.85rem);
    margin-bottom: 0.65rem;
  }

  .service-card p,
  .step p,
  .info-strip,
  .copy-list > div,
  .form-note,
  .contact-form p,
  .legal-content p,
  .legal-content li {
    font-size: 1.04rem;
    line-height: 1.66;
  }

  .copy-list > div {
    padding: 1.15rem 1rem;
  }

  .copy-list strong {
    font-size: 2.15rem;
    margin-bottom: 0.45rem;
  }

  .step {
    grid-template-columns: 1fr;
    padding: 1.15rem 1rem;
    gap: 0.9rem;
  }

  .step::before {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
  }

  .step h3 {
    font-size: clamp(2.1rem, 10vw, 2.8rem);
    margin-bottom: 0.45rem;
  }

  .price-main {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.6rem 1rem;
    text-align: center;
  }

  .price-main strong {
    font-size: clamp(3.4rem, 18vw, 4.6rem);
  }

  .price-main span {
    font-size: 1rem;
  }

  .info-strip {
    padding: 1rem;
  }

  .contact-grid {
    gap: 1rem;
  }

  .contact-method {
    align-items: flex-start;
    padding: 1rem;
  }

  .contact-method strong {
    font-size: clamp(1.65rem, 9vw, 2.05rem);
    line-height: 1.1;
  }

  .field input,
  .field textarea {
    min-height: 48px;
    padding: 0.92rem 1rem;
    font-size: 16px;
  }

  .field textarea {
    min-height: 150px;
  }

  .footer-inner {
    padding: 2.4rem 1rem;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-logo strong {
    font-size: 2.35rem;
  }

  .footer-col h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  .footer-col a,
  .footer-col span,
  .footer-col p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .footer-bottom {
    padding: 1.1rem 1rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 430px) {
  .brand-name {
    max-width: 40vw;
    font-size: 1.35rem;
  }

  .header-inner {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .icon-link,
  .nav-toggle {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .logo-stage {
    width: min(185px, 54vw);
  }

  .hero-inner {
    padding-top: 1.65rem;
  }

  .content-card,
  .contact-card,
  .contact-form,
  .legal-content {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
}
