@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/inter-v20-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/inter-v20-latin-700.woff2') format('woff2');
}

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

:root {
  --navy: #1a2744;
  --navy-light: #243258;
  --gold: #c8a96e;
  --gold-light: #e2c896;
  --cream: #f8f6f1;
  --text: #1c1c1c;
  --text-muted: #6b6b6b;
  --white: #ffffff;
  --border: rgba(26,39,68,0.12);
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26,39,68,0.96);
  backdrop-filter: blur(12px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid rgba(200,169,110,0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }

/* flags spacing handled inline */
.nav-cta {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border: none;
  padding: 10px 22px;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-light); }

/* HERO */
.hero {
  height: 100vh;
  min-height: 680px;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.0); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,39,68,0.72) 0%, rgba(26,39,68,0.1) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 860px;
  animation: fadeUp 1s 0.3s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
h1, .hero-sub {
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* PAGE SECTIONS */
.page-main { padding-top: 64px; }

.section { padding: 96px 80px; }
.section-sm { padding: 64px 80px; }

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-lead {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 48px;
}

/* IMAGE BANNER */
.img-banner {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.img-banner-framed {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* CARD GRID */
.card-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
}
.card-grid-2 { grid-template-columns: 1fr 1fr; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  padding: 40px 36px;
}
.card-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 18px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
}
.card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* SPLIT LAYOUT */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.split-img {
  position: relative;
  overflow: hidden;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.split-content {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-content.bg-navy {
  background: var(--navy);
}
.split-content.bg-navy .section-title,
.split-content.bg-navy .section-label { color: var(--gold-light); }
.split-content.bg-navy .section-lead,
.split-content.bg-navy p { color: rgba(255,255,255,0.7); }
.split-content.bg-navy h3 { color: var(--white); }
.split-content.bg-cream { background: var(--cream); }

/* LIST */
ul.feature-list {
  list-style: none;
  margin: 24px 0;
}
ul.feature-list li {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}
.bg-navy ul.feature-list li {
  color: rgba(255,255,255,0.65);
  border-color: rgba(255,255,255,0.1);
}
ul.feature-list li::before {
  content: '—';
  color: var(--gold);
  font-weight: 400;
  flex-shrink: 0;
  margin-top: 1px;
}

/* QUOTE */
.quote-block {
  border-left: 3px solid var(--gold);
  padding: 20px 32px;
  margin: 32px 0;
  background: rgba(200,169,110,0.06);
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 8px;
}
.quote-block cite {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

/* SUB-NAV (product sub-pages) */
.sub-nav {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 0 80px;
  display: flex;
  gap: 0;
  overflow-x: auto;
}
.sub-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 18px 24px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.2s;
}
.sub-nav a:hover { color: var(--navy); }
.sub-nav a.active { color: var(--navy); border-bottom-color: var(--gold); }

/* FOOTER */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 48px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
footer .footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--gold-light);
}
footer .footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
footer .footer-links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
footer .footer-links a:hover { color: var(--gold); }
footer .footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* NAV PAGE TRANSITIONS */
.page-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.page-link-btn:hover { color: var(--gold); }
.page-link-btn svg { transition: transform 0.2s; }
.page-link-btn:hover svg { transform: translateX(4px); }

/* BG CREAM SECTION */
.bg-cream { background: var(--cream); }
.bg-navy-section { background: var(--navy); }
.bg-navy-section .section-label { color: var(--gold); }
.bg-navy-section .section-title { color: var(--white); }
.bg-navy-section .section-lead { color: rgba(255,255,255,0.6); }

/* STAT ROW */
.stat-row {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 48px 0;
}
.stat-item {
  flex: 1;
  padding: 32px 0;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Regroupement des éléments droits de la nav */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0;
}

/* BURGER BUTTON */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 12px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Animation burger → croix quand ouvert */
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU (panneau déroulant) */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  background: rgba(26,39,68,0.98);
  backdrop-filter: blur(12px);
  padding: 32px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid rgba(200,169,110,0.2);
  transform: translateY(-10px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu ul li a {
  display: block;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.mobile-menu ul li a:hover { color: var(--gold-light); }

/* ============================================
   TABLETTE (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .section, .section-sm { padding: 72px 40px; }
  .hero-content { padding: 0 40px 40px; }
  footer { padding: 40px; }
  .sub-nav { padding: 0 40px; }
  nav { padding: 0 24px; }

  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split-content { padding: 60px 40px; }
}

/* ============================================
   MOBILE (≤ 768px)
   ============================================ */
@media (max-width: 768px) {

  /* NAV */
  .nav-links { display: none; }
  .nav-right { display: none; }
  .burger { display: flex; }

  /* SECTIONS */
  .section, .section-sm { padding: 56px 20px; }
  .hero-content { padding: 0 20px 40px; }

  /* HERO */
  .hero { padding-top: 80px; }

  /* GRILLES → 1 colonne */
  .card-grid-2,
  .card-grid-3,
  .card-grid-4 { grid-template-columns: 1fr; }

  /* SPLIT → empilé */
  .split { grid-template-columns: 1fr; }
  .split-img { aspect-ratio: 16/9; height: auto; }
  .split-content { padding: 40px 20px; }

  /* INTRO grid (index.html) */
  .section > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* STATS */
  .stat-row { flex-wrap: wrap; }
  .stat-item {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  /* FOOTER */
  footer {
    padding: 32px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links { gap: 16px; }

  /* SUB-NAV */
  .sub-nav { padding: 0 20px; }
}

@media (max-width: 768px) {

  /* Empêche tout débordement horizontal */
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* Hero image pleine largeur */
  .hero,
  .hero-bg,
  .hero-overlay {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Contenu hero : supprime le left:80px inline */
  .hero-content {
    padding: 0 20px 40px !important;
    max-width: 100% !important;
    left: 0 !important;
  }

  /* Hero image de fond pleine largeur */
  .hero-bg {
    position: absolute !important;
    inset: 0 !important;
  }

  /* Blocs hero-image (pages produit) avec position:absolute bottom/left */
  [style*="position:absolute"][style*="bottom:60px"][style*="left:80px"] {
    left: 20px !important;
    right: 20px !important;
    bottom: 30px !important;
    max-width: calc(100% - 40px) !important;
  }

  /* Hero images fixes en hauteur */
  [style*="position:relative"][style*="height:480px"] {
    height: 320px !important;
  }

  /* Sub-nav pleine largeur */
  .sub-nav {
    padding: 0 !important;
    width: 100% !important;
    display: flex !important;
  }
  .sub-nav a {
    padding: 14px 12px !important;
    font-size: 10px !important;
  }

  /* Grilles 2 colonnes inline → 1 colonne */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Grilles 4 colonnes inline → 1 colonne */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Padding inline 80px → 20px */
  [style*="padding: 0 80px"],
  [style*="padding:0 80px"] {
    padding: 0 20px !important;
  }

  /* Section navy pleine largeur */
  [style*="padding:96px 80px"],
  [style*="padding: 96px 80px"] {
    padding: 56px 20px !important;
  }

  /* Navigation bas de page */
  [style*="padding:0 80px 80px"],
  [style*="padding: 0 80px 80px"] {
    padding: 0 20px 48px !important;
  }

  /* Trawler/image padding */
  [style*="margin-bottom:80px"] {
    margin-bottom: 40px !important;
  }
}
