/* ============================================================
   ACCES ÉNERGIES — assets/css/style.css
   ============================================================ */

/* ── ESPHIMERE FONT FACE */
@font-face { font-family:'Esphimere'; src:url('../fonts/Esphimere_Thin.woff') format('woff'); font-weight:100; font-style:normal; font-display:swap; }
@font-face { font-family:'Esphimere'; src:url('../fonts/Esphimere_Thin_Italic.woff') format('woff'); font-weight:100; font-style:italic; font-display:swap; }
@font-face { font-family:'Esphimere'; src:url('../fonts/Esphimere_Extra_Light.woff') format('woff'); font-weight:200; font-style:normal; font-display:swap; }
@font-face { font-family:'Esphimere'; src:url('../fonts/Esphimere_Extra_Light_Italic.woff') format('woff'); font-weight:200; font-style:italic; font-display:swap; }
@font-face { font-family:'Esphimere'; src:url('../fonts/Esphimere_Light.woff') format('woff'); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:'Esphimere'; src:url('../fonts/Esphimere_Light_Italic.woff') format('woff'); font-weight:300; font-style:italic; font-display:swap; }
@font-face { font-family:'Esphimere'; src:url('../fonts/Esphimere.woff') format('woff'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Esphimere'; src:url('../fonts/Esphimere_Italic.woff') format('woff'); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:'Esphimere'; src:url('../fonts/Esphimere_Semi_Bold.woff') format('woff'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Esphimere'; src:url('../fonts/Esphimere_Semi_Bold_Italic.woff') format('woff'); font-weight:600; font-style:italic; font-display:swap; }
@font-face { font-family:'Esphimere'; src:url('../fonts/Esphimere_Bold.woff') format('woff'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Esphimere'; src:url('../fonts/Esphimere_Bold_Italic.woff') format('woff'); font-weight:700; font-style:italic; font-display:swap; }

/* ── RESET & TOKENS ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red:    #EC2127;
  --red-dk: #C01B20;
  --black:  #111111;
  --gray:   #F5F5F5;
  --mid:    #777;
  --white:  #FFFFFF;
  --radius: 4px;
  --tr:     .35s ease;
}
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: var(--white); color: var(--black); }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; }

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
@keyframes countUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(.9); transition: opacity .6s ease, transform .6s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }
.delay-6 { transition-delay: .6s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; transition: none; }
}

/* ── TOPBAR ──────────────────────────────────────────────── */
#topbar {
  background: var(--black); color: #aaa;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: .04em;
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 60px;
}
#topbar strong { color: var(--white); }
#topbar a { color: var(--red); text-decoration: none; font-weight: 700; transition: color var(--tr); }
#topbar a:hover { color: var(--white); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-search { display: inline-flex; align-items: center; background: rgba(255,255,255,.08); border: 1px solid var(--red); border-radius: 4px; margin-left: 8px; overflow: hidden; transition: border-color var(--tr); }
.topbar-search:focus-within { border-color: var(--white); }
.topbar-search input { background: transparent; border: none; color: #fff; font-size: 12px; font-family: 'Barlow Condensed', sans-serif; padding: 4px 10px; width: 130px; outline: none; transition: width .3s ease; }
.topbar-search:focus-within input { width: 280px; }
.topbar-search input::placeholder { color: rgba(255,255,255,.85); }
.topbar-search button { background: transparent; border: none; color: #fff; cursor: pointer; padding: 4px 8px; display: flex; align-items: center; transition: color var(--tr); }
.topbar-search button:hover { color: var(--red); }
.topbar-social { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; }
.topbar-social a { color: rgba(255,255,255,.5) !important; font-weight: 400 !important; transition: color var(--tr); }
.topbar-social a:hover { color: var(--red) !important; }

/* ── NAV ─────────────────────────────────────────────────── */
#main-nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--white); border-bottom: 3px solid var(--red);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 68px;
  box-shadow: 0 2px 24px rgba(0,0,0,.08);
  transition: box-shadow var(--tr);
}
#main-nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.14); }

.nav-logo {
  font-family: 'Esphimere', 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 800; letter-spacing: .02em;
  color: var(--black); text-decoration: none;
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.nav-logo-picto { height: 28px; width: auto; border-radius: 2px; vertical-align: middle; margin-top: -2px; }
.nav-logo span { color: var(--red); }
.rge-badge {
  background: var(--red); color: var(--white);
  font-size: 10px; font-weight: 700;
  padding: 3px 7px; border-radius: 2px; letter-spacing: .1em;
}

.nav-links {
  display: flex; gap: 28px; list-style: none; align-items: center;
  margin: 0 0 0 auto; padding: 0 24px;
  white-space: nowrap;
}
.nav-links > li { position: relative; }
.nav-links a {
  font-family: 'Esphimere', 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--black); text-decoration: none;
  position: relative; padding-bottom: 3px;
  transition: color var(--tr);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--red);
  transition: width var(--tr);
}
.nav-links a:hover::after,
.nav-links a.nav-active::after { width: 100%; }
.nav-links a.nav-active { color: var(--red); }

/* CTA nav */
.nav-cta {
  background: var(--red) !important; color: var(--white) !important;
  padding: 10px 22px !important; border-radius: var(--radius);
  transition: background var(--tr) !important;
}
.nav-cta:hover { background: var(--red-dk) !important; }
.nav-cta::after { display: none !important; }
.nav-cta-rdv {
  background: var(--black) !important;
  border: 2px solid rgba(255,255,255,.3) !important;
  font-size: 12px !important;
  padding: 10px 16px !important;
  white-space: nowrap;
}
.nav-cta-rdv:hover { background: #222 !important; }

/* Bouton RDV générique */
.btn-rdv {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: #A8D400; color: #1a1a1a;
  font-family: 'Esphimere', sans-serif;
  font-size: 20px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 22px 48px; border-radius: var(--radius);
  text-decoration: none; transition: background var(--tr), transform .2s;
  box-shadow: 0 6px 24px rgba(168,212,0,.45);
}
.btn-rdv:hover { background: #8FB800; color: #1a1a1a; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(168,212,0,.55); }
.btn-rdv svg { flex-shrink: 0; }
.btn-rdv-wrap { text-align: center; margin-top: 32px; }
.btn-rdv-white {
  background: #A8D400; border: none; color: #1a1a1a;
  box-shadow: 0 6px 24px rgba(168,212,0,.45);
}
.btn-rdv-white:hover { background: #8FB800; color: #1a1a1a; }
.btn-rdv-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border: 3px solid #A8D400; color: #A8D400;
  background: transparent;
  font-family: 'Esphimere', sans-serif;
  font-size: 18px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 20px 44px; border-radius: var(--radius);
  text-decoration: none; transition: all var(--tr), transform .2s;
}
.btn-rdv-outline:hover { background: #A8D400; color: #1a1a1a; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(168,212,0,.45); }
.btn-rdv-outline svg { flex-shrink: 0; }

/* Dropdown Services */
.nav-has-dropdown > .nav-dropdown-toggle { cursor: pointer; }
.dropdown-arrow { font-size: 11px; transition: transform var(--tr); display: inline-block; margin-left: 4px; }
.nav-has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown {
  display: none;
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid #e8e8e8; border-top: 3px solid var(--red);
  border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.12);
  list-style: none; min-width: 260px; padding: 8px 0; z-index: 300;
}
.nav-dropdown::before {
  content: ''; position: absolute; top: -22px; left: 0; right: 0; height: 22px;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown.open .nav-dropdown { display: block; }
.nav-dropdown li a {
  display: block; padding: 10px 20px;
  font-size: 14px; font-weight: 500; text-transform: none;
  letter-spacing: .02em; color: var(--black);
  transition: background var(--tr), color var(--tr);
}
.nav-dropdown li a::after { display: none; }
.nav-dropdown li a:hover,
.nav-dropdown li a.nav-active {
  background: var(--gray); color: var(--red);
}

/* Téléphone nav */
.nav-phone {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700; color: var(--red); letter-spacing: .04em;
  text-decoration: none; flex-shrink: 0;
}

/* Burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--black); transition: var(--tr);
}

/* ── GENERIC ─────────────────────────────────────────────── */
section { scroll-margin-top: 68px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-label {
  font-family: 'Esphimere', 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.section-label::before { content: ''; display: block; width: 30px; height: 2px; background: var(--red); }
h1.section-title, h2.section-title {
  font-family: 'Esphimere', 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 800;
  letter-spacing: .02em; text-transform: uppercase; line-height: 1.1;
}
h1.section-title { font-size: clamp(32px, 4vw, 52px); }
h2.section-title span, h1.section-title span { color: var(--red); }
.section-desc { font-size: 16px; color: #555; line-height: 1.8; max-width: 680px; margin-top: 16px; }
.divider { width: 50px; height: 3px; background: var(--red); margin: 20px 0; }
.center { text-align: center; }
.center .section-label { justify-content: center; }
.center .section-label::before { display: none; }
.center .section-desc { margin-left: auto; margin-right: auto; }

/* Boutons */
.btn-red {
  display: inline-block; background: var(--red); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 14px 32px;
  border-radius: var(--radius); text-decoration: none;
  transition: background var(--tr), transform var(--tr);
  border: none; cursor: pointer;
}
.btn-red:hover { background: var(--red-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(236,33,39,.35); color: var(--white); }
.btn-outline {
  display: inline-block;
  border: 2px solid var(--white); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 12px 28px;
  border-radius: var(--radius); text-decoration: none; margin-left: 14px;
  transition: background var(--tr), color var(--tr);
}
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-outline-dark {
  display: inline-block;
  border: 2px solid var(--black); color: var(--black);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 12px 28px;
  border-radius: var(--radius); text-decoration: none; margin-left: 14px;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
}
.btn-outline-dark:hover { background: var(--black); color: var(--white); }

/* ── HERO SLIDER ─────────────────────────────────────────── */
#accueil {
  width: 100vw; height: 100vh;
  position: relative; overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: flex-start;
  opacity: 0; transition: opacity 1s ease;
  background-size: cover; background-position: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.80) 0%, rgba(0,0,0,.40) 55%, transparent 100%);
}
.slide-content {
  position: relative; z-index: 2;
  padding: 0 80px; max-width: 720px;
  animation: slideIn .8s ease forwards;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.slide-tag {
  display: inline-block;
  background: var(--red); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: 4px 12px;
  margin-bottom: 18px; border-radius: 2px;
}
.slide h2 {
  font-family: 'Esphimere', 'Barlow Condensed', sans-serif;
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 800; line-height: 1.05;
  color: var(--white); letter-spacing: .02em;
  text-transform: uppercase; margin-bottom: 20px;
}
.slide h2 em { color: var(--red); font-style: normal; }
.slide p { font-size: 17px; font-weight: 300; color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 32px; max-width: 500px; }
.slide-btns { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.slider-dots {
  position: absolute; bottom: 32px; left: 80px;
  display: flex; gap: 10px; z-index: 10;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: background var(--tr), transform var(--tr); border: none;
}
.dot.active { background: var(--red); transform: scale(1.3); }
.slider-arrows {
  position: absolute; top: 50%; right: 40px;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; z-index: 10;
}
.arrow {
  width: 46px; height: 46px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  color: var(--white); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: var(--radius); transition: background var(--tr);
}
.arrow:hover { background: var(--red); border-color: var(--red); }
.slide-counter {
  position: absolute; bottom: 32px; right: 60px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; color: rgba(255,255,255,.5); z-index: 10; letter-spacing: .1em;
}
.slide-counter span { color: var(--red); font-size: 22px; font-weight: 700; }

/* ── INTRO / À PROPOS ────────────────────────────────────── */
#a-propos { padding: 90px 0 80px; background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.stat-box { border-left: 3px solid var(--red); padding: 16px 20px; background: var(--gray); }
.stat-box .num { font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 800; color: var(--red); }
.stat-box .lbl { font-size: 13px; color: var(--mid); margin-top: 2px; }
.intro-right { position: relative; }
.intro-img {
  width: 100%; min-height: 520px;
  background: #fff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.intro-img--square {
  aspect-ratio: 1 / 1;
  width: 100%;
  min-height: auto;
}
.intro-img img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; color: #555; letter-spacing: .1em; text-transform: uppercase; }
.intro-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--red); color: var(--white);
  padding: 20px 24px; border-radius: var(--radius);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
  text-align: center; line-height: 1.3;
}
.intro-badge .big { font-size: 28px; display: block; }

/* ── CONFIANCE ───────────────────────────────────────────── */
#confiance { background: var(--black); padding: 60px 0; border-top: 1px solid #222; }
.confiance-title {
  text-align: center; margin-bottom: 40px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
}
.logos-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.logo-box {
  background: transparent; border: none;
  height: 80px; border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600; color: #bbb; letter-spacing: .06em;
  transition: border-color var(--tr), box-shadow var(--tr);
  padding: 12px;
}
.logo-box img { max-height: 50px; object-fit: contain; filter: grayscale(100%); transition: filter var(--tr); }
.logo-box:hover { box-shadow: none; }
.logo-box:hover img { filter: none; }

/* ── SERVICES ────────────────────────────────────────────── */
.service-section { padding: 90px 0; }
.service-section:nth-child(even) { background: var(--gray); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.service-grid.reverse { direction: rtl; }
.service-grid.reverse > * { direction: ltr; }
.service-h2 {
  font-family: 'Esphimere', 'Barlow Condensed', sans-serif;
  font-size: clamp(30px, 3vw, 42px); font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em;
  line-height: 1.1; color: var(--black); margin: 14px 0 18px;
}
.service-h2 em { color: var(--red); font-style: normal; }
.service-text p { font-size: 15.5px; color: #555; line-height: 1.8; margin-bottom: 14px; }
.service-img {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius);
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--tr); }
.service-img:hover img { transform: scale(1.04); }
.service-img-label { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; color: #444; letter-spacing: .12em; text-transform: uppercase; }
.service-img-accent { position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--red); }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag {
  background: var(--white); border: 1px solid #ddd;
  padding: 5px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 500; color: var(--black);
  transition: border-color var(--tr), color var(--tr);
}
.tag:hover { border-color: var(--red); color: var(--red); }

/* ── RÉALISATIONS ────────────────────────────────────────── */
#realisations { padding: 90px 0; background: var(--white); }
.real-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.real-card {
  background: var(--gray); aspect-ratio: 4/3; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #e2e2e2; overflow: hidden; position: relative;
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px;
  color: #aaa; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  transition: box-shadow var(--tr), transform var(--tr);
}
.real-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.1); transform: translateY(-3px); }
.real-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--tr); }
.real-card:hover img { transform: scale(1.06); }
.real-accent { position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--red); z-index: 2; }
.real-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 100%);
  padding: 16px 20px 16px 24px; z-index: 3;
  opacity: 0; transition: opacity var(--tr);
}
.real-card:hover .real-overlay { opacity: 1; }
.real-title { display: block; color: var(--white); font-weight: 700; font-size: 15px; }
.real-city  { display: block; color: rgba(255,255,255,.7); font-size: 12px; margin-top: 2px; }
.real-label { z-index: 3; position: relative; }

/* ── AVIS ────────────────────────────────────────────────── */
#avis { padding: 90px 0; background: var(--gray); }
.avis-header { text-align: center; margin-bottom: 56px; }
.avis-slider-wrapper {
  position: relative;
  padding: 0 52px;
}
.avis-slider-overflow {
  overflow: hidden;
}
.avis-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
}
.avis-slider-track .avis-card {
  flex: 0 0 calc(25% - 18px);
  min-width: 0;
}
.avis-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  font-size: 20px;
  color: var(--dark);
  cursor: pointer;
  transition: background var(--tr), color var(--tr), box-shadow var(--tr);
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.avis-slider-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); box-shadow: 0 4px 12px rgba(200,16,46,.25); }
.avis-slider-prev { left: 0; }
.avis-slider-next { right: 0; }
.avis-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 24px; position: relative;
  border-top: 3px solid transparent;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
  display: flex; flex-direction: column;
}
.avis-card:hover { border-color: var(--red); box-shadow: 0 8px 30px rgba(0,0,0,.08); transform: translateY(-4px); }
.avis-service { font-size: 12px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .05em; margin-top: 40px; margin-bottom: 6px; }
.avis-stars { color: #f5a623; font-size: 18px; margin-bottom: 14px; }
.avis-text { font-size: 14.5px; color: #555; line-height: 1.7; font-style: italic; margin-bottom: 20px; flex: 1; }
.avis-text::before { content: '\201C'; color: var(--red); font-size: 28px; line-height: 0; vertical-align: -10px; margin-right: 4px; }
.avis-author { display: flex; align-items: center; gap: 12px; }
.avis-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #f5a623; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700;
  flex-shrink: 0;
}
.avis-name { font-weight: 600; font-size: 14px; }
.avis-city { font-size: 12px; color: var(--mid); }
.google-badge { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-size: 20px; color: var(--mid); font-weight: 600; margin-bottom: 20px; }

/* ── PARTENAIRES ─────────────────────────────────────────── */
#partenaires { padding: 80px 0; background: var(--black); }
.partners-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.partner-box {
  background: transparent; border: none;
  height: 88px; border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.3); letter-spacing: .08em; padding: 12px;
  transition: background var(--tr), border-color var(--tr), color var(--tr);
}
.partner-box img { max-height: 50px; object-fit: contain; filter: brightness(0) invert(1) opacity(.3); transition: filter var(--tr); }
.partner-box:hover { color: var(--white); }
.partner-box:hover img { filter: brightness(0) invert(1); }

/* ── FAQ ─────────────────────────────────────────────────── */
#faq { padding: 90px 0; background: var(--white); }
.faq-header { text-align: center; margin-bottom: 56px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1000px; margin: 0 auto; }
.faq-item {
  background: var(--gray); border-radius: var(--radius);
  border-left: 3px solid transparent; overflow: hidden;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.faq-item.open { border-color: var(--red); box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.faq-q {
  width: 100%; text-align: left;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Barlow', sans-serif; font-size: 15px; font-weight: 600; color: var(--black); line-height: 1.4;
}
.faq-q span { font-size: 20px; color: var(--red); font-weight: 300; transition: transform var(--tr); flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  padding: 0 24px; font-size: 14.5px; color: #555; line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }

/* ── CONTACT ─────────────────────────────────────────────── */
#contact .contact-inner { background: var(--red); padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-info {}
.contact-coords { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.coord-line {
  display: flex; align-items: center; gap: 14px;
  color: rgba(255,255,255,.85); font-size: 15px;
}
.coord-line:first-child { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; color: var(--white); }
.coord-line a { color: inherit; text-decoration: none; transition: color var(--tr); }
.coord-line a:hover { color: var(--black); }

.contact-form { background: var(--white); border-radius: var(--radius); padding: 40px; }
.contact-form h3 {
  font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 800;
  text-transform: uppercase; margin-bottom: 24px;
}
.form-fields { display: flex; flex-direction: column; gap: 14px; }
.form-fields input, .form-fields select, .form-fields textarea {
  padding: 13px 16px; border: 1px solid #ddd; border-radius: var(--radius);
  font-family: 'Barlow', sans-serif; font-size: 15px; outline: none;
  transition: border-color var(--tr);
  background: var(--white); color: var(--black);
}
.form-fields input:focus, .form-fields select:focus, .form-fields textarea:focus { border-color: var(--red); }
.form-fields select { color: #555; }
.form-fields textarea { resize: vertical; }
.form-fields .input-error { border-color: var(--red) !important; }
.form-success { background: #d4edda; color: #155724; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; }
.form-error   { background: #f8d7da; color: #721c24; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: #0a0a0a; color: rgba(255,255,255,.6); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 50px; }
.footer-logo { font-family: 'Esphimere', 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.footer-logo span { color: var(--red); }
.footer-desc { font-size: 14px; line-height: 1.8; max-width: 280px; }
.footer-tel  { display: block; color: var(--red) !important; font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; text-decoration: none; margin-top: 20px; }
.footer-mail { display: block; color: rgba(255,255,255,.4) !important; font-size: 14px; text-decoration: none; margin-top: 6px; transition: color var(--tr); }
.footer-mail:hover { color: var(--red) !important; }
.footer-addr { font-size: 13px; margin-top: 6px; color: rgba(255,255,255,.35); }
.footer-certifs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.footer-certif { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 6px 14px; border-radius: 4px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.5); letter-spacing: .04em; transition: all var(--tr); }
.footer-certif svg { stroke: var(--red); flex-shrink: 0; }
.footer-certif:hover { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); transition: background var(--tr), color var(--tr); }
.footer-social a:hover { background: var(--red); color: var(--white); }
.footer-social a svg { fill: currentColor; }
.footer-col h4 { font-family: 'Esphimere', 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 14px; transition: color var(--tr); }
.footer-col ul li a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; transition: color var(--tr); }
.footer-bottom a:hover { color: var(--red); }
.footer-bottom-links { display: flex; gap: 24px; }

/* ── SCROLL TO TOP ───────────────────────────────────────── */
#scrolltop {
  position: fixed; bottom: 30px; right: 30px; z-index: 500;
  background: var(--red); color: var(--white);
  width: 46px; height: 46px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer; border: none;
  box-shadow: 0 4px 16px rgba(208,17,26,.4);
  opacity: 0; pointer-events: none;
  transition: opacity var(--tr), transform var(--tr);
}
#scrolltop.show { opacity: 1; pointer-events: all; }
#scrolltop:hover { transform: translateY(-3px); }
@media (max-width: 560px) {
  #scrolltop { bottom: 16px; right: 16px; width: 44px; height: 44px; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .avis-slider-track .avis-card { flex: 0 0 calc(33.333% - 16px); }
  #main-nav { padding: 0 30px; }
  .nav-links { gap: 16px; padding: 0 12px; }
  .nav-links a { font-size: 13px; letter-spacing: .05em; }
  .nav-cta { padding: 9px 16px !important; font-size: 12px !important; letter-spacing: .05em !important; }
}

@media (max-width: 960px) {
  #topbar { padding: 7px 20px; font-size: 11px; gap: 8px; }
  #topbar > div:first-child { display: none; }
  .topbar-right { font-size: 0; gap: 8px; width: 100%; justify-content: flex-end; }
  .topbar-right .topbar-search { display: inline-flex; font-size: 12px; margin-left: 0; }
  .topbar-social { display: flex; font-size: 14px; margin-left: auto; }
  #main-nav { padding: 0 20px; height: 60px; }
  .nav-phone { display: none; }
  .nav-links {
    display: none; position: absolute; top: 63px; left: 0; right: 0;
    background: var(--white); border-bottom: 3px solid var(--red);
    flex-direction: column; gap: 0; padding: 8px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    white-space: normal;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links a {
    display: block; padding: 12px 24px;
    font-size: 16px;
  }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 8px 24px; display: block; text-align: center; padding: 12px !important; }
  .nav-dropdown { position: static; transform: none; box-shadow: none; border: none; border-top: 1px solid #eee; background: var(--gray); min-width: auto; padding: 0; }
  .nav-has-dropdown:hover .nav-dropdown { display: none; }
  .nav-has-dropdown.open .nav-dropdown { display: block; }
  .nav-burger { display: flex; }
  body.nav-open { overflow: hidden; }

  .slide-content { padding: 0 30px; max-width: 100%; }
  .slide h2 { font-size: clamp(28px, 5vw, 52px); word-break: break-word; overflow-wrap: break-word; }
  .slide p { font-size: 15px; max-width: 100%; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-right { margin-top: 40px; }
  .intro-badge { bottom: -12px; left: -8px; padding: 14px 18px; }
  .service-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid.reverse { direction: ltr; }
  .service-img { aspect-ratio: 16/9; }
  .avis-slider-track .avis-card { flex: 0 0 calc(33.333% - 16px); }
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .real-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .container { padding: 0 20px; }
  .slider-dots { left: 30px; }
  .slider-arrows { display: none; }
}

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb { position: sticky; top: 68px; z-index: 150; background: #1a1a1a; border-bottom: 1px solid rgba(255,255,255,.08); padding: 10px 0; }
.breadcrumb ol { display: flex; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: 13px; flex-wrap: wrap; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: '›'; color: rgba(255,255,255,.35); font-size: 14px; }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; background: rgba(255,255,255,.1); padding: 4px 12px; border-radius: 4px; transition: background .2s, color .2s; }
.breadcrumb a:hover { background: var(--red); color: #fff; }
.breadcrumb span { color: #fff; background: var(--red); padding: 4px 12px; border-radius: 4px; font-weight: 600; }

/* ── REALISATIONS PAGE ───────────────────────────────────── */
.page-hero-real { position: relative; padding: 120px 0 80px; overflow: hidden; }
.page-hero-real-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%); z-index: -1; }
.page-hero-sub { color: rgba(255,255,255,.6); font-size: 17px; line-height: 1.8; margin-top: 16px; max-width: 600px; }
.page-hero-sub strong { color: var(--red); }

.real-stats { background: var(--white); padding: 0; margin-top: -40px; position: relative; z-index: 2; }
.real-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: 8px; box-shadow: 0 8px 40px rgba(0,0,0,.1); overflow: hidden; }
.real-stat { padding: 32px 24px; text-align: center; border-right: 1px solid #eee; }
.real-stat:last-child { border-right: none; }
.real-stat-num { font-family: 'Esphimere', 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 800; color: var(--red); }
.real-stat-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: #888; margin-top: 6px; }

.real-section { padding: 80px 0; }
.real-section-alt { background: var(--gray); }
.real-section-header { margin-bottom: 40px; }

.real-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.real-row-reverse { direction: rtl; }
.real-row-reverse > * { direction: ltr; }
.real-row-img { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,.12); }
.real-row-img img { width: 100%; height: 400px; object-fit: cover; display: block; transition: transform .5s; }
.real-row-img:hover img { transform: scale(1.03); }
.real-row-tag { position: absolute; top: 16px; left: 16px; background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 2px; text-transform: uppercase; letter-spacing: .08em; }
.real-row-reverse .real-row-tag { left: auto; right: 16px; }
.real-card-noimg { width: 100%; height: 400px; background: linear-gradient(135deg, var(--red), #b5121a); display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.real-card-noimg span { font-family: 'Esphimere', sans-serif; font-size: 64px; font-weight: 800; color: rgba(255,255,255,.2); }
.real-row-content { padding: 10px 0; }
.real-row-desc { font-size: 16px; font-weight: 600; color: var(--black); line-height: 1.6; margin: 12px 0 8px; }
.real-row-text { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 20px; }
.real-row-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.real-row-meta span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #888; }
.real-row-meta svg { color: var(--red); flex-shrink: 0; }
.real-row-link { display: inline-flex; align-items: center; gap: 8px; font-family: 'Esphimere', 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--white); background: var(--red); padding: 12px 24px; border-radius: 2px; text-decoration: none; transition: background .3s, gap .3s; }
.real-row-link:hover { background: #b5121a; gap: 14px; }
.real-row-link svg { transition: transform .3s; }
.real-row-link:hover svg { transform: translateX(4px); }

.real-cta { padding: 80px 0; background: linear-gradient(135deg, #1a1a1a, #0a0a0a); }
.btn-outline-w { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; border: 2px solid rgba(255,255,255,.8); color: var(--white); font-family: 'Esphimere', 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; transition: all .3s; border-radius: 2px; background: rgba(255,255,255,.1); }
.btn-outline-w:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.2); }

.real-detail-hero { position: relative; padding: 120px 0 60px; background: linear-gradient(135deg, #1a1a1a, #0a0a0a); }
.real-detail-back { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.5); text-decoration: none; font-size: 14px; margin-bottom: 24px; transition: color .3s; }
.real-detail-back:hover { color: var(--red); }
.real-detail-info { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.real-detail-info span { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.5); font-size: 14px; }
.real-detail-info svg { color: var(--red); }
.real-detail-content { padding: 60px 0; }
.real-detail-img { border-radius: 8px; overflow: hidden; margin-bottom: 40px; box-shadow: 0 8px 40px rgba(0,0,0,.1); }
.real-detail-img img { width: 100%; height: auto; display: block; }
.real-detail-text { max-width: 800px; font-size: 16px; line-height: 1.9; color: #444; }
.real-detail-text p { margin-bottom: 20px; }
.real-detail-service { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(208,17,26,.08); color: var(--red); font-size: 14px; font-weight: 700; border-radius: 4px; text-decoration: none; transition: background .3s; margin-top: 24px; }
.real-detail-service:hover { background: rgba(208,17,26,.15); }

/* ── SERVICE PAGE ────────────────────────────────────────── */
.srv-stats { padding: 0; margin-top: -30px; position: relative; z-index: 2; }
.srv-section { padding: 80px 0; }
.srv-text { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 16px; }
.srv-highlights { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.srv-highlight { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--black); }
.srv-highlight svg { color: var(--red); flex-shrink: 0; }
.srv-checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.srv-checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: #444; line-height: 1.6; }
.srv-section-dark .srv-checklist li { color: #fff; }
.srv-checklist li svg { flex-shrink: 0; margin-top: 2px; }
.srv-aides-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.srv-aides-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.srv-section-dark { background: #0a0a0a; }
.srv-section-dark .srv-highlight svg { color: var(--red); }
.srv-aide-card { background: var(--white); border: 1px solid #e8e8e8; border-radius: 8px; padding: 32px 24px; text-align: center; transition: box-shadow var(--tr), transform var(--tr); }
.srv-aide-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-4px); }
.srv-aide-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: rgba(208,17,26,.06); border-radius: 50%; margin: 0 auto 20px; }
.srv-aide-card h3 { font-family: 'Esphimere', 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 800; color: var(--black); margin-bottom: 12px; }
.srv-aide-card p { font-size: 14px; color: #666; line-height: 1.7; }
.srv-img-placeholder { width: 100%; height: 400px; background: linear-gradient(135deg, #f8f8f8, #eee); border-radius: 8px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 40px rgba(0,0,0,.08); }

.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden; transition: box-shadow var(--tr); }
.faq-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.faq-item[open] { border-color: var(--red); }
.faq-item summary { padding: 20px 24px; font-family: 'Esphimere', 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; color: var(--black); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: color var(--tr); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--red); flex-shrink: 0; transition: transform .3s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { color: var(--red); }
.faq-answer { padding: 0 24px 20px; font-size: 15px; color: #555; line-height: 1.8; }

@media (max-width: 768px) {
  .srv-aides-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .topbar-social { display: none; }
  .srv-aides-grid { grid-template-columns: 1fr; }
}

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-page { padding: 80px 0; }
.contact-layout { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; }

.contact-left { position: sticky; top: 88px; }
.contact-logo-block { border-radius: 8px; overflow: hidden; margin-bottom: 30px; }
.contact-logo-wrapper { background: var(--white); display: flex; align-items: center; justify-content: center; padding: 30px; }
.contact-logo-full { max-height: 320px; width: auto; }
.contact-logo-tagline { font-family: 'Esphimere', 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; color: var(--black); text-align: center; line-height: 1.5; padding: 12px 0 0; background: transparent; border: none; max-width: 320px; margin: 0 auto; }

.contact-info-block { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon { flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(208,17,26,.08); border-radius: 50%; color: var(--red); }
.contact-info-item h4 { font-family: 'Esphimere', 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 2px; }
.contact-info-item p { font-size: 14px; color: #666; line-height: 1.5; }
.contact-info-item a { color: var(--red); text-decoration: none; }
.contact-info-item a:hover { text-decoration: underline; }

.contact-certifs-bar { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; padding: 40px 20px; }
.contact-certifs-bar .certif { background: rgba(208,17,26,.06); border: 1px solid rgba(208,17,26,.15); color: var(--red); font-size: 12px; padding: 6px 16px; }


.about-certif-logo { max-height: 70px; width: auto; object-fit: contain; margin-bottom: 16px; display: block; margin-left: auto; margin-right: auto; }

.contact-right { background: var(--white); border: 1px solid #e8e8e8; border-radius: 8px; padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.contact-form-header { margin-bottom: 32px; }
.contact-form-header h2 { font-family: 'Esphimere', 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 800; color: var(--black); margin-bottom: 8px; }
.contact-form-header p { font-size: 14px; color: #888; }

.contact-alert { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 6px; font-size: 14px; font-weight: 500; margin-bottom: 24px; }
.contact-alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.contact-alert-error { background: #fce4ec; color: #c62828; border: 1px solid #f8bbd0; }

.cf-group { margin-bottom: 20px; }
.cf-group label { display: block; font-family: 'Esphimere', 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--black); margin-bottom: 8px; }
.cf-group label span { color: var(--red); }
.cf-group input, .cf-group select, .cf-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: 4px;
  font-size: 15px; font-family: inherit; color: var(--black); background: #fafafa;
  transition: border-color .3s, box-shadow .3s; outline: none;
}
.cf-group input:focus, .cf-group select:focus, .cf-group textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(208,17,26,.08); background: var(--white);
}
.cf-group input::placeholder, .cf-group textarea::placeholder { color: #bbb; }
.cf-group textarea { resize: vertical; min-height: 120px; }
.cf-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.cf-submit {
  display: inline-flex; align-items: center; gap: 10px; width: 100%;
  justify-content: center; padding: 16px 32px;
  background: var(--red); color: var(--white); border: none; cursor: pointer;
  font-family: 'Esphimere', 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  border-radius: 4px; transition: background .3s, transform .2s;
}
.cf-submit:hover { background: #b5121a; transform: translateY(-1px); }
.cf-submit:active { transform: translateY(0); }

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.about-points { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.about-point { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #444; font-weight: 500; }
.about-point-icon { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: rgba(208,17,26,.08); border-radius: 50%; }

.about-certifs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.about-certif-card { background: var(--white); border: 1px solid #eee; border-radius: 8px; padding: 32px 24px; text-align: center; transition: transform .3s, box-shadow .3s; }
.about-certif-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.about-certif-icon { font-family: 'Esphimere', 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 800; color: var(--red); margin-bottom: 16px; }
.about-certif-card h3 { font-family: 'Esphimere', 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 12px; }
.about-certif-card p { font-size: 13px; color: #666; line-height: 1.7; }

.about-zones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-zone { background: var(--white); border: 1px solid #eee; border-radius: 8px; padding: 24px; transition: border-color .3s; }
.about-zone:hover { border-color: var(--red); }
.about-zone h4 { font-family: 'Esphimere', 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.about-zone p { font-size: 13px; color: #888; line-height: 1.7; }

@media (max-width: 768px) {
  .real-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .real-stat { border-bottom: 1px solid #eee; }
  .real-row { grid-template-columns: 1fr; gap: 30px; }
  .real-row-reverse { direction: ltr; }
  .real-row-img img { height: 280px; }
  .real-detail-info { flex-direction: column; gap: 10px; }
  .about-certifs-grid { grid-template-columns: repeat(2, 1fr); }
  .about-zones-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-left { position: static; }
  .cf-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .avis-slider-track .avis-card { flex: 0 0 100%; }
  .avis-slider-wrapper { padding: 0 40px; }
  .avis-slider-prev { left: -4px; }
  .avis-slider-next { right: -4px; }
  .avis-slider-btn { width: 36px; height: 36px; font-size: 16px; }
  .real-grid  { grid-template-columns: 1fr; }
  .intro-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .real-stats-grid { grid-template-columns: 1fr; }
  .page-hero-real { padding: 100px 0 60px; }
  .about-certifs-grid { grid-template-columns: 1fr; }
  .about-zones-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ── Blog / Actus ────────────────────────────── */
.blog-filters { background: #fff; border-bottom: 1px solid #eee; padding: 20px 0; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.blog-cat-btn { padding: 8px 20px; border-radius: 30px; font-size: 14px; font-weight: 600; color: var(--dark); background: #f3f4f6; text-decoration: none; transition: all .25s; }
.blog-cat-btn:hover, .blog-cat-btn.active { background: var(--red); color: #fff; }

.blog-listing { padding: 60px 0 80px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: transform .4s cubic-bezier(.25,.46,.45,.94), box-shadow .4s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.blog-card-img-link { display: block; overflow: hidden; aspect-ratio: 16/10; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img { transform: scale(1.05); }
.blog-card-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--red), var(--red-dk)); display: flex; align-items: center; justify-content: center; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat { display: inline-block; font-size: 12px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; margin-bottom: 10px; }
.blog-card-cat:hover { text-decoration: underline; }
.blog-card-title { font-size: 18px; font-weight: 700; line-height: 1.35; margin-bottom: 12px; }
.blog-card-title a { color: var(--dark); text-decoration: none; }
.blog-card-title a:hover { color: var(--red); }
.blog-card-excerpt { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.blog-card-meta { font-size: 13px; color: #999; display: flex; gap: 16px; margin-bottom: 12px; }
.blog-card-link { font-size: 14px; font-weight: 600; color: var(--red); text-decoration: none; }
.blog-card-link:hover { text-decoration: underline; }

.blog-empty { text-align: center; padding: 80px 0; }
.blog-empty h2 { font-size: 22px; margin: 20px 0 10px; color: var(--dark); }
.blog-empty p { color: #666; font-size: 16px; }

/* ── Article Template ─────────────────────────── */
.art-progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--red); z-index: 9999; width: 0; transition: width .1s linear; }

.art-hero { position: relative; padding: 120px 0 50px; background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); color: #fff; overflow: hidden; }
.art-hero-content { position: relative; z-index: 2; max-width: 800px; }
.art-hero-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.art-hero-breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.art-hero-breadcrumb a:hover { color: #fff; }
.art-hero-breadcrumb svg { opacity: .4; flex-shrink: 0; }
.art-hero-cat { display: inline-block; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 5px 14px; border-radius: 3px; margin-bottom: 20px; }
.art-hero h1 { font-size: 52px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; color: #fff; font-family: 'Esphimere', sans-serif; }
.art-hero-excerpt { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.75); max-width: 650px; margin-bottom: 24px; }
.art-hero-meta { display: flex; flex-wrap: wrap; gap: 24px; }
.art-meta-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.55); }
.art-meta-item svg { opacity: .6; flex-shrink: 0; }

.art-main { padding: 60px 0 80px; background: #f8f9fa; }
.art-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }

.art-body { background: #fff; border-radius: 12px; padding: 48px; box-shadow: 0 1px 8px rgba(0,0,0,.04); font-size: 16.5px; line-height: 1.85; color: #333; }
.art-featured-img { margin: -20px -20px 36px -20px; border-radius: 12px; overflow: hidden; }
.art-featured-img img { width: 100%; height: auto; max-height: 440px; object-fit: cover; display: block; }
.art-body h2 { font-size: 26px; font-weight: 700; margin: 48px 0 18px; color: var(--red); padding-bottom: 12px; border-bottom: 2px solid #f0f0f0; font-family: 'Esphimere', sans-serif; line-height: 1.1em; }
.art-body h2:first-child { margin-top: 0; }
.art-featured-img + h2 { margin-top: 0; }
.art-body h3 { font-size: 20px; font-weight: 600; margin: 36px 0 14px; color: var(--dark); line-height: 1.1em; }
.art-body p { margin-bottom: 18px; }
.art-body ul, .art-body ol { margin: 18px 0; padding-left: 28px; }
.art-body li { margin-bottom: 10px; line-height: 1.7; }
.art-body li p { margin-bottom: 4px; }
.art-body strong { color: var(--dark); }
.art-body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.art-body a:hover { text-decoration: none; }
.art-body img { max-width: 100%; border-radius: 10px; margin: 28px 0; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.art-body blockquote { border-left: 4px solid var(--red); padding: 20px 28px; margin: 28px 0; background: linear-gradient(135deg, #fef2f2, #fff5f5); font-style: italic; color: #555; border-radius: 0 10px 10px 0; }
.art-body hr { border: none; height: 1px; background: #eee; margin: 36px 0; }

.art-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.art-sidebar-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 1px 8px rgba(0,0,0,.04); }
.art-sidebar-card h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--dark); margin-bottom: 14px; }

.art-sidebar-cta { background: linear-gradient(135deg, var(--red), var(--red-dk)); color: #fff; text-align: center; padding: 32px 24px; }
.art-cta-icon { width: 56px; height: 56px; background: rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.art-sidebar-cta h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.art-sidebar-cta p { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.5; margin-bottom: 20px; }
.art-cta-btn { display: block; background: #fff; color: var(--red); font-weight: 700; font-size: 15px; padding: 14px; border-radius: 6px; text-decoration: none; transition: all .2s; }
.art-cta-btn:hover { background: var(--dark); color: #fff; }
.art-rdv-btn { display: block; background: #A8D400; color: #1a1a1a; font-weight: 700; font-size: 15px; padding: 14px; border-radius: 8px; text-decoration: none; text-align: center; margin-top: 12px; transition: all .2s; }
.art-rdv-btn:hover { background: #96be00; color: #1a1a1a; }
.art-cta-phone { display: block; margin-top: 14px; font-size: 18px; font-weight: 700; letter-spacing: .02em; }

.art-sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.art-sidebar-tags a { padding: 5px 14px; border-radius: 20px; background: #f3f4f6; color: #555; font-size: 13px; text-decoration: none; font-weight: 500; transition: all .2s; }
.art-sidebar-tags a:hover { background: var(--red); color: #fff; }

.art-share-btns { display: flex; gap: 8px; }
.art-share-btn { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all .2s; border: none; cursor: pointer; }
.art-share-fb { background: #e8f0fe; color: #1877f2; }
.art-share-fb:hover { background: #1877f2; color: #fff; }
.art-share-tw { background: #e8e8e8; color: #111; }
.art-share-tw:hover { background: #111; color: #fff; }
.art-share-li { background: #e8f4fd; color: #0a66c2; }
.art-share-li:hover { background: #0a66c2; color: #fff; }
.art-share-ig { background: #fce4ec; color: #E4405F; }
.art-share-ig:hover { background: #E4405F; color: #fff; }
.art-share-tk { background: #e8e8e8; color: #010101; }
.art-share-tk:hover { background: #010101; color: #fff; }
.art-share-pi { background: #fde8e8; color: #BD081C; }
.art-share-pi:hover { background: #BD081C; color: #fff; }
.art-share-copy { background: #f3f4f6; color: #555; }
.art-share-copy:hover { background: var(--dark); color: #fff; }
.art-share-copy.copied { background: #22c55e; color: #fff; }

.art-related { padding: 70px 0 80px; background: #fff; }
.art-related-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.art-related-header .section-title { margin-bottom: 0; }
.art-slider-nav { display: flex; gap: 8px; }
.art-slider-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #ddd; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; color: var(--dark); }
.art-slider-btn:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.art-slider-btn:disabled { cursor: default; }
.art-related-track-wrap { overflow: hidden; }
.art-related-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.art-related-track--slider { display: flex; gap: 24px; transition: transform .4s ease; }
.art-related-card { min-width: 0; }

@media (max-width: 1024px) {
  .art-layout { grid-template-columns: 1fr; }
  .art-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .art-sidebar-card { flex: 1; min-width: 260px; }
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .art-hero h1 { font-size: 38px; }
  .art-body { padding: 32px 24px; }
  .art-featured-img { margin: -32px -24px 24px -24px; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .art-hero { padding: 120px 0 40px; }
  .art-hero h1 { font-size: 30px; }
  .art-hero-excerpt { font-size: 15px; }
  .art-hero-meta { gap: 14px; }
  .art-body { padding: 24px 18px; font-size: 15px; }
  .art-featured-img { margin: -24px -18px 20px -18px; }
  .art-body h2 { font-size: 22px; }
  .art-sidebar { flex-direction: column; }
  .art-sidebar-card { min-width: auto; }
}

/* ═══════════════════════════════════════
   PAGES LÉGALES
═══════════════════════════════════════ */
.legal-hero {
  background: var(--black);
  padding: 140px 0 60px;
  text-align: center;
}
.legal-hero-inner .section-label { color: var(--red); }
.legal-hero h1 {
  font-family: 'Esphimere', 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin: 12px 0 16px;
}
.legal-updated {
  font-size: 14px;
  color: #888;
}
.legal-section {
  padding: 60px 0 80px;
  background: var(--gray);
}
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.legal-sidebar {
  position: sticky;
  top: 100px;
}
.legal-nav {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.legal-nav h3 {
  font-family: 'Esphimere', 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--black);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray);
}
.legal-nav ul { list-style: none; padding: 0; margin: 0; }
.legal-nav li { margin-bottom: 4px; }
.legal-nav li a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--mid);
  text-decoration: none;
  border-radius: 6px;
  transition: all .2s;
}
.legal-nav li a:hover {
  background: var(--gray);
  color: var(--dark);
}
.legal-nav li.active a {
  background: var(--red);
  color: var(--white);
  font-weight: 600;
}
.legal-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  line-height: 1.8;
  color: #333;
  font-size: 15px;
}
.legal-content h2 {
  font-family: 'Esphimere', 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: 'Esphimere', 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin: 24px 0 10px;
}
.legal-content p {
  margin: 0 0 14px;
}
.legal-content a {
  color: var(--red);
  text-decoration: underline;
}
.legal-content a:hover {
  color: var(--red-dk);
}
.legal-content strong {
  color: var(--black);
  font-weight: 600;
}
.legal-content ul, .legal-content ol {
  margin: 10px 0 18px 20px;
}
.legal-content li {
  margin-bottom: 6px;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-sidebar { position: static; }
  .legal-hero h1 { font-size: 36px; }
  .legal-content { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .legal-hero { padding: 120px 0 40px; }
  .legal-hero h1 { font-size: 28px; }
  .legal-content { padding: 24px 18px; font-size: 14px; }
  .legal-content h2 { font-size: 20px; }
}

#rgpd-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--white); border-top: 3px solid var(--red);
  box-shadow: 0 -4px 24px rgba(0,0,0,.12);
  padding: 20px 0;
  animation: rgpdSlideUp .4s ease;
}
@keyframes rgpdSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.rgpd-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 30px;
  display: flex; align-items: center; gap: 24px;
}
.rgpd-text { flex: 1; }
.rgpd-text p { font-size: 14px; line-height: 1.7; color: var(--black); margin: 0; }
.rgpd-text a { color: var(--red); text-decoration: underline; }
.rgpd-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 768px) {
  .rgpd-inner { flex-direction: column; text-align: center; gap: 16px; }
  .rgpd-actions { justify-content: center; }
}

.error-404 {
  padding: 80px 0 100px;
  background: #fff;
}
.error-404-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.error-404-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.error-404-logo img {
  max-width: 260px;
  width: 100%;
  height: auto;
}
.error-404-content h1 {
  font-family: var(--font-title);
  font-size: 3.2rem;
  color: var(--black);
  margin: 0 0 6px;
  line-height: 1.1;
  text-transform: uppercase;
}
.error-404-content h1 span {
  color: var(--red);
  font-size: 5rem;
  display: block;
}
.error-404-content h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--black);
  margin: 0 0 20px;
  font-weight: 400;
}
.error-404-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin: 0 0 30px;
}
.error-404-search {
  display: flex;
  border: 3px solid var(--red);
  border-radius: 8px;
  overflow: hidden;
  max-width: 520px;
}
.error-404-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 18px 22px;
  font-size: 1.15rem;
  font-family: var(--font-body);
  color: var(--black);
  background: #f9f9f9;
}
.error-404-search input::placeholder {
  color: #999;
}
.error-404-search button {
  background: var(--red);
  border: none;
  color: #fff;
  padding: 0 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.error-404-search button:hover {
  background: #c11b20;
}
@media (max-width: 768px) {
  .error-404 { padding: 50px 0 60px; }
  .error-404-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .error-404-logo img { max-width: 180px; }
  .error-404-content h1 { font-size: 2.4rem; }
  .error-404-content h1 span { font-size: 3.6rem; }
  .error-404-content h2 { font-size: 1.5rem; }
  .error-404-search { max-width: 100%; }
}
@media (max-width: 480px) {
  .error-404-content h1 { font-size: 1.8rem; }
  .error-404-content h1 span { font-size: 2.8rem; }
  .error-404-content h2 { font-size: 1.2rem; }
  .error-404-search input { padding: 14px 16px; font-size: 1rem; }
  .error-404-search button { padding: 0 18px; }
}
