/* ==========================================================================
   VIVIER.FR - Modern Redesign 2026
   Colors: Navy #002468, Red #be1e2d, Light #f7f8fc, Gray #555
   Fonts: Inter (headings) + Lato (body)
   ========================================================================== */

/* Inter - self-hosted */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-800.woff2') format('woff2');
}

/* Lato - self-hosted */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/lato-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lato-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lato-700.woff2') format('woff2');
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: #444;
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul { list-style: none; }

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

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER - Glassmorphism
   ========================================================================== */

.header {
  background: rgba(0, 36, 104, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled {
  background: rgba(0, 24, 69, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  transition: height 0.3s ease;
}

.header.scrolled .wrapper {
  height: 60px;
}

.header.scrolled .logo img {
  height: 32px;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav > ul {
  display: flex;
  gap: 6px;
}

.nav > ul > li {
  position: relative;
}

.nav > ul > li > a {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 26px 16px;
  display: block;
  transition: color 0.3s ease;
}

.nav > ul > li > a:hover,
.nav > ul > li.active > a {
  color: #fff;
}

.nav > ul > li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #be1e2d;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav > ul > li:hover::after,
.nav > ul > li.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.nav .sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 260px;
  background: #2d2d3f;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 9999;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  overflow: visible;
  padding: 8px 0;
}

.nav .sub-menu li:first-child a {
  border-radius: 12px 12px 0 0;
}

.nav .sub-menu li:last-child a {
  border-radius: 0 0 12px 12px;
}

.nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav .sub-menu li a {
  color: rgba(255, 255, 255, 0.85);
  text-transform: none;
  padding: 11px 20px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  display: block;
  transition: all 0.2s ease;
}

.nav .sub-menu li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding-left: 24px;
}

.nav .sub-menu li {
  position: relative;
}

.nav .sub-menu li::after {
  content: attr(data-desc);
  display: block;
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 12px;
  width: 240px;
  padding: 12px 16px;
  background: #383850;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  border-right: 3px solid #be1e2d;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  white-space: normal;
  z-index: 10000;
}

.nav .sub-menu li:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Mobile nav */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 20, 60, 0.98);
  backdrop-filter: blur(20px);
  z-index: 10000;
  padding: 90px 30px 30px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: block;
  animation: fadeIn 0.3s ease;
}

.mobile-nav .close-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 32px;
  cursor: pointer;
  transition: color 0.2s;
}

.mobile-nav .close-btn:hover {
  color: #fff;
}

.mobile-nav ul li a {
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-nav ul li a:hover {
  color: #fff;
  padding-left: 8px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: #be1e2d;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "\2192";
  transition: transform 0.3s ease;
}

.btn:hover {
  background: #a01824;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(190, 30, 45, 0.35);
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #002468;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #be1e2d, #ff4757);
  width: 0%;
  z-index: 10001;
  transition: width 0.1s linear;
}

/* ==========================================================================
   HAMBURGER ANIMATED
   ========================================================================== */

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 36px;
  height: 30px;
  position: relative;
  z-index: 10001;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.mobile-toggle span:nth-child(1) { top: 4px; }
.mobile-toggle span:nth-child(2) { top: 14px; }
.mobile-toggle span:nth-child(3) { top: 24px; }

.mobile-toggle.active span:nth-child(1) {
  top: 14px;
  transform: rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-toggle.active span:nth-child(3) {
  top: 14px;
  transform: rotate(-45deg);
}

/* ==========================================================================
   HERO - HOMEPAGE
   ========================================================================== */

.hero-home {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #001040 0%, #002468 35%, #003a9e 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  position: relative;
  overflow: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating shapes */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.shape-1 {
  width: 600px;
  height: 600px;
  top: -15%;
  right: -10%;
  background: #be1e2d;
  animation: float1 20s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  bottom: -10%;
  left: -5%;
  background: #fff;
  animation: float2 16s ease-in-out infinite;
}

.shape-3 {
  width: 250px;
  height: 250px;
  top: 40%;
  right: 20%;
  background: #003a9e;
  opacity: 0.12;
  animation: float3 22s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.05); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

/* Hero wave bottom */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* Hero content */
.hero-home-content {
  position: relative;
  z-index: 3;
}

.hero-tag {
  display: inline-block;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
}

.hero-home h1 {
  color: #fff;
  font-size: 58px;
  font-weight: 800;
  max-width: 900px;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-home h1 em {
  font-style: normal;
  color: #be1e2d;
  -webkit-text-fill-color: #be1e2d;
}

.hero-home .subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 40px;
  font-family: 'Lato', sans-serif;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-home .btn {
  font-size: 14px;
  padding: 16px 32px;
}

/* ==========================================================================
   HOME - ABOUT SECTION
   ========================================================================== */

.home-about {
  text-align: center;
  padding: 100px 24px;
  background: #f7f8fc;
}

.home-about img {
  margin: 0 auto 30px;
  max-width: 260px;
}

.home-about p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: #555;
}

/* Counters */
.counters {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.counter-item {
  text-align: center;
}

.counter-prefix {
  font-family: 'Inter', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: #002468;
  line-height: 1;
}

.counter-number {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #002468;
  line-height: 1;
  display: inline;
}

.counter-suffix {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #be1e2d;
  margin-left: 2px;
}

.counter-label {
  display: block;
  font-size: 14px;
  color: #888;
  margin-top: 6px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
}

/* ==========================================================================
   HOME - GRID FILIALES (Modern cards)
   ========================================================================== */

.home-grid {
  padding: 80px 0 120px;
}

.home-grid .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #be1e2d;
  margin-bottom: 12px;
}

.home-grid .section-title h2 {
  font-size: 40px;
  font-weight: 800;
  color: #002468;
  letter-spacing: -0.5px;
}

.home-grid .section-title p {
  color: #888;
  font-size: 17px;
  margin-top: 10px;
}

/* Section wave dividers */
.section-wave {
  position: relative;
  margin-top: -1px;
  line-height: 0;
}

.section-wave svg {
  width: 100%;
  height: 60px;
}

.home-grid .wrapper > ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.home-grid li {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.home-grid li:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 36, 104, 0.12);
}

.home-grid .thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: 0;
  overflow: hidden;
  background: #f9fafe;
  position: relative;
}

.home-grid .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-grid .thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 36, 104, 0.6), rgba(190, 30, 45, 0.4));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.home-grid li:hover .thumb img {
  transform: scale(1.1);
}

.home-grid li:hover .thumb-overlay {
  opacity: 1;
}

.home-grid .card-body {
  padding: 24px 24px 28px;
}

.home-grid h3 {
  font-size: 16px;
  text-transform: uppercase;
  color: #002468;
  font-weight: 700;
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.home-grid h3::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #be1e2d;
  border-radius: 3px;
}

.card-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.5;
  margin-bottom: 16px;
}

.home-grid .more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #002468;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.home-grid .more-link::after {
  content: "\2192";
  transition: transform 0.3s ease;
}

.home-grid .more-link:hover {
  color: #be1e2d;
}

.home-grid .more-link:hover::after {
  transform: translateX(4px);
}

/* ==========================================================================
   HERO - FILIALE PAGES
   ========================================================================== */

.hero-filiale {
  min-height: 480px;
  padding: 100px 0 70px;
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.hero-filiale::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 45%, transparent 70%);
  pointer-events: none;
}

.hero-filiale .wrapper {
  position: relative;
  z-index: 1;
  max-width: 550px;
  margin: 0;
  padding: 0 24px;
}

@media (min-width: 1201px) {
  .hero-filiale .wrapper {
    margin-left: calc((100vw - 1200px) / 2 + 24px);
  }
}

.hero-filiale h1 {
  color: #002468;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-filiale h2 {
  color: #444;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Lato', sans-serif;
  text-align: left;
  max-width: 450px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.hero-filiale address {
  font-style: normal;
  color: #002468;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-filiale .btn {
  margin-top: 36px;
}

/* ==========================================================================
   FILIALE DETAIL PAGES
   ========================================================================== */

.filiale-content {
  padding: 60px 0 120px;
  background: #f7f8fc;
}

.filiale-columns {
  display: grid;
  gap: 32px;
}

.filiale-columns.cols-2 { grid-template-columns: repeat(2, 1fr); }
.filiale-columns.cols-3 { grid-template-columns: repeat(3, 1fr); }
.filiale-columns.cols-4 { grid-template-columns: repeat(4, 1fr); }

.filiale-card {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.filiale-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 36, 104, 0.1);
}

.filiale-card img {
  margin: 0 auto 24px;
  max-width: 160px;
}

/* Icon cards (SVG icons) */
.icon-card {
  text-align: center;
}

.card-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #eef2ff 0%, #dce4f5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: #002468;
  border: 2px solid rgba(0, 36, 104, 0.08);
  box-shadow: 0 4px 12px rgba(0, 36, 104, 0.06);
}

.card-icon i {
  font-size: 34px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.icon-card:hover .card-icon {
  background: linear-gradient(135deg, #002468 0%, #003a9e 100%);
  color: #fff;
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0, 36, 104, 0.25);
}

.icon-card:hover .card-icon i {
  transform: scale(1.1);
}

.filiale-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #002468;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.filiale-card p {
  font-size: 16px;
  font-weight: 300;
  text-align: left;
  max-width: 100%;
  margin: 0;
  line-height: 1.7;
  color: #555;
}

/* Filiale intro text */
.filiale-intro {
  max-width: 750px;
  margin: 0 auto 50px;
  text-align: center;
}

.filiale-intro p {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.8;
  color: #444;
}

/* Services checklist */
.filiale-services {
  margin-top: 60px;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.filiale-services h3 {
  font-size: 24px;
  font-weight: 700;
  color: #002468;
  margin-bottom: 24px;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.checklist li {
  font-size: 16px;
  font-weight: 400;
  color: #444;
  line-height: 1.6;
  padding-left: 32px;
  position: relative;
}

.checklist li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 1px;
  color: #be1e2d;
  font-size: 16px;
  font-weight: 700;
}

.services-note {
  margin-top: 24px;
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  font-style: italic;
}

/* Filiale CTA block */
.filiale-cta {
  margin-top: 50px;
  background: linear-gradient(135deg, #001845, #002468, #003a9e);
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 8px 30px rgba(0, 36, 104, 0.2);
}

.cta-content h3 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 12px;
}

.cta-content p strong {
  color: #fff;
}

.cta-content .btn {
  margin-top: 20px;
  margin-right: 12px;
}

.cta-content .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-content .btn-outline:hover {
  border-color: #fff;
}

/* Certifications badges */
.filiale-certifs {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.filiale-certifs span {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #002468;
  background: #e8edf7;
  padding: 10px 20px;
  border-radius: 50px;
}

@media (max-width: 768px) {
  .checklist {
    grid-template-columns: 1fr;
  }

  .filiale-cta {
    padding: 36px 24px;
  }

  .cta-content h3 {
    font-size: 22px;
  }

  .filiale-certifs {
    flex-direction: column;
    align-items: center;
  }
}

/* Horaires block (carrosserie) */
.horaires {
  margin-top: 50px;
  background: #002468;
  color: #fff;
  padding: 40px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 36, 104, 0.2);
}

.horaires p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  text-align: left;
  line-height: 1.7;
}

.horaires strong {
  font-size: 15px;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-section {
  padding: 60px 0 120px;
  background: #f7f8fc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 40px;
  align-items: start;
}

.contact-grid > p {
  font-size: 17px;
  margin-bottom: 20px;
}

.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.contact-form > p {
  font-size: 17px;
  margin-bottom: 20px;
  color: #555;
}

.contact-form label {
  display: block;
  color: #002468;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  margin-top: 18px;
}

.contact-form label:first-of-type {
  margin-top: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid #e8e9ed;
  background: #f7f8fc;
  padding: 13px 16px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #002468;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 36, 104, 0.08);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

.rgpd-consent {
  margin-top: 20px;
}

.rgpd-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  text-transform: none;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  cursor: pointer;
  margin: 0;
}

.rgpd-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #002468;
}

.rgpd-consent a {
  color: #002468;
  text-decoration: underline;
}

.map-responsive {
  position: relative;
  padding-bottom: 100%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   MENTIONS LEGALES
   ========================================================================== */

.mentions {
  padding: 60px 0 100px;
}

.mentions h1 {
  color: #002468;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.mentions h2 {
  color: #002468;
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
}

.mentions h2:first-of-type {
  margin-top: 0;
}

.mentions p,
.mentions address {
  font-size: 15px;
  text-align: justify;
  line-height: 1.8;
  font-style: normal;
  margin-bottom: 10px;
  color: #555;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-main {
  background: #002468;
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-grid p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 6px;
}

.footer-grid strong {
  font-size: 14px;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-grid a.big {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.footer-links p:first-child {
  margin-bottom: 12px;
}

.footer-links ul li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links ul li a {
  font-size: 13px;
  transition: all 0.2s ease;
}

.footer-links ul li a:hover {
  padding-left: 6px;
}

.footer-bottom {
  background: #001845;
  padding: 16px 0;
}

.footer-bottom p,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 300;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ==========================================================================
   AGENCES GRID (Batamat)
   ========================================================================== */

.agences-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.agence-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.agence-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 36, 104, 0.12);
}

.agence-map {
  position: relative;
  padding-bottom: 55%;
  height: 0;
  overflow: hidden;
}

.agence-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.agence-info {
  padding: 22px 24px;
  background: #002468;
}

.agence-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 4px;
}

.agence-info strong {
  font-size: 15px;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.agence-info a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

.agence-info a:hover {
  color: #fff;
}

/* ==========================================================================
   D-DIRECT BULLET LIST
   ========================================================================== */

.filiale-card ul {
  text-align: left;
  margin-top: 12px;
}

.filiale-card ul li {
  padding: 5px 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #555;
}

.filiale-card ul li::before {
  content: "\2022";
  color: #be1e2d;
  font-weight: bold;
  margin-right: 8px;
}

.filiale-card ul li strong {
  font-weight: 600;
  color: #333;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.15s; }
.reveal:nth-child(6) { transition-delay: 0.25s; }

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

@media (max-width: 1024px) {
  .nav { display: none; }
  .mobile-toggle { display: block; }

  .home-grid .wrapper > ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .filiale-columns.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-home {
    min-height: 75vh;
  }

  .hero-home h1 {
    font-size: 36px;
    letter-spacing: -0.5px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .counters {
    gap: 30px;
  }

  .counter-number {
    font-size: 36px;
  }

  .hero-filiale {
    min-height: auto;
    padding: 60px 0;
    background-attachment: scroll;
  }

  .hero-filiale::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
  }

  .hero-filiale h1 {
    font-size: 32px;
  }

  .filiale-columns.cols-2,
  .filiale-columns.cols-3 {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 576px) {
  .home-grid .wrapper > ul {
    grid-template-columns: 1fr;
  }

  .filiale-columns.cols-4 {
    grid-template-columns: 1fr;
  }

  .hero-home h1 {
    font-size: 30px;
  }

  .hero-home .subtitle {
    font-size: 17px;
  }

  .counters {
    gap: 20px;
  }

  .counter-number {
    font-size: 32px;
  }

  .hero-wave svg {
    height: 40px;
  }

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

  .hero-filiale h1 {
    font-size: 28px;
  }

  .contact-form {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */

#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 24, 69, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100000;
  padding: 20px 0;
  transition: transform 0.4s ease;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.cookie-inner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: #be1e2d;
  color: #fff;
}

.cookie-accept:hover {
  background: #a01824;
}

.cookie-refuse {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-refuse:hover {
  color: #fff;
  border-color: #fff;
}

.map-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8edf7;
  color: #002468;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-align: center;
}

.map-consent p {
  padding: 20px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
}
