/* ============================================================
   VISTORA DIGITAL — Design system
   Navy #001B46 · Cyan #00B0DE · Ivory #F7F9FB
   Display: Sora · Body: Inter · Utility: JetBrains Mono
   ============================================================ */

:root{
  --navy: #001B46;
  --navy-deep: #010F2B;
  --navy-soft: #133061;
  --cyan: #00B0DE;
  --cyan-bright: #4DD8FF;
  --ivory: #F7F9FB;
  --white: #FFFFFF;
  --slate: #57647D;
  --slate-light: #8493AC;
  --line: rgba(0,27,70,0.10);
  --line-strong: rgba(0,27,70,0.16);

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;

  --shadow-card: 0 1px 2px rgba(0,27,70,0.04), 0 8px 24px rgba(0,27,70,0.06);
  --shadow-lift: 0 20px 60px rgba(0,27,70,0.18);

  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

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

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p{ margin: 0; color: var(--slate); }

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

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

button{ font-family: inherit; cursor: pointer; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
}
.eyebrow::before{
  content: '';
  width: 16px;
  height: 1.5px;
  background: var(--cyan);
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:focus-visible{ outline: 2px solid var(--cyan); outline-offset: 3px; }

.btn-primary{
  background: var(--cyan);
  color: var(--navy-deep);
}
.btn-primary:hover{
  background: var(--cyan-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,176,222,0.35);
}

.btn-estimate{
  background: #FFB020;
  color: var(--navy-deep);
  border-color: #FFB020;
}
.btn-estimate:hover{
  background: #FFC85A;
  border-color: #FFC85A;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255,176,32,0.35);
}

.btn-ghost{
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-ghost:hover{
  border-color: var(--navy);
  transform: translateY(-2px);
}

.btn-ghost-light{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}
.btn-ghost-light:hover{
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-block{ width: 100%; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo img{ height: 30px; width: auto; }

.main-nav{
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy-soft);
  transition: color 0.15s ease;
  position: relative;
}
.main-nav a:hover{ color: var(--cyan); }

.header-actions{ display: flex; align-items: center; gap: 12px; }

.burger{
  display: none;
  width: 40px; height: 40px;
  border: none; background: none;
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after{
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger span::before{ position: absolute; top: -7px; }
.burger span::after{ position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background:
    linear-gradient(135deg, #010B23 0%, #001B46 48%, #02112F 100%);
  overflow: hidden;
  padding: 104px 0 96px;
  isolation: isolate;
}
.hero::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(680px 460px at 18% 28%, rgba(0,176,222,0.22), transparent 64%),
    radial-gradient(520px 520px at 82% 16%, rgba(77,216,255,0.13), transparent 58%),
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: auto, auto, 54px 54px, 54px 54px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.95), rgba(0,0,0,0.78) 55%, rgba(0,0,0,0.40));
  pointer-events: none;
}
.hero::after{
  content: '';
  position: absolute;
  z-index: 0;
  top: -16%;
  right: -10%;
  width: 66%;
  height: 138%;
  background-image:
    linear-gradient(135deg, rgba(0,176,222,0.18), transparent 34%),
    url('../assets/hero-pattern.svg');
  background-repeat: no-repeat;
  background-size: cover, contain;
  background-position: center;
  opacity: 0.62;
  filter: saturate(1.1);
  pointer-events: none;
}
.hero .container{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy .eyebrow{ color: var(--cyan-bright); margin-bottom: 22px; }
.hero-copy .eyebrow::before{ background: var(--cyan-bright); }
.hero-copy h1{
  color: var(--white);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-copy h1 em{
  font-style: normal;
  color: var(--cyan-bright);
}
.hero-copy .lede{
  color: rgba(255,255,255,0.72);
  font-size: 17.5px;
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-trust{
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-trust-item{ display: flex; flex-direction: column; gap: 2px; }
.hero-trust-item .num{
  font-family: var(--font-display);
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
}
.hero-trust-item .label{
  color: rgba(255,255,255,0.55);
  font-size: 12.5px;
}

/* Signature element: stacked browser mockups */
.hero-visual{
  position: relative;
  height: 460px;
}
.hero-visual::before{
  content: '';
  position: absolute;
  inset: 20px -18px 28px 10px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)),
    linear-gradient(rgba(77,216,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,216,255,0.10) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 30px 90px rgba(0,0,0,0.18);
  opacity: 0.75;
}
.hero-visual::after{
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  right: 18%;
  top: 16%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(77,216,255,0.28), transparent 66%);
  filter: blur(10px);
}
.hero-flow{
  position: absolute;
  left: 1%;
  right: 2%;
  top: 34%;
  height: 142px;
  z-index: 1;
  opacity: 0.55;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(77,216,255,0.34) 8% 9%, transparent 9% 42%, rgba(77,216,255,0.28) 42% 43%, transparent 43% 78%, rgba(77,216,255,0.22) 78% 79%, transparent 79%),
    radial-gradient(circle at 9% 50%, rgba(77,216,255,0.85) 0 4px, transparent 5px),
    radial-gradient(circle at 43% 50%, rgba(77,216,255,0.75) 0 4px, transparent 5px),
    radial-gradient(circle at 79% 50%, rgba(77,216,255,0.65) 0 4px, transparent 5px);
}
.hero-chip{
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(1,15,43,0.74);
  box-shadow: 0 16px 40px rgba(0,0,0,0.24);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,0.88);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-chip::before{
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 18px rgba(77,216,255,0.75);
}
.chip-seo{ top: 30px; right: 18%; }
.chip-responsive{ top: 142px; right: 2%; }
.chip-devis{ left: 3%; bottom: 72px; }
.chip-conversion{ right: 10%; bottom: 18px; }
.mockup{
  position: absolute;
  z-index: 3;
  width: 78%;
  border-radius: var(--radius-m);
  background: rgba(247,249,251,0.96);
  box-shadow: 0 24px 70px rgba(0,0,0,0.26);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
}
.mockup-bar{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.mockup-bar span{ width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.mockup-body{ padding: 16px; }
.mockup-nav{ display:flex; justify-content: space-between; align-items:center; margin-bottom: 14px; }
.mockup-nav .brand{ width: 46px; height: 8px; border-radius: 4px; background: var(--navy); opacity: 0.85; }
.mockup-nav .links{ display:flex; gap:6px; }
.mockup-nav .links span{ width: 20px; height: 6px; border-radius: 3px; background: var(--line-strong); }
.mockup-hero{ height: 64px; border-radius: 10px; background: linear-gradient(120deg, var(--cyan) 0%, var(--navy-soft) 100%); margin-bottom: 12px; opacity: 0.92; }
.mockup-lines span{ display:block; height: 7px; border-radius: 4px; background: var(--line-strong); margin-bottom: 8px; }
.mockup-lines span:nth-child(1){ width: 92%; }
.mockup-lines span:nth-child(2){ width: 68%; }
.mockup-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 14px; }
.mockup-grid div{ height: 34px; border-radius: 6px; background: var(--line); }

.m1{ top: 8px; left: 0; z-index: 5; transform: rotate(-3deg); }
.m2{ top: 100px; right: 0; left: auto; z-index: 4; transform: rotate(3deg); opacity: 0.94; }
.m3{ top: 210px; left: 10%; z-index: 3; transform: rotate(-1.5deg); opacity: 0.72; filter: saturate(0.85); }

/* ---------- Section shell ---------- */
section{ padding: 88px 0; }
.section-head{
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head h2{
  font-size: clamp(26px, 3vw, 36px);
  margin: 14px 0 12px;
}
.section-head p{ font-size: 16px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow{ justify-content: center; }
.section-head.center .eyebrow::before{ display:none; }

/* ---------- Bandeau réassurance ---------- */
.trust-bar{
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.trust-bar .container{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}
.trust-bar-item{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--navy-soft);
}
.trust-bar-item .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

/* ---------- Pour qui / secteurs grid ---------- */
.sector-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.sector-card{
  padding: 26px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.sector-card:hover{
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.sector-card .icon{
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--cyan);
}
.sector-card h3{ font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.sector-card p{ font-size: 13.5px; line-height: 1.45; }

/* ---------- Launch banner ---------- */
.launch-banner{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--navy-deep);
  color: var(--white);
  border-radius: 100px;
  padding: 12px 26px;
  max-width: fit-content;
  margin: 0 auto 40px;
  font-size: 14px;
}
.launch-banner .tag{
  background: var(--cyan);
  color: var(--navy-deep);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.launch-banner .spots{
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
  font-size: 13px;
}
.launch-banner .spots strong{ color: var(--cyan-bright); }
.launch-track{
  width: 90px; height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.16);
  overflow: hidden;
}
.launch-track span{
  display: block; height: 100%;
  background: var(--cyan);
  border-radius: 4px;
}


/* ---------- Calculator promo ---------- */
.calculator-promo{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  margin: 0 auto 34px;
  border: 1px solid rgba(0,176,222,0.22);
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, rgba(0,176,222,0.09), var(--white) 54%, rgba(0,27,70,0.04));
  box-shadow: var(--shadow-card);
}
.calculator-promo-content{
  max-width: 720px;
}
.calculator-promo-tag{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 10px;
}
.calculator-promo-tag::before{
  content: '';
  width: 16px;
  height: 1.5px;
  background: var(--cyan);
}
.calculator-promo h3{
  font-size: clamp(21px, 2.3vw, 30px);
  margin-bottom: 8px;
}
.calculator-promo p{
  font-size: 15px;
  max-width: 670px;
}
.calculator-promo .btn{
  flex-shrink: 0;
}

/* ---------- Offers ---------- */
.offers-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.offer-card{
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--white);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.offer-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-card); }
.offer-card.featured{
  border-color: var(--navy);
  background: var(--navy-deep);
}
.offer-badge{
  position: absolute;
  top: -13px; left: 24px;
  background: var(--cyan);
  color: var(--navy-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 100px;
  white-space: nowrap;
}
.offer-name{ font-size: 12.5px; font-family: var(--font-mono); color: var(--cyan); margin-bottom: 10px; letter-spacing: 0.03em; }
.offer-card.featured .offer-name{ color: var(--cyan-bright); }
.offer-card h3{ font-size: 19px; margin-bottom: 14px; }
.offer-card.featured h3{ color: var(--white); }
.offer-price{ display:flex; align-items: baseline; gap: 8px; margin-bottom: 2px; flex-wrap: wrap; }
.offer-price .amount{ font-family: var(--font-display); font-size: 27px; font-weight: 700; }
.offer-card.featured .offer-price .amount{ color: var(--white); }
.offer-price .old{
  font-size: 14px;
  color: var(--slate-light);
  text-decoration: line-through;
  font-weight: 500;
}
.offer-card.featured .offer-price .old{ color: rgba(255,255,255,0.4); }
.offer-save{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  background: rgba(0,176,222,0.1);
  padding: 3px 9px;
  border-radius: 100px;
  margin-bottom: 14px;
  font-weight: 500;
}
.offer-card.featured .offer-save{ background: rgba(0,176,222,0.18); color: var(--cyan-bright); }
.offer-price .unit{ font-size: 13px; color: var(--slate); }
.offer-card.featured .offer-price .unit{ color: rgba(255,255,255,0.5); }
.offer-delay{ font-size: 13px; color: var(--slate-light); margin-bottom: 22px; }
.offer-card.featured .offer-delay{ color: rgba(255,255,255,0.45); }
.offer-list{ list-style: none; margin: 0 0 28px; padding: 0; flex-grow: 1; }
.offer-list li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--navy-soft);
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.offer-list li:first-child{ border-top: none; }
.offer-card.featured .offer-list li{ color: rgba(255,255,255,0.82); border-top-color: rgba(255,255,255,0.1); }
.offer-list li .check{ color: var(--cyan); flex-shrink: 0; margin-top: 1px; }

/* ---------- Method steps ---------- */
.method-steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card{
  padding: 30px 26px;
  border-radius: var(--radius-m);
  background: var(--ivory);
  position: relative;
}
.step-num{
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  display: block;
}
.step-card h3{ font-size: 18px; margin-bottom: 10px; }
.step-card p{ font-size: 14.5px; }
.step-arrow{
  position: absolute;
  top: 40px; right: -30px;
  color: var(--line-strong);
  font-size: 22px;
  z-index: 2;
}

/* ---------- Réalisations preview ---------- */
.work-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.work-card{
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ivory);
}
.work-thumb{
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-soft), var(--navy-deep));
  position: relative;
  overflow: hidden;
}
.work-thumb::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1,15,43,0.02), rgba(1,15,43,0.14));
  pointer-events: none;
}
.work-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.work-card:hover .work-thumb img{
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.03);
}
.work-meta{ padding: 14px 16px; }
.work-meta .sector{ font-family: var(--font-mono); font-size: 11px; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.04em; }
.work-meta h4{ font-size: 14.5px; font-weight: 600; margin-top: 4px; }

/* ---------- Témoignages ---------- */
.testi-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card{
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
}
.testi-stars{ color: var(--cyan); font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.testi-quote{ font-size: 15px; color: var(--navy-soft); line-height: 1.6; margin-bottom: 22px; }
.testi-author{ display: flex; align-items: center; gap: 12px; }
.testi-avatar{
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy);
  display:flex; align-items:center; justify-content:center;
  color: var(--white); font-family: var(--font-display); font-size: 13px; font-weight: 700;
}
.testi-author .name{ font-size: 14px; font-weight: 600; color: var(--navy); }
.testi-author .role{ font-size: 12.5px; color: var(--slate-light); }

/* ---------- FAQ ---------- */
.faq-list{ max-width: 780px; }
.faq-item{
  border-bottom: 1px solid var(--line);
}
.faq-question{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}
.faq-question .plus{
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.25s ease, border-color 0.2s ease;
}
.faq-question .plus::before, .faq-question .plus::after{
  content:'';
  position: absolute;
  background: var(--navy);
}
.faq-question .plus::before{ width: 10px; height: 1.4px; }
.faq-question .plus::after{ width: 1.4px; height: 10px; transition: opacity 0.2s ease; }
.faq-item.open .faq-question .plus{ transform: rotate(45deg); border-color: var(--cyan); }
.faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p{ padding: 0 4px 22px; font-size: 14.5px; line-height: 1.6; max-width: 620px; }
.faq-item.open .faq-answer{ max-height: 220px; }

/* ---------- CTA final ---------- */
.cta-final{
  background: var(--navy-deep);
  border-radius: var(--radius-l);
  margin: 0 28px;
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-final::before{
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 50% 0%, rgba(0,176,222,0.18), transparent 60%);
}
.cta-final-inner{ position: relative; max-width: 560px; margin: 0 auto; }
.cta-final h2{ color: var(--white); font-size: clamp(24px,3vw,32px); margin-bottom: 14px; }
.cta-final p{ color: rgba(255,255,255,0.65); margin-bottom: 30px; }
.cta-final-actions{ display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy-deep);
  padding: 64px 0 28px;
  margin-top: 0;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img{ height: 26px; margin-bottom: 16px; }
.footer-brand p{ color: rgba(255,255,255,0.5); font-size: 13.5px; max-width: 260px; }
.footer-col h4{
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.footer-col ul{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ color: rgba(255,255,255,0.68); font-size: 14px; transition: color 0.15s ease; }
.footer-col a:hover{ color: var(--cyan-bright); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p{ color: rgba(255,255,255,0.4); font-size: 13px; }
.footer-legal{
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-legal a,
.footer-cookie-link{
  color: rgba(255,255,255,0.4);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
.footer-legal a:hover,
.footer-legal a:focus-visible,
.footer-cookie-link:hover,
.footer-cookie-link:focus-visible{
  color: var(--white);
}

/* ---------- Nav active state ---------- */
.main-nav a.active,
.mobile-nav a.active{
  color: var(--cyan);
}

/* ---------- Page hero (sous-pages) ---------- */
.page-hero{
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
  padding: 56px 0 100px;
}
.page-hero::before{
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(500px 320px at 85% 0%, rgba(0,176,222,0.14), transparent 60%);
  pointer-events: none;
}
.page-hero .container{ position: relative; z-index: 1; max-width: 700px; }
.page-hero .eyebrow{ color: var(--cyan-bright); margin-bottom: 18px; }
.page-hero .eyebrow::before{ background: var(--cyan-bright); }
.page-hero h1{
  color: var(--white);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  margin-bottom: 16px;
}
.page-hero p{
  color: rgba(255,255,255,0.68);
  font-size: 16.5px;
  max-width: 520px;
}
.page-hero-actions{
  margin-top: 28px;
  margin-bottom: 0;
}
.page-hero-actions .btn-ghost-light{
  background: rgba(255,255,255,0.04);
}
.page-hero-pull{
  margin-top: -70px;
  position: relative;
  z-index: 2;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb{
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 22px;
}
.breadcrumb a{ color: rgba(255,255,255,0.7); }
.breadcrumb a:hover{ color: var(--cyan-bright); }

/* ---------- Comparison table ---------- */
.compare-wrap{
  overflow-x: auto;
  border-radius: var(--radius-l);
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.compare-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.compare-table th, .compare-table td{
  padding: 18px 22px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th{
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: var(--navy-deep);
  white-space: nowrap;
  padding-top: 22px;
  padding-bottom: 22px;
}
.compare-table thead th:first-child{
  background: var(--navy-deep);
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare-table thead th.col-featured{
  color: var(--cyan-bright);
  position: relative;
}
.compare-table td:first-child, .compare-table th:first-child{
  text-align: left;
  position: sticky;
  left: 0;
}
.compare-table td:first-child{
  font-weight: 500;
  color: var(--navy-soft);
  background: var(--white);
  font-size: 13.5px;
}
.compare-table tbody tr:nth-child(even) td:first-child{ background: var(--ivory); }
.compare-table tbody tr:nth-child(even){ background: var(--ivory); }
.compare-table tbody tr:nth-child(even) .col-featured{ background: rgba(0,176,222,0.09); }
.compare-table td{ color: var(--slate); }
.compare-table .col-featured{ background: rgba(0,176,222,0.06); }
.compare-table tbody tr:last-child td{ border-bottom: none; }
.compare-table tbody tr:hover td{ background: rgba(0,27,70,0.025); }
.compare-table tbody tr:hover .col-featured{ background: rgba(0,176,222,0.1); }

.mark{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
}
.mark-yes{ background: rgba(0,176,222,0.14); color: var(--cyan); }
.mark-no{ background: var(--line); color: var(--slate-light); }
.mark-yes svg, .mark-no svg{ width: 12px; height: 12px; }

/* ---------- Inclusions grid ---------- */
.inclusions-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.inclusion-item{
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.inclusion-item:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(0,176,222,0.35);
}
.inclusion-item .icon{
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(0,176,222,0.14), rgba(0,27,70,0.06));
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.inclusion-item h4{ font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.inclusion-item p{ font-size: 13.5px; line-height: 1.5; }


/* ---------- Calculateur de prix ---------- */
.price-calculator-section{
  background: linear-gradient(180deg, var(--white), var(--ivory));
  padding-top: 96px;
}
.calculator-shell{
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 22px;
  align-items: stretch;
}
.calculator-aside{
  background: var(--navy-deep);
  border-radius: var(--radius-l);
  padding: 34px 30px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.calculator-aside::before{
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 260px at 20% 0%, rgba(0,176,222,0.22), transparent 60%);
  pointer-events: none;
}
.calculator-aside > *{ position: relative; z-index: 1; }
.calc-kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  margin-bottom: 16px;
}
.calc-kicker::before{ content:''; width: 16px; height: 1.5px; background: var(--cyan-bright); }
.calculator-aside h3{ color: var(--white); font-size: 24px; margin-bottom: 12px; }
.calculator-aside p{ color: rgba(255,255,255,0.62); font-size: 14.5px; line-height: 1.6; }
.calc-progress{
  width: 100%; height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
  margin: 30px 0 24px;
}
.calc-progress-bar{
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--cyan);
  transition: width 0.25s ease;
}
.calc-steps-nav{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.calc-steps-nav li{
  color: rgba(255,255,255,0.48);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.calc-steps-nav li::before{
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  flex-shrink: 0;
}
.calc-steps-nav li.active{ color: var(--white); font-weight: 600; }
.calc-steps-nav li.active::before{ background: var(--cyan-bright); }
.calc-steps-nav li.done{ color: rgba(255,255,255,0.72); }
.calc-steps-nav li.done::before{ background: rgba(77,216,255,0.55); }
.price-calculator{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 34px;
  box-shadow: var(--shadow-card);
  min-height: 560px;
  display: flex;
  flex-direction: column;
}
.calc-alert{
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,111,97,0.11);
  border: 1px solid rgba(255,111,97,0.22);
  color: #9E2B24;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.calc-alert.show{ display: block; }
.calc-step{ display: none; }
.calc-step.active{ display: block; animation: calcFade 0.22s ease; }
@keyframes calcFade{ from{ opacity:0; transform: translateY(8px); } to{ opacity:1; transform: translateY(0); } }
.calc-step-head{ margin-bottom: 24px; }
.calc-count{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  margin-bottom: 10px;
}
.calc-step-head h3{ font-size: clamp(23px,2.4vw,31px); margin-bottom: 10px; }
.calc-step-head p{ font-size: 15px; max-width: 700px; }
.choice-grid,
.option-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.choice-grid.compact{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-card,
.toggle-card{
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 18px 18px 17px;
  background: var(--white);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
  min-height: 118px;
}
.choice-card:hover,
.toggle-card:hover{
  border-color: rgba(0,176,222,0.42);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.choice-card input,
.toggle-card input{ position: absolute; opacity: 0; pointer-events: none; }
.choice-card:has(input:checked),
.toggle-card:has(input:checked){
  border-color: var(--cyan);
  background: rgba(0,176,222,0.06);
  box-shadow: 0 0 0 3px rgba(0,176,222,0.12);
}
.choice-card span,
.toggle-card span{ font-weight: 700; color: var(--navy); font-size: 15px; }
.choice-card small,
.toggle-card small{ color: var(--slate); font-size: 13px; line-height: 1.45; }
.calc-field-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.calc-field-grid.single-top{ margin-top: 18px; grid-template-columns: minmax(0, 1fr); max-width: 520px; }
.calc-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calc-field span{
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.calc-field input,
.calc-field select,
.calc-field textarea{
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.calc-field textarea{ resize: vertical; min-height: 112px; }
.calc-field input:focus,
.calc-field select:focus,
.calc-field textarea:focus{
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,176,222,0.12);
}
.calc-field small{ color: var(--slate-light); font-size: 12.5px; }
.toggle-line{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--ivory);
  color: var(--navy-soft);
  font-weight: 600;
}
.toggle-line input{ width: 18px; height: 18px; accent-color: var(--cyan); }
.calc-actions{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 28px;
}
.calc-actions .btn{ min-width: 150px; }
.calc-result-card{
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--ivory);
}
.calc-result-main{
  background: var(--navy-deep);
  padding: 30px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.calc-result-main::before{
  content:'';
  position:absolute; inset:0;
  background: radial-gradient(460px 260px at 82% 0%, rgba(0,176,222,0.22), transparent 60%);
  pointer-events:none;
}
.calc-result-main > *{ position:relative; z-index:1; }
.calc-result-main .label{
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 12px;
  color: var(--cyan-bright);
  margin-bottom: 10px;
}
.calc-result-main h3{ color: var(--white); font-size: clamp(24px,3vw,34px); margin-bottom: 8px; }
.calc-result-main p{ color: rgba(255,255,255,0.66); font-size: 14.5px; max-width: 620px; }
.calc-result-body{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 24px;
}
.calc-summary-box,
.calc-warning-box{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px;
}
.calc-summary-box h4,
.calc-warning-box h4{ font-size: 16px; margin-bottom: 12px; }
.calc-summary-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.calc-summary-list li{
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
  font-size: 13.5px;
  color: var(--slate);
}
.calc-summary-list li:last-child{ border-bottom: none; padding-bottom: 0; }
.calc-summary-list strong{ color: var(--navy-soft); }
.calc-warning-box p{ font-size: 13.5px; line-height: 1.55; margin-bottom: 14px; }
.calc-result-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 24px 24px;
}
.calc-result-note{
  font-size: 12.5px;
  color: var(--slate-light);
  padding: 0 24px 24px;
}
.calc-copy-feedback{
  display:none;
  font-size: 13px;
  color: var(--cyan);
  font-weight: 600;
  align-self: center;
}
.calc-copy-feedback.show{ display:inline-flex; }

@media (max-width: 1024px){
  .calculator-shell{ grid-template-columns: 1fr; }
  .calculator-aside{ padding: 28px; }
  .calculator-promo{ flex-direction: column; align-items: flex-start; }
  .calculator-promo .btn{ width: 100%; }
  .calc-steps-nav{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px 14px; }
}
@media (max-width: 700px){
  .price-calculator-section{ padding-top: 70px; }
  .calculator-promo{ padding: 22px 18px; margin-bottom: 28px; }
  .page-hero-actions .btn{ width: 100%; }
  .price-calculator{ padding: 24px 18px; min-height: auto; }
  .calculator-aside{ padding: 24px 20px; }
  .calc-steps-nav{ grid-template-columns: 1fr 1fr; }
  .choice-grid,
  .choice-grid.compact,
  .option-grid,
  .calc-field-grid,
  .calc-result-body{ grid-template-columns: 1fr; }
  .choice-card,
  .toggle-card{ min-height: auto; }
  .calc-actions{ flex-direction: column-reverse; }
  .calc-actions .btn{ width: 100%; }
  .calc-result-actions .btn{ width: 100%; }
  .calc-summary-list li{ flex-direction: column; gap: 3px; }
}

[data-reveal]{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Empêche le scroll horizontal sans casser sticky/fixed */
body {
  max-width: 100%;
}

/* Clip le SVG de fond du hero pour éviter le scroll horizontal */
.hero,
.trust-bar,
.for-who,
.offers,
.method,
.work-preview,
.testimonials,
.faq,
.profile-section,
.offer-fit-section,
.qualification-section,
.calculator-promo-section,
.site-footer {
  overflow: hidden;
}

@media (max-width: 1024px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-visual{ display: none; }
  .hero::after{ display: none; } /* Retire le SVG de fond sur tablette/mobile */
  .sector-grid{ grid-template-columns: repeat(3, 1fr); }
  .work-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .offers-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 840px){
  /* Nav desktop masquée */
  .main-nav{ display: none; }

  /* Bouton devis dans le header : masqué sur mobile */
  .header-actions .btn { display: none; }

  /* Burger toujours visible */
  .burger{
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Offres, méthode, témoignages */
  .offers-grid{ grid-template-columns: 1fr; }
  .method-steps{ grid-template-columns: 1fr; }
  .step-arrow{ display: none; }
  .testi-grid{ grid-template-columns: 1fr; }
  .trust-bar .container{ justify-content: flex-start; }
  .inclusions-grid{ grid-template-columns: 1fr 1fr; }

  /* Mobile nav — activée sur mobile */
  .mobile-nav {
    display: flex;
  }
  .mobile-nav.open {
    transform: translateX(0);
  }

  /* Icône burger animée quand ouverte */
  .burger.is-open span { background: transparent; }
  .burger.is-open span::before { transform: rotate(45deg) translate(5px, 5px); }
  .burger.is-open span::after { transform: rotate(-45deg) translate(5px, -5px); }
}

@media (max-width: 600px){
  section{ padding: 60px 0; }
  .sector-grid{ grid-template-columns: repeat(2, 1fr); }
  .work-grid{ grid-template-columns: 1fr 1fr; }
  .footer-top{ grid-template-columns: 1fr; gap: 28px; }
  .cta-final{ margin: 0 16px; padding: 44px 24px; }
  .inclusions-grid{ grid-template-columns: 1fr; }

  /* Header compact sur très petit écran */
  .site-header .container{ height: 64px; }
  .logo img{ height: 24px; }
}

/* ---------- Mobile nav — cachée par défaut (desktop) ---------- */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  position: fixed;
  top: 78px;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 28px 48px;
  background: var(--white);
  z-index: 9999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}
.mobile-nav a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  display: block;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--cyan); }
.mobile-nav .btn {
  margin-top: 24px;
  display: flex;
}

/* ---------- Table mobile : cartes empilées ---------- */
@media (max-width: 700px){
  .compare-wrap{ border: none; background: transparent; box-shadow: none; }
  .compare-table{ display: none; }
  .compare-mobile{ display: flex; flex-direction: column; gap: 14px; }
}
@media (min-width: 701px){
  .compare-mobile{ display: none; }
}
.compare-mobile-card{
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
  overflow: hidden;
}
.compare-mobile-card.is-featured{
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,176,222,0.15);
}
.compare-mobile-card-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--navy-deep);
}
.compare-mobile-card.is-featured .compare-mobile-card-head{
  background: linear-gradient(90deg, var(--navy-deep), var(--navy-soft));
}
.compare-mobile-card-head .name{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}
.compare-mobile-card-head .price{
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--cyan-bright);
}
.compare-mobile-card-head .price small{
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  text-decoration: line-through;
  margin-right: 6px;
}
.compare-mobile-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.compare-mobile-row:last-child{ border-bottom: none; }
.compare-mobile-row .feat{ color: var(--navy-soft); font-weight: 500; }
.compare-mobile-row .val{ color: var(--slate); text-align: right; flex-shrink: 0; }


/* ============================================================
   CORRECTIF MENU BURGER MOBILE
   À garder en fin de fichier : ces règles doivent passer APRÈS
   la définition desktop .mobile-nav { display: none; }
   ============================================================ */
@media (max-width: 840px){
  .mobile-nav{
    display: flex;
    top: 78px;
  }

  .mobile-nav.open{
    transform: translateX(0);
  }

  .burger.is-open span{ background: transparent; }
  .burger.is-open span::before{ transform: rotate(45deg) translate(5px, 5px); }
  .burger.is-open span::after{ transform: rotate(-45deg) translate(5px, -5px); }
}

@media (max-width: 600px){
  .mobile-nav{ top: 64px; }
}


/* ============================================================
   POUR QUI — page profils, qualification et choix d'offre
   ============================================================ */
.page-hero-wide .container{
  max-width: 860px;
}
.pourqui-hero .page-hero-actions{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}
.benefit-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: -6px;
}
.benefit-card{
  padding: 30px 26px;
  border-radius: var(--radius-l);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.benefit-card h2{
  font-size: 19px;
  margin-bottom: 10px;
}
.benefit-card p{
  font-size: 14.5px;
  line-height: 1.6;
}
.profile-section{
  background: var(--white);
}
.profile-layout{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  align-items: start;
}
.profile-tabs{
  display:flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--ivory);
  position: sticky;
  top: 108px;
}
.profile-tab{
  width:100%;
  text-align:left;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--navy-soft);
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.profile-tab:hover{
  background: var(--white);
  transform: translateX(2px);
}
.profile-tab:focus-visible{
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.profile-tab.active,
.profile-tab[aria-selected="true"]{
  background: var(--navy-deep);
  color: var(--white);
  border-color: var(--navy-deep);
  box-shadow: 0 12px 30px rgba(0,27,70,0.12);
}
.profile-panels{
  min-width: 0;
}
.profile-panel{
  display:grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, var(--white) 0%, var(--ivory) 100%);
  box-shadow: var(--shadow-card);
}
.profile-panel[hidden]{ display:none; }
.profile-tag{
  display:inline-flex;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.profile-copy h3{
  font-size: clamp(24px, 2.6vw, 34px);
  margin-bottom: 14px;
}
.profile-copy p{
  font-size: 16px;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 24px;
}
.profile-specs{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.profile-specs div{
  padding: 16px 18px;
  border-radius: var(--radius-m);
  background: var(--white);
  border: 1px solid var(--line);
}
.profile-specs strong{
  display:block;
  color: var(--navy);
  font-size: 13px;
  margin-bottom: 4px;
}
.profile-specs span{
  display:block;
  color: var(--slate);
  font-size: 13.5px;
  line-height: 1.45;
}
.offer-fit-section{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fit-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.fit-card{
  padding: 26px 22px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0,27,70,0.03);
}
.fit-card.highlighted{
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}
.fit-price{
  display:inline-flex;
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.fit-card h3{
  font-size: 20px;
  margin-bottom: 10px;
}
.fit-card p{
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.fit-card ul{
  margin: 0;
  padding-left: 18px;
  color: var(--slate);
  font-size: 13.5px;
  line-height: 1.7;
}
.fit-card.highlighted h3,
.fit-card.highlighted p,
.fit-card.highlighted ul{
  color: rgba(255,255,255,0.82);
}
.fit-card.highlighted h3{
  color: var(--white);
}
.qualification-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}
.qualification-copy h2{
  font-size: clamp(26px, 3vw, 36px);
  margin: 14px 0 12px;
}
.qualification-list{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.qualification-list div{
  display:flex;
  align-items:flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy-soft);
  font-weight: 500;
}
.qualification-list span{
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}
.not-fit-box{
  margin-top: 28px;
  padding: 26px 28px;
  border-radius: var(--radius-l);
  border: 1px solid rgba(255,176,32,0.36);
  background: linear-gradient(135deg, rgba(255,176,32,0.12), var(--white));
}
.not-fit-box h3{
  font-size: 20px;
  margin-bottom: 10px;
}
.not-fit-box p{
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 860px;
}
.calculator-promo-section{
  padding-top: 0;
  padding-bottom: 72px;
}

@media (max-width: 1024px){
  .profile-layout,
  .profile-panel,
  .qualification-grid{ grid-template-columns: 1fr; }
  .profile-tabs{
    position: static;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .fit-grid,
  .benefit-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px){
  .pourqui-hero .page-hero-actions .btn{ width:100%; }
  .profile-tabs{ grid-template-columns: 1fr; }
  .profile-panel{ padding: 24px 18px; }
  .fit-grid,
  .benefit-grid{ grid-template-columns: 1fr; }
  .benefit-card{ padding: 24px 20px; }
  .qualification-list div{ padding: 14px 15px; }
}

/* ============================================================
   POURQUOI NOUS CHOISIR — page réassurance & conversion
   ============================================================ */
.why-hero .page-hero-actions{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}
.why-proof-section{
  background: var(--white);
  border-top: 1px solid var(--line);
}
.proof-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.proof-card{
  padding: 28px 24px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.proof-card span,
.why-process-step span{
  display:inline-flex;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 13px;
}
.proof-card h3{
  font-size: 19px;
  margin-bottom: 10px;
}
.proof-card p{
  font-size: 14.5px;
  line-height: 1.6;
}
.proof-card.highlighted{
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}
.proof-card.highlighted h3{ color: var(--white); }
.proof-card.highlighted p{ color: rgba(255,255,255,0.72); }
.why-process{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: process;
}
.why-process-step{
  position: relative;
  padding: 28px 22px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0,27,70,0.03);
}
.why-process-step::after{
  content:'';
  position:absolute;
  right: 18px;
  top: 31px;
  width: 22px;
  height: 1.5px;
  background: rgba(0,176,222,0.34);
}
.why-process-step h3{
  font-size: 18px;
  margin-bottom: 10px;
}
.why-process-step p{
  font-size: 14px;
  line-height: 1.6;
}
.why-cta-section{
  background: linear-gradient(180deg, var(--white), var(--ivory));
  border-top: 1px solid var(--line);
}
.maturity-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.maturity-card{
  display:flex;
  flex-direction:column;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.maturity-card h3{
  font-size: 20px;
  margin-bottom: 10px;
}
.maturity-card p{
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.maturity-card .btn{ margin-top: auto; }
.maturity-card.highlighted{
  border-color: rgba(255,176,32,0.55);
  background: linear-gradient(180deg, rgba(255,176,32,0.13), var(--white) 46%);
  box-shadow: 0 20px 46px rgba(0,27,70,0.10);
}

@media (min-width: 1025px){
  .main-nav{ gap: 24px; }
  .main-nav a{ font-size: 14px; }
}

@media (max-width: 1024px){
  .proof-grid,
  .why-process,
  .maturity-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px){
  .proof-grid,
  .why-process,
  .maturity-grid{ grid-template-columns: 1fr; }
  .proof-card,
  .why-process-step,
  .maturity-card{ padding: 24px 20px; }
}

/* ============================================================
   RÉALISATIONS — page cas clients, SEO & portfolio
   ============================================================ */
.realisations-hero .container{
  max-width: 840px;
}
.case-studies-section{
  background: var(--white);
  border-top: 1px solid var(--line);
}
.case-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.case-card{
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.case-card-featured{
  border-color: rgba(0,176,222,0.24);
  box-shadow: 0 22px 70px rgba(0,27,70,0.10);
}
.case-visual{
  min-height: 100%;
  padding: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-soft), var(--navy-deep));
  isolation: isolate;
}
.case-visual img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.01);
  z-index: 0;
}
.case-visual::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1,15,43,0.06) 0%, rgba(1,15,43,0.18) 48%, rgba(1,15,43,0.72) 100%);
  z-index: 1;
}
.case-visual::after{
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: calc(var(--radius-l) - 12px);
  z-index: 2;
  pointer-events: none;
}
.case-visual span{
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(1,15,43,0.78);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.20);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.case-visual.shift-r img{ object-position: center top; }
.case-visual.pictured-life img{ object-position: center top; }
.case-visual.ringside img{ object-position: center center; }
.case-content{
  padding: clamp(26px, 4vw, 42px);
}
.case-topline{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.case-topline span{
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--navy-soft);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.case-topline span:first-child{
  color: var(--cyan);
  background: rgba(0,176,222,0.08);
  border-color: rgba(0,176,222,0.18);
}
.case-content h3{
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 12px;
}
.case-content p{
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 760px;
  margin-bottom: 20px;
}
.case-points{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.case-points li{
  position: relative;
  padding-left: 18px;
  color: var(--navy-soft);
  font-size: 14px;
  line-height: 1.55;
}
.case-points li::before{
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-weight: 700;
}
.case-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.realisations-method-section{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.realisations-check-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.check-card{
  padding: 26px 22px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0,27,70,0.03);
}
.check-card span{
  display: inline-flex;
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.check-card h3{
  font-size: 18px;
  margin-bottom: 10px;
}
.check-card p{
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1024px){
  .case-card{
    grid-template-columns: 1fr;
  }
  .case-visual{
    min-height: 260px;
  }
  .realisations-check-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px){
  .case-content{
    padding: 24px 18px;
  }
  .case-points,
  .realisations-check-grid{
    grid-template-columns: 1fr;
  }
  .case-actions .btn{
    width: 100%;
  }
}


/* ============================================================
   Page Méthode
   ============================================================ */
.methode-hero .container{
  max-width: 860px;
}
.methode-benefits .benefit-card{
  min-height: 100%;
}
.methode-process{
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.method-flow{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.method-flow-card{
  position: relative;
  padding: 28px 20px;
  border-radius: var(--radius-l);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.method-flow-card::after{
  content: '';
  position: absolute;
  top: 42px;
  right: -10px;
  width: 20px;
  height: 2px;
  background: var(--cyan);
  opacity: 0.45;
}
.method-flow-card:last-child::after{
  display: none;
}
.method-flow-card span,
.methode-check-card::before,
.cta-choice-card::before{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}
.method-flow-card span{
  display: inline-flex;
  margin-bottom: 16px;
  font-weight: 600;
}
.method-flow-card h3{
  font-size: 18px;
  margin-bottom: 10px;
}
.method-flow-card p{
  font-size: 14px;
  line-height: 1.6;
}
.methode-frame{
  background: var(--white);
}
.methode-frame-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.methode-check-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.methode-check-card{
  padding: 26px 24px;
  border-radius: var(--radius-l);
  background: var(--ivory);
  border: 1px solid var(--line);
}
.methode-check-card::before{
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(0,176,222,0.11);
  font-size: 14px;
}
.methode-check-card h3{
  font-size: 18px;
  margin-bottom: 8px;
}
.methode-check-card p{
  font-size: 14.5px;
  line-height: 1.6;
}
.methode-avoid{
  background: var(--ivory);
}
.methode-cta-choice{
  background: var(--white);
}
.cta-choice-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cta-choice-card{
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-l);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-choice-card::before{
  content: 'Option';
  text-transform: uppercase;
}
.cta-choice-card h3{
  font-size: 20px;
}
.cta-choice-card p{
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1;
}
.cta-choice-card.featured{
  border-color: rgba(255,176,32,0.45);
  box-shadow: 0 16px 42px rgba(255,176,32,0.14);
}
.cta-choice-card.featured::before{
  content: 'Recommandé';
  color: #FF9A00;
}
@media (max-width: 1100px){
  .method-flow{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .method-flow-card::after{
    display: none;
  }
}
@media (max-width: 900px){
  .methode-frame-grid,
  .cta-choice-grid{
    grid-template-columns: 1fr;
  }
  .methode-frame-grid{
    gap: 24px;
  }
}
@media (max-width: 720px){
  .method-flow,
  .methode-check-grid{
    grid-template-columns: 1fr;
  }
  .method-flow-card,
  .methode-check-card,
  .cta-choice-card{
    padding: 24px 20px;
  }
}

/* ============================================================
   À PROPOS — page marque & positionnement
   ============================================================ */
.about-hero .container{
  max-width: 840px;
}
.about-intro{
  background: transparent;
  position: relative;
  z-index: 3;
  padding-top: 0;
  padding-bottom: 72px;
}
.about-intro-card{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  padding: 38px;
  border-radius: var(--radius-l);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}
.about-intro-card h2{
  font-size: clamp(25px, 3vw, 36px);
}
.about-intro-copy{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-intro-copy p{
  font-size: 15.5px;
  line-height: 1.7;
}
.about-benefits{
  padding-top: 24px;
}
.about-mission{
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-mission-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.about-principles{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.about-principles article{
  padding: 26px 24px;
  border-radius: var(--radius-l);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0,27,70,0.03);
}
.about-principles strong{
  display: block;
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy);
}
.about-principles p{
  font-size: 14.5px;
  line-height: 1.6;
}
.about-deliverables{
  background: var(--white);
}
.about-fit{
  background: linear-gradient(180deg, var(--white), var(--ivory));
  border-top: 1px solid var(--line);
}
@media (max-width: 980px){
  .about-intro-card,
  .about-mission-grid{
    grid-template-columns: 1fr;
  }
  .about-intro-card{
    padding: 30px 24px;
  }
}
@media (max-width: 700px){
  .about-intro{
    padding-bottom: 56px;
  }
  .about-principles{
    grid-template-columns: 1fr;
  }
  .about-intro-card{
    gap: 24px;
  }
}

/* ---------- À propos — corrections V21 ---------- */
.about-intro-card .eyebrow,
.about-mission .section-head .eyebrow{
  margin-bottom: 16px;
}
.about-intro-card h2,
.about-mission .section-head h2{
  margin-top: 0;
  margin-bottom: 20px;
}
.about-intro-copy{
  gap: 18px;
}
.about-mission .section-head p + p{
  margin-top: 16px;
}
.methode-check-card h3 a{
  color: inherit;
  text-decoration: none;
}
.methode-check-card h3 a:hover,
.methode-check-card h3 a:focus-visible{
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- À propos — séparation CTA / footer V22 ---------- */
.cta-final-separated{
  background: linear-gradient(180deg, var(--white) 0%, var(--ivory) 100%);
  border-radius: 0;
  margin: 0;
  padding: 84px 28px 96px;
  overflow: visible;
}
.cta-final-separated::before{
  display: none;
}
.cta-final-separated .cta-final-inner{
  max-width: 760px;
  padding: 46px 42px;
  border-radius: var(--radius-l);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.cta-final-separated h2{
  color: var(--navy);
}
.cta-final-separated p{
  color: var(--slate);
}
.cta-final-separated .btn-ghost-light{
  color: var(--navy);
  border-color: var(--line-strong);
}
.cta-final-separated .btn-ghost-light:hover{
  color: var(--navy-deep);
  border-color: var(--navy);
  background: rgba(0,27,70,0.03);
}
@media (max-width: 600px){
  .cta-final-separated{
    padding: 64px 16px 76px;
  }
  .cta-final-separated .cta-final-inner{
    padding: 34px 22px;
  }
}


/* ============================================================
   Pages légales + RGPD / cookies — V23
   ============================================================ */
.legal-hero .container{
  max-width: 860px;
}
.legal-section{
  background: linear-gradient(180deg, var(--white), var(--ivory));
  padding: 84px 0 96px;
}
.legal-layout{
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.legal-summary{
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-l);
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.legal-summary strong{
  font-family: var(--font-display);
  font-size: 18px;
}
.legal-summary span{
  color: rgba(255,255,255,0.68);
  font-size: 14px;
}
.legal-summary a{
  color: var(--cyan-bright);
  word-break: break-word;
}
.legal-summary .btn{
  margin-top: 10px;
  width: 100%;
}
.btn-small{
  padding: 12px 18px;
  font-size: 14px;
}
.legal-content{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.legal-updated{
  font-size: 14px;
  color: var(--slate-light);
}
.legal-card{
  padding: 30px;
  border-radius: var(--radius-l);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.legal-card h2{
  font-size: clamp(21px, 2.3vw, 28px);
  margin-bottom: 14px;
}
.legal-card p + p{
  margin-top: 12px;
}
.legal-card ul{
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--slate);
}
.legal-card li{
  margin: 8px 0;
}
.legal-card a{
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
}
.legal-card a:hover,
.legal-card a:focus-visible{
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-cookie-link{
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.footer-legal a:hover,
.footer-legal a:focus-visible,
.footer-cookie-link:hover,
.footer-cookie-link:focus-visible{
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cookie-banner{
  position: fixed;
  z-index: 9999;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px;
  border-radius: var(--radius-l);
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(12px);
}
.cookie-banner__title{
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.cookie-banner p{
  font-size: 14.5px;
  line-height: 1.55;
}
.cookie-banner__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal-open{
  overflow: hidden;
}
.cookie-modal-backdrop{
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1,15,43,0.62);
}
.cookie-modal{
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  padding: 34px;
  border-radius: var(--radius-l);
  background: var(--white);
  box-shadow: var(--shadow-lift);
}
.cookie-modal__close{
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--navy);
  font-size: 24px;
}
.cookie-modal h2{
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
}
.cookie-modal__intro{
  margin-bottom: 24px;
}
.cookie-choice{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.cookie-choice strong{
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-family: var(--font-display);
}
.cookie-choice p{
  font-size: 14px;
  line-height: 1.5;
}
.switch{
  position: relative;
  display: inline-flex;
  width: 54px;
  height: 30px;
}
.switch input{
  opacity: 0;
  width: 0;
  height: 0;
}
.switch span{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background .2s ease;
}
.switch span::before{
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,27,70,0.22);
  transition: transform .2s ease;
}
.switch input:checked + span{
  background: var(--cyan);
}
.switch input:checked + span::before{
  transform: translateX(24px);
}
.switch input:disabled + span{
  opacity: .75;
}
.cookie-modal__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 26px;
}
@media (max-width: 900px){
  .legal-layout{
    grid-template-columns: 1fr;
  }
  .legal-summary{
    position: static;
  }
  .cookie-banner{
    grid-template-columns: 1fr;
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .cookie-banner__actions{
    justify-content: stretch;
  }
  .cookie-banner .btn{
    flex: 1 1 160px;
  }
}
@media (max-width: 620px){
  .legal-section{
    padding: 58px 0 72px;
  }
  .legal-card{
    padding: 24px 20px;
  }
  .cookie-modal{
    padding: 30px 20px 22px;
  }
  .cookie-modal__actions .btn{
    width: 100%;
  }
}
