/* styles.css - SOSIT Île-de-France (Couleurs logo vert/orange) */
/* Version finale (corrigée pour menu mobile) */

:root {
  /* COULEURS LOGO SOSIT */
  --primary: #0b4f3c; /* Vert foncé SOSIT principal */
  --accent: #f5821f; /* Orange bouton/action */
  --secondary: #008000; /* Vert vif highlights */
  --accent-soft: #ffe7d1; /* Fond orange clair */

  /* Neutres */
  --bg: #ffffff;
  --bg-muted: #f8faf9;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --border: #e0e5e2;

  /* Design */
  --radius: 8px;
  --shadow-soft: 0 12px 30px rgba(11, 79, 60, .08);
  --max-width: 1100px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.small { font-size: .92rem; color: var(--text-muted); }

/* LAYOUT */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-muted { background: var(--bg-muted); }
.section-accent { background: var(--accent-soft); }
.section h2 { font-size: 1.9rem; color: var(--primary); margin-top: 0; }
.section-intro { max-width: 720px; color: var(--text-muted); }

/* HEADER & NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 1.5rem;
  gap: 1rem;
  position: relative; /* Important pour le menu mobile */
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.logo-img { height: 50px; width: auto; }
.brand-title { display: flex; flex-direction: column; line-height: 1.05; }
.brand-title strong {
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--primary);
}
.brand-title span {
  font-size: .85rem;
  color: var(--accent);
  font-weight: 700;
}

/* Navigation Bureau */
.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

/* Liste UL générée par WP */
.main-nav > ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav > ul > li {
    position: relative;
    display: flex;
    align-items: center;
}

.main-nav a {
  margin-left: 1rem;
  color: var(--text);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  padding: 0.5rem 0;
}
.main-nav a:hover { color: var(--primary); }

.btn-nav {
  padding: .45rem .9rem !important; /* Force padding */
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  text-decoration: none;
  font-weight: 800;
  margin-left: 1rem;
}
.btn-nav:hover {
  background: rgba(245, 130, 31, .08);
}

/* --- SOUS-MENU (Desktop) --- */

/* La flèche ▾ à côté de Services */
.main-nav li.menu-item-has-children > a::after {
    content: " ▾";
    font-size: 0.8em;
    margin-left: 4px;
    color: var(--accent); /* Flèche principale en orange aussi */
}

/* Le conteneur du sous-menu */
.main-nav ul ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    
    /* MODIFICATIONS ICI : Fond coloré comme sur mobile */
    background-color: #f8faf9; /* Gris très clair (var(--bg-muted)) */
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent); /* Bordure orange en haut pour le style */
    
    box-shadow: 0 12px 25px rgba(0,0,0,0.1); /* Ombre plus douce */
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    min-width: 240px;
    z-index: 1000;
    flex-direction: column;
    list-style: none;
    margin: 0;
}

/* Apparition au survol */
.main-nav li.menu-item-has-children:hover > ul.sub-menu {
    display: flex;
    animation: fadeIn 0.2s ease-in-out; /* Petite animation fluide */
}

/* Les liens du sous-menu */
.main-nav ul ul.sub-menu a {
    display: block;
    padding: 10px 20px;
    margin: 0 !important;
    font-size: 0.95rem;
    color: var(--text-muted); /* Texte gris foncé */
    white-space: nowrap;
    border-bottom: 1px solid rgba(0,0,0,0.03); /* Séparateur très léger */
    transition: all 0.2s;
}

/* Ajout de la petite flèche '↳' devant les liens */
.main-nav ul ul.sub-menu a::before {
    content: "↳";
    display: inline-block;
    margin-right: 8px;
    color: var(--accent); /* Flèche orange */
    font-size: 1.1em;
    opacity: 0.6; /* Un peu discret par défaut */
    transition: opacity 0.2s;
}

/* Effet au survol d'un lien */
.main-nav ul ul.sub-menu a:hover {
    background-color: #eef2f0; /* Fond légèrement plus foncé */
    color: var(--primary);     /* Texte vert */
    padding-left: 25px;        /* Petit décalage vers la droite */
}

.main-nav ul ul.sub-menu a:hover::before {
    opacity: 1; /* Flèche bien visible au survol */
}

/* Petite animation d'apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}



/* Burger menu (caché sur desktop) */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 44px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  position: relative;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-label span::before { top: -7px; }
.nav-toggle-label span::after { top: 7px; }


/* HERO */
.hero { padding: 3.5rem 0 3rem; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}
.hero h1 { font-size: 2.2rem; color: var(--primary); margin-top: 0; line-height: 1.2; }
.hero p { color: var(--text-muted); font-size: 1.1rem; margin: 0; }
.hero-actions {
  margin: 1.5rem 0 1rem;
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  padding: .75rem 1.5rem;
  border: none;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  display: inline-block;
  transition: all .2s;
  box-shadow: 0 4px 12px rgba(245, 130, 31, .3);
}
.btn-primary:hover {
  background: #e36c05;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 130, 31, .4);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 999px;
  padding: .75rem 1.5rem;
  text-decoration: none;
  font-weight: 800;
  transition: all .2s;
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}
.btn-block { width: 100%; text-align: center; display: inline-block; }

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  color: var(--text-muted);
}
.hero-highlights li { margin-bottom: .5rem; }
.hero-highlights li::before {
  content: "✔ ";
  color: var(--secondary);
  font-weight: 900;
  margin-right: .5rem;
}

.hero-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.8rem;
}
.hero-card h2 { font-size: 1.3rem; color: var(--primary); margin-top: 0; }
.hero-note { font-size: .9rem; color: var(--text-muted); margin-top: 1rem; }

/* GRIDS & CARDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1.6fr 1.2fr; }
}

.service-card, .price-card, .testimonial, .card-highlight, .info-box, .zone-card, .card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-soft);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover, .zone-card:hover, .hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(11, 79, 60, .12);
}
.service-card h3 { font-size: 1.2rem; color: var(--primary); margin-top: 0; margin-bottom: .5rem; }
.service-card ul {
  padding-left: 1.2rem;
  margin: .8rem 0 1rem 0;
  color: var(--text-muted);
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { margin-bottom: .4rem; color: var(--text-muted); }
.check-list li::before {
  content: "✔ ";
  color: var(--secondary);
  font-weight: 900;
  margin-right: .5rem;
}

/* FAQ */
.faq {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.faq-item h3 { font-size: 1.1rem; color: var(--primary); margin-top: 0; }

/* FORMULAIRE */
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group { margin-bottom: 1.2rem; }
label {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--primary);
}
input, select, textarea {
  width: 100%;
  padding: .75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 130, 31, .1);
}
textarea { min-height: 100px; resize: vertical; }

.contact-info {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.contact-info h3 { color: var(--primary); margin-top: 0; }

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-top: 1.5rem;
  background: #fff;
}
.pricing-table th, .pricing-table td {
  padding: 1.2rem .8rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.pricing-table th {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
}
.pricing-table tr:hover { background: rgba(248, 250, 249, .8); }
.price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--accent);
  margin: .25rem 0 1rem 0;
}

/* TESTIMONIALS */
.testimonial p { font-style: italic; font-size: 1rem; margin: 0 0 1rem 0; color: var(--text); }
.testimonial span { display: block; font-size: .9rem; color: var(--text-muted); font-weight: 700; }

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: #fff;
  font-size: .95rem;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 1rem;
  white-space: nowrap;
}
.footer-links a:hover { color: var(--primary); }


/* --- RESPONSIVE / MOBILE MENU FIX --- */
/* --- RESPONSIVE / MOBILE MENU FIX (Version Colonne Droite + Fond Gris) --- */

@media (max-width: 900px) {

    /* Layout Header Mobile : logo gauche, burger droite */
    .header-inner {
        flex-direction: row; 
        align-items: center;
        justify-content: space-between;
        position: relative; /* Important pour le positionnement du menu */
    }

    /* Bouton Burger */
    .nav-toggle-label {
        display: flex; 
        order: 2;
        margin-left: auto; /* Pousse le burger à droite */
    }
    
    /* Menu Mobile Caché par défaut */
    .main-nav {
        display: none; 
        position: absolute;
        top: 100%; /* Juste sous le header */
        
        /* --- MODIF : Menu collé à droite --- */
        left: auto;
        right: 0;
        width: 280px; /* Largeur de la colonne */
        
        /* --- MODIF : Couleur de fond du menu principal --- */
        background: var(--bg-muted); /* Gris très clair (#f8faf9) */
        
        border-top: 1px solid var(--border);
        border-left: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: -10px 10px 30px rgba(0,0,0,0.15); /* Ombre vers la gauche */
        padding: 0;
        z-index: 100;
        flex-direction: column;
        border-radius: 0 0 0 8px; /* Arrondi coin bas-gauche */
    }

    /* Affichage du menu quand coché */
    .nav-toggle:checked ~ .main-nav {
        display: flex; 
    }

    /* Liste des liens en colonne */
    .main-nav > ul {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        margin: 0;
        padding: 0;
    }

    .main-nav > ul > li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05); /* Séparateur léger */
        flex-wrap: wrap; 
        display: flex;
    }
    
    /* Liens principaux */
    .main-nav a {
        display: block;
        padding: 15px 20px;
        margin: 0;
        width: 100%;
        color: var(--text);
        font-weight: 600;
    }
    
    /* Bouton Contact mobile */
    .main-nav .btn-nav {
        display: block;
        margin: 20px; /* Marge autour du bouton */
        text-align: center;
        width: auto;
        background-color: #fff; /* Fond blanc pour le bouton */
    }

    /* --- GESTION DU SOUS-MENU (Services) --- */
    
    /* Le lien parent (Services) */
    .main-nav li.menu-item-has-children > a {
        background-color: rgba(0,0,0,0.02); /* Légèrement plus foncé */
        font-weight: 700;
    }
    
    /* La flèche ▾ à côté de Services */
    .main-nav li.menu-item-has-children > a::after {
        content: " ▾"; 
        float: right;
    }

    /* Le bloc du sous-menu */
    .main-nav ul ul.sub-menu {
        display: flex; /* Toujours visible en mobile */
        flex-direction: column;
        position: static;
        box-shadow: none;
        border: none;
        width: 100%;
        
        /* --- MODIF : Couleur de fond du sous-menu --- */
        background-color: #eef2f0; /* Un gris/vert un peu plus foncé pour contraster */
        
        padding-left: 0;
        margin: 0;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    /* Les liens du sous-menu */
    .main-nav ul ul.sub-menu a {
        padding: 12px 20px 12px 35px; /* 35px à gauche pour l'indentation */
        font-size: 0.9rem;
        color: var(--text-muted);
        border-bottom: 1px solid rgba(255,255,255,0.5);
    }
    
    /* Petite flèche devant les sous-liens */
    .main-nav ul ul.sub-menu a::before {
        content: "↳";
        display: inline-block;
        margin-right: 8px;
        color: var(--accent);
    }

    /* Indicateur de page active en mobile */
    .main-nav li.current-menu-item > a:not(.btn-nav) {
        border-left: 4px solid var(--accent);
        background-color: rgba(245, 130, 31, 0.08);
        color: var(--accent);
    }
    
    /* Autres ajustements responsive */
    .hero-inner, .split, .grid-3, .faq { grid-template-columns: 1fr !important; }
    .hero h1 { font-size: 1.8rem; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .container { padding: 0 1rem; }
    .section { padding: 2.5rem 0; }
    .hero { padding: 2.5rem 0 2rem; }
}



@media (max-width: 600px) {
    .container { padding: 0 1rem; }
    .section { padding: 2.5rem 0; }
    .hero { padding: 2.5rem 0 2rem; }
}

/* --- INDICATEUR DE PAGE ACTIVE --- */

/* Pour les ordinateurs : texte vert et soulignement orange */
.main-nav li.current-menu-item > a:not(.btn-nav),
.main-nav li.current-menu-ancestor > a:not(.btn-nav),
.main-nav li.current_page_parent > a:not(.btn-nav) {
    color: var(--accent);          /* Texte Vert foncé */
    font-weight: 700;               /* Texte en gras */
    border-bottom: 2px solid var(--accent); /* Soulignement Orange */
}

/* Pour le bouton Contact actif (évite le soulignement bizarre) */
.main-nav li.current-menu-item > a.btn-nav {
    background-color: var(--accent);
    color: #fff !important;
}

/* --- VERSION MOBILE --- */
@media (max-width: 900px) {
    /* Sur mobile : Fond gris clair au lieu du soulignement */
    .main-nav li.current-menu-item > a:not(.btn-nav),
    .main-nav li.current-menu-ancestor > a:not(.btn-nav) {
        border-bottom: none;
        background-color: rgba(11, 79, 60, 0.05); /* Fond vert très clair */
        color: var(--accent);
        border-left: 4px solid var(--accent); /* Barre orange à gauche */
    }
}


/* --- BANDEAU CTA (Call-to-Action) Orange --- */
.footer-cta {
  background: linear-gradient(110deg, var(--accent) 0%, #ff9f40 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%); /* Forme inclinée */
  margin-top: 4rem;
}

.footer-cta-inner {
  text-align: center;
  padding: 3rem 2rem;
  color: #fff;
}

.footer-cta h2 {
  font-size: 2rem;
  font-weight: 900;
  margin: 0 0 0.5rem 0;
  color: #fff;
}

.footer-cta p {
  font-size: 1.1rem;
  margin: 0 0 1.5rem 0;
  color: #fff;
  opacity: 0.95;
}

.btn-cta {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* --- FOOTER Principal (Fond Gris) --- */
.site-footer {
  background-color: #5a5a5a; /* Gris moyen/foncé */
  color: #d0d0d0;
  padding: 3rem 0 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

/* Titres de colonnes */
.footer-column h3 {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0 0 1.2rem 0;
  text-transform: uppercase;
}

/* COLONNE 1 : Logo + Description */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  background: #fff;
  padding: 5px;
  border-radius: 8px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-brand strong {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 900;
}

.footer-brand span {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.footer-description {
  color: #d0d0d0;
  line-height: 1.7;
  font-size: 0.9rem;
}

/* COLONNES 2 et 3 : Listes de liens */
.footer-services ul,
.footer-company ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-services li,
.footer-company li {
  margin-bottom: 0.6rem;
}

.footer-services a,
.footer-company a {
  color: #d0d0d0;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}

.footer-services a:hover,
.footer-company a:hover {
  color: var(--accent);
  padding-left: 5px;
}

/* COLONNE 4 : Coordonnées + Réseaux */
.footer-contact {
  color: #d0d0d0;
}

.footer-address {
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.footer-phone {
  margin: 0 0 0.8rem 0;
}

.footer-phone a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 900;
}

.footer-phone a:hover {
  color: var(--accent);
}

.footer-hours {
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  color: #b0b0b0;
}

.footer-email-note {
  margin: 0 0 1.5rem 0;
  font-size: 0.85rem;
}

.footer-email-note a {
  color: var(--accent);
  text-decoration: underline;
}

.footer-social-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  color: var(--accent);
  transition: transform 0.2s, color 0.2s;
  display: inline-block;
}

.social-icons a:hover {
  transform: scale(1.15);
  color: #fff;
}

/* Ligne du bas (SIRET) */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  background-color: rgba(0,0,0,0.15);
  text-align: center;
}

.footer-siret p {
  text-align: center;
  color: #a0a0a0;
  font-size: 0.85rem;
  margin: 0;
}



.footer-siret strong {
  color: #fff;
}

/* --- RESPONSIVE FOOTER --- */
@media (max-width: 900px) {
  .footer-cta {
    clip-path: none; /* Désactive la forme inclinée sur mobile */
  }

  .footer-cta h2 {
    font-size: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-column h3 {
    font-size: 1rem;
  }
}


/* --- PAGE SUPPORT CLIENT --- */

.support-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #06382a 100%);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.support-hero h1 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    color: #fff;
}

.support-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.support-alert {
    background-color: #fff3cd;
    color: #856404;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    border-left: 5px solid #ffeeba;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    text-align: center;
}

.support-alert a {
    color: #856404;
    text-decoration: underline;
    font-weight: 700;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Bloc Téléchargement */
.support-download-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.support-download-box h2, .support-steps-box h2 {
    color: var(--primary);
    margin-top: 0;
    font-size: 1.5rem;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download.windows {
    background-color: #0078D7;
    color: #fff;
}

.btn-download.mac {
    background-color: #333;
    color: #fff;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.small-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Bloc Étapes */
.support-steps-box {
    background: var(--bg-muted);
    border-radius: var(--radius);
    padding: 2rem;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.step-number {
    background: var(--accent);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.id-example {
    background: #fff;
    border: 2px dashed var(--border);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.fake-id-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-family: monospace;
    font-size: 1.1rem;
}

.fake-id-row span { color: var(--text-muted); }
.fake-id-row strong { color: var(--text); }

/* Note tarifs */
.support-pricing-note {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
}

/* --- TOP BAR (Barre d'info au dessus du menu) --- */
.top-bar {
    background-color: var(--bg-muted); /* Gris très clair */
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    padding: 8px 0;
    transition: height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    overflow: hidden;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    text-decoration: none;
    color: var(--text-muted);
    margin-right: 15px;
    font-weight: 500;
}

.top-bar a:hover {
    color: var(--primary);
}

.link-support {
    color: var(--accent) !important; /* Orange pour le support */
    font-weight: 700 !important;
}

/* --- COMPORTEMENT SCROLL (Sticky Header Intelligent) --- */
.site-header {
    position: fixed; /* Fixe en haut de l'écran */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease-in-out; /* Animation fluide */
}

/* Classe ajoutée en JS quand on scroll vers le BAS */
.site-header.scroll-down {
    transform: translateY(-45px); /* On remonte le header pour cacher la Top Bar (40px approx) */
}

/* Classe ajoutée en JS quand on scroll vers le HAUT */
.site-header.scroll-up {
    transform: translateY(0); /* On réaffiche tout */
}

/* Ajustement du corps de page car le header est fixed */
body {
    padding-top: 110px; /* Espace pour ne pas que le contenu passe sous le header */
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
    /* Sur mobile, on cache souvent la top bar pour gagner de la place, 
       ou on l'affiche en plus petit. Ici je la cache par simplicité */
    .top-bar {
        display: none; 
    }
    
    body {
        padding-top: 80px; /* Moins de padding car pas de top bar */
    }
    
    .site-header.scroll-down {
        transform: translateY(0); /* Pas d'effet sur mobile si Top Bar cachée */
    }
}