/* ============================================
   AQUAWIL — Feuille de styles partagée
   Design tokens, composants, layout global
   ============================================ */

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

html { scroll-behavior: smooth; }

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

/* ---------- Design Tokens ---------- */
:root {
  --blue:        #1A56DB;
  --blue-dark:   #1344b0;
  --blue-light:  #EBF3FF;
  --green:       #16A34A;
  --green-light: #DCFCE7;
  --bg:          #F7F5F2;    /* légèrement chaud, plus naturel que #F8FAFC */
  --surface:     #FFFFFF;
  --surface-warm:#FDFAF6;    /* surface chaude pour sections alternées */
  --text:        #1A1412;    /* légèrement plus brun que pur noir */
  --muted:       #6B6460;    /* muted chaud */
  --border:      #E5DDD5;    /* border légèrement chaude */
  --shadow:      0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
  --shadow-lg:   0 8px 30px rgba(0,0,0,.12);
  --radius:      10px;
  --radius-lg:   16px;
  --max-w:       1140px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 16px; --sp-4: 24px;
  --sp-5: 32px; --sp-6: 48px; --sp-7: 64px; --sp-8: 96px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-4); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--blue); color: #fff;
  padding: 8px 16px; z-index: 200; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(26,86,219,.3);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,86,219,.4); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 13px 27px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1.5px solid var(--border); cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

.btn-green {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: none; cursor: pointer;
  transition: background .2s, transform .15s;
  box-shadow: 0 2px 8px rgba(22,163,74,.3);
}
.btn-green:hover { background: #15803d; transform: translateY(-1px); }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); font-weight: 700; font-size: 18px;
}
.nav-logo-icon {
  width: 36px; height: 36px; background: var(--blue); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-img {
  width: 36px; height: 36px; border-radius: 8px;
  object-fit: contain; display: block; flex-shrink: 0;
}
.nav-links { display: none; list-style: none; gap: var(--sp-4); align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 14px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links .nav-cta { margin-left: var(--sp-2); }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .3s;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile menu */
.nav-mobile {
  display: none; background: var(--surface); border-top: 1px solid var(--border);
  padding: var(--sp-3); flex-direction: column; gap: var(--sp-2);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 10px 12px; border-radius: 8px; text-decoration: none;
  color: var(--text); font-weight: 500; transition: background .2s;
}
.nav-mobile a:hover { background: var(--blue-light); color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0f2b5c 0%, #1A56DB 60%, #1e78c8 100%);
  color: #fff; padding: 100px var(--sp-4) 80px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2);
  color: #fff; padding: 6px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: var(--sp-4);
}
.hero h1 {
  font-size: clamp(30px, 5vw, 56px); font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em; margin-bottom: var(--sp-4);
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.8);
  max-width: 560px; margin: 0 auto var(--sp-6); line-height: 1.7;
}
.hero-actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }
.hero .btn-primary { background: #fff; color: var(--blue); box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.hero .btn-primary:hover { background: #f0f4ff; }
.hero .btn-secondary { border-color: rgba(255,255,255,.4); color: #fff; }
.hero .btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.hero-stats {
  display: flex; gap: var(--sp-6); justify-content: center; flex-wrap: wrap;
  margin-top: var(--sp-7); padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 36px; font-weight: 800; }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,.7); }

/* ---------- Section Styles ---------- */
.section { padding: var(--sp-8) 0; }
.section-alt { background: var(--surface-warm); }
.section-blue { background: var(--blue-light); }

.section-header { text-align: center; margin-bottom: var(--sp-7); }
.section-tag {
  display: inline-block; background: var(--blue-light); color: var(--blue);
  padding: 4px 14px; border-radius: 100px; font-size: 12px;
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--sp-3);
}
.section-tag.green { background: var(--green-light); color: var(--green); }
.section-header h2 {
  font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: -.01em;
  margin-bottom: var(--sp-3);
}
.section-header p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto; }

/* ---------- Cards ---------- */
.grid-3 {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-4);
}
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-4);
}
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-5); transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4); font-size: 22px;
}
.card-icon.blue { background: var(--blue-light); }
.card-icon.green { background: var(--green-light); }

.card h3 { font-size: 17px; font-weight: 600; margin-bottom: var(--sp-2); }
.card p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--blue); color: #fff;
  display: grid; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }

.stat-item {
  padding: var(--sp-6) var(--sp-5); text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-item strong { display: block; font-size: 36px; font-weight: 800; }
.stat-item span { font-size: 13px; color: rgba(255,255,255,.7); }

/* ---------- Steps ---------- */
.steps { display: flex; flex-direction: column; gap: var(--sp-5); }

.step {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-5);
}
.step-number {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.step-content h3 { font-size: 16px; font-weight: 600; margin-bottom: var(--sp-1); }
.step-content p { color: var(--muted); font-size: 14px; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-4);
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }

.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-5);
}
.stars { color: #F59E0B; font-size: 18px; margin-bottom: var(--sp-3); }
.testimonial-card blockquote { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: var(--sp-4); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: var(--sp-3); }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.author-info strong { display: block; font-size: 14px; font-weight: 600; }
.author-info span { font-size: 13px; color: var(--muted); }

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, #0f2b5c 0%, #1A56DB 100%);
  color: #fff; padding: var(--sp-8) 0; text-align: center;
}
.cta-section h2 { font-size: clamp(24px, 4vw, 40px); font-weight: 700; margin-bottom: var(--sp-3); }
.cta-section p { color: rgba(255,255,255,.8); font-size: 18px; margin-bottom: var(--sp-6); }
.cta-section .btn-primary { background: #fff; color: var(--blue); }
.cta-section .btn-primary:hover { background: #f0f4ff; }
.cta-actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* ---------- Cities Grid ---------- */
.cities-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}
@media (min-width: 640px) { .cities-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cities-grid { grid-template-columns: repeat(4, 1fr); } }

.cities-grid li a, .cities-grid li span {
  display: block; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; text-decoration: none;
  color: var(--text); font-size: 13px; font-weight: 500;
  transition: border-color .2s, color .2s, background .2s;
}
.cities-grid li a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 600;
}
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-green { background: var(--green-light); color: var(--green); }

/* ---------- FAQ Accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-2); max-width: 760px; margin: 0 auto; }

details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
details[open] { border-color: var(--blue); }

summary {
  padding: var(--sp-4) var(--sp-5); font-weight: 600; font-size: 15px;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3);
  color: var(--text);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font-size: 22px; font-weight: 300;
  color: var(--blue); flex-shrink: 0; transition: transform .25s;
}
details[open] summary::after { transform: rotate(45deg); }

details .faq-answer { padding: 0 var(--sp-5) var(--sp-4); color: var(--muted); line-height: 1.7; font-size: 14px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: var(--sp-2) 0; font-size: 13px;
}
.breadcrumb ol { list-style: none; display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.breadcrumb li + li::before { content: "›"; color: var(--muted); margin-right: var(--sp-2); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 500; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  display: flex; flex-wrap: wrap; gap: var(--sp-5); justify-content: center; align-items: center;
  padding: var(--sp-6) 0;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.trust-item svg { color: var(--blue); flex-shrink: 0; }

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-6);
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 14px; font-weight: 500; color: var(--text); }
.form-input, .form-textarea, .form-select {
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 15px; font-family: inherit; background: var(--surface);
  transition: border-color .2s; width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--blue);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; align-items: center; }

/* ---------- Zone Map List ---------- */
.zone-list { columns: 2; gap: var(--sp-5); }
@media (min-width: 640px) { .zone-list { columns: 3; } }
.zone-list li { list-style: none; font-size: 14px; color: var(--muted); padding: 3px 0; }
.zone-list li::before { content: "📍 "; font-size: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0f172a; color: rgba(255,255,255,.7);
  padding: var(--sp-8) 0 var(--sp-5);
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-6);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: var(--sp-5);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand .nav-logo { color: #fff; margin-bottom: var(--sp-4); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: var(--sp-4); }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: var(--sp-2); }
.footer-contact-item a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-contact-item a:hover { color: #fff; }

.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: var(--sp-4); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-links a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--sp-3); font-size: 13px;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #0f2b5c 0%, #1A56DB 100%);
  color: #fff; padding: 72px var(--sp-4) 56px;
}
.page-hero .hero-label { margin-bottom: var(--sp-3); }
.page-hero h1 { font-size: clamp(26px, 4vw, 48px); font-weight: 800; margin-bottom: var(--sp-3); }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.8); max-width: 600px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mb-6 { margin-bottom: var(--sp-6); }
.gap-cta { margin-top: var(--sp-6); }

/* ---------- Alert / Notice ---------- */
.notice {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  background: var(--green-light); border: 1px solid #bbf7d0;
  border-radius: var(--radius); padding: var(--sp-4);
  font-size: 14px; line-height: 1.6;
}
.notice-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.notice strong { color: var(--green); }

/* ---------- Two-col content ---------- */
.content-two-col {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-6);
  align-items: center;
}
@media (min-width: 768px) { .content-two-col { grid-template-columns: 1fr 1fr; } }
.content-two-col .col-text h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 700; margin-bottom: var(--sp-4); }
.content-two-col .col-text p { color: var(--muted); margin-bottom: var(--sp-3); line-height: 1.8; }

.col-visual {
  background: var(--blue-light); border-radius: var(--radius-lg);
  padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3);
}
.col-visual-item { display: flex; align-items: center; gap: var(--sp-3); }
.col-visual-item .icon { font-size: 22px; }
.col-visual-item strong { font-size: 15px; font-weight: 600; }
.col-visual-item span { font-size: 13px; color: var(--muted); display: block; }

/* ---------- Video Section (global) ---------- */
.video-section { background: #0f172a; padding: 80px 0; }
.video-section .section-tag { background: rgba(26,86,219,.25); color: #93c5fd; }
.video-section h2 { color: #fff; }
.video-section p { color: rgba(255,255,255,.65); }

.video-wrapper {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
  max-width: 860px; margin: 0 auto;
}
.video-wrapper iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}
.video-caption { text-align: center; margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.45); }

/* ---------- Gallery Grid (global) ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-item {
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 4/3; position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .gallery-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 100%);
  color: #fff; font-size: 13px; font-weight: 500; padding: 24px 14px 10px;
}

/* ---------- Logo bar ---------- */
.logo-bar { display: flex; gap: 32px; align-items: center; justify-content: center; flex-wrap: wrap; }
.logo-bar-item { opacity: .55; transition: opacity .2s; filter: grayscale(1); }
.logo-bar-item:hover { opacity: 1; filter: none; }
.logo-bar-item img { height: 36px; width: auto; }

/* ---------- Hero Split (global) ---------- */
.hero-split { background: #0f2b5c; display: grid; grid-template-columns: 1fr; overflow: hidden; }
@media (min-width: 900px) { .hero-split { grid-template-columns: 1fr 1fr; min-height: 560px; } }

.hero-split-text {
  padding: 72px 48px 64px;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, #0f2b5c 0%, #1A56DB 100%);
  color: #fff;
}
@media (max-width: 899px) { .hero-split-text { padding: 56px 24px 48px; } }
.hero-split-text h1 { font-size: clamp(28px, 4vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 20px; }
.hero-split-text > p { font-size: 18px; color: rgba(255,255,255,.82); line-height: 1.7; margin-bottom: 32px; max-width: 460px; }
.hero-split-text .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-split-text .btn-primary { background: #fff; color: var(--blue); }
.hero-split-text .btn-primary:hover { background: #e8f0ff; }
.hero-split-text .btn-secondary { border-color: rgba(255,255,255,.4); color: #fff; }
.hero-split-text .btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.hero-split-image { position: relative; overflow: hidden; min-height: 320px; }
.hero-split-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hero-split-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,43,92,.3) 0%, transparent 50%); }

.hero-stats-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-stat-sm strong { display: block; font-size: 28px; font-weight: 800; }
.hero-stat-sm span { font-size: 12px; color: rgba(255,255,255,.65); }

/* ---------- Page hero with photo background ---------- */
.page-hero-photo { position: relative; min-height: 380px; overflow: hidden; display: flex; align-items: flex-end; }
.page-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,25,60,.93) 0%, rgba(15,43,92,.65) 55%, rgba(10,30,70,.25) 100%); }
.page-hero-photo .hero-photo-content { position: relative; z-index: 1; padding: 64px 24px 48px; color: #fff; width: 100%; }
@media (min-width: 768px) { .page-hero-photo .hero-photo-content { padding: 80px 48px 56px; max-width: 700px; } }
.page-hero-photo .hero-label { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 6px 16px; border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.page-hero-photo h1 { font-size: clamp(26px, 4vw, 48px); font-weight: 800; margin-bottom: 16px; }
.page-hero-photo p { font-size: 18px; color: rgba(255,255,255,.82); max-width: 580px; margin-bottom: 24px; line-height: 1.7; }
.page-hero-photo .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero-photo .btn-primary { background: #fff; color: var(--blue); box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.page-hero-photo .btn-primary:hover { background: #e8f0ff; }
.page-hero-photo .btn-secondary { border-color: rgba(255,255,255,.4); color: #fff; }
.page-hero-photo .btn-secondary:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- YouTube Facade (embed désactivé) ---------- */
.yt-facade {
  position: relative; display: block;
  max-width: 860px; margin: 0 auto;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  text-decoration: none;
  aspect-ratio: 16/9; background: #000;
}
.yt-facade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s, opacity .3s; opacity: .85; }
.yt-facade:hover img { transform: scale(1.02); opacity: .68; }
.yt-play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  background: rgba(220,20,20,.92); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s;
  box-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.yt-facade:hover .yt-play-btn { background: #ff0000; transform: translate(-50%,-50%) scale(1.1); }
.yt-play-btn svg { margin-left: 5px; }
.yt-label {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.6); color: rgba(255,255,255,.85);
  font-size: 13px; font-weight: 500;
  padding: 6px 16px; border-radius: 100px; white-space: nowrap;
}

/* ---------- Hero full-bg (global) ---------- */
.hero-fullbg { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; flex-wrap: wrap; }
@media(min-width:768px){ .hero-fullbg { min-height: 680px; } }
.hero-fullbg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-fullbg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,25,60,.92) 0%, rgba(10,25,60,.75) 45%, rgba(10,25,60,.20) 80%, transparent 100%), linear-gradient(to top, rgba(10,25,60,.5) 0%, transparent 50%); }
.hero-fullbg-content { position: relative; z-index: 1; color: #fff; padding: 80px 24px 72px; max-width: 620px; }
@media(min-width:768px){ .hero-fullbg-content { padding: 100px 64px 80px; } }
.hero-fullbg-content .hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.9); padding: 6px 16px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 28px; }
.hero-fullbg-content h1 { font-size: clamp(30px,5vw,56px); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; margin-bottom: 20px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-fullbg-content .hero-desc { font-size: clamp(16px,2vw,19px); color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 36px; max-width: 480px; }
.hero-fullbg-content .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-fullbg-content .btn-primary { background: #fff; color: var(--blue); box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.hero-fullbg-content .btn-primary:hover { background: #eef3ff; }
.hero-fullbg-content .btn-secondary { border-color: rgba(255,255,255,.45); color: #fff; }
.hero-fullbg-content .btn-secondary:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.hero-stats-strip { position: relative; z-index: 1; align-self: flex-end; width: 100%; background: rgba(10,25,60,.72); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: center; }
.hero-stats-strip-inner { display: flex; flex-wrap: wrap; justify-content: center; max-width: 860px; width: 100%; }
.hero-stat-pill { padding: 18px 28px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); flex: 1; min-width: 100px; }
.hero-stat-pill:last-child { border-right: none; }
.hero-stat-pill strong { display: block; font-size: 24px; font-weight: 800; color: #fff; }
.hero-stat-pill span { font-size: 11px; color: rgba(255,255,255,.55); }
