/* =============================================
   VERÉO — Design System v3
   Police : Inter (sans-serif)
   Couleur principale : #01357a
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --blue-900: #011d42;
  --blue-800: #01357a;
  --blue-700: #024097;
  --blue-600: #01357a;
  --blue-500: #0550b5;
  --blue-400: #3b82f6;
  --blue-300: #93bbff;
  --blue-100: #e8f1ff;

  --green-600: #059669;
  --green-500: #10b981;
  --green-400: #34d399;
  --green-100: #ecfdf5;

  --primary: #01357a;
  --primary-dark: #011d42;
  --accent: var(--green-500);
  --accent-dark: var(--green-600);

  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #01357a;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  
  --radius: 0;
}

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

html, body {
  /* Prevent horizontal scrolling and touch-driven horizontal panning on mobile */
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

body {
  /* Offset content for fixed header (desktop default) */
  padding-top: 120px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 48px); }
h3 { font-size: 24px; font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

p { margin: 0 0 20px; color: var(--text-muted); line-height: 1.85; font-size: 18px; }
.lead { font-size: 22px; line-height: 1.9; color: var(--text); }

/* =============================================
   NAVBAR - Nouvelle version épurée
   ============================================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 64px;
  align-items: center;
  height: 120px;
  padding: 0 56px;
}

.logo-area {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}
.logo-link {
  display: flex;
  align-items: center;
}
.logo {
  height: auto;
  width: auto;
  max-height: 110px;
  transition: transform 0.2s ease, max-height 0.2s ease;
}
.logo:hover {
  transform: scale(1.02);
}

body.scrolled .logo {
  height: 124px;
  transform: none;
}

body.scrolled .topbar-inner {
  height: 130px;
}

.nav {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }

.nav a {
  position: relative;
  padding: 8px 0;
  color: #fff;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }

.nav .cta {
  padding: 16px 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: background 0.2s;
  border: none;
  box-shadow: 0 10px 20px rgba(16,185,129,0.35);
  border-radius: 6px;
}
.nav .cta:hover { background: var(--accent-dark); }
.nav .cta::after { display: none; }

body.scrolled .nav .cta {
  transform: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.7);
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #fff;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.mobile-menu {
  display: none;
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.mobile-menu a {
  display: block;
  color: #fff;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.mobile-menu .cta {
  margin: 12px 24px 20px;
  display: inline-flex;
  border-radius: 6px;
}

/* Active states */
.page-membrane .nav a[href="membrane.html"]:not(.cta),
.page-liner .nav a[href="liner.html"]:not(.cta),
.page-pro .nav a[href="professionnels.html"]:not(.cta),
.page-contact .nav a[href="contact.html"]:not(.cta) { color: var(--accent); }
.page-membrane .nav a[href="membrane.html"]:not(.cta)::after,
.page-liner .nav a[href="liner.html"]:not(.cta)::after,
.page-pro .nav a[href="professionnels.html"]:not(.cta)::after,
.page-contact .nav a[href="contact.html"]:not(.cta)::after { transform: scaleX(1); }

/* =============================================
   LAYOUT
   ============================================= */
.wrapper { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.wrapper-narrow { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.wrapper-wide { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

section { padding: 100px 0; }
section.sm-pad { padding: 60px 0; }
section.lg-pad { padding: 140px 0; }

.section-header { margin-bottom: 64px; }
.section-header.centered { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; margin-bottom: 64px; }
.section-header p { max-width: 600px; }
.section-header.centered p { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: 13px;
  color: var(--green-500);
  margin-bottom: 16px;
  padding: 6px 12px;
  background: var(--green-100);
  border-left: 3px solid var(--green-500);
}
.eyebrow.no-bg { background: transparent; padding: 0; border: none; }

.bg-white { background: var(--bg); }
.bg-alt { background: var(--bg-alt); }
.bg-dark { background: #01357a; color: #fff; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark p { color: #fff; }
.bg-dark .eyebrow { background: rgba(16,185,129,0.15); color: var(--green-400); border-color: var(--green-400); }
.bg-dark .text-muted { color: rgba(255,255,255,0.7); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(1,53,122,0.9) 0%, rgba(1,29,66,0.8) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 40px;
}
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero .subhead {
  font-size: 22px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero .subhead.subhead-strong {
  font-weight: 800;
}
.hero .eyebrow {
  background: rgba(16,185,129,0.2);
  border-color: var(--green-400);
  color: var(--green-400);
}

.hero-short { min-height: 50vh; }
.hero-short .hero-content { padding: 40px; }

/* Centrer le contenu du héros uniquement sur la page d'accueil */
.page-accueil .hero { justify-content: center; }
.page-accueil .hero-content { text-align: center; margin-left: auto; margin-right: auto; }
.page-accueil .hero .btn-group { justify-content: center; }

/* =============================================
   BUTTONS
   ============================================= */
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-group.centered { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 10px;
}
.btn.primary { background: var(--accent); color: white; border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.primary { box-shadow: 0 14px 28px rgba(16,185,129,0.35); }
.btn.outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn.outline:hover { background: var(--text); color: white; }
.btn.white { background: #fff; color: var(--text); border-color: #fff; }
.btn.white:hover { background: transparent; color: #fff; }
.btn.white-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn.white-outline:hover { background: #fff; color: var(--text); border-color: #fff; }
.btn.sm { padding: 12px 20px; font-size: 11px; }

/* =============================================
   GRIDS
   ============================================= */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-2.gap-lg { gap: 100px; }
.grid-2.start { align-items: start; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.thickness-cards {
  display: flex;
  gap: 60px;
  align-items: stretch;
}

.thickness-cards .thickness-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}


/* =============================================
   FEATURE
   ============================================= */
.feature-img { width: 100%; height: 100%; min-height: 450px; object-fit: cover; }
.feature-text { padding: 20px 0; }
.feature-text h2 { margin-bottom: 20px; }
.feature-text p { margin-bottom: 20px; }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: #fff;
  padding: 40px;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.card:hover { box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 16px; }

.card-dark { background: #01357a; border: none; color: #fff; }
.card-dark h3, .card-dark h4, .card-dark p { color: #fff; }
.card-dark p { color: rgba(255,255,255,0.8); }

.card-accent { border-top: 4px solid var(--primary); }
.card-accent h3 { font-size: 24px; }

.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.badge-inline.small img { height: 140px; }

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  border-left: 3px solid var(--primary);
}

.card-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--blue-100);
  line-height: 1;
  margin-bottom: 16px;
}

/* =============================================
   LISTS
   ============================================= */
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  padding: 14px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text);
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.list-check li:last-child { border-bottom: none; }
.list-check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--primary);
}
.bg-dark .list-check li { color: #fff; border-color: rgba(255,255,255,0.15); }
.bg-dark .list-check li::before { background: var(--green-400); }

/* =============================================
   BRANDS
   ============================================= */
.brands-bar {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 24px 0;
}
.brands-bar span { font-size: 18px; font-weight: 700; letter-spacing: 0.05em; opacity: 0.9; }
.brands-bar img {
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.9;
}

.brands-bar img.brand-logo-lg {
  height: 128px;
  max-width: 240px;
}

.brands-light {
  background: #fff;
}

.brands-light h2,
.brands-light p,
.brands-light span {
  color: var(--text);
}

.brands-light .eyebrow {
  background: var(--green-100);
  color: var(--green-500);
  border-color: var(--green-500);
}

/* =============================================
   FORMS
   ============================================= */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 10px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(1,53,122,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.contact-info {
  padding: 40px;
  background: #01357a;
  color: #fff;
  height: 100%;
}
.contact-info h3 { color: #fff; margin-bottom: 32px; }
.contact-item { margin-bottom: 20px; }
.contact-item strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.contact-item span { font-size: 16px; color: #fff; }

.reviews {
  margin-top: 72px;
  padding-top: 8px;
}

.reviews h3 {
  margin-bottom: 20px;
  color: var(--text);
  font-size: 20px;
  text-align: center;
}

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

.reviews-inline {
  margin-top: 72px;
}

.reviews-inline .reviews-grid {
  grid-template-columns: repeat(4, 1fr);
}

.review-card {
  border: 1px solid #e6eefb;
  padding: 22px 22px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(1, 53, 122, 0.08);
  display: flex;
  flex-direction: column;
}

.review-card p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  min-height: 92px;
}

.review-card span {
  font-weight: 600;
  color: var(--text);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.review-card span::before {
  content: "★";
  color: var(--accent);
  font-size: 14px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: #01357a; color: rgba(255,255,255,0.7); font-size: 14px; }

.footer-main { padding: 80px 0 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  align-items: start;
}

.footer-brand { max-width: 320px; }
.footer-logo { height: 180px; margin-bottom: 20px; }
.footer-badge {
  height: 64px;
  margin-top: 16px;
  opacity: 0.95;
}
.footer-brand p { line-height: 1.8; color: rgba(255,255,255,0.6); }

.ticker-band {
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 10px 0;
  overflow: hidden;
}
.ticker {
  max-width: 100%;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 0; /* use explicit spacing on each item to avoid flex compression */
  white-space: nowrap;
  animation: ticker-scroll 20s linear infinite;
  font-weight: 600;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  align-items: center;
}
.ticker-track span {
  display: inline-block;
  padding: 0 36px; /* spacing between items */
  flex: none; /* prevent shrinking */
  white-space: nowrap;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  color: #fff;
  font-size: 12px;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}
.footer-col a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col span { display: block; color: rgba(255,255,255,0.6); }
.footer-phone { font-size: 18px; font-weight: 600; color: #fff !important; }
.footer-col .btn { margin-top: 8px; }

.footer-bottom { padding: 24px 0; }
.footer-bottom .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* SOCIAL LINKS (footer) */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* responsive circular container so shadows are circular and icons scale */
  width: clamp(36px, 6vw, 44px);
  height: clamp(36px, 6vw, 44px);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  background: transparent;
  border-radius: 50%;
}
.social-link svg {
  /* let the SVG scale inside the circular container */
  width: 60%;
  height: 60%;
  display: block;
  transition: transform 0.15s ease;
}
.social-link:hover { transform: translateY(-3px); }
.social-link--linkedin {
  /* apply shadow to the circular anchor (not to the svg) to avoid rectangular artifact) */
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
.social-link--linkedin:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 10px 26px rgba(0,0,0,0.22); }

/* Make Facebook and Instagram icons larger (desktop + mobile) */
.social-link[aria-label="Facebook"],
.social-link[aria-label="Instagram"] {
  width: clamp(64px, 9vw, 88px);
  height: clamp(64px, 9vw, 88px);
}
.social-link[aria-label="Facebook"] svg,
.social-link[aria-label="Instagram"] svg {
  width: 72%;
  height: 72%;
}

/* Allow specific images to display fully (no cropping) */
.feature-img.full-img {
  object-fit: contain;
  height: auto;
  min-height: 240px; /* ensure reasonable visible height */
}

/* For hero sections that should show the full background image */
.hero.bg-full {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* Full-screen hero variant (cover entire viewport) */
.hero.hero-full {
  min-height: 100vh; /* fill the full viewport height */
  background-size: cover !important; /* ensure the image covers the area */
  background-position: center center !important;
  background-repeat: no-repeat !important;
}


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

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-content { flex-direction: column; align-items: center; gap: 24px; }
  .footer-links-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-img { min-height: 350px; }
  /* Reviews: switch inline 4-col reviews to 2x2 on tablet widths */
  .reviews-inline .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-left,
  .nav-right { display: none; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .logo-area { justify-self: center; }
  .topbar-inner { grid-template-columns: 1fr auto 1fr; height: 100px; padding: 0 24px; }
  body.menu-open .mobile-menu { display: block; }

  /* Make the topbar fixed on small screens so it remains visible while scrolling */
  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
  }

  /* Prevent content from being hidden under the fixed header */
  body {
    padding-top: 100px; /* matches .topbar-inner height at this breakpoint */
  }

  /* If the header grows when scrolled, increase the offset so content isn't hidden */
  body.scrolled { padding-top: 130px; }
}

@media (max-width: 768px) {
  .topbar-inner { grid-template-columns: 1fr auto 1fr; align-items: center; height: 96px; padding: 0 20px; }
  .menu-toggle { justify-self: end; }
  .logo { height: auto; width: auto; max-height: 84px; }
  .wrapper, .wrapper-narrow, .wrapper-wide { padding: 0 24px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom .wrapper { flex-direction: column; gap: 8px; text-align: center; }
  section { padding: 80px 0; }
  .hero { min-height: 70vh; }
  .hero-content { padding: 40px 24px; }
  .brands-bar { gap: 24px; }
  .brands-bar span { font-size: 15px; }
  .brands-bar img { height: 52px; }
  .contact-info { padding: 32px 24px; }
  /* Stack membrane thickness cards full-width on small screens */
  .thickness-cards { flex-direction: column; gap: 24px; }
  .thickness-cards .thickness-card { min-height: auto; width: 100%; }
  /* Reviews: single column on narrow screens */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Ensure fixed topbar remains positioned and content is offset correctly on very small screens */
  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
  }
  /* Ensure social icons are at least 2x larger on small screens */
  .social-link[aria-label="Facebook"],
  .social-link[aria-label="Instagram"] {
    width: 72px; /* at least double the original ~36px */
    height: 72px;
  }
  .social-link[aria-label="Facebook"] svg,
  .social-link[aria-label="Instagram"] svg {
    width: 78%;
    height: 78%;
  }
  body { padding-top: 96px; }
  body.scrolled { padding-top: 130px; }
}

.site-footer .footer-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.site-footer .footer-brand img { display: block; margin: 0 auto; }
.site-footer .footer-brand p { margin: 0; max-width: 900px; text-align: center; font-size: 14px; line-height: 1.25; }
.site-footer .footer-brand .btn { display: block; margin-top: 8px; }

/* Ensure footer content is centered and responsive across viewports */
.site-footer .footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap; /* allow items to wrap cleanly on narrower screens */
}

.site-footer .footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-items: center; /* center the links inside each column */
  align-items: start;
  flex: 1;
}

.site-footer .footer-col { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.site-footer .footer-col .btn { display: inline-block; }
.site-footer .footer-col .btn + .btn { margin-top: 8px; }

/* Centrage spécifique pour la page Mentions légales */
.page-mentions .wrapper { display: flex; flex-direction: column; align-items: center; }
.page-mentions .section-header.centered { text-align: center; }
.page-mentions .grid-2 { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.page-mentions .grid-2 > div { max-width: 900px; width: 100%; }

/* Placer les actions (boutons) sous la colonne Contact, alignées à droite */
.site-footer .footer-col.contact { display: flex; flex-direction: column; gap: 8px; }
.site-footer .footer-col.contact .footer-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
