/* ═══════════════════════════════════════════════════════
   ETT Alsace — CSS (inspiré d'ADA Toiture Conseil)
   ═══════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
               'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgb(33, 37, 41);
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: none; vertical-align: middle; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
strong { font-weight: 700; }

/* Container */
.hd-container {
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1200px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

/* ─────────────────────────────────────────
   WOW.JS ANIMATIONS
───────────────────────────────────────── */
.wow { visibility: hidden; }

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: none; }
}
.fadeInLeft { animation-name: fadeInLeft; animation-duration: 0.7s; animation-fill-mode: both; }

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: none; }
}
.fadeInRight { animation-name: fadeInRight; animation-duration: 0.7s; animation-fill-mode: both; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: none; }
}
.fadeInDown { animation-name: fadeInDown; animation-duration: 0.6s; animation-fill-mode: both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
.fadeInUp { animation-name: fadeInUp; animation-duration: 0.65s; animation-fill-mode: both; }

@keyframes bounceInLeft {
  0%   { opacity: 0; transform: translateX(-80px); }
  60%  { opacity: 1; transform: translateX(8px); }
  80%  { transform: translateX(-3px); }
  100% { transform: none; }
}
.bounceInLeft { animation-name: bounceInLeft; animation-duration: 0.8s; animation-fill-mode: both; }

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
#navbar {
  position: static;
  z-index: 10000;
  max-width: 1920px;
  min-width: 320px;
  transition: background-color 0.5s;
  padding-top: 40px; /* espace réservé pour la topbar fixe */
}

/* TOPBAR */
.topbar {
  background-color: rgb(0, 55, 92);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
}
.topbar-inner {
  display: flex;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar-left { margin-right: auto; display: flex; align-items: center; }
.topbar-right { margin-left: -6px; margin-right: -6px; display: flex; align-items: center; }

.topbar-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 16px;
  transition: opacity 0.3s;
  margin-right: 24px;
}
.topbar-phone:hover { opacity: 0.8; }
.topbar-phone svg { transform: scaleX(-1); flex-shrink: 0; }

.topbar-fb {
  background: #000;
  color: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  margin-right: 6px;
  transition: opacity 0.3s;
}
.topbar-fb:hover { opacity: 0.8; }

.topbar-ig {
  background: #000;
  color: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  margin-right: 6px;
  transition: opacity 0.3s;
}
.topbar-ig:hover { opacity: 0.8; }

/* Burger (mobile only) */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px 8px;
  background: rgb(191, 30, 46);
  margin-left: 6px;
  margin-right: 6px;
  transition: background 0.3s;
}
.burger:hover { background: #9e1825; }
.burger-bar { display: block; width: 100%; height: 2px; background: #fff; border-radius: 1px; transition: transform 0.3s, opacity 0.3s; }
.burger.open .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open .burger-bar:nth-child(2) { opacity: 0; }
.burger.open .burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* LOGO ROW */
.navbar-logo-row {
  background-color: #fff;
}
.navbar-logo-inner {
  display: flex;
  flex-direction: row;
  padding-bottom: 8px;
  padding-top: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.logo-link {
  visibility: visible;
  animation-name: fadeInLeft;
  display: block;
  color: rgb(191, 30, 46);
  transition: opacity 0.3s;
}
.logo-link:hover { opacity: 0.85; }
.logo-link img { height: 72px; width: auto; display: block; }
#nav-logo-text { display: none; font-size: 1.4rem; font-weight: 800; color: rgb(0,55,92); }

.nav-email {
  padding-left: 24px;
  margin-left: auto;
  align-items: center;
  display: flex;
  visibility: visible;
  animation-name: fadeInDown;
}
.nav-email-icon {
  font-size: 24px;
  color: rgb(191, 30, 46);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(191, 30, 46);
  transition: background 0.3s;
}
.nav-email-icon:hover { background: #9e1825; }
.nav-email-icon svg { color: #fff; display: block; }

.nav-email-text {
  font-size: 14px;
  margin-left: 12px;
  display: block;
}
.nav-email-label { font-weight: 300; }
.nav-email-addr-wrap { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.nav-email-addr { color: rgb(33,37,41); transition: color 0.3s; }
.nav-email-addr:hover { color: rgb(191,30,46); }

/* NAV BLEUE */
.navbar-nav {
  overflow: visible;
  position: relative;
  z-index: 4;
  display: block;
  background: transparent;
  min-width: 320px;
  text-align: center;
  visibility: visible;
  animation-name: bounceInLeft;
}

.nav-list {
  position: static;
  align-items: center;
  display: flex;
  background-color: rgb(0, 55, 92);
  height: 72px;
  text-transform: uppercase;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-item { overflow: hidden; opacity: 1; position: relative; flex: 1 1 auto; }
.nav-item:nth-child(2) { transition-delay: .025s; }
.nav-item:nth-child(3) { transition-delay: .05s; }
.nav-item:nth-child(4) { transition-delay: .075s; }
.nav-item:nth-child(5) { transition-delay: .1s; }
.nav-item:nth-child(6) { transition-delay: .125s; }

.nav-item a {
  color: #fff;
  font-weight: 300;
  font-size: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  display: block;
  border-top: 4px solid rgb(0, 55, 92);
  border-bottom: 4px solid rgb(0, 55, 92);
  text-transform: uppercase;
  transition: border 0.5s;
  overflow: hidden;
}
.nav-item--active a,
.nav-item a:hover {
  border-bottom-color: rgb(191, 30, 46);
}

/* Scroll-margin pour les ancres */
section[id] { scroll-margin-top: 20px; }

/* ─────────────────────────────────────────
   HERO SLIDER
───────────────────────────────────────── */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #000;
  user-select: none;
  touch-action: pan-y;
  margin-top: -36px; /* fait remonter l'image sous la moitié de la navbar */
}

.hero-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-slide {
  flex-shrink: 0;
  width: 100%;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}

/* Flèches prev / next */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: background 0.25s;
  border-radius: 2px;
}
.hero-arrow:hover { background: rgba(191, 30, 46, 0.85); }
.hero-prev { left: 16px; }
.hero-next { right: 16px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
  display: block;
  flex-shrink: 0;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.8); }
.hero-dot--active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.3);
}

/* ─────────────────────────────────────────
   À PROPOS
───────────────────────────────────────── */
.section-about {
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1200px;
  padding-bottom: 48px;
  padding-top: 48px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.about-col-logo {
  padding-left: 12px;
  padding-right: 12px;
  flex: 0 0 50%;
  max-width: 50%;
  text-align: center;
  position: relative;
  width: 100%;
}
.about-logo-img { max-width: 100%; height: auto; }

.about-col-text {
  padding-left: 12px;
  padding-right: 12px;
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
  width: 100%;
}

.about-h1 {
  color: rgb(191, 30, 46);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 35px;
  margin-top: 0;
}

.about-body { margin-top: 12px; }
.about-body p { margin-top: 12px; margin-bottom: 0; }
.about-body p:first-child { margin-top: 0; }

/* ─────────────────────────────────────────
   PAGES SIMPLES
───────────────────────────────────────── */
.page-main {
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1200px;
  padding-top: 48px;
  padding-bottom: 48px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}
.page-main h1 {
  color: rgb(191, 30, 46);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 35px;
}
.page-main p {
  margin-top: 12px;
  margin-bottom: 0;
}

/* ─────────────────────────────────────────
   PAGES LÉGALES (mentions / confidentialité)
───────────────────────────────────────── */
.legal-page {
  max-width: 800px;
  margin: 48px auto;
  padding: 0 24px 48px;
}
.legal-page h1 {
  color: rgb(191, 30, 46);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 35px;
}
.legal-page h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-page p,
.legal-page ul {
  margin-top: 12px;
  margin-bottom: 0;
  line-height: 1.6;
}
.legal-page ul {
  padding-left: 20px;
}
.legal-page li {
  margin-top: 4px;
}
.legal-updated {
  font-size: 14px;
  color: rgb(102, 102, 102);
}
.legal-back {
  margin-top: 32px;
}
.legal-back a {
  color: rgb(191, 30, 46);
  text-decoration: underline;
}

/* Footer léger pour pages légales */
footer .footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgb(102, 102, 102);
}
footer .footer-right a {
  color: rgb(191, 30, 46);
  text-decoration: none;
  transition: opacity 0.3s;
}
footer .footer-right a:hover {
  opacity: 0.75;
}

/* ─────────────────────────────────────────
   PARTENAIRES
───────────────────────────────────────── */
.section-partners {
  background-color: rgb(0, 55, 92);
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}

.partners-container {
  padding-bottom: 48px;
  padding-top: 48px;
}

.partners-title-row {
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
  flex: 0 0 100%;
  width: 100%;
}

.partners-h3 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 700;
  line-height: 35px;
  margin-top: 0;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.partner-logo-item {
  padding-left: 24px;
  padding-right: 24px;
  flex: 0 0 25%;
  max-width: 25%;
  align-items: center;
  display: flex;
  position: relative;
  width: 100%;
}
.partner-logo-item img { max-width: 100%; height: auto; }

/* ─────────────────────────────────────────
   NOS PRESTATIONS (style article ADA)
───────────────────────────────────────── */
.section-articles {
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1200px;
  padding-bottom: 48px;
  padding-top: 48px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.articles-title-row {
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
  flex: 0 0 100%;
  width: 100%;
  margin-bottom: 0;
}

.articles-h3 {
  text-align: center;
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 700;
  line-height: 35px;
  margin-top: 0;
}

.articles-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.art-col {
  padding-left: 12px;
  padding-right: 12px;
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  position: relative;
  width: 100%;
}

.art-list {
  margin-top: 8px;
  padding-left: 20px;
  color: rgb(33, 37, 41);
  font-weight: 300;
}
.art-list li {
  margin-top: 4px;
}

.art-meta {
  font-size: 14px;
  color: rgb(33, 37, 41);
  font-weight: 300;
  margin-top: 12px;
}

.art-title {
  font-size: 20px;
  color: rgb(33, 37, 41);
  margin-bottom: 0;
  font-weight: 700;
  line-height: 25px;
  margin-top: 0;
  padding-top: 4px;
}

.art-desc {
  color: rgb(33, 37, 41);
  font-weight: 300;
  margin-top: 12px;
}

.art-more {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}
.art-more svg { flex-shrink: 0; }

.articles-cta-row {
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
  margin-top: 48px;
  flex: 0 0 100%;
  width: 100%;
}

.btn-primary {
  padding-left: 24px;
  padding-right: 24px;
  color: #fff;
  background-color: rgb(0, 55, 92);
  border: 1px solid rgb(0, 55, 92);
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  font-size: 16px;
  line-height: 24px;
  border-radius: 4px;
  transition: background 0.2s, border-color 0.2s;
  padding-top: 6px;
  padding-bottom: 6px;
}
.btn-primary:hover { background-color: #002845; border-color: #002845; }

/* ─────────────────────────────────────────
   PARALLAX DIVIDER
───────────────────────────────────────── */
.parallax-divider {
  background-image: url('/assets/images/image10.png');
  height: 400px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  width: 100%;
}

/* ─────────────────────────────────────────
   TÉMOIGNAGES
───────────────────────────────────────── */
.section-testi {
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}

.testi-container {
  padding-bottom: 48px;
  padding-top: 48px;
}

.testi-title-row {
  text-align: center;
  width: 100%;
  margin-bottom: 0;
}

.testi-h3 {
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 700;
  line-height: 35px;
  margin-top: 0;
}

.testi-slider-wrap {
  width: 100%;
  position: relative;
  display: block;
  user-select: none;
}

.testi-slider {
  overflow: hidden;
  position: relative;
  display: block;
  min-height: 220px; /* évite que la hauteur change d'un slide à l'autre */
}

.testi-slide {
  display: none;
  padding-left: 48px;
  padding-right: 48px;
  text-align: center;
  width: 100%;
  position: relative;
}
.testi-slide--active { display: block; }

.testi-content { margin-bottom: 0; }
.testi-content p { margin-top: 0; margin-bottom: 12px; }
.testi-content p:first-child { margin-top: 0; }

.testi-quote {
  display: inline-block;
  margin-bottom: 12px;
  margin-top: 12px;
  vertical-align: -4px;
}

.testi-author { display: block; margin-top: 4px; }

/* Boutons testi */
.testi-btn {
  font-size: 22px;
  line-height: 1;
  position: absolute;
  top: 50%;
  display: block;
  width: 32px;
  height: 32px;
  padding: 0;
  transform: translateY(-18px);
  cursor: pointer;
  color: #111;
  border: none;
  outline: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}
.testi-btn:hover {
  color: #000;
  transform: translateY(-18px) scale(1.08);
}
.testi-prev { left: -32px; }
.testi-next { right: -32px; }

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */

/* Parallax zone */
.contact-parallax {
  background-image: url('/assets/images/image3.png');
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding-top: 96px;
  padding-bottom: 200px;
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}

/* Page couverture : image2 derrière "Parlons de votre toiture" */
.page-couverture .contact-parallax {
  background-image: url('/assets/images/image2.png');
}

.contact-parallax-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 48px;
}

.contact-parallax-text {
  padding-left: 12px;
  padding-right: 12px;
  flex: 0 0 66.6667%;
  max-width: 66.6667%;
  color: #fff;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.contact-h2 {
  margin-bottom: 24px;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  margin-top: 0;
  color: #fff;
}

.contact-parallax-text p {
  margin-top: 12px;
  margin-bottom: 0;
  color: #fff;
}

/* Bloc flottant sur parallax */
.contact-block-outer {
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1200px;
  margin-top: -200px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

.contact-block {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
  box-shadow: rgba(0,0,0,0.16) 0 3px 6px 0;
  position: relative;
  z-index: 2;
}

/* Colonne formulaire */
.contact-form-col {
  padding-left: 48px;
  padding-right: 48px;
  flex: 0 0 66.6667%;
  max-width: 66.6667%;
  background-color: #fff;
  text-align: center;
  padding-bottom: 48px;
  padding-top: 48px;
  position: relative;
  width: 100%;
  border-right: 1px solid rgba(51,51,51,0.25);
}

/* Formulaire — grid */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
  text-align: left;
}

/* Floating label fields */
.form-field-float {
  padding-left: 12px;
  padding-right: 12px;
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
  margin-bottom: 18px;
  width: 100%;
}
.form-field-float--full {
  flex: 0 0 100%;
  max-width: 100%;
}

.form-field-float label {
  left: 18px;
  background-color: #fff;
  color: rgb(112, 112, 112);
  padding: 4px 7px;
  pointer-events: none;
  position: absolute;
  top: 13px;
  transition: top 0.25s, font-size 0.25s, color 0.25s;
  z-index: 1;
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

/* Label flotte quand focus ou a une valeur */
.form-field-float input:focus ~ label,
.form-field-float input:not(:placeholder-shown) ~ label,
.form-field-float textarea:focus ~ label,
.form-field-float textarea:not(:placeholder-shown) ~ label,
.form-field-float.has-value label {
  top: -12px;
  font-size: 12px;
  color: rgb(80, 80, 80);
}

.form-field-float input,
.form-field-float select,
.form-field-float textarea {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgb(73, 80, 87);
  background-color: #fff;
  border: 1px solid rgb(206, 212, 218);
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}
.form-field-float input,
.form-field-float select { height: 50px; }
.form-field-float textarea { height: auto; resize: vertical; min-height: 120px; }

.form-field-float input:focus,
.form-field-float select:focus,
.form-field-float textarea:focus {
  outline: none;
  border-color: rgb(0, 55, 92);
  box-shadow: 0 0 0 3px rgba(0,55,92,0.1);
}

.form-field-float input.err,
.form-field-float select.err,
.form-field-float textarea.err {
  border-color: rgb(191,30,46);
}

/* Select arrow */
.form-field-float select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300375c' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-submit-row {
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
  margin-bottom: 18px;
  flex: 0 0 100%;
  max-width: 100%;
  position: relative;
  width: 100%;
}

.btn-submit {
  padding-left: 24px;
  padding-right: 24px;
  color: #fff;
  background-color: rgb(0, 55, 92);
  border: 1px solid rgb(0, 55, 92);
  cursor: pointer;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  padding-top: 6px;
  padding-bottom: 6px;
  border-radius: 4px;
  transition: background 0.15s, border-color 0.15s;
  font-family: inherit;
  overflow: hidden;
}
.btn-submit:hover { background-color: #002845; border-color: #002845; }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-required-row {
  padding-left: 12px;
  padding-right: 12px;
  color: rgb(102,102,102);
  font-size: 14px;
  flex: 0 0 100%;
  max-width: 100%;
  position: relative;
  width: 100%;
  text-align: left;
}

.form-ok {
  display: none;
  margin-top: 12px;
  padding: 12px 18px;
  background: #d4edda;
  color: #155724;
  border-radius: 4px;
  font-size: 15px;
  border: 1px solid #c3e6cb;
}

.form-err {
  margin-top: 12px;
  padding: 12px 18px;
  background: #f8d7da;
  color: #721c24;
  border-radius: 4px;
  font-size: 15px;
  border: 1px solid #f5c6cb;
}

/* Colonne infos */
.contact-info-col {
  padding-left: 12px;
  padding-right: 12px;
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  background-color: #fff;
  text-align: center;
  padding-bottom: 24px;
  padding-top: 24px;
  position: relative;
  width: 100%;
}

.info-block { padding-top: 24px; padding-bottom: 24px; }
.info-block--top { border-bottom: 1px solid rgba(51,51,51,0.25); }
.info-block--mid { border-top: 1px solid rgba(51,51,51,0.25); border-bottom: 1px solid rgba(51,51,51,0.25); padding-top: 48px; padding-bottom: 48px; }
.info-block--bot { border-top: 1px solid rgba(51,51,51,0.25); }

.info-icon {
  color: rgb(191, 30, 46);
  display: inline-block;
  vertical-align: -4px;
}

.info-title {
  margin-top: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.info-text {
  color: rgb(102, 102, 102);
  margin-top: 12px;
  margin-bottom: 0;
}

.info-text a {
  color: rgb(102, 102, 102);
  transition: color 0.3s;
}
.info-text a:hover { color: rgb(191, 30, 46); }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background-color: #fff;
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  padding: 12px;
  justify-content: space-between;
  align-items: center;
  margin-left: -12px;
  margin-right: -12px;
}

.footer-left {
  padding-left: 12px;
  padding-right: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: rgb(102,102,102);
  font-size: 14px;
}

.footer-sep { color: rgba(102,102,102,0.4); }

.footer-links {
  padding-left: 12px;
  padding-right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: rgb(191, 30, 46);
  font-size: 14px;
  transition: opacity 0.3s;
}
.footer-links a:hover { opacity: 0.75; }

/* ─────────────────────────────────────────
   LIGHTBOX
───────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lb-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.lb-close {
  position: absolute;
  top: 16px; right: 20px;
  width: 44px; height: 44px;
  font-size: 32px;
  color: #fff;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.3s;
}
.lb-close:hover { background: rgb(191,30,46); }

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 36px;
  color: #fff;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.lb-nav:hover { background: rgb(191,30,46); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

/* ─────────────────────────────────────────
   NOSCRIPT
───────────────────────────────────────── */
.noscript {
  background: #fff3cd;
  color: #856404;
  text-align: center;
  padding: 12px;
  font-size: 14px;
}

/* ═══════════════════════════════════════
   RESPONSIVE — TABLETTE (≤ 992px)
═══════════════════════════════════════ */
@media (max-width: 992px) {
  .nav-email-text { display: none; }

  .nav-list { height: auto; min-height: 56px; }
  .nav-item a { padding-top: 14px; padding-bottom: 14px; font-size: 13px; }

  .about-container { flex-direction: column; }
  .about-col-logo,
  .about-col-text { flex: 0 0 100%; max-width: 100%; }
  .about-col-logo { margin-bottom: 24px; }
  .about-logo-img { max-width: 200px; margin: 0 auto; }

  .art-col { flex: 0 0 50%; max-width: 50%; }

  .contact-form-col { flex: 0 0 60%; max-width: 60%; padding-left: 24px; padding-right: 24px; }
  .contact-info-col { flex: 0 0 40%; max-width: 40%; }

  .contact-parallax-text { flex: 0 0 100%; max-width: 100%; margin-left: 0; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
═══════════════════════════════════════ */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }

  .hd-container { padding-left: 12px; padding-right: 12px; }

  /* Header */
  .burger { display: flex; }

  .navbar-logo-row { padding-top: 4px; }
  .navbar-logo-inner {
    padding-top: 8px;
    padding-bottom: 8px;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }
  .logo-link img { height: 48px; }

  .nav-email {
    display: flex;
    padding-left: 16px;
    margin-left: auto;
  }

  /* Nav mobile dropdown */
  .navbar-nav { position: relative; }
  .nav-list {
    display: none;
    flex-direction: column;
    height: auto;
    width: 100%;
    background-color: rgb(0,55,92);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
  }
  .nav-list.open { display: flex; }

  .nav-item { flex: none; width: 100%; }
  .nav-item a {
    padding: 18px 24px;
    text-align: left;
    border: none;
    border-left: 4px solid transparent;
    height: auto;
    line-height: 1.5;
    font-size: 15px;
  }
  .nav-item--active a,
  .nav-item a:hover {
    border-left-color: rgb(191,30,46);
    border-bottom-color: transparent;
  }

  /* Hero slider */
  .hero-slider { margin-top: 0; } /* évite le chevauchement avec le header sur mobile */
  .hero-slide img { height: 260px; }
  .hero-arrow { width: 36px; height: 36px; font-size: 18px; }
  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }

  /* About */
  .section-about { padding-top: 32px; padding-bottom: 32px; }
  .about-col-logo,
  .about-col-text { flex: 0 0 100%; max-width: 100%; }
  .about-col-text { order: 1; }
  .about-col-logo { order: 2; text-align: center; margin-top: 20px; }
  .about-logo-img { max-width: 160px; margin: 0 auto; }
  .about-h1 { font-size: 22px; }

  /* Partners */
  .partner-logo-item { flex: 0 0 50%; max-width: 50%; margin-bottom: 16px; }

  /* Articles */
  .art-col { flex: 0 0 100%; max-width: 100%; margin-bottom: 28px; }

  /* Parallax divider */
  .parallax-divider { height: 200px; background-attachment: scroll; }

  /* Testimonials */
  .testi-slide { padding-left: 24px; padding-right: 24px; }
  .testi-prev { left: -16px; }
  .testi-next { right: -16px; }

  /* Contact */
  .contact-parallax { background-attachment: scroll; padding-top: 40px; padding-bottom: 110px; }
  .contact-block-outer { margin-top: -60px; padding-left: 12px; padding-right: 12px; }
  .contact-block { flex-direction: column; }
  .contact-form-col {
    flex: 0 0 100%; max-width: 100%;
    padding-left: 20px; padding-right: 20px;
    border-right: none;
    border-bottom: 1px solid rgba(51,51,51,0.25);
  }
  .contact-info-col { flex: 0 0 100%; max-width: 100%; }

  .form-field-float { flex: 0 0 100%; max-width: 100%; margin-bottom: 14px; }
  .contact-parallax-text { flex: 0 0 100%; max-width: 100%; margin: 0; }

  /* Titres pages simples / légales */
  .page-main h1,
  .legal-page h1 {
    font-size: 24px;
    line-height: 30px;
  }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .footer-left { justify-content: center; }
  .footer-links { justify-content: center; }

  /* Lightbox */
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — PETIT MOBILE (≤ 420px)
═══════════════════════════════════════ */
@media (max-width: 420px) {
  .topbar-phone { font-size: 14px; }
  .partner-logo-item { flex: 0 0 50%; max-width: 50%; }
  .contact-form-col { padding-left: 14px; padding-right: 14px; }
}
