/* ===== Variables & Reset minimal ===== */
:root{
  --brand:#5a382a;         /* brun du logo */
  --text:#1d1d1f;
  --bg:#fff;
  --muted:#6b6b6b;
  --container:1200px;
  --radius:14px;
}

*{box-sizing:border-box}
html,body{height:100%}
html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 90px; /* hauteur de ton header */
}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;

  display:flex;
  flex-direction:column;
  min-height:100vh;
}

main {
  flex: 1;
  padding-top: 72px;  /* à ajuster selon la vraie hauteur du header */
}


img{max-width:100%; height:auto; display:block}
a{color:var(--brand); text-decoration:none}
a:hover{text-decoration:underline}
.container{width:100%; max-width:var(--container); margin-inline:auto; padding-inline:16px}

/* ===== Accessibilité ===== */
.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto; padding:10px 14px; background:#000; color:#fff; z-index:10000; border-radius:8px;
}

/* ===== Header ===== */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;          /* au-dessus du reste */
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-inner{
  display:flex; align-items:center; justify-content:space-between; min-height:64px; gap:16px;
}
.brand{display:flex; align-items:center; gap:10px}
.brand-name{
  font-weight:800; letter-spacing:.5px; color:var(--brand); font-size:1.15rem;
}

/* Menu */
.main-nav ul{
  margin:0; padding:0; list-style:none; display:flex; gap:28px; align-items:center;
}
.main-nav a{
  font-weight:600; color:var(--text);
}
.main-nav a:hover{color:var(--brand)}


/* Hamburger (sans JS) */
.nav-toggle{display:none}
.nav-toggle-btn{
  display:none; cursor:pointer; width:34px; height:28px; position:relative;
}
.nav-toggle-btn span{
  position:absolute; left:0; right:0; height:3px; background:var(--text); border-radius:2px; transition:.25s transform, .25s opacity;
}
.nav-toggle-btn span:nth-child(1){top:2px}
.nav-toggle-btn span:nth-child(2){top:12px}
.nav-toggle-btn span:nth-child(3){top:22px}

/* ===== Hero plein écran ===== */
.hero{
  position:relative;
  min-height: 100svh; /* supporte iOS/Android récents */
  min-height: 100dvh; /* fallback moderne */
  display:grid;
  place-items:center;
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center;
  transform:scale(1.02); /* évite bandes lors du resize */
}
.hero-overlay{
  position:absolute; inset:0;
  /* léger dégradé pour lisibilité du texte */
  background:linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.45) 100%);
}
.hero-content{
  position:relative; z-index:1; text-align:left; color:#fff; padding-block:72px; max-width:900px;
}
.hero h1{
  margin:0 0 12px; font-weight:900; line-height:1.15;
  font-size:clamp(2rem, 3.8vw + 1rem, 3.5rem);
}
.hero p{
  margin:0 0 24px; color:#f2f2f2; font-size:clamp(1rem, 1.2vw + .6rem, 1.25rem);
}
/* ===== Système de boutons global ===== */

/* Base commune */
.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

/* Bouton principal (plein) */
.btn {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn:hover {
  transform: translateY(-1px);
  background: #3b2418;       /* version un peu plus foncée */
  border-color: #3b2418;
  color: #fff;
}

/* Bouton outline (ghost) */
.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-ghost:hover {
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* État focus (clavier / accessibilité) */
.btn:focus-visible,
.btn-ghost:focus-visible {
  outline: 2px solid #f0cfa3;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(240, 207, 163, 0.45);
}

/* État actif (clic) */
.btn:active,
.btn-ghost:active {
  transform: translateY(0);
  box-shadow: none;
}


/* ===== À propos ===== */
.about{padding-block:72px}
.about-grid{
  display:grid; gap:40px;
  grid-template-columns: 1.1fr 0.9fr; /* texte / image */
  align-items:center;
}
.about-content h2{
  margin:0 0 12px;
  font-size:clamp(1.6rem, 1.2rem + 1.8vw, 2.2rem);
}


#titre-apropos {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

#titre-apropos::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 50px;              /* 🔥 PETIT TRAIT MODERNE */
  height: 3px;
  /* background-color: #c49a70; */
  border-radius: 4px;
}


.about-content p{margin:0 0 16px; color:var(--text)}
.about-sub{margin:18px 0 8px; font-size:1.1rem; color:var(--brand)}
.about-list{margin:0 0 18px; padding-left:1.1rem}
.about-list li{margin:8px 0}

.about-stats{
  display:flex; gap:18px; flex-wrap:wrap; margin:18px 0 22px;
}
.stat{
  min-width:150px; padding:14px 16px; border:1px solid #eee; border-radius:var(--radius);
  background:#fafafa;
}
.stat span{display:block; font-weight:900; font-size:1.25rem; color:var(--brand); line-height:1.1}
.stat small{color:var(--muted)}

.about-cta{display:flex; gap:12px; flex-wrap:wrap}



/* Image */
.about-media{
  margin:0; position:relative;
}
.about-media img{
  width:100%; height:auto; border-radius:calc(var(--radius) + 6px);
  box-shadow:0 10px 26px rgba(0,0,0,.12);
}
.about-media {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
.about-media.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Valeurs & Vision ===== */
.values {
  padding-block: 72px;
  background-color: #f7f3ef; /* beige clair naturel */
}

/* Structure à deux colonnes */
.values-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr; /* gauche / droite */
  gap: 40px;
  align-items: stretch; /* étire les deux colonnes à la même hauteur */
}

/* Colonne gauche = flex pour placer le bloc Vision en bas */
.values-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* pousse "Notre vision" en bas */
}

/* Animation initiale */
/* Cartes avant apparition */
/* Cartes en dehors de l'écran à droite */
/* Cartes en dehors de l'écran à droite */
/* 1. État de base : cartes invisibles */
.reveal-card {
  opacity: 0;
}

/* 2. Keyframes : la carte vient de l'extérieur de l'écran */
@keyframes slideInFromRight {
  from {
    transform: translateX(120%); /* hors écran à droite */
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 3. Quand la carte devient visible */
.reveal-card.is-visible {
  animation: slideInFromRight 0.7s ease-out forwards;
}

/* 4. Effet "une par une" (stagger) */
.values-cards {
  --delay-step: 0.12s;
}

.values-cards .reveal-card:nth-child(1).is-visible {
  animation-delay: calc(var(--delay-step) * 1);
}
.values-cards .reveal-card:nth-child(2).is-visible {
  animation-delay: calc(var(--delay-step) * 2);
}
.values-cards .reveal-card:nth-child(3).is-visible {
  animation-delay: calc(var(--delay-step) * 3);
}
.values-cards .reveal-card:nth-child(4).is-visible {
  animation-delay: calc(var(--delay-step) * 4);
}
.values-cards .reveal-card:nth-child(5).is-visible {
  animation-delay: calc(var(--delay-step) * 5);
}
.values-cards .reveal-card:nth-child(6).is-visible {
  animation-delay: calc(var(--delay-step) * 6);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-card {
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
  }
}


/* Animation des entités */
/* Depuis la droite */
@keyframes slideFromRight {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Depuis la gauche */
@keyframes slideFromLeft {
  from {
    transform: translateX(-120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Quand la carte entre dans le viewport */
.reveal-right.is-visible {
  animation: slideFromRight 0.7s ease-out forwards;
}

.reveal-left.is-visible {
  animation: slideFromLeft 0.7s ease-out forwards;
}

/* Apparition successive (stagger) pour les 5 cartes */
.entities-grid {
  --delay-step: 0.12s;
}

.entities-grid .ecard:nth-child(1).is-visible {
  animation-delay: calc(var(--delay-step) * 1);
}
.entities-grid .ecard:nth-child(2).is-visible {
  animation-delay: calc(var(--delay-step) * 2);
}
.entities-grid .ecard:nth-child(3).is-visible {
  animation-delay: calc(var(--delay-step) * 3);
}
.entities-grid .ecard:nth-child(4).is-visible {
  animation-delay: calc(var(--delay-step) * 4);
}
.entities-grid .ecard:nth-child(5).is-visible {
  animation-delay: calc(var(--delay-step) * 5);
}


/* Animation chiffres clés */
/* Depuis le haut */
@keyframes slideFromTop {
  from {
    transform: translateY(-120%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Depuis le bas */
@keyframes slideFromBottom {
  from {
    transform: translateY(120%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Cartes qui descendent de haut en bas */
.reveal-down.is-visible {
  animation: slideFromTop 0.7s ease-out forwards;
}

/* Cartes qui montent de bas en haut */
.reveal-up.is-visible {
  animation: slideFromBottom 0.7s ease-out forwards;
}



/* Titre de section générique */
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #1F435F;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;      /* ← légérement rallongé */
  height: 3px;
  background: #0f5fff;
  border-radius: 4px;
}




/* Intro */
.values-intro {
  color: var(--muted);
  margin-bottom: 24px;
}

/* Bloc Vision */
.vision {
  background: #faf7f3;
  border: 1px solid #efe6dc;
  border-radius: calc(var(--radius) + 6px);
  padding: 24px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.vision-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--brand);
}
.vision-list {
  margin: 0 0 12px 1.1rem;
  padding: 0;
}
.vision-list li {
  margin: 6px 0;
}
.vision-quote {
  margin: 8px 0 0;
  padding-left: 12px;
  border-left: 3px solid var(--brand);
  color: #5a4b3f;
  font-style: italic;
}

/* Cartes de valeurs */
.values-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.vcard {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.vcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
  border-color: #e8e1db;
}
.vicon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.vcard h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--text);
}
.vcard p {
  margin: 0;
  color: var(--muted);
}

/* Responsive Valeurs */
@media (max-width: 1000px) {
  .values-layout {
    grid-template-columns: 1fr;
  }
  .values-left {
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .values {
    padding-block: 56px;
  }
  .values-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== Nos entités ===== */
.entities {
  padding-block: 72px;
  background: #fff;
}
.entities-head { margin-bottom: 24px; }
.entities-intro { color: var(--muted); margin: 6px 0 0; }

/* Grille des entités */
.entities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Carte d'entité */
.ecard {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  overflow: hidden;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.ecard:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
  border-color: #e8e1db;
}

/* Image */
.ecard-media {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  overflow: hidden;
}
.ecard-media img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
  border: none;
  transition: transform 0.6s ease;
}

/* Effet zoom image */
.ecard:hover .ecard-media img {
  transform: scale(1.08);
}

/* Corps de carte */
.ecard-body {
  position: relative;
  padding: 16px 20px 22px;
  z-index: 2;
  background: #fff;
}
.ecard-body h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand);
}
.ecard-subtitle {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #c49a70;
}
.ecard-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Lien overlay */
.ecard-link {
  position: absolute;
  inset: 0;
  z-index: 10;
}
.ecard-link:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: inherit;
}

/* Responsive entités */
@media (max-width: 1000px){
  .entities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .entities { padding-block: 56px; }
  .entities-grid { grid-template-columns: 1fr; }
  .ecard-media img { height: 200px; }
}

/* Ancre confortable */
#entites { scroll-margin-top: 90px; }

/* ===== Chiffres clés ===== */
.stats {
  padding-block: 80px;
  background: #f7f3ef;
}
.stats-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}
.stats-intro {
  color: var(--muted);
  margin-top: 8px;
}

/* Grille des stats : cartes carrées uniformes */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  text-align: center;
}
.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  width: 100%;
  aspect-ratio: 1 / 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform .3s ease, box-shadow .3s ease;
  padding: 20px;
}
.stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.stat-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  margin: 0;
}
.stat-label {
  font-size: 0.95rem;
  color: #5a4b3f;
  margin: 6px 0 0;
  line-height: 1.4;
}

/* Responsive stats */
@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    aspect-ratio: 1 / 1;
    padding: 18px;
  }
}
@media (max-width: 420px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat {
    aspect-ratio: auto;
    min-height: 200px;
  }
}

/* ===== Nos partenaires ===== */
.partners-strip {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: partnersScroll 25s linear infinite;
}

.partner-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes partnersScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation: none;
  }
}


@media (max-width: 640px) {
  .partners-track {
    animation-duration: 35s; /* plus lent sur mobile */
  }

  .partner-logo img {
    max-height: 50px; /* adapte selon ton design */
    filter: grayscale(0%);
    opacity: 1;
  }
}


/* ===== Contact (formulaire + carte) ===== */
.contact {
  padding-block: 80px;
  background: linear-gradient(180deg, #f7f3ef 0%, #efe7de 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* formulaire / carte */
  gap: 36px;
  align-items: start;
}
.contact-map {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-map {
    min-height: 320px;
  }
}

/* Formulaire */
.contact-intro {
  color: var(--muted);
  margin: 6px 0 18px;
}
.contact-form {
  display: grid;
  gap: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field {
  display: grid;
  gap: 6px;
}
.form-field label {
  font-weight: 600;
  font-size: 0.95rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e7e1d9;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(90,56,42,.12);
}
.form-consent {
  margin-top: 4px;
}
.checkbox {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .95rem; color: var(--text);
}
.checkbox input {
  margin-top: 4px;
}
.form-actions {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  margin-top: 6px;
}
.form-note { color: var(--muted); font-size: .9rem; }

/* Anti-spam */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Réseaux sociaux (Contact et footer) */
.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 25px;
  align-items: center;
}
.social-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  transition: color .3s ease, transform .3s ease;
}
.social-links li a:hover {
  color: var(--brand);
  transform: translateY(-2px);
}
.social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

/* Responsive Contact */
@media (max-width: 560px){
  .contact { padding-block: 56px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Ancre confortable Contact */
#contact { scroll-margin-top: 90px; }

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.form-status.success {
  color: #1b7f3b; /* vert */
}

.form-status.error {
  color: #c0392b; /* rouge */
}


/* ===== Footer ===== */
.site-footer {
  background: #2f241b; /* brun gris profond */
  color: #f5efe7;
  padding-top: 60px;
  padding-bottom: 20px;
  /* margin-top: 60px; */
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  width: 120px;
  margin-bottom: 10px;
}
.footer-brand p {
  color: #ddd0c4;
  line-height: 1.6;
}
.footer-nav h3,
.footer-contact h3 {
  color: #f0cfa3;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.footer-nav ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav ul li,
.footer-contact ul li {
  margin: 6px 0;
}
.footer-nav a,
.footer-contact a {
  color: #f5efe7;
  text-decoration: none;
}
.footer-nav a:hover,
.footer-contact a:hover {
  color: #f0cfa3;
}

/* Réseaux dans le footer : texte clair */
.site-footer .social-links li a {
  color: #f0cfa3;
}
.site-footer .social-links li a:hover {
  color: #ffffff;
}

/* Ligne du bas */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  color: #d8cfc4;
  text-align: center;
  font-size: 0.9rem;
}
.footer-bottom a {
  color: #f0cfa3;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #fff;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ===== Responsivité globale ===== */
/* Tablette & mobile : menu burger */
@media (max-width: 900px){
  .main-nav{
    position:fixed; inset:64px 0 auto 0; background:#fff; border-bottom:1px solid #eee;
    transform:translateY(-120%); transition:transform .25s ease; z-index:40;
  }
  .main-nav ul{flex-direction:column; align-items:flex-start; gap:0}
  .main-nav li{width:100%}
  .main-nav a{display:block; padding:14px 16px}
  .nav-toggle-btn{display:block}
  .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(1){transform:translateY(10px) rotate(45deg)}
  .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(2){opacity:0}
  .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(3){transform:translateY(-10px) rotate(-45deg)}
  .nav-toggle:checked ~ .main-nav{transform:translateY(0)}
}

/* Affinages petits mobiles */
@media (max-width: 480px){
  .brand-name{font-size:1rem}
  .header-inner{min-height:58px}
  .hero-content{padding-inline:16px}
}
