/* =========================================================
   0) VARIABLES & BASES
========================================================= */
:root {
  --color-primary: #0b2b4c;   /* bleu marine */
  --color-secondary: #2f80ed; /* bleu ciel / accent */
  --color-bg: #f5f7fb;
  --color-text: #1f2933;
  --color-muted: #6b7280;
  --color-white: #ffffff;
  --color-bg-alt-dark: #d6d9e0; /* gris légèrement plus foncé */

  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.12);
  --max-width: 1100px;
}

/* Reset simple */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }


/* =========================================================
   1) LAYOUT GLOBAL
========================================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Alternance des sections (tu gères via classes existantes) */
.section { padding: 4rem 0; background: #e9edf5; }
.section--alt { background: var(--color-bg-alt-dark); }
.section--contact { background: var(--color-bg-alt-dark); }

.section h2 { font-size: 1.7rem; text-align: center; margin-bottom: 0.75rem; }

.section__intro {
  max-width: 640px; margin: 0 auto 2.5rem; text-align: center; color: var(--color-muted);
}
/* ============================
   TYPOGRAPHIE MOBILE GLOBALE
============================ */
@media (max-width: 900px) {

  /* TITRES */
  h1 { font-size: 1.8rem; line-height: 1.15; }
  h2 { font-size: 1.5rem; line-height: 1.25; }
  h3 { font-size: 1.2rem; line-height: 1.25; }
  h4 { font-size: 1rem;  line-height: 1.3;  }

  /* TEXTE */
  p,
  .section__intro,
  .hero__text p {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* LABELS + FORMULAIRE */
  label,
  input,
  select,
  textarea {
    font-size: 0.95rem;
  }

  /* BOUTONS */
  .btn {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }

  /* MENU MOBILE */
  .nav--mobile a {
    font-size: 1.05rem;
    line-height: 1.3;
  }
}


/* =========================================================
   2) HEADER & NAV
========================================================= */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  background: linear-gradient(145deg, rgba(8,18,40,0.80), rgba(0,120,255,0.55));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

.header__content {
  display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0;
}

.header__logo { display: flex; align-items: center; gap: 0.6rem; }

.logo-img { height: 40px; width: auto; filter: drop-shadow(0 0 6px rgba(0,150,255,0.7)); }
.logo-text { font-weight: 600; letter-spacing: 0.03em; font-size: 0.95rem; }

.nav { display: flex; gap: 1.5rem; font-size: 0.95rem; }
.nav a { color: var(--color-white); text-decoration: none; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--color-secondary); transition: width 0.2s ease;
}
.nav a:hover::after { width: 100%; }


/* Cacher la nav mobile par défaut (desktop) */
.nav--mobile {
  display: none;
}

/* === HAMBURGER MOBILE === */
.mobile-hamburger { display: none; }

/* Vue mobile */
@media (max-width: 900px) {

  /* Header translucide sur le hero (pas de fond gris plein) */
  .header {
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  /* Masquer logo + nav desktop en mobile */
  .nav--desktop,
  .header__logo { display: none !important; }

  /* Bouton hamburger en haut à gauche */
  .mobile-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  .mobile-hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-secondary); /* même couleur que les boutons */
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
  }
  /* Animation hamburger -> croix */
  .mobile-hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .mobile-hamburger.is-open span:nth-child(2) { opacity: 0; }
  .mobile-hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* Menu déroulant mobile */
  .nav--mobile {
    position: fixed;
    top: 52px;         /* juste sous le bouton */
    left: 12px;
    right: auto;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: .5rem;

    /* fond "transparent" + verre dépoli pour lisibilité (change à transparent pur si tu veux) */
    background: rgba(15, 23, 42, 0.28);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    padding: .75rem 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);

    /* animation déroulante */
    transform-origin: top left;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav--mobile a {
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    line-height: 1.3;
    padding: .35rem 0;
  }
  .nav--mobile.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
}




/* =========================================================
   3) HERO (image d’arrière-plan floutée + grille)
========================================================= */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(420px, 68vh, 720px);
  padding: 5rem 0 4rem; /* garde ton espacement */
  background: #f5f7fa; /* fallback sous l’image */
}

/* Fond image + voile */
.hero__bg { position: absolute; inset: 0; z-index: 1; }
.hero__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(3px) brightness(0.85); transform: scale(1.1);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.35)); pointer-events: none;
}

/* Grille contenu */
.hero__content {
  position: relative; z-index: 2;
  display: grid; gap: 3rem; align-items: center;
  grid-template-columns: 1fr 1.2fr;  /* texte | logo */
}

.hero__text h1 { font-size: clamp(2.1rem, 3vw, 2.7rem); line-height: 1.2; margin-bottom: 1rem; color: #ffffff; }
.hero__text p { color: #ffffff; margin-bottom: 1.5rem; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; }
.hero__tags span { background: var(--color-secondary); color: var(--color-white); padding: 0.25rem 0.7rem; border-radius: 999px; }

.hero__image { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-logo-hero { width: 1500px; max-width: 100%; position: relative; z-index: 2; }
.hero-logo-inline { display: block; width: 600px; max-width: 100%; margin: 0 auto 1.2rem; opacity: 0.95; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08)); }

/* === HERO — optimisations mobile === */
/* === HERO — rapprochement fort pour le mobile === */
/* === HERO — règles mobile ciblées === */
@media (max-width: 900px) {

  /* 1) cacher le gros texte sous le H1 */
  .hero__text p:first-of-type {
    display: none !important;
  }

  /* 2) remettre le logo à la taille d'avant */
  .hero__image img {
    max-width: 60% !important;
    margin-bottom: 0 !important;
  }

  /* 3) faire mordre le H1 sur le logo */
  .hero__text {
    position: relative;
    margin-top: -1rem !important;
    z-index: 2;
  }

  /* ESPACE ENTRE H1 ET LES BOUTONS */
  .hero__text h1 {
    margin-bottom: 4rem !important; /* <-- ajouté */
    line-height: 1.05;
  }

  /* 4) masquer les tags/bulles */
  .hero__tags { display: none !important; }

  /* 5) réduire l'espace général pour compacter le hero */
  .hero { padding-top: 1.2rem !important; }
  .hero__content { gap: 0.4rem !important; }

  /* 6) BOUTONS CÔTE À CÔTE */
  .hero__cta {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem !important;
    justify-content: center;
    align-items: center;
    margin-top: 0.2rem !important;
  }

  /* largeur automatique pour éviter qu'ils passent en dessous */
  .hero__cta .btn {
    width: auto !important;
    flex: 1 1 auto;
    text-align: center;
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  /* un peu plus de chevauchement pour les très petits écrans */
  .hero__text { margin-top: -1.1rem !important; }

  .hero__cta {
    gap: 0.6rem !important;
  }
}



/* =========================================================
   4) BOUTONS
========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.4rem; border-radius: 999px;
  font-weight: 500; font-size: 0.95rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .1s ease, box-shadow .1s ease, background .1s ease, color .1s ease;
}
.btn-primary { background: var(--color-secondary); color: var(--color-white); box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 36px rgba(15,23,42,0.18); }
.btn-outline { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.65); }
.btn-outline:hover { background: rgba(47,128,237,0.18); }


/* =========================================================
   5) GRIDS & CARDS GÉNÉRIQUES
========================================================= */
.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--color-white); border-radius: var(--radius-md);
  padding: 1.6rem; box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}
.card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.card p { font-size: 0.95rem; color: var(--color-muted); margin-bottom: 0.9rem; }
.card__list { list-style: none; font-size: 0.9rem; }
.card__list li { position: relative; padding-left: 1.1rem; margin-bottom: 0.45rem; }
.card__list li::before { content: "•"; position: absolute; left: 0; top: 0; color: var(--color-secondary); }


/* =========================================================
   6) SERVICES (grille de cartes)
========================================================= */
.services-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.service-card {
  background: var(--color-white); padding: 2rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

/* ======= SERVICES — MODE MOBILE : titres + énumérations uniquement ======= */
@media (max-width: 900px) {

  /* 1) Masquer le petit texte sous "Nos services" */
  #services .section__intro {
    display: none !important;
  }

  /* 2) Masquer les paragraphes dans les cartes (on garde H3 + ul/li) */
  #services .card > p,
  #services .card .card__body > p {
    display: none !important;
  }

  /* 3) Si tu as des cartes visuelles (card--image) ou des cartes scindées (card--split),
        on masque la partie image pour ne garder que le titre + liste */
  #services .card.card--image,
  #services .card--split .card__media {
    display: none !important;
  }

  /* 4) Options de resserrage visuel (facultatif mais conseillé) */
  #services .services-grid,
  #services .services-split {
    gap: 1rem;
  }
  #services .card {
    padding: 1rem;
  }
  #services .card h3 {
    margin-bottom: 0.4rem;
  }
  #services .card__list {
    margin-top: 0.25rem;
    line-height: 1.4;
  }
  #services h2 {
    margin-bottom: 1.5rem !important; /* ajuste : 1rem, 2rem… */
  }
  #services.section {
    padding-top: 2rem !important; /* Ajuste : 1rem, 1.5rem, 2rem… */
  }
}



/* =========================================================
   7) ATELIER (section avec fond flouté)
========================================================= */
/* Texte avec icônes (liste) */
.icon-list { list-style: none; margin-top: 1rem; }
.icon-list li { margin-bottom: 0.4rem; font-size: 0.95rem; }

/* Section atelier moderne */
.atelier-section {
  position: relative; padding: 8rem 0; overflow: hidden; color: #fff;
}
.atelier__bg { position: absolute; inset: 0; z-index: 1; }
.atelier__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(2px) brightness(0.6); transform: scale(1.05);
}
.atelier__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.45); z-index: 2; }

.atelier__content { position: relative; z-index: 3; }
.atelier-title { text-align: center; font-size: 1.7rem; margin-bottom: 2rem; color: #fff !important; }

.atelier__grid {
  display: grid;
  grid-template-columns: 1fr;  /* ⬅️ une seule colonne */
  gap: 3rem;
}
.atelier__text {
  order: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.atelier__images {
  order: 2;
}

.atelier__text p, .atelier__text li { color: #ffffff; }

/* Galerie (version simple avec <img class="atelier-img">) */

.atelier__images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.atelier-img {
  width: 100%;
  height: 320px;   /* ⬅️ très lisible */
  object-fit: cover;
}


/* Galerie (version cartes .atelier__item / .atelier__img — si utilisée) */
.atelier__item {
  background: var(--color-white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft); overflow: hidden; text-align: center;
}
.atelier__img { width: 100%; height: 180px; object-fit: cover; }
.atelier__caption {
  font-size: 0.9rem; color: var(--color-muted);
  padding: 0.6rem 0.8rem; background: #f8fafc;
}
#atelier .container {
  max-width: 1400px;  /* ou 1500px */
}
/* ====== ATELIER — version mobile ====== */
@media (max-width: 900px) {

  /* 1) La grille principale passe en 1 colonne */
  #atelier .atelier__grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 1.2rem;
  }

  /* 2) Texte avant, images après */
  #atelier .atelier__text { order: 1; }
  #atelier .atelier__images { order: 2; }

  /* 3) Les trois images en grille 3 colonnes */
  #atelier .atelier__images {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: .5rem;
  }
/* Masquer l'énumération (UL) */
  #atelier .atelier__text ul,
  #atelier .atelier__text li {
    display: none !important;
  }
  /* 4) Images carrées et bien recadrées */
  #atelier .atelier__images img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    height: auto; /* sécurité */
  }
}


/* =========================================================
   8) CERTIFICATIONS (bulles centrées)
========================================================= */
.certifications {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center; justify-items: center;
  text-align: center; gap: 2rem;
}
.certifications__item {
  background: var(--color-white); border-radius: var(--radius-md);
  padding: 1.5rem; box-shadow: 0 10px 24px rgba(15,23,42,0.06); max-width: 380px;
}
.certifications__item h3 { margin-bottom: 0.5rem; }
.certifications__item p { font-size: 0.95rem; color: var(--color-muted); }
.certifications__item--future { border-left: 4px solid var(--color-secondary); }

.badge {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.8rem; margin-top: 0.7rem;
}
.badge--soon { background: rgba(47,128,237,0.1); color: var(--color-secondary); }


/* =========================================================
   9) FORMULAIRE CONTACT
========================================================= */

/* Mise en page en 2 colonnes */
/* Centrer le titre et le texte au-dessus de la grille */
#contact .container{
    max-width: 1400px;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Grille 70 / 30 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px; /* ⬅️ colonne logo plus large */
  gap: 3rem;
  align-items: center;


}

/* Logo colonne droite */
.contact-right{
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-left {
  max-width: 680px;
  justify-self: center;
}


.contact-logo {
  max-width: 380px; /* ⬅️ plus grand */
  width: 100%;
  height: auto;
}




.form {
  background: var(--color-bg); border-radius: var(--radius-md);
  padding: 1.8rem; box-shadow: 0 10px 20px rgba(15,23,42,0.05); position: relative;
}
.form__group { margin-bottom: 1rem; }
.form__group--full { grid-column: 1 / -1; }

.form label { display: block; font-size: 0.9rem; margin-bottom: 0.3rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.55rem 0.7rem; border-radius: 8px;
  border: 1px solid #d1d5db; font-size: 0.9rem; font-family: inherit; background: #fff;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--color-secondary);
  box-shadow: 0 0 0 1px rgba(47,128,237,0.3);
}

/* Consentement (checkbox) */
.consent-row { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 1rem; }
.consent-row input[type="checkbox"] { width: 18px; height: 18px; margin: 0; cursor: pointer; }
input[type="checkbox"]:focus { outline: none; box-shadow: none; }

/* Honeypot (caché) */
.honeypot { position: absolute; left: -9999px; visibility: hidden; }

/* ===== CONTACT — Version mobile ===== */
@media (max-width: 900px) {
  /* 1) cacher l’intro sous le titre */
  #contact .section__intro { display: none !important; }

  /* 2) grille en 1 colonne et ordre: logo puis formulaire */
  #contact .contact-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 1rem;
    align-items: start;
  }

  /* Logo sous le titre */
  #contact .contact-right {
    order: 1;
    text-align: center;
  }
  #contact .contact-logo {
    max-width: 140px;         /* ajuste si besoin */
    width: 50%;
    height: auto;
    margin: 0 auto .75rem;
    display: block;
  }

  /* Formulaire ensuite */
  #contact .contact-left { order: 2; }

  /* 3) masquer la zone "Coordonnées" */
  #contact .contact__info { display: none !important; }
}

/* =========================================================
   10) PARTENAIRES (barre intégrée) & FOOTER
========================================================= */
.footer__contact {
  margin-top: 0.8rem;
  line-height: 1.4;
}

.footer__contact a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer__contact a:hover {
  text-decoration: underline;
}


.footer__partners {
  background: #474747; /* même couleur que footer */
  text-align: center; padding: 2rem 0 1.5rem; margin: 0;
  /* border-top: 1px solid rgba(255,255,255,0.08); */
}
.footer__partners h3 {
  color: #474747; margin-bottom: 2.5rem; font-size: 1.2rem; font-weight: 600;
}

.partners-logos {
  display: flex; justify-content: center; align-items: center;
  gap: 2rem; flex-wrap: wrap;
}
.partners-logos img {
  height: 90px; width: auto; opacity: 0.9;
  filter: brightness(1.15); transition: 0.3s ease;
}
.partners-logos img:hover { opacity: 1; transform: scale(1.05); }

/* Footer */
.footer .section { background: transparent; padding: 0; }

.footer {
  background: #474747; color: #9ca3af;
  padding: 1.6rem 0 2rem; margin-top: 0; font-size: 0.85rem; text-align: center;
}
.footer__content { text-align: center; }
.footer__links { margin-top: 0.4rem; }
.footer__links a { color: #e5e7eb; text-decoration: none; font-size: 0.85rem; }
.footer__links a:hover { text-decoration: underline; }


/* ===== FOOTER — LOGO LINKEDIN ===== */

.footer-linkedin {
  margin-top: 0.6rem;
  display: flex;
  justify-content: center; 
}

.footer-linkedin img {
  width: 100px;        /* ⬅️ taille discrète */
  height: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-linkedin img:hover {
  opacity: 1;
  transform: scale(1.1);
}


/* ===== FOOTER — version mobile compacte ===== */
@media (max-width: 900px) {

  footer,
  .footer {
    padding: 1.2rem 0 !important;      /* Réduit fortement */
  }

  .footer__content {
    gap: 0.8rem !important;            /* Réduit l'espace entre blocs */
  }

  /* Texte plus compact */
  .footer p,
  .footer a,
  .footer li {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
  }

  /* Titre du footer */
  .footer h4,
  .footer-title {
    margin-bottom: 0.4rem !important;
    font-size: 1rem !important;
  }

  /* Section partenaires compacte */
  .footer__partners {
    margin-top: 1rem !important;
    margin-bottom: 0.5rem !important;
  }

  .footer__partners img {
    max-height: 32px !important;       /* Logos petits et propres */
    margin: 0 .4rem;
    opacity: 0.9;
  }

  /* Liens alignés proprement */
  .footer__links,
  .footer__menu {
    gap: 0.4rem !important;
  }

  /* Bas de page (“Mentions légales”) */
  .footer__bottom {
    margin-top: 0.8rem !important;
    padding-top: 0.8rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
}

/*============================================
A PROPOS
===========================================*/

/* ===== A PROPOS — TEXTE + MAP ===== */

/* ===== A PROPOS — MAP CENTRÉE ===== */

.apropos-map{
  display: flex;
  justify-content: center;   /* centre horizontalement */
  margin-top: 2rem;
}

/* Taille de la map (FACILE À MODIFIER) */
.apropos-map iframe{
  width: 100%;
  max-width: 900px;          /* ⬅️ LARGEUR MAX (modifie ici) */
  height: 360px;             /* ⬅️ HAUTEUR (modifie ici) */
  border: 0;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
#apropos .apropos-text {
  max-width: 900px;   /* ajuste si tu veux */
  margin: 0 auto;
}


/* Mobile */
@media (max-width: 900px){
  .apropos-map iframe{
    max-width: 100%;
    height: 260px;
  }
}


/* =========================================================
   11) PAGES LÉGALES
========================================================= */
.legal-page { padding: 5rem 0 4rem; }
.legal-page h1 { font-size: 1.8rem; margin-bottom: 1rem; }
.legal-page h2 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; }
.legal-page p, .legal-page li { font-size: 0.95rem; color: var(--color-muted); }
.legal-page ul { margin-left: 1.2rem; margin-bottom: 1rem; }


/* =========================================================
   12) UTILITAIRES “ABOUT”
========================================================= */
.about-section p { margin-bottom: 1rem; }


/* =========================================================
   13) RESPONSIVE
========================================================= */
@media (max-width: 900px) {
  .hero__content { grid-template-columns: 1fr; text-align: center; }
  .hero__image { order: -1; margin-bottom: 1.5rem; }
  .hero__image img { margin: 0 auto; max-width: 90%; }

  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .certifications { grid-template-columns: 1fr; }

  .nav { gap: 0.9rem; font-size: 0.85rem; }
}

@media (max-width: 600px) {
  .header__content { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .hero { padding-top: 4rem; }
  .form { padding: 1.3rem; }
}
/* ===== LEGAL PAGES — logo mobile ===== */

.legal-logo-wrapper {
    display: none; /* caché par défaut */
}

@media (max-width: 900px) {

  /* Afficher le logo sur mobile */
  .legal-logo-wrapper {
      display: flex;
      justify-content: center;
      margin-top: 1.5rem;
      margin-bottom: 1rem;
  }

  .legal-logo {
      max-width: 120px;   /* petit logo propre */
      width: 45%;
      height: auto;
      opacity: 0.9;       /* un peu doux */
  }

  /* On peut remonter légèrement le contenu */
  .legal-page-content,
  main,
  .mentions-content {
      margin-top: 0 !important;
  }
}
