/* ============================================
   TOP CARRELAGE BAILLEUL — Design System
   Rouge & bleu marine de la marque
   ============================================ */

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

:root {
  /* Couleurs de marque, relevees dans le logo vectoriel */
  --rouge: #ED2442;          /* Carrelage */
  --rouge-clair: #ED4661;
  --rouge-fonce: #C9162F;
  /* rouge de marque eclairci, lisible sur les fonds marine */
  --rouge-doux: #FF6B75;
  --orange: #F5A62A;         /* Parquets */
  --bleu: #4BC1F0;           /* Sanitaire */
  --marine: #14263C;
  --marine-clair: #223D56;
  --marine-fonce: #0E1B2B;
  --blanc: #FFFFFF;
  --bg: #F5F6F9;
  --texte: #22304A;
  --muted: #5F6B7E;
  --ligne: #E4E8EF;

  /* Alias de compatibilité (anciennes pages) */
  --or: var(--rouge);
  --noir: var(--marine-fonce);
  --gris-clair: var(--bg);
  --gris-texte: var(--muted);

  --font-titre: 'Montserrat', sans-serif;
  --font-texte: 'Inter', system-ui, sans-serif;
  --transition: all 0.25s ease;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(16, 31, 56, 0.10);
}

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }

h1, h2, h3, h4 { font-family: var(--font-titre); color: var(--marine); line-height: 1.15; }
h1 { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.3rem); text-transform: uppercase; letter-spacing: 0.01em; }
h3 { font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.4rem); }

.or { color: var(--rouge); }

section { padding: 5rem 0; }

/* ============ TOPBAR ============ */
.topbar-site {
  background: var(--marine-fonce);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  height: 38px;
  display: flex; align-items: center;
}
.topbar-site .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.topbar-left { display: flex; align-items: center; gap: 1.5rem; }
.topbar-left span, .topbar-left a { display: inline-flex; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.85); }
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar-right .tel-top { color: #fff; font-weight: 600; letter-spacing: 0.02em; }
.topbar-right .tel-top:hover { color: #EE4450; }
@media (max-width: 700px) {
  .topbar-hide-mobile { display: none !important; }
}

/* ============ NAVBAR ============ */
#navbar {
  position: fixed; top: 38px; left: 0; right: 0; z-index: 1000;
  background: var(--blanc);
  border-bottom: 1px solid var(--ligne);
  transition: var(--transition);
}
#navbar.scrolled { box-shadow: 0 6px 24px rgba(16,31,56,0.10); }
#navbar .container, .topbar-site .container { max-width: 1580px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }

/* Logo */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { display: block; width: auto; height: 40px; }
/* Le bloc est tres large (4,4:1) : il faut cette hauteur pour que le mot
   reste aussi lisible que l ancien logo texte, soit ~13px de hauteur de lettre. */
#navbar .logo-img { height: 46px; }
.nav-mobile-head .logo-img { height: 38px; }
.footer-brand .logo-img { height: 52px; }
@media (max-width: 1400px) { #navbar .logo-img { height: 42px; } }
@media (max-width: 1080px) { #navbar .logo-img { height: 40px; } }
@media (max-width: 420px)  { #navbar .logo-img { height: 34px; } }

/* Liens */
.nav-links { display: flex; gap: 0.1rem; align-items: center; flex-wrap: nowrap; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 0.7rem 0.5rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--marine);
  border-bottom: 2px solid transparent;
  transition: var(--transition); white-space: nowrap;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--rouge); border-bottom-color: var(--rouge); }

/* ============ MENUS DÉROULANTS ============ */
.nav-links > li.has-dropdown > a { display: flex; align-items: center; gap: 0.34rem; }

/* Chevron dessiné en CSS, pivote à l'ouverture */
.has-dropdown > a::after {
  content: ''; width: 5px; height: 5px; flex-shrink: 0;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after { transform: translateY(1px) rotate(-135deg); }

.dropdown {
  position: absolute; top: calc(100% + 13px); left: -0.5rem; min-width: 252px;
  background: var(--blanc);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(16,31,56,0.05), 0 14px 38px rgba(16,31,56,0.15);
  padding: 0.45rem;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(0.975);
  transform-origin: top left;
  transition: opacity 0.26s ease,
              transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.34s;
  z-index: 1002;
}

/* Pont invisible : garde le survol actif au passage de l'espace */
.dropdown::before {
  content: ''; position: absolute; left: 0; right: 0; top: -15px; height: 15px;
}

/* Pointe qui relie le panneau à l'entrée de menu */
.dropdown::after {
  content: ''; position: absolute; left: 1.5rem; top: -5px;
  width: 11px; height: 11px; background: var(--blanc);
  transform: rotate(45deg); border-radius: 2px 0 0 0;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown a {
  position: relative; display: block;
  padding: 0.6rem 0.9rem 0.6rem 1.15rem;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0;
  text-transform: none; color: var(--texte);
  border-radius: 6px;
  opacity: 0; transform: translateX(-5px);
  transition: color 0.22s ease, background-color 0.22s ease,
              opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.has-dropdown:hover .dropdown a,
.has-dropdown:focus-within .dropdown a { opacity: 1; transform: translateX(0); }
.has-dropdown:hover .dropdown a:nth-child(1) { transition-delay: 0.04s; }
.has-dropdown:hover .dropdown a:nth-child(2) { transition-delay: 0.08s; }
.has-dropdown:hover .dropdown a:nth-child(3) { transition-delay: 0.12s; }
.has-dropdown:hover .dropdown a:nth-child(4) { transition-delay: 0.16s; }

/* Repère rouge qui se déploie à la verticale */
.dropdown a::before {
  content: ''; position: absolute; left: 0.5rem; top: 50%;
  width: 3px; height: 0; background: var(--rouge); border-radius: 2px;
  transform: translateY(-50%);
  transition: height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--bg); color: var(--rouge); }
.dropdown a:hover::before, .dropdown a:focus-visible::before { height: 58%; }

@media (prefers-reduced-motion: reduce) {
  .dropdown, .dropdown a, .has-dropdown > a::after { transition-duration: 0.01ms; }
  .dropdown a { transition-delay: 0s !important; }
}

.nav-cta { flex-shrink: 0; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-hamburger span { width: 24px; height: 2.5px; background: var(--marine); border-radius: 2px; }

/* ============ MENU MOBILE ============ */
.nav-mobile {
  position: fixed; inset: 0; background: var(--marine-fonce); z-index: 2000;
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.3s ease,
              transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.38s;
}
.nav-mobile.open { opacity: 1; visibility: visible; transform: none; }

/* En-tête : logo + fermeture */
.nav-mobile-head {
  flex-shrink: 0; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem 1.3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-mobile-close {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px;
  background: rgba(255,255,255,0.08); border: none; color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background-color 0.22s ease;
}
.nav-mobile-close:hover { background: var(--rouge); }

/* Corps défilant */
.nav-mobile-body {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 0.4rem 1.3rem 1.6rem;
}
.nav-mobile-body > a,
.nav-mobile-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; text-align: left;
  padding: 0.95rem 0;
  font-family: var(--font-titre); font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: #fff;
  background: none; border: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: pointer; transition: color 0.22s ease;
}
.nav-mobile-body > a:hover, .nav-mobile-toggle:hover { color: #FF6B75; }

/* Chevron des accordéons */
.nav-mobile-toggle::after {
  content: ''; width: 7px; height: 7px; flex-shrink: 0;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-mobile-group.ouvert > .nav-mobile-toggle { color: #FF6B75; border-bottom-color: transparent; }
.nav-mobile-group.ouvert > .nav-mobile-toggle::after { transform: translateY(2px) rotate(-135deg); }

/* Sous-menus dépliants */
.nav-mobile-sub {
  max-height: 0; overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-mobile-group.ouvert > .nav-mobile-sub { max-height: 360px; }
.nav-mobile-sub a {
  display: block; padding: 0.6rem 0 0.6rem 1rem;
  margin-left: 0.1rem;
  font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.62);
  border-left: 2px solid rgba(255,255,255,0.15);
  transition: color 0.22s ease, border-color 0.22s ease;
}
.nav-mobile-sub a:first-child { padding-top: 0.3rem; }
.nav-mobile-sub a:last-child { padding-bottom: 1rem; }
.nav-mobile-sub a:hover { color: #fff; border-left-color: var(--rouge); }
.nav-mobile-group { border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-mobile-group > .nav-mobile-toggle { border-bottom: none; }

/* Apparition en cascade */
@keyframes navMobileIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.nav-mobile-body > * { opacity: 0; }
.nav-mobile.open .nav-mobile-body > * {
  animation: navMobileIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.nav-mobile.open .nav-mobile-body > *:nth-child(1) { animation-delay: 0.05s; }
.nav-mobile.open .nav-mobile-body > *:nth-child(2) { animation-delay: 0.09s; }
.nav-mobile.open .nav-mobile-body > *:nth-child(3) { animation-delay: 0.13s; }
.nav-mobile.open .nav-mobile-body > *:nth-child(4) { animation-delay: 0.17s; }
.nav-mobile.open .nav-mobile-body > *:nth-child(5) { animation-delay: 0.21s; }
.nav-mobile.open .nav-mobile-body > *:nth-child(6) { animation-delay: 0.25s; }
.nav-mobile.open .nav-mobile-body > *:nth-child(7) { animation-delay: 0.29s; }
.nav-mobile.open .nav-mobile-body > *:nth-child(8) { animation-delay: 0.33s; }
.nav-mobile.open .nav-mobile-body > *:nth-child(9) { animation-delay: 0.37s; }

/* Pied : appel + coordonnées */
.nav-mobile-foot {
  flex-shrink: 0; padding: 1.1rem 1.3rem;
  padding-bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.2);
}
.nav-mobile-foot .btn { width: 100%; }
.nav-mobile-foot p {
  margin-top: 0.75rem; text-align: center;
  font-size: 0.74rem; line-height: 1.65; color: rgba(255,255,255,0.5);
}

/* Hamburger qui se transforme en croix */
.nav-hamburger span { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), opacity 0.2s ease; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .nav-mobile, .nav-mobile-sub, .nav-hamburger span { transition-duration: 0.01ms; }
  .nav-mobile.open .nav-mobile-body > * { animation: none; opacity: 1; }
}

@media (max-width: 1560px) {
  .nav-links > li > a { padding: 0.7rem 0.4rem; font-size: 0.68rem; }
  #navbar .nav-cta { font-size: 0.64rem; padding: 0.75rem 1.1rem; }
}
/* Écrans intermédiaires : on resserre pour garder le menu complet */
@media (max-width: 1400px) {
  .nav-inner { gap: 0.7rem; }
  .nav-logo { gap: 0.5rem; }
  .nav-links > li > a { padding: 0.7rem 0.34rem; font-size: 0.665rem; }
}
/* Le bouton d'appel passe en pastille pour libérer de la place */
@media (max-width: 1320px) {
  #navbar .nav-cta {
    font-size: 0; gap: 0; padding: 0;
    width: 42px; height: 42px; border-radius: 50%;
  }
  #navbar .nav-cta svg { width: 17px; height: 17px; }
  .nav-links > li > a { padding: 0.7rem 0.3rem; font-size: 0.645rem; }
}
@media (max-width: 1080px) {
  .nav-links, #navbar .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============ BOUTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  font-family: var(--font-titre); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: var(--transition);
}
.btn-or, .btn-rouge {
  background: var(--rouge); color: #fff; border-color: var(--rouge);
}
.btn-or:hover, .btn-rouge:hover { background: var(--rouge-fonce); border-color: var(--rouge-fonce); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(226,51,63,0.35); color: #fff; }
.btn-outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { background: #fff; color: var(--marine); border-color: #fff; }
.btn-outline-dark {
  background: transparent; color: var(--marine); border-color: var(--marine);
}
.btn-outline-dark:hover { background: var(--marine); color: #fff; }
.btn-marine { background: var(--marine); color: #fff; border-color: var(--marine); }
.btn-marine:hover { background: var(--marine-fonce); }

/* ============ HERO ACCUEIL ============ */
.hero {
  position: relative;
  margin-top: 110px; padding: 0;
}
.hero-grid { display: grid; grid-template-columns: 1fr 300px; width: 100%; min-height: calc(92vh - 110px); }
.hero-main {
  position: relative; display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('photos/site/showroom-vue-large.webp');
  background-size: cover; background-position: center;
  animation: heroZoom 16s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,31,56,0.9) 0%, rgba(16,31,56,0.55) 45%, rgba(16,31,56,0.12) 100%);
}
.hero-content {
  position: relative; z-index: 2; padding: 4.5rem 2rem 4.5rem 0; max-width: 660px;
  margin-left: max(1.5rem, calc((100vw - 1240px) / 2 + 1.5rem));
}
.hero-eyebrow {
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: #fff;
  font-weight: 600; margin-bottom: 1rem; opacity: 0.9;
}
.hero-content h1 {
  color: #fff; text-transform: uppercase; margin-bottom: 1.1rem;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
}
.hero-content h1 .rouge-txt { display: block; font-size: 1.55em; letter-spacing: 0.01em; }
.hero-content > p { color: rgba(255,255,255,0.85); font-size: 1.02rem; max-width: 46ch; margin-bottom: 1.8rem; }
.hero-usps { display: flex; gap: 1.8rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-usp { display: flex; align-items: center; gap: 0.7rem; color: #fff; }
.hero-usp-icon {
  width: 42px; height: 42px; border: 1.5px solid rgba(255,255,255,0.4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.05rem;
}
.hero-usp b { display: block; font-size: 0.83rem; font-family: var(--font-titre); }
.hero-usp small { font-size: 0.7rem; opacity: 0.75; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Panneau latéral hero */
.hero-side {
  background: var(--marine);
  display: flex; flex-direction: column; justify-content: center;
  padding: 2.5rem 1.7rem; gap: 1.8rem;
}
.hero-side-item { display: flex; gap: 1rem; align-items: flex-start; }
.hero-side-icon {
  width: 42px; height: 42px; flex-shrink: 0; color: #fff; font-size: 1.1rem;
  border: 1.5px solid rgba(255,255,255,0.25); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.hero-side-item h4, .hero-side-item h2 { color: #fff; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.2rem; }
.hero-side-item p { color: rgba(255,255,255,0.6); font-size: 0.75rem; line-height: 1.5; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-side { flex-direction: row; flex-wrap: wrap; padding: 1.8rem 1.5rem; gap: 1.4rem; }
  .hero-side-item { flex: 1 1 240px; }
  .hero-content { padding: 5rem 1.5rem; margin-left: 0; }
}

/* ============ CARTES CATÉGORIES ============ */
.section-categories { padding: 4.5rem 0; background: var(--blanc); }
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem;
}
.cat-card {
  position: relative; height: 300px; overflow: hidden; border-radius: var(--radius);
  display: block; box-shadow: 0 4px 16px rgba(16,31,56,0.08);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cat-card:hover img { transform: scale(1.07); }
.cat-card-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem;
  background: linear-gradient(180deg, rgba(16,31,56,0) 30%, rgba(16,31,56,0.9) 100%);
}
.cat-card h3 { color: #fff; font-size: 1.12rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.3rem; }
.cat-card-overlay p { color: rgba(255,255,255,0.75); font-size: 0.8rem; margin-bottom: 0.9rem; }
.cat-btn {
  align-self: flex-start;
  font-family: var(--font-titre); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; border: 1.5px solid rgba(255,255,255,0.5); border-radius: 3px; padding: 0.45rem 0.9rem;
  transition: var(--transition);
}
.cat-card:hover .cat-btn { background: var(--rouge); border-color: var(--rouge); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } .cat-card { height: 240px; } }

/* ============ BANDEAU USP + CTA RDV ============ */
.usp-strip { background: var(--bg); padding: 3.5rem 0; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.35fr; gap: 1.2rem; align-items: stretch; }
.usp-item {
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius);
  padding: 1.6rem 1.3rem; display: flex; flex-direction: column; gap: 0.6rem;
}
.usp-icon { color: var(--rouge); font-size: 1.5rem; }
.usp-item h4, .usp-item h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.usp-item p { font-size: 0.77rem; color: var(--muted); line-height: 1.55; }
.usp-cta {
  background: var(--marine); border-radius: var(--radius); padding: 1.8rem 1.5rem;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.8rem;
}
.usp-cta .barre { width: 34px; height: 3px; background: var(--rouge); }
.usp-cta h3 { color: #fff; font-size: 1.25rem; text-transform: uppercase; }
.usp-cta p { color: rgba(255,255,255,0.65); font-size: 0.8rem; }
@media (max-width: 1100px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } .usp-cta { grid-column: 1 / -1; } }
@media (max-width: 560px) { .usp-grid { grid-template-columns: 1fr; } }

/* ============ HELPERS SECTIONS (compat) ============ */
.tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--rouge); margin-bottom: 0.8rem; font-family: var(--font-titre);
}
.sep { width: 48px; height: 3px; background: var(--rouge); margin: 1.1rem 0 1.4rem; border-radius: 2px; }
.sep-center { margin-left: auto; margin-right: auto; }
.section-header { text-align: center; max-width: 660px; margin: 0 auto 2rem; }
.section-header p { color: var(--muted); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
}

/* ============ INTRO / STATS (compat) ============ */
.section-intro { background: var(--blanc); }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.intro-text p { color: var(--muted); margin-bottom: 1rem; }
.intro-image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.stat-item { text-align: center; padding: 1.2rem 0.5rem; background: var(--bg); border-radius: var(--radius); border-bottom: 3px solid var(--rouge); }
.stat-number { font-family: var(--font-titre); font-weight: 800; font-size: 1.9rem; color: var(--marine); }
.stat-label { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem; }
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============ UNIVERS / PRODUITS (compat) ============ */
.section-univers { background: var(--bg); }
.univers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.univers-card {
  position: relative; height: 280px; overflow: hidden; border-radius: var(--radius); display: block;
}
.univers-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.univers-card:hover img { transform: scale(1.07); }
.univers-card-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; background: linear-gradient(180deg, rgba(16,31,56,0) 35%, rgba(16,31,56,0.88) 100%);
}
.univers-card-overlay h3 { color: #fff; text-transform: uppercase; font-size: 1.08rem; }
.univers-card-link { color: rgba(255,255,255,0.8); font-size: 0.78rem; margin-top: 0.3rem; }
@media (max-width: 900px) { .univers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .univers-grid { grid-template-columns: 1fr; } }

/* ============ RÉALISATIONS / INSPIRATIONS ============ */
.section-realisations { background: var(--marine-fonce); }
.section-realisations h2 { color: #fff; }
.realisations-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.realisations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.realisation-card { position: relative; overflow: hidden; border-radius: var(--radius); }
.realisation-card img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.6s ease; }
.realisation-card:hover img { transform: scale(1.06); }
.realisation-card-info {
  position: absolute; inset: auto 0 0 0; padding: 1.2rem;
  background: linear-gradient(180deg, rgba(16,31,56,0) 0%, rgba(16,31,56,0.94) 90%);
}
.realisation-card-info span { color: #FF6B75; font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 0.2rem; }
.realisation-card-info p { color: #fff; font-size: 0.9rem; font-weight: 500; }
@media (max-width: 900px) { .realisations-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .realisations-grid { grid-template-columns: 1fr; } }

/* ============ CTA RDV (compat) ============ */
.section-cta { background: var(--blanc); }
.cta-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.cta-text p { color: var(--muted); margin-bottom: 1.4rem; }
.cta-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 1.8rem; }
.cta-feature { font-size: 0.85rem; padding-left: 1.5rem; position: relative; color: var(--texte); }
.cta-feature::before { content: '✓'; position: absolute; left: 0; color: var(--rouge); font-weight: 700; }
.cta-card {
  background: var(--marine); border-radius: var(--radius); padding: 2.2rem;
  box-shadow: var(--shadow);
}
.cta-card h3 { color: #fff; text-transform: uppercase; font-size: 1.02rem; margin-bottom: 1.4rem; }
.cta-horaires { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.4rem; }
.cta-horaire { display: flex; justify-content: space-between; font-size: 0.84rem; color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 0.5rem; }
.cta-horaire span:first-child { font-weight: 600; color: #fff; }
.cta-horaire.fermé span:last-child { color: #FF6B75; font-weight: 600; }
.cta-adresse { display: flex; gap: 0.8rem; align-items: center; color: rgba(255,255,255,0.8); font-size: 0.85rem; margin-bottom: 0.6rem; }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ============ AVIS GOOGLE ============ */
.section-avis { background: var(--bg); }
/* Etoiles a la note exacte : une rangee doree rognee par-dessus une rangee grise */
.etoiles { position: relative; display: inline-block; color: #D6D9DF; white-space: nowrap; }
.etoiles-plein { position: absolute; left: 0; top: 0; overflow: hidden; color: #FBBC05; }
.avis-stars .etoiles { font-size: 0.9em; }
.avis-sans-cartes .avis-header { margin-bottom: 0; }
/* Les avis sont cites tels quels : on respecte les retours a la ligne de l'auteur */
.avis-card p { white-space: pre-line; }
.section-avis h2 { color: var(--marine); }
.avis-header { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; margin-bottom: 2.5rem; }
.avis-score-inner {
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius); padding: 1.8rem 2.4rem;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  box-shadow: var(--shadow);
}
.avis-note { font-family: var(--font-titre); font-weight: 800; font-size: 2.6rem; color: var(--marine); line-height: 1; }
.avis-etoiles { color: #FBBC05; font-size: 1.1rem; letter-spacing: 2px; }
.avis-total { font-size: 0.78rem; color: var(--muted); }
.avis-carousel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.avis-card {
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius); padding: 1.5rem;
  color: var(--texte);
}
.avis-card p { font-size: 0.85rem; color: var(--texte); font-style: italic; line-height: 1.65; }
.avis-card-top { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.9rem; }
.avis-avatar {
  width: 42px; height: 42px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0; overflow: hidden;
}
.avis-nom { font-weight: 600; font-size: 0.88rem; color: var(--marine); }
.avis-stars { font-size: 0.75rem; }
.avis-date { margin-left: auto; font-size: 0.72rem; color: var(--muted); }
.avis-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2rem; }
.avis-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--marine); background: transparent;
  color: var(--marine); cursor: pointer; transition: var(--transition); font-size: 1rem;
}
.avis-btn:hover { background: var(--marine); color: #fff; }
.avis-dots { display: flex; gap: 0.5rem; }
.avis-dot { width: 9px; height: 9px; border-radius: 50%; background: #CDD4DF; cursor: pointer; transition: var(--transition); }
.avis-dot.active { background: var(--rouge); }
@media (max-width: 1100px) { .avis-carousel { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .avis-carousel { grid-template-columns: 1fr; }
  .avis-header { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============ PAGE HERO (pages intérieures) ============ */
.page-hero {
  position: relative; min-height: 300px; display: flex; align-items: center;
  margin-top: 110px; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,31,56,0.93), rgba(16,31,56,0.55)); }
.page-hero-content { position: relative; z-index: 2; padding: 4rem 0 3rem; }
.page-hero-content h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: uppercase; }
.page-hero .sep { background: var(--rouge); }
.breadcrumb { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 0.8rem; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #FF6B75; }
.breadcrumb span { margin: 0 0.4rem; color: #FF6B75; }

/* ============ CONTACT (compat) ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; }
.contact-infos .lead { color: var(--muted); margin-bottom: 2rem; }
.contact-bloc { display: flex; gap: 1.1rem; margin-bottom: 1.6rem; }
.contact-bloc-icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--radius);
  background: var(--marine); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.contact-bloc-text h4, .contact-bloc-text h3 { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.25rem; }
.contact-bloc-text p, .contact-bloc-text a { font-size: 0.9rem; color: var(--muted); }
.contact-bloc-text a:hover { color: var(--rouge); }
.contact-map { position: relative; border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
.contact-map img { height: 220px; width: 100%; object-fit: cover; }
.contact-acces {
  margin-top: 2rem; border-radius: var(--radius); background: var(--marine); color: #fff;
  padding: 1.8rem 2rem; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.contact-acces-adresse { font-family: var(--font-titre); font-weight: 700; font-size: 1.15rem; line-height: 1.35; margin: 0.5rem 0 0.4rem; }
.contact-acces-detail { font-size: 0.83rem; color: rgba(255,255,255,0.7); line-height: 1.6; max-width: 40ch; }

.contact-form {
  background: var(--bg); border: 1px solid var(--ligne); border-radius: var(--radius); padding: 2.5rem;
}
.contact-form h3 { text-transform: uppercase; font-size: 1.05rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--marine); margin-bottom: 0.4rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.8rem 1rem; font-family: var(--font-texte); font-size: 0.9rem;
  border: 1.5px solid var(--ligne); border-radius: var(--radius); background: var(--blanc); color: var(--texte);
  transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--rouge); box-shadow: 0 0 0 3px rgba(226,51,63,0.12);
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============ HISTOIRE (compat) ============ */
.histoire-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.histoire-text p { color: var(--muted); margin-bottom: 1rem; }
.histoire-image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.timeline { max-width: 800px; margin: 3rem auto 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--ligne); transform: translateX(-50%); }
.timeline-item { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 1.5rem; margin-bottom: 2.5rem; align-items: center; }
.timeline-dot {
  width: 52px; height: 52px; border-radius: 50%; background: var(--marine); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-titre); font-weight: 700;
  font-size: 0.85rem; position: relative; z-index: 2; border: 4px solid var(--blanc); box-shadow: 0 0 0 2px var(--rouge);
  margin: 0 auto;
}
.timeline-content { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius); padding: 1.4rem 1.6rem; box-shadow: 0 4px 14px rgba(16,31,56,0.06); }
.timeline-content h3 { color: var(--rouge); font-size: 1.1rem; margin-bottom: 0.4rem; }
.timeline-content p { font-size: 0.86rem; color: var(--muted); }
@media (max-width: 800px) {
  .histoire-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .timeline::before { left: 26px; }
  .timeline-item { grid-template-columns: 60px 1fr; }
  .timeline-item > div:empty { display: none; }
}

/* ============ ÉQUIPE ============ */
.equipe-grid { display: grid; gap: 2rem; }
.membre-card {
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius);
  overflow: hidden; text-align: center; padding-bottom: 1.6rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}
.membre-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(16, 31, 56, 0.16);
  border-color: transparent;
}

/* Photo : zoom doux + voile marine au survol */
.membre-img {
  height: 320px; overflow: hidden; margin-bottom: 1.2rem; background: var(--bg);
  position: relative;
}
.membre-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}
.membre-card:hover .membre-img img { transform: scale(1.06); filter: saturate(1.08); }

/* Avatar provisoire : initiales dans le losange du logo, teinte de la specialite
   (rouge carrelage, orange parquets, bleu deco et sanitaire, marine direction) */
.membre-avatar {
  --teinte: var(--marine);
  height: 220px; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--teinte) 14%, transparent) 0, transparent 62%),
    var(--bg);
}
.membre-avatar[data-teinte="rouge"]  { --teinte: var(--rouge); }
.membre-avatar[data-teinte="orange"] { --teinte: var(--orange); }
.membre-avatar[data-teinte="bleu"]   { --teinte: #2A9ED6; }
.avatar-losange {
  width: 92px; height: 92px; border-radius: 16px; background: var(--teinte);
  transform: rotate(45deg); display: flex; align-items: center; justify-content: center;
  box-shadow: -10px 10px 0 color-mix(in srgb, var(--teinte) 22%, transparent);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.avatar-losange span {
  transform: rotate(-45deg); color: #fff; font-family: var(--font-titre);
  font-weight: 800; font-size: 1.55rem; letter-spacing: 0.04em;
}
.membre-card:hover .avatar-losange { transform: rotate(45deg) scale(1.08); }
.membre-avatar::after { display: none; }

/* Grille de l'equipe : 3 colonnes sur ordinateur, 2 sur tablette, 1 sur telephone */
.equipe-grid.equipe-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .equipe-grid.equipe-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .equipe-grid.equipe-grid-3 { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; } }

.membre-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,31,56,0) 45%, rgba(16,31,56,0.55) 100%);
  opacity: 0; transition: opacity 0.45s ease;
}
.membre-card:hover .membre-img::after { opacity: 1; }

/* Liseré rouge qui se déploie depuis la gauche */
.membre-img::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--rouge); z-index: 2;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.membre-card:hover .membre-img::before { transform: scaleX(1); }

.membre-card h3 { font-size: 1.02rem; transition: color 0.3s ease; }
.membre-card:hover h3 { color: var(--rouge); }

.membre-role {
  color: var(--rouge); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; margin: 0.3rem 0 0.7rem;
  transition: letter-spacing 0.4s ease;
}
.membre-card:hover .membre-role { letter-spacing: 0.2em; }

.membre-bio {
  font-size: 0.82rem; color: var(--muted); padding: 0 1.4rem; line-height: 1.6;
  transition: color 0.3s ease;
}
.membre-card:hover .membre-bio { color: var(--texte); }

@media (prefers-reduced-motion: reduce) {
  .membre-card, .membre-card:hover,
  .membre-img img, .membre-card:hover .membre-img img,
  .membre-role, .membre-card:hover .membre-role {
    transform: none; transition: none; letter-spacing: inherit;
  }
}

/* ============ SERVICES ============ */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.service-card {
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius); padding: 2rem;
  display: flex; gap: 1.4rem; transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon {
  width: 54px; height: 54px; flex-shrink: 0; border-radius: var(--radius); font-size: 1.3rem;
  background: var(--marine); color: #fff; display: flex; align-items: center; justify-content: center;
}
.service-card h3 { font-size: 0.98rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.87rem; color: var(--muted); }
@media (max-width: 800px) { .services-grid { grid-template-columns: 1fr; } }
/* Sous 420 px, les 2 rem de marge interieure plus l'icone fixe rendaient la
   carte plus large que l'ecran. min-width:0 autorise le texte a se replier. */
@media (max-width: 420px) {
  .service-card { padding: 1.4rem; gap: 1rem; }
  .service-card > * { min-width: 0; }
}

/* ============ FOOTER ============ */
footer { background: var(--marine-fonce); color: rgba(255,255,255,0.7); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 1rem; }
.footer-col h2 {
  color: #fff; font-size: 0.73rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.2rem;
  position: relative; padding-bottom: 0.6rem;
}
.footer-col h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--rouge); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.85rem; transition: var(--transition); }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact p { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.85rem; margin-bottom: 0.8rem; }
.footer-contact svg { margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.75); }
.footer-contact a:hover { color: #fff; }
.secteurs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.secteur-carte {
  display: flex; flex-direction: column; gap: 0.35rem; padding: 1.4rem 1.5rem;
  background: var(--blanc); border: 1px solid rgba(20,38,60,0.09); border-radius: 4px;
  text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.secteur-carte:hover { border-color: var(--rouge); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20,38,60,0.08); }
.secteur-ville { font-family: var(--titre, inherit); font-size: 1.12rem; font-weight: 700; color: var(--marine); }
.secteur-km { font-size: 0.82rem; font-weight: 600; color: var(--rouge); font-variant-numeric: tabular-nums; }
.secteur-route { font-size: 0.82rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) { .secteurs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .secteurs-grid { grid-template-columns: 1fr; } }

.footer-secteurs {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 1.1rem 0; font-size: 0.75rem;
  color: rgba(255,255,255,0.45); line-height: 1.9;
}
.footer-secteurs a { color: rgba(255,255,255,0.55); white-space: nowrap; }
.footer-secteurs a:hover { color: #fff; }
.footer-secteurs span { color: rgba(255,255,255,0.35); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 1.4rem 0; display: flex; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; font-size: 0.75rem; color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 1200px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============ ICONES SVG ============ */
.topbar-left svg, .topbar-right svg { flex-shrink: 0; }
.hero-usp-icon svg, .hero-side-icon svg, .usp-icon svg, .service-icon svg { display: block; }
.usp-icon { font-size: 0; margin-bottom: 0.2rem; }

/* ============ NAV SECONDAIRE DE PAGE (ancres) ============ */
.guide-nav {
  background: var(--blanc); border-bottom: 1px solid var(--ligne);
  position: sticky; top: 110px; z-index: 900;
  overflow-x: auto;
}
.guide-nav .container { display: flex; gap: 0.3rem; }
.guide-nav a {
  padding: 1rem 0.9rem; font-family: var(--font-titre); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid transparent; white-space: nowrap; transition: var(--transition);
}
.guide-nav a:hover { color: var(--rouge); border-bottom-color: var(--rouge); }

/* ============ SOUS-CATÉGORIES ============ */
.subcat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.subcat-card {
  background: var(--blanc); border: 1px solid var(--ligne); border-top: 3px solid var(--rouge);
  border-radius: var(--radius); padding: 1.8rem; transition: var(--transition);
}
.subcat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.subcat-card h3 { font-size: 0.98rem; text-transform: uppercase; margin-bottom: 0.6rem; }
.subcat-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }
.subcat-card ul { margin-top: 0.7rem; display: flex; flex-direction: column; gap: 0.35rem; }
.subcat-card li { font-size: 0.82rem; color: var(--texte); padding-left: 1.2rem; position: relative; }
.subcat-card li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 1px; background: var(--rouge);
}

/* Listes a puces (pages produits) */
.liste-puces { display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.9rem; margin-top: 0.3rem; }
.liste-puces li { position: relative; padding-left: 1.2rem; color: var(--texte); }
.liste-puces li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 1px; background: var(--rouge);
}
/* Variante a 4 cartes : sans cela la quatrieme se retrouve seule sur sa ligne */
.subcat-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .subcat-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .subcat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .subcat-grid, .subcat-grid-4 { grid-template-columns: 1fr; } }

/* ============ TABLEAU SPÉCIFICATIONS ============ */
.spec-table-wrap { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--ligne); border-radius: var(--radius); }
table.spec-table { width: 100%; border-collapse: collapse; background: var(--blanc); font-size: 0.86rem; }
.spec-table th {
  background: var(--marine); color: #fff; text-align: left; padding: 0.9rem 1.1rem;
  font-family: var(--font-titre); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.spec-table td { padding: 0.85rem 1.1rem; border-top: 1px solid var(--ligne); color: var(--texte); vertical-align: top; }
.spec-table tr:nth-child(even) td { background: var(--bg); }
.spec-table td:first-child { font-weight: 600; color: var(--marine); white-space: nowrap; }

/* ============ FAQ ============ */
.faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
details.faq-item {
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius); overflow: hidden;
}
details.faq-item summary {
  cursor: pointer; padding: 1.1rem 1.4rem; font-family: var(--font-titre); font-weight: 700;
  font-size: 0.88rem; color: var(--marine); list-style: none; position: relative; padding-right: 3rem;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+'; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  color: var(--rouge); font-size: 1.3rem; font-weight: 600; transition: var(--transition);
}
details.faq-item[open] summary::after { content: '–'; }
details.faq-item[open] summary { border-bottom: 1px solid var(--ligne); }
details.faq-item .faq-body { padding: 1.1rem 1.4rem; font-size: 0.87rem; color: var(--muted); line-height: 1.7; }
details.faq-item .faq-body p + p { margin-top: 0.6rem; }

/* ============ ÉTAPES / PROCESSUS ============ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.step-card { position: relative; padding: 1.8rem 1.5rem 1.5rem; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius); }
.step-card .step-num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--rouge); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-titre); font-weight: 800; font-size: 1rem; margin-bottom: 1rem;
}
.step-card h3 { font-size: 0.92rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 1000px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

/* ============ MARQUES ============ */
.marques-strip { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.marque-chip {
  padding: 0.8rem 1.6rem; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius);
  font-family: var(--font-titre); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--marine);
}

/* ============ GALERIE INSPIRATIONS ============ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 2rem 0; }
.filter-btn {
  padding: 0.6rem 1.3rem; background: var(--blanc); border: 1.5px solid var(--ligne); border-radius: 50px;
  font-family: var(--font-titre); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); cursor: pointer; transition: var(--transition);
}
.filter-btn:hover { border-color: var(--marine); color: var(--marine); }
.filter-btn.active { background: var(--marine); border-color: var(--marine); color: #fff; }
.insp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.insp-item { position: relative; border-radius: var(--radius); overflow: hidden; display: block; }
.insp-item img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.5s ease; display: block; }
.insp-item:hover img { transform: scale(1.05); }
.insp-overlay {
  position: absolute; inset: auto 0 0 0; padding: 2.2rem 1.3rem 1.2rem;
  background: linear-gradient(180deg, rgba(16,31,56,0) 0%, rgba(16,31,56,0.92) 85%);
}
.insp-overlay .chip {
  display: inline-block; background: var(--rouge); color: #fff; font-family: var(--font-titre);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.28rem 0.7rem; border-radius: 3px; margin-bottom: 0.45rem;
}
.insp-overlay p { color: #fff; font-size: 0.92rem; font-weight: 500; }
.insp-item.hidden { display: none; }
@media (max-width: 900px) { .insp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .insp-grid { grid-template-columns: 1fr; } .insp-item img { height: 260px; } }

/* ============ HISTOIRE V2 ============ */
.quote-block {
  max-width: 760px; margin: 0 auto; text-align: center; padding: 1rem 1.5rem;
}
.quote-block blockquote {
  font-family: var(--font-titre); font-size: clamp(1.15rem, 2.6vw, 1.7rem); font-weight: 600;
  line-height: 1.45; color: var(--marine);
}
.quote-block cite {
  display: block; margin-top: 1.4rem; font-style: normal; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--rouge); font-weight: 700;
}
.enseignes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.enseigne-card {
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius);
  padding: 2rem; text-align: center; transition: var(--transition);
}
.enseigne-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.enseigne-card .mini-badge {
  width: 40px; height: 40px; margin: 0 auto 1rem; position: relative;
}
.enseigne-card .mini-badge span {
  position: absolute; inset: 0; background: linear-gradient(135deg, #EE4450, var(--rouge-fonce));
  border-radius: 8px; transform: rotate(45deg) scale(0.8);
  display: flex; align-items: center; justify-content: center;
}
.enseigne-card .mini-badge b {
  transform: rotate(-45deg); color: #fff; font-family: var(--font-titre); font-size: 0.55rem; font-weight: 800;
}
.enseigne-card h3 { font-size: 1rem; text-transform: uppercase; }
.enseigne-card p { font-size: 0.84rem; color: var(--muted); margin-top: 0.5rem; }
@media (max-width: 800px) { .enseignes-grid { grid-template-columns: 1fr; } }

/* ============ DIVERS ============ */
.hero-scroll { display: none; }
::selection { background: var(--rouge); color: #fff; }

/* ============ GRILLES A TROIS COLONNES ============
   Regroupees ici plutot qu'en style inline : un style inline ne peut pas
   etre repris par une media query, la grille restait a trois colonnes sur
   telephone et poussait la page hors de l'ecran. */
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .trio-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .steps-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .trio-grid, .steps-grid-3 { grid-template-columns: 1fr; gap: 1.2rem; }
}
