/* ===== DOUBS LEVAGE — Design system ===== */
:root {
  --color-bg: #F6F7F9;
  --color-bg-alt: #EEF1F5;
  --color-surface: #FFFFFF;
  --color-text: #0C1524;
  --color-muted: #5A6A7E;
  --color-border: #D5DCE6;
  --color-primary: #003366;
  --color-primary-dark: #002244;
  --color-accent: #E30613;
  --color-accent-dark: #B80510;
  --color-dark: #0f1c2f;
  --hero-bg: #0f1c2f;
  --color-success: #0D7A4E;
  --color-error: #C62828;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;

  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-sm: 0 2px 8px rgba(12, 21, 36, .06);
  --shadow-md: 0 12px 32px rgba(12, 21, 36, .1);
  --maxw: 1320px;
  --transition: .28s cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --header-h: 72px;
  --section-pad: clamp(4.5rem, 9vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: clamp(.85rem, 2.5vw, 1.5rem);
}

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--color-primary); color: #fff;
  padding: 10px 18px; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { left: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.is-hidden { display: none !important; }

/* ===== Typography hierarchy ===== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: .85rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 700;
  color: var(--color-text);
}
h1 { font-size: clamp(1.9rem, 4.8vw, 3.15rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); }
h3 { font-size: 1.08rem; font-weight: 650; }

.text-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--color-accent); }

/* ===== Buttons — CTAs visibles ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  padding: .85rem 1.45rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
  text-align: center;
  line-height: 1.25;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.75rem; font-size: .95rem; }
.btn-sm { padding: .65rem 1.15rem; font-size: .82rem; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(227, 6, 19, .28);
}
.btn-accent:hover {
  background: var(--color-accent-dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(227, 6, 19, .35);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .28);
}
.btn-whatsapp:hover { background: #1dae55; color: #fff; }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
  color: #fff;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--header-h);
  gap: 1rem;
}

.logo { grid-column: 1; z-index: 2; }
.logo--img img {
  height: clamp(38px, 8vw, 48px);
  width: auto;
  object-fit: contain;
}
.footer-brand .logo--img {
  display: inline-flex;
  background: #fff;
  padding: .5rem .85rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.footer-brand .logo--img img { height: 42px; }

.main-nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2vw, 1.75rem);
}
.main-nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .86rem;
  color: var(--color-muted);
  padding: .35rem 0;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition);
}
.main-nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.main-nav-links a:hover,
.main-nav-links a.active { color: var(--color-text); }
.main-nav-links a:hover::after,
.main-nav-links a.active::after { width: 100%; }

.main-nav-label,
.main-nav-footer,
.nav-backdrop,
.main-nav-chevron { display: none; }

.header-cta { grid-column: 3; justify-self: end; }

.burger {
  display: none;
  grid-column: 3;
  justify-self: end;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  cursor: pointer;
  border-radius: 10px;
  z-index: 125;
}
.burger span {
  width: 18px; height: 1.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease, width .3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; width: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.site-header.menu-is-open .burger {
  background: var(--color-dark);
  border-color: var(--color-dark);
}
.site-header.menu-is-open .burger span { background: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: clamp(520px, 82vh, 700px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--hero-bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--hero-bg);
}
.hero-bg img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(55%, 780px);
  height: 100%;
  object-fit: cover;
  object-position: 60% 60%;
  animation: heroKen 18s ease-in-out infinite alternate;
}
/* Fondu gauche → bleu pour fondre avec le panneau texte */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    var(--hero-bg) 0%,
    var(--hero-bg) 42%,
    rgba(15, 28, 47, .75) 50%,
    rgba(15, 28, 47, .3) 58%,
    transparent 68%
  );
  pointer-events: none;
}
@keyframes heroKen {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.hero-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: calc(var(--header-h) + 2.75rem) clamp(3rem, 7vw, 5rem);
}
.hero-content { max-width: 34rem; width: 100%; }

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
  max-width: 18ch;
}
.hero .lead {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: rgba(255, 255, 255, .86);
  max-width: 42ch;
  margin-bottom: .85rem;
  line-height: 1.6;
}
.hero-price {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .95);
  margin-bottom: 1.85rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

/* ===== Sections ===== */
.section {
  padding-block: var(--section-pad);
  border-bottom: 1px solid transparent;
}
.section-alt {
  background: var(--color-bg-alt);
}
.section-head {
  max-width: 34rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.25rem);
}
.section-head--center {
  text-align: center;
  margin-inline: auto;
}
.section-head p {
  color: var(--color-muted);
  margin-top: .75rem;
  font-size: 1.05rem;
}
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

/* ===== Strengths ===== */
.section-strengths {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.strength-card {
  text-align: center;
  padding: 1.75rem 1.15rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-bg);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.strength-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.strength-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--color-primary);
  color: #fff;
  margin-bottom: 1.1rem;
}
.strength-card h3 { margin-bottom: .45rem; }
.strength-card p {
  color: var(--color-muted);
  font-size: .92rem;
  line-height: 1.5;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #FDEAEC;
  color: var(--color-accent);
  margin-bottom: 1.15rem;
}
.service-card h3 { margin-bottom: .55rem; }
.service-card p {
  color: var(--color-muted);
  font-size: .95rem;
  line-height: 1.55;
}

/* ===== Matériel ===== */
.materiel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.materiel-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.materiel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.materiel-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.materiel-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--ease-out);
}
/* Photo paysage : cadrage sur le mât et la roue */
.materiel-card__media img.materiel-img--retractable { object-position: 72% center; }
.materiel-card:hover .materiel-card__media img { transform: scale(1.03); }
.materiel-card__body { padding: 1.35rem 1.4rem 1.5rem; }
.materiel-card__body h3 { margin-bottom: .35rem; }
.materiel-card__body p {
  color: var(--color-muted);
  font-size: .92rem;
}

/* ===== Partners ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 1.15rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  padding: .35rem;
  overflow: hidden;
}
.partner-logo img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
}
.partner-logo--vir img {
  max-height: none;
  height: 72px;
  max-width: 140%;
  transform: scale(1.55);
}
.partner-card span {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.3;
}

/* ===== Reviews ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  margin: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.review-stars {
  color: #F5A623;
  font-size: 1rem;
  letter-spacing: .08em;
  margin-bottom: .85rem;
}
.review-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1.15rem;
}
.review-card footer {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-muted);
}

/* ===== Gallery carousel ===== */
.gallery-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.gallery-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: .35rem .15rem 1rem;
  flex: 1;
  min-width: 0;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item {
  position: relative;
  flex: 0 0 clamp(200px, 28%, 280px);
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
  cursor: pointer;
  font: inherit;
  color: inherit;
  scroll-snap-align: start;
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  outline: none;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 47, 0);
  transition: background var(--transition);
  pointer-events: none;
  z-index: 1;
}
.gallery-item:hover::after { background: rgba(15, 28, 47, .12); }
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-nav {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), opacity var(--transition);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.gallery-nav:hover:not(:disabled) {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}
.gallery-nav:disabled {
  opacity: .35;
  cursor: default;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 14, 24, .88);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.lightbox-figure {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: lightboxIn .4s var(--ease-out);
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  transition: opacity .25s ease, transform .35s var(--ease-out);
}
.lightbox-figure img.is-switching {
  opacity: 0;
  transform: scale(.96);
}
.lightbox-figure figcaption {
  margin-top: .85rem;
  color: rgba(255, 255, 255, .8);
  font-size: .9rem;
  text-align: center;
}
@keyframes lightboxIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: none;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition), transform var(--transition);
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, .22);
  transform: scale(1.05);
}
.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 46px;
  height: 46px;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
}
.lightbox-prev { left: clamp(.5rem, 3vw, 1.5rem); }
.lightbox-next { right: clamp(.5rem, 3vw, 1.5rem); }
.lightbox-nav:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, .7);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
}

/* ===== Contact ===== */
.section-contact {
  background: var(--color-dark);
  color: #fff;
  border-bottom: 0;
}
.section-head--light h2 { color: #fff; }
.section-head--light p { color: rgba(255, 255, 255, .65); }
.section-contact .eyebrow { color: var(--color-accent); }
.contact-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 2.75rem) clamp(2rem, 5vw, 3.5rem);
  align-items: stretch;
}
.contact-info {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
}
.contact-info-head { margin-bottom: .25rem; }
.contact-info-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  margin: 0;
}
.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  flex: 1;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}
.contact-details li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}
.contact-ic {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.contact-details strong {
  display: block;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: .25rem;
}
.contact-details p,
.contact-details a {
  color: rgba(255, 255, 255, .9);
  font-size: .98rem;
  line-height: 1.5;
  margin: 0;
}
.contact-details a:hover { color: var(--color-accent); }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: auto;
}
.contact-map {
  grid-column: 1 / -1;
  width: 83.333%; /* 5/6 */
  max-width: 83.333%;
  margin-inline: auto;
  margin-top: .75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  aspect-ratio: 21 / 9;
  min-height: 280px;
  background: rgba(0, 0, 0, .2);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-form {
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.15rem);
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { margin-bottom: 1rem; display: flex; flex-direction: column; }
.field label {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: .35rem;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: .8rem .95rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}
.field input.invalid,
.field textarea.invalid { border-color: var(--color-error); }
.field-error { color: var(--color-error); font-size: .78rem; margin-top: .3rem; min-height: 1em; }
.consent {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .82rem;
  color: var(--color-muted);
  margin: .4rem 0 1.15rem;
  line-height: 1.45;
  cursor: pointer;
}
.consent input { margin-top: .2rem; accent-color: var(--color-accent); }
.form-feedback { margin-top: .85rem; font-size: .88rem; font-weight: 600; min-height: 1.25em; }
.form-feedback.success { color: var(--color-success); }
.form-feedback.error { color: var(--color-error); }

/* ===== Footer ===== */
.site-footer {
  background: #0a1422;
  color: rgba(255, 255, 255, .55);
  padding-top: clamp(2.75rem, 5vw, 3.75rem);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand p {
  font-size: .9rem;
  max-width: 26ch;
  line-height: 1.55;
}
.footer-col h3 {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .9rem;
  font-weight: 700;
}
.footer-col a,
.footer-col span {
  display: block;
  font-size: .88rem;
  margin-bottom: .45rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: 1.15rem;
  font-size: .8rem;
}

/* ===== Float ===== */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 90;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--color-primary-dark); }

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.06); color: #fff; }

/* ===== Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal--scale { transform: scale(.95); }
.reveal--scale.visible { transform: none; }

/* ===== Legal ===== */
.legal-hero {
  background: var(--color-dark);
  color: #fff;
  padding-block: calc(var(--header-h) + 1.5rem) clamp(2rem, 5vw, 3rem);
}
.legal-hero .eyebrow { color: var(--color-accent); }
.legal-hero h1 { color: #fff; font-size: clamp(1.65rem, 4vw, 2.4rem); margin-bottom: .75rem; }
.legal-hero p { color: rgba(255, 255, 255, .65); max-width: 54ch; }
.legal-updated { margin-top: 1rem; font-size: .82rem; color: rgba(255, 255, 255, .4); }
.legal-layout {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
}
.legal-toc h2 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-muted);
  margin-bottom: .875rem;
}
.legal-toc a {
  display: block;
  font-size: .86rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-muted);
}
.legal-toc a:last-child { border-bottom: 0; }
.legal-toc a:hover,
.legal-toc a.active { color: var(--color-primary); }
.legal-content section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { font-size: clamp(1.2rem, 3vw, 1.45rem); margin-bottom: 1rem; }
.legal-content h3 { font-size: 1rem; margin: 1.5rem 0 .65rem; }
.legal-content p,
.legal-content li { color: var(--color-muted); margin-bottom: .85rem; line-height: 1.7; }
.legal-content ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-content address { font-style: normal; line-height: 1.75; }

/* ===== Tablet ===== */
@media (max-width: 1023px) {
  .hero { min-height: clamp(480px, 70vh, 620px); }
  .hero-bg img { width: 85%; }
  .hero-bg::after {
    background: linear-gradient(
      90deg,
      var(--hero-bg) 0%,
      var(--hero-bg) 22%,
      rgba(15, 28, 47, .88) 38%,
      rgba(15, 28, 47, .4) 55%,
      transparent 72%
    );
  }
  .hero h1 { max-width: none; }
  .strengths-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid,
  .materiel-grid,
  .reviews-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-map {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }
  .gallery-item { flex-basis: clamp(180px, 42%, 240px); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .lightbox-nav { width: 44px; height: 44px; }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
    --section-pad: 3.5rem;
  }

  body { font-size: 1rem; line-height: 1.55; }
  h1 { font-size: 1.65rem; letter-spacing: -.02em; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.02rem; }

  .nav { grid-template-columns: 1fr auto; }
  .logo--img img { height: 36px; }
  .header-cta { display: none; }
  .burger { display: flex; }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    top: var(--header-h);
    z-index: 110;
    background: rgba(7, 21, 37, .45);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0; bottom: 0;
    left: auto;
    width: min(100vw, 100%);
    max-width: 100%;
    height: calc(100dvh - var(--header-h));
    background: var(--color-surface);
    border-left: none;
    z-index: 115;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.5rem clamp(1.25rem, 5vw, 1.75rem) max(1.75rem, env(safe-area-inset-bottom));
    transform: translate3d(100%, 0, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .45s var(--ease-out), opacity .3s ease, visibility 0s .45s;
  }
  .main-nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .45s var(--ease-out), opacity .3s ease, visibility 0s;
  }
  .main-nav-links {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
  }
  .main-nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: clamp(1.2rem, 4.5vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--color-text);
    text-align: left;
    white-space: normal;
  }
  .main-nav-links a span {
    flex: 1;
    text-align: left;
  }
  .main-nav-links a::after { display: none; }
  .main-nav-chevron {
    display: block;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--color-muted);
    opacity: .55;
    margin-left: 1rem;
  }
  .main-nav-footer {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: auto;
    padding-top: 1.75rem;
    width: 100%;
  }
  .main-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.05rem 1.15rem;
    border-radius: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff !important;
  }
  .main-nav-cta--devis { background: var(--color-accent); }
  .main-nav-cta--whatsapp { background: #25D366; }

  .hero { min-height: auto; }
  .hero-wrap { padding-block: calc(var(--header-h) + 1.5rem) 2.5rem; }
  .hero-bg img {
    width: 100%;
    opacity: 1;
  }
  .hero-bg::after {
    background: linear-gradient(
      to bottom,
      rgba(15, 28, 47, .78) 0%,
      rgba(15, 28, 47, .72) 45%,
      rgba(15, 28, 47, .88) 100%
    );
  }
  .hero h1 { margin-bottom: .7rem; max-width: none; }
  .hero .lead { font-size: .95rem; margin-bottom: .65rem; max-width: none; }
  .hero-price { margin-bottom: 1.25rem; font-size: .9rem; }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .65rem;
  }
  .hero-actions .btn { width: 100%; }

  .section-head { margin-bottom: 1.75rem; }
  .section-head p { font-size: .95rem; }

  .strengths-grid { gap: .85rem; }
  .strength-card { padding: 1.25rem .9rem; }
  .strength-icon { width: 44px; height: 44px; margin-bottom: .85rem; }
  .strength-card p { font-size: .85rem; }

  .service-card,
  .review-card { padding: 1.35rem 1.2rem; }
  .materiel-card__body { padding: 1.1rem 1.15rem 1.25rem; }

  .partners-grid { gap: .7rem; }
  .partner-card { padding: .9rem .6rem; gap: .55rem; }
  .partner-logo { height: 48px; }
  .partner-logo img { max-height: 40px; }
  .partner-logo--vir img {
    height: 56px;
    max-width: 160%;
    transform: scale(1.7);
  }
  .partner-card span { font-size: .7rem; }

  .gallery-item { flex-basis: min(70vw, 240px); }
  .gallery-nav { width: 40px; height: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.25rem; }
  .contact-actions { width: 100%; }
  .contact-actions .btn { flex: 1; min-width: 140px; justify-content: center; }
  .contact-map {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 11;
    min-height: 220px;
  }

  .lightbox { padding: .75rem; }
  .lightbox-close { top: .75rem; right: .75rem; width: 42px; height: 42px; }
  .lightbox-prev { left: .35rem; }
  .lightbox-next { right: .35rem; }
  .lightbox-figure img { max-height: 68vh; }

  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-bg img { animation: none; }
}
