/* ============================
   RESET & GLOBAUX
============================ */
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f4f4;
  color: #222;
  margin: 0;
  padding: 0;
}
/* =========================
   TITRES & PARAGRAPHES GLOBAUX
========================= */

@font-face {
  font-family: 'Sigmar One';
  src: url('/assets/fonts/SigmarOne/SigmarOne-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Sansation';
  src: url('/assets/fonts/Sansation/Sansation-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Sansation 2';
  src: url('/assets/fonts/Sansation/Sansation-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
/* Titres principaux */
h1 {
    font-family: 'Sansation';
  font-size: 2.2em;
  color: #000000;
  font-weight: bold;
  letter-spacing: 1.5px;
  margin: 30px 0 18px 0;
  line-height: 1.14;
  text-align: center;
}
h2 {
    font-family: 'Sansation 2';
  font-size: 1.5em;
  color: #2584bc;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 40px 0 14px 15px;
  line-height: 1.19;
  /* text-align: center; */
}
h3 {
  font-size: 1.18em;
  color: #000000;
  font-weight: 600;
  margin: 12px 0 10px 0;
  letter-spacing: 0.8px;
  text-align: center;
}
h4, h5, h6 {
  color: #146094;
  font-weight: 600;
  margin: 18px 0 8px 0;
  font-size: 1.09em;
  text-align: left;
}

/* Paragraphe */
p {
  font-size: 1.07em;
  color: #23292e;
  line-height: 20px;
  margin: 14px 6px 18px 6px;
  padding-left: 0.5em;
  padding-right: 0.5em;
  /* max-width: 80ch; */
  text-align: justify;
  word-break: break-word;
}

/* Italique/gras gÃ©nÃ©raux */
b, strong {
  color: #030303;
  font-weight: 700;
}
em, i {
  color: #2584bc;
}

/* Liens dans le texte */
p a, li a, .main-container a {
  color: #e84393;
  /* text-decoration: underline; */
  transition: color 0.18s;
  font-weight: 500;
}
p a:hover, li a:hover, .main-container a:hover {
  color: #146094;
  /* text-decoration: underline wavy #ffd600; */
}

/* Listes */
ul, ol {
  padding-left: 2em;
  margin: 14px 0 16px 0;
  color: #23292e;
  font-size: 1.07em;
  line-height: 1.65;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 0.2em;
  line-height: 20px;
}

/* Titres de sections spÃ©ciales */
.section-title {
  font-size: 1.35em;
  color: #ffd600;
  background: #146094;
  border-radius: 8px 20px 8px 8px;
  padding: 14px 28px;
  box-shadow: 0 2px 10px #2584bc33;
  margin: 32px 0 16px 0;
  display: inline-block;
  letter-spacing: 1px;
}

/* Blockquotes pour citations */
blockquote {
  border-left: 5px solid #ffd600;
  background: #f4f8fd;
  color: #146094;
  padding: 14px 26px;
  margin: 18px 0 18px 0;
  font-style: italic;
  font-size: 1.1em;
  border-radius: 10px;
}

/* Responsive pour les textes longs sur mobile */
@media (max-width: 600px) {
  h1 { font-size: 1.23em; }
  h2 { font-size: 1.09em; }
  h3 { font-size: 1em; }
  p, ul, ol { font-size: 1em; }
  .section-title { font-size: 1.1em; padding: 9px 12vw; }
}

/* ============================
   HEADER & LOGO
============================ */
.site-header {
  background: #2584bc;
  box-shadow: 0 2px 5px #0001;
  position: relative;
  z-index: 50;
}
.header-flex {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 24px;
  height: 80px;
  position: relative;
}

.header-logo img {
  border-radius: 10px;
}


/* ============================
   TÃ‰LÃ‰PHONE EN-TÃŠTE
============================ */
.header-tel-bar {
  background: #146094;
  text-align: right;
  padding: 10px 34px 10px 0;
}
.header-tel-bar a {
  color: #ffffffe0;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  background: #00448b;
  padding: 1px 18px;
  box-shadow: 0 2px 10px #0002;
  border: 1px solid #064484;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.header-tel-bar a:hover {
  background: #06386b;
  color: #4fa137;
  box-shadow: 0 4px 20px #0003;
}
.tel-icon {
  font-size: 1.3em;
  margin-right: 8px;
  color: #4fa137;
  margin-bottom: 4px;
  transition: color 0.2s;
}
.header-tel-bar a:hover .tel-icon {
  color: #ffb3da;
}

/* ============================
   MENU NAVIGATION RESPONSIVE
============================ */
.nav-main {
  background: #146094;
  width: 100%;
  position: relative;
  z-index: 51;
}

/* MENU BURGER FIXE EN HAUT */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 48px;
  width: 48px;
  position: absolute;     
  top: 18px;           /* Ajuste la position verticale */
  right: 16px;         /* Ajuste la position horizontale */
  z-index: 102;        /* Toujours au-dessus du contenu */
  background: #146094;
  border-radius: 10px;
  box-shadow: 0 2px 10px #0001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  margin: 5px 0;
  transition: 0.3s;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: max-height 0.3s;
}

.nav-links li {
  margin: 0 16px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 1.1em;
  padding: 13px 2px 10px 2px;
  display: block;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-links a.active,
.nav-links a:hover {
  border-bottom: 3px solid #ffd600;
  color: #ffd600;
}

/* --- Responsive menu burger --- */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 66px;          /* Sous le burger */
    right: 0;
    left: 0;
    background: #146094;
    max-height: 0;
    overflow: hidden;
    width: 100vw;
    box-shadow: 0 8px 24px #0003;
    transition: max-height 0.3s, padding 0.3s;
    z-index: 101;
    padding-bottom: 0;
    padding-top: 0;
  }
  .nav-links.open {
    max-height: 400px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .nav-links li {
    margin: 0;
    width: 100%;
  }
  .nav-links a {
    padding: 16px 24px;
    width: 100%;
    font-size: 1.09em;
    border-bottom: none;
    text-align: left;
  }
}

/* ============================
   HERO SECTION FULL WIDTH
============================ */
.hero {
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  box-sizing: border-box;
  background: linear-gradient(20deg, #24fff503 60%, #d1b32121 100%),
    url(https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1200&q=80) center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 60px 0 48px 0;
  box-shadow: 0px 5px 6px #000000;
  /* border-radius: 0 0 18px 18px; */
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: #f399006b;
  color: #fff;
  font-size: 1.08em;
  font-weight: bold;
  border-radius: 30px;
  padding: 8px 28px 8px 20px;
  margin-bottom: 18px;
  letter-spacing: 2px;
  /* box-shadow: 6px 9px 10px #021019b0; */
}
.hero h1 {
  font-size: 2.1em;
  margin-bottom: 0.35em;
  font-weight: bold;
  color: #0a0a0a;
  text-shadow: 1px 1px 1px #fff;
}
.hero p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  max-width: 500px; /* limite la largeur pour Ã©viter que ce soit trop large sur desktop */
  font-size: 28px;
  line-height: 32px;
  color: #000000;
  text-shadow: 1px 1px 1px #e7eff6;
  margin-bottom: 70px;
  background: #ffffff;
  border-radius: 6px;
}

.hero .btn {
  background: #00abff82;
  color: #ffffff;
  padding: 14px 36px;
  font-size: 1.18em;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 14px #14609433;
  border: none;
}
.hero .btn:hover {
  background: #d0271e;
  color: #fff;
  box-shadow: 0 8px 24px #e8439333;
}

/* ============================
   CONTENU PRINCIPAL
============================ */
.main-container {
  max-width: 1020px;
  margin: 38px auto 0 auto;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 18px #0002;
  padding: 30px 28px 38px 28px;
}
@media (max-width: 1100px) {
  .main-container { max-width: 96vw; }
}
@media (max-width: 900px) {
  .main-container { padding: 14px 4vw 22px 4vw; }
}
@media (max-width: 700px) {
  .main-container { padding: 8px 1vw; }
}

/* ============================
   SERVICES GRID / CARDS
============================ */
.services-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  margin: 44px 0 28px 0;
}
.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 1px 1px 8px #14609482, 0 1.5px 0 #ffd60011 inset;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow 0.2s, transform 0.18s;
  border: 1px solid #e7e7e7;
  position: relative;
  text-decoration: none;
}
.service-card:hover {
  box-shadow: 0 8px 32px #2584bc38;
  border-color: #ffd600;
  transform: translateY(-3px) scale(1.025);
  z-index: 3;
  text-decoration: none;
}
.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #e7eff6;
  display: block;
  /* border-top-left-radius: 16px; */
  /* border-top-right-radius: 16px; */
  /* border-bottom: 1px solid #e4e6e8; */
}
.service-card-content {
  flex: 1;
  padding: 20px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  background: linear-gradient(0deg, #c1d0e0, transparent 90%);
}
.service-card-title {
    font-family: 'Sansation 2';
  font-size: 1.16em;
  color: #146094;
  font-weight: 700;
  text-align: center;
  margin: 0 0 3px 0;
  letter-spacing: 1px;
}
.service-card-desc {
  font-size: 1.01em;
  color: #222;
  margin: 0 0 10px 0;
  line-height: 21px;
}
.service-card-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  color: #ffffff;
  border-radius: 6px;
  background: #196a9f;
  padding: 8px 22px;
  transition: background 0.18s, color 0.18s;
  text-decoration: none;
  box-shadow: 0 1.5px 10px #ffd60022;
  font-size: 1.07em;
  text-align: center;
}
.service-card:hover .service-card-link {
  background: #d0271e;
  color: #fff;
}
/* Responsive grid */
@media (max-width: 900px) {
  .services-cards {grid-template-columns: 1fr;gap: 32px;margin: 28px 0 14px 0;}
  .service-card img { height: 110px; }
  .service-card-content { padding: 14px 7vw 16px 7vw; }
}

/* Responsive Hero & divers */
@media (max-width: 600px) {
  .main-container { padding: 4px 1vw; }
  .hero { padding: 32px 2vw 22px 2vw; border-radius: 0 0 8px 8px;}
  .hero h1 { font-size: 1.15em; }
  .hero-badge { font-size: 0.94em; padding: 6px 12vw 6px 7vw;}
  .hero p {font-size: 18px;line-height: 25px;padding: 17px 10px;max-width: 320px;}
}

/* ============================
   ARTISAN-TABLE, GALERIE, POSTIT, TÃ‰L
============================ */
.artisan-table {
  width: 100%;
  max-width: 550px;
  margin: 26px auto 34px auto;
  border-collapse: collapse;
  font-size: 1.09em;
  box-shadow: 0 2px 14px #2584bc13;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.artisan-table th, .artisan-table td {
  padding: 10px 16px;
  text-align: left;
}
.artisan-table th {
  background: #2584bc;
  color: #fff;
  font-weight: 600;
  font-size: 1em;
  border-bottom: 2px solid #146094;
}
.artisan-table tr:nth-child(even) { background: #f4f8fd; }
.artisan-table tr:nth-child(odd) { background: #e7eff6; }
.artisan-table td:first-child { color: #146094; font-weight: 600; width: 40%; }
.artisan-table td:last-child { color: #222; }

.clim-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 18px;
  margin: 28px 0;
}
.clim-gallery img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 16px #2584bc22;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #e7eff6;
  transition: transform 0.2s;
}
.clim-gallery img:hover {
  transform: scale(1.04) rotate(-1.5deg);
  box-shadow: 0 8px 24px #2584bc55;
}

/* --- POST-IT effet dÃ©chirÃ©, sticky, repliÃ© --- */
.postit-gaer {
  background: #fffbe7;
  border: 1.7px dashed #b2b2b2;
  border-radius: 4px;
  box-shadow: 0 8px 24px #2b2b2933, 0 2px 0 #ffeaa7 inset;
  padding: 32px 32px 26px 38px;
  margin: 38px auto 32px auto;
  font-family: 'Sansation', Arial, sans-serif;
  color: #3a2e15;
  font-size: 1.14em;
  position: relative;
  max-width: 620px;
  min-width: 200px;
  transition: box-shadow 0.16s, transform 0.13s, filter 0.18s;
  overflow: visible;
  /* Sticky effet */
  top: 32px;
}

@media (max-width: 700px) {
  .postit-gaer {
    font-family: 'Sansation', Arial, sans-serif;
    font-size: 1.03em !important;
    padding: 18px 6vw 15px 6vw;
    min-width: 0;
    margin: 22px auto 14px auto;
    top: 12px;
  }
}


.postit-gaer:hover {
  /* box-shadow: 0 16px 56px #ffd60077, 0 3px 12px #ffd60033; */
  /* transform: rotate(-1.5deg) scale(1.03); */
  /* filter: brightness(1.07) drop-shadow(0 6px 30px #ffd60055); */
}

/* DÃ©co "papier dÃ©chirÃ©" en haut */
.postit-gaer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 13px;
  /* background: repeating-linear-gradient(90deg, #ffeaa7 0 8px, #fffbe7 8px 16px); */
  border-top-left-radius: 12px;
  border-top-right-radius: 32px;
  opacity: 0.6;
  z-index: 2;
  pointer-events: none;
}

/* Coin repliÃ© effet relief */
.postit-gaer:after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 42px; height: 29px;
  background: linear-gradient(120deg, #ffeaa7 55%, #fffde3 110%);
  border-bottom-right-radius: 10px 36px;
  box-shadow: -6px 8px 12px #ffd60033;
  z-index: 2;
  transform: rotate(8deg);
  opacity: 0.75;
  pointer-events: none;
}

/* ResponsiveÂ : rÃ©duit la taille du post-it sur mobile */
@media (max-width: 600px) {
  .postit-gaer {
    padding: 18px 12px 15px 16px;
    font-size: 0.98em;
    min-width: 0;
    margin: 22px auto 14px auto;
    top: 12px;
  }
  .postit-gaer:before { height: 7px; }
  .postit-gaer:after { width: 24px; height: 16px; }
}

.postit-gaer h2 {
  margin: 0px 0px 20px 0px;
  margin-left: 10px;
  color: #2584bc;
  text-align: left;
  font-size: 26px;
  letter-spacing: 1px;
}
.postit-gaer ul {
  padding-left: 10px;
  margin: 0;
  color: #222;
  font-size: 18px;
  font-weight: normal;
}
.postit-gaer li {
  margin-bottom: 15px;
  line-height: 20px;
  position: relative;
}

.phone-artisan {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #4fa037;
  border: 1px solid #727272;
  border-radius: 4px;
  box-shadow: 2px 2px 14px #5a584c99;
  padding: 2px 15px 2px 15px;
  font-size: 1.25em;
  font-weight: bold;
  color: #fbfbfb;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.phone-artisan .tel-icon {
  color: #4fa137;      /* vert GAER */
  font-size: 1.35em;
}

.phone-artisan a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.18s;
}
.phone-artisan a:hover {
  color: #ffd600;
}

/* =============================
   FOOTER â€“ Version responsive
============================= */
.footer-main {
  background: linear-gradient(90deg, #2584bc 0%, #146094 100%);
  padding: 24px 0 8px 0;
  margin-top: 48px;
  font-size: 1em;
  color: #fff;
  box-shadow: 0 -2px 18px #0001;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto 10px auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 50px;
  width: 76px;
  /* opacity: 0.93; */
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 8px #0001;
  /* padding: 3px 8px; */
}

.footer-links {
  display: flex;
  gap: 18px; /* Plus serrÃ© quâ€™avant */
  font-size: 1.04em;
  align-items: center;
}

.footer-links a {
  color: #ffd600;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  /* Moins dâ€™espacement, police un peu plus petite */
}

.footer-links a:hover {
  background: #fff2;
  color: #ffffff;
}

.footer-contact a {
  color: #f1f1f0 !important;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: #4fa037 !important;
}
.footer-contact .tel-icon {
  color: #e84393;
  font-size: 1.1em;
  margin-right: 6px;
}
.footer-contact a:hover .tel-icon {
  color: #ffd600;
}

.footer-copyright {
  text-align: center;
  color: #fff;
  font-size: 12px;
  opacity: 0.86;
  margin-top: 10px;
  letter-spacing: 1px;
}

/* --- Responsive Footer --- */
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 28px; /* Plus serrÃ© */
    line-height: 16px;
    padding: 0 8vw;
  }
  .footer-logo img {
    margin-bottom: 6px;
  }
  .footer-links {
    flex-direction: column;
    gap: 8px; /* Liens collÃ©s en colonne */
    align-items: center;
    font-size: 0.97em;
  }
  .footer-links a {
    padding: 5px 4vw;
    margin: 0;
    width: auto;
    text-align: center;
    min-width: 100px;
  }
  .footer-contact {
    margin: 0;
    padding: 8px 0;
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 500px) {
  .footer-content {padding: 0 3vw;}
  .footer-links a {min-width: 90px;fo;font-size: 18px;}
  .footer-logo img {height: 110px;width: 220px;}
}


/* ============================
   FORMULAIRE DE CONTACT
============================ */
.contact-form {
  max-width: 480px;
  margin: 32px auto 12px auto;
  background: #fdfae9;
  border: 1px solid #69696930;
  border-radius: 2px;
  box-shadow: 0 4px 18px #ffd60011;
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { margin-bottom: 8px; display: flex; flex-direction: column;}
.form-row label { font-weight: bold; color: #146094; margin-bottom: 4px;}
.form-checkboxes { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 2px;}
.form-checkboxes label { font-weight: 500; color: #2584bc;}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  border: 1.5px solid #dbe2e8;
  border-radius: 7px;
  font-size: 1em;
  padding: 8px 11px;
  outline: none;
  background: #fff;
  transition: border-color 0.18s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #2584bc; }
.contact-form textarea { resize: vertical; }
.contact-form .btn {
  margin-top: 8px;
  padding: 13px 28px;
  font-size: 1.1em;
  background: #18679c;
  color: #fff;
  border: 1px solid;
  border-radius: 8px;
}
/* =========================
   PAGE 404 PERSONNALISÃ‰E
========================= */
.hero.hero-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f4f8fd 70%, #d9e6f2 100%);
  box-shadow: 0 4px 36px #2584bc22;
  padding: 60px 16px 40px 16px;
  margin-bottom: 0;
  border-radius: 0 0 18px 18px;
}

.hero-404 .hero-badge {
  background: #e84393;
  color: #fff;
  font-size: 1.07em;
  padding: 7px 28px 7px 20px;
  margin-bottom: 22px;
  border-radius: 10px;
  box-shadow: 4px 7px 14px #02101950;
}

.hero-404 h1 {
  font-size: 2.2em;
  color: #2584bc;
  margin-bottom: 16px;
  text-shadow: 1px 2px 6px #2584bc1a;
}

.err404-emoji {
  font-size: 2.7em;
  margin-bottom: 10px;
  display: block;
}

.err404-message {
  color: #18679c;
  font-size: 1.18em;
  margin-bottom: 16px;
  line-height: 1.7;
}

.err404-tips {
  background: #fffbe7;
  color: #146094;
  padding: 14px 18px;
  border: 1.5px solid #ffd600;
  border-radius: 12px;
  box-shadow: 0 1px 12px #ffd60022;
  margin-bottom: 16px;
  font-size: 1.06em;
}

.err404-contact {
  background: #fff;
  color: #146094;
  padding: 10px 16px;
  border-radius: 22px;
  font-size: 1.09em;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px #14609411;
  border: 1px solid #2584bc15;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.err404-contact .tel-icon {
  font-size: 1.1em;
  color: #e84393;
  margin-right: 6px;
}

.err404-contact a {
  color: #e84393;
  font-weight: bold;
  text-decoration: none;
  margin-left: 5px;
  transition: color 0.18s;
}
.err404-contact a:hover {
  color: #146094;
}

.hero-404 .btn {
  background: #ffd600;
  color: #146094;
  border-radius: 30px;
  padding: 14px 40px;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 12px;
  box-shadow: 0 2px 14px #ffd60033;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.hero-404 .btn:hover {
  background: #2584bc;
  color: #fff;
}

/* --- Responsive 404 --- */
@media (max-width: 600px) {
  .hero.hero-404 {
    padding: 30px 2vw 18px 2vw;
    border-radius: 0 0 8px 8px;
  }
  .hero-404 h1 { font-size: 1.3em; }
  .err404-emoji { font-size: 2em; }
  .err404-message { font-size: 1em; }
}

/* --- Brand slider --- */
.brand-slider {
  overflow: hidden;
  width: 100%;
  max-width: 550px;
  margin: 32px auto;
  padding: 18px 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px #2584bc12;
  position: relative;
}
.brand-track {
  display: flex;
  align-items: center;
  gap: 34px;
  /* Pas d'animation ici, déplacé dans JS */
  will-change: transform;
}
.brand-item {
  flex: 0 0 auto;
  width: 110px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(10%);
  opacity: 0.8;
  transition: filter 0.2s, opacity 0.2s;
}
.brand-item img {
  max-width: 100px;
  max-height: 50px;
  object-fit: contain;
  width: 100%;
  height: auto;
  display: block;
}
/* Responsive pour mobile */
@media (max-width: 600px) {
  .brand-slider { max-width: 96vw; }
  .brand-track { gap: 16px; }
  .brand-item { width: 74px; height: 36px; }
  .brand-item img {width: 100px;height: 50px;}
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #021019;
  color: #fff;
  padding: 18px 12px 14px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  box-shadow: 0 -2px 16px #0002;
  font-size: 1.08em;
  letter-spacing: 0.4px;
}
.cookie-banner a {
  text-decoration: underline;
  color: #ffd600;
  font-weight: 500;
}
.btn-cookie {
  background: #ffd600;
  color: #146094;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  padding: 7px 22px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 12px #ffd60022;
  font-size: 1.08em;
  transition: background 0.2s, color 0.2s;
}
.btn-cookie:hover {
  background: #5da847;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 6vw 10px 6vw;
    font-size: 1em;
    text-align: center;
  }
  .btn-cookie {
    width: 100%;
    margin: 0;
  }
}
/* -------- MAP MODERNE RESPONSIVE -------- */
.map-modern-encart {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 28px #14609425, 0 1px 0 #ffd60011 inset;
  padding: 34px 30px 24px 30px;
  max-width: 480px;
  margin: 38px auto 34px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}

.map-modern-container {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px #14609422;
  margin-bottom: 14px;
   position: relative;
  aspect-ratio: 16/9;  /* Modern way, fallback ci-dessous */
  min-height: 240px;
  background: #e7eff6;
}
/*CYPRIOU 2025*/