/* Cursor fix: responsive header - 2025-11-05 (updated alignment 2025-11-05) */
.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.site-logo {
    display: block;
    max-width: 160px;
    width: auto;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.site-title {
    font-weight: 700;
    font-size: 1.3rem;
    color: #0A2A4A;
    text-decoration: none;
}

@media (max-width: 600px) {
    .site-logo {
        max-width: 120px;
        max-height: 48px;
    }

    .header-inner {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

.hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
}

.site-nav {
    display: none !important;
}

.site-nav.is-open,
.site-nav.open {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    z-index: 999;
    padding: 1rem;
    box-shadow: 0 6px 20px rgba(10, 20, 40, 0.06);
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    .site-nav {
        display: block !important;
        position: static;
        background: transparent;
        box-shadow: none;
    }

    .site-nav .nav-list {
        display: flex;
        gap: 2rem;
        align-items: center;
    }
}

/* SCAM HUNTERS - Global Styles */
/* Charte graphique officielle : Navy #0A1F44, Cyber Gold #F2A950, Blanc #FFFFFF, Gris clair #EAEAEA, Gris texte #333333 */

/* Variables CSS personnalisées - Charte officielle - STANDARDISÉES */
:root {
    /* Couleurs de base - Charte officielle */
    --navy: #0A1F44;
    --cybergold: #F2A950;
    --white: #FFFFFF;
    --gray-light: #EAEAEA;
    --gray-text: #333333;

    /* Variables de thème - Mode clair */
    --text-default: #333333;
    --bg-light: #F7F8FA;
    --card-bg: #FFFFFF;
    --card-text: #222222;
    --bg-body: var(--white);
    --bg-card: var(--card-bg);
    --text-color: var(--text-default);
    --border-color: var(--gray-light);

    /* Polices */
    --font-title: 'Poppins', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Couleurs sémantiques */
    --success-green: #10B981;
    --warning-yellow: #F59E0B;
    --error-red: #EF4444;
    --border-gray: #E5E7EB;

    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 8px 20px rgba(16, 24, 40, 0.06);

    /* Bordures et espacements */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.2s ease;

    /* Aliases pour compatibilité */
    --primary-navy: var(--navy);
    --primary-orange: var(--cybergold);
    --light-gray: var(--gray-light);
    --text-dark: var(--gray-text);
    --text-light: #666666;
}

/* Dark Mode Variables - REMOVED */
/* Dark mode functionality has been removed - site now uses light theme only */

/* Reset et styles de base */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0.02em;
    color: var(--text-default);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
}

/* Transitions fluides entre les modes */
html,
body,
section,
header,
footer,
.card,
.btn-primary,
.btn-secondary,
.btn-outline,
.cta-primary,
.cta-secondary,
.cta,
input,
textarea,
select,
nav {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

/* Typographie - Hiérarchie visuelle */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-title);
    font-weight: 700;
    color: inherit;
    /* Will be overridden by section context */
    margin-top: 0;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.25rem);
    letter-spacing: -0.5px;
    margin-bottom: 0.6em;
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.5em;
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    font-weight: 600;
    margin-bottom: 0.4em;
}

h4,
h5,
h6 {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.3em;
}

h4 {
    font-size: clamp(1.125rem, 1.5vw, 1.5rem);
}

h5 {
    font-size: clamp(1rem, 1.25vw, 1.25rem);
}

h6 {
    font-size: 1rem;
}

/* Espacement après les titres */
h1+p,
h2+p,
h3+p {
    margin-top: 0.4em;
}

p {
    margin-bottom: 1.2em;
    font-size: 1rem;
    color: inherit;
    /* Inherit from parent for proper contrast */
    font-family: var(--font-body);
}

small,
.small-text {
    font-size: 0.875rem;
    color: inherit;
    /* Better contrast */
    opacity: 0.9;
    /* Increased from 0.8 for better readability */
    font-family: var(--font-body);
}

/* Liens */
a {
    color: var(--cybergold);
    text-decoration: none;
    transition: var(--transition);
    font-family: var(--font-body);
}

a:hover {
    color: var(--navy);
    text-decoration: none;
}

/* Boutons personnalisés et CTA - Améliorés */
.btn-primary,
.cta-primary {
    background-color: var(--cybergold);
    color: var(--navy);
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(242, 169, 80, 0.18);
}

.btn-primary:hover,
.cta-primary:hover {
    transform: translateY(-3px);
    background-color: #F4B35D;
    /* slightly lighter on hover */
    color: var(--navy);
    box-shadow: 0 10px 28px rgba(242, 169, 80, 0.32);
}

.btn-primary:focus,
.cta-primary:focus {
    outline: 3px solid rgba(242, 169, 80, 0.28);
    outline-offset: 2px;
}

.btn-secondary {
    background-color: var(--navy);
    color: var(--white);
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.25s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #0d2a54;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline,
.cta-secondary {
    background: transparent;
    color: var(--cybergold);
    border: 2px solid var(--cybergold);
    padding: 12px 26px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.25s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
}

.btn-outline:hover,
.cta-secondary:hover {
    background: var(--cybergold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(242, 169, 80, 0.25);
}

.btn-outline:focus,
.cta-secondary:focus {
    outline: 3px solid rgba(242, 169, 80, 0.28);
    outline-offset: 2px;
}

/* Classe CTA générique */
.cta {
    display: inline-block;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.25s ease;
    font-family: var(--font-body);
}

/* Listes - Harmonisation */
ul,
ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
    font-family: var(--font-body);
    color: var(--gray-text);
    line-height: 1.65;
}

ul li,
ol li {
    margin-bottom: 0.5em;
}

ul li::marker {
    color: var(--cybergold);
}

/* Cartes - Harmonisation */
.card {
    background-color: var(--card-bg);
    color: var(--card-text);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    padding: 24px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.card-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--navy);
    margin: 0;
    margin-bottom: 0.5em;
}

.card-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Formulaires */
.form-group {
    margin-bottom: 1.5rem;
}

/* Formulaires - Harmonisation */
label,
.form-label {
    display: block;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--navy);
    margin-bottom: 6px;
}

input,
textarea,
select,
.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: var(--card-bg);
    color: var(--card-text);
    line-height: 1.5;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
    border-color: var(--cybergold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(242, 169, 80, 0.3);
}

.form-control:invalid {
    border-color: var(--error-red);
}

/* Alertes */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background-color: #D1FAE5;
    border-left-color: var(--success-green);
    color: #065F46;
}

.alert-warning {
    background-color: #FEF3C7;
    border-left-color: var(--warning-yellow);
    color: #92400E;
}

.alert-error {
    background-color: #FEE2E2;
    border-left-color: var(--error-red);
    color: #991B1B;
}

.alert-info {
    background-color: #DBEAFE;
    border-left-color: var(--primary-navy);
    color: #1E40AF;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-title);
    color: var(--navy);
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    color: var(--navy);
    font-weight: 500;
    font-family: var(--font-body);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--cybergold);
}

/* ============================================
   HEADER SCAM HUNTERS - Structure & Styles
   ============================================ */

.site-header,
.sticky-header,
nav.bg-white.shadow-lg.sticky-header,
nav.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    height: 92px;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    box-shadow: 0 2px 6px rgba(10, 42, 74, 0.04);
    border-bottom: 3px solid #F29C50;
}

/* Logo à gauche */
.site-header .logo,
.sticky-header .navbar-logo,
nav.sticky-header .navbar-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-header .logo img,
.sticky-header .navbar-logo img,
nav.sticky-header .navbar-logo img,
.navbar-logo img,
.logo {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.site-header .logo:hover img,
.navbar-logo:hover img,
.logo:hover img {
    transform: scale(1.05);
}

/* Navigation centrée */
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0 2rem;
}

.nav-wrapper ul.nav {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-wrapper ul.nav li {
    margin: 0;
    padding: 0;
}

.nav-wrapper ul.nav li a,
.nav-wrapper a {
    color: #0A2A4A;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-body);
    padding: 8px 6px;
    transition: all 0.2s ease-in-out;
    position: relative;
    display: inline-block;
}

.nav-wrapper ul.nav li a:hover,
.nav-wrapper ul.nav li a.active,
.nav-wrapper a:hover {
    color: #0A2A4A;
    box-shadow: inset 0 -3px 0 0 #F29C50;
}

/* Header Actions (flags) à droite */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Language Text Switcher */
.header-actions .lang-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #0A1F44;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.header-actions .lang-text:hover {
    color: #F2A950;
    background-color: rgba(10, 31, 68, 0.05);
}

.header-actions .lang-text.active {
    color: #F2A950;
    font-weight: 700;
}

.header-actions .lang-divider {
    color: #ccc;
    margin: 0 4px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .header-actions .lang-text {
        font-size: 16px;
        padding: 8px 12px;
    }
}

/* Bouton hamburger mobile */
.header-mobile-toggle,
#mobileMenuBtn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #0A2A4A;
    transition: color 0.2s ease;
}

.header-mobile-toggle:hover,
#mobileMenuBtn:hover {
    color: #F29C50;
}

.header-mobile-toggle svg,
#mobileMenuBtn svg {
    width: 24px;
    height: 24px;
}

/* Menu mobile */
@media (max-width: 992px) {

    .site-header,
    .sticky-header,
    nav.sticky-header {
        padding: 0 1rem;
        height: 72px;
        min-height: 72px;
    }

    /* Ensure logo/title is on the left */
    .site-header .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 1rem;
        position: relative;
        /* Important for absolute positioning of menu */
    }

    .site-header {
        position: relative;
        /* Important for absolute positioning of menu */
    }

    .site-header .logo-link {
        flex-shrink: 0;
        margin-right: auto;
    }

    /* Hamburger button */
    .hamburger {
        display: inline-flex !important;
        order: 2;
        margin-left: auto;
    }

    /* Header actions - flags visible on mobile */
    .header-actions {
        display: flex !important;
        order: 3;
        flex-shrink: 0;
    }

    .nav-wrapper,
    .site-nav {
        position: absolute;
        top: 100% !important;
        /* Position sous le header */
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 0 !important;
        /* Reduced vertical padding */
        box-shadow: 0 6px 18px rgba(10, 42, 74, 0.08);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.2s ease;
        margin: 0 !important;
        z-index: 1000 !important;
        display: none !important;
        visibility: hidden;
    }

    .nav-wrapper.open,
    .site-nav.open,
    .site-nav.is-open,
    #mobileMenu:not(.hidden) {
        display: block !important;
        visibility: visible;
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-wrapper ul.nav,
    .site-nav ul.nav,
    .nav-list,
    #mobileMenu .flex.flex-col {
        flex-direction: column;
        width: 100%;
        gap: 0;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-wrapper ul.nav li,
    .site-nav ul.nav li,
    .nav-list li,
    #mobileMenu a {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(10, 42, 74, 0.1);
        margin: 0;
    }

    .nav-wrapper ul.nav li:last-child,
    .site-nav ul.nav li:last-child,
    .nav-list li:last-child,
    #mobileMenu a:last-child {
        border-bottom: none;
    }

    /* Ensure links are visible and readable */
    .nav-wrapper ul.nav li a,
    .site-nav ul.nav li a,
    .nav-list li a,
    .nav-wrapper a,
    .site-nav a {
        color: #0A2A4A !important;
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        display: block;
        width: 100%;
        padding: 0.75rem 1.5rem !important;
        /* Added left padding */
        transition: color 0.2s ease;
    }

    .nav-wrapper ul.nav li a:hover,
    .site-nav ul.nav li a:hover,
    .nav-list li a:hover,
    .nav-wrapper ul.nav li a.active,
    .site-nav ul.nav li a.active,
    .nav-list li a.active {
        color: #F29C50 !important;
        background: transparent;
    }

    .header-mobile-toggle,
    #mobileMenuBtn {
        display: block;
    }

    /* Logo plus petit sur mobile */
    .site-header .logo img,
    .navbar-logo img,
    .logo {
        height: 50px;
    }
}

@media (max-width: 768px) {

    .site-header,
    .sticky-header,
    nav.sticky-header {
        height: 80px;
        min-height: 80px;
        padding: 0 1rem;
    }

    .nav-wrapper {
        top: 80px;
    }

    .site-header .logo img,
    .navbar-logo img,
    .logo {
        height: 45px;
    }
}

/* Sections - Hiérarchie visuelle */
section {
    padding: 32px 0;
}

/* ---- Hero contrast improvements ---- */
.hero,
.hero-premium,
.hero-gradient,
.site-hero {
    padding-top: 60px;
    padding-bottom: 40px;
    position: relative;
}

.hero h1,
.hero .hero-title,
.hero .site-title,
.hero-premium h1,
.hero-premium .hero-content h1,
.hero-gradient h1,
.hero-gradient .hero-content h1 {
    color: var(--navy) !important;
    text-shadow: none;
    margin-bottom: 16px;
}

/* Hero sur fond sombre (section-dark, ou hero-gradient) */
.section-dark .hero h1,
.section-dark .hero .hero-title,
.hero-gradient h1,
.hero-gradient .hero-content h1,
.hero-gradient.text-white h1,
.hero-gradient.text-white .hero-content h1 {
    color: #FFFFFF !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    /* lisibilité douce */
}

.hero p,
.hero .lead,
.hero .subtext,
.hero-premium p,
.hero-premium .hero-content p,
.hero-gradient p,
.hero-gradient .hero-content p {
    color: var(--gray-text);
}

.section-dark .hero p,
.section-dark .hero .lead,
.hero-gradient.text-white p,
.hero-gradient.text-white .hero-content p {
    color: rgba(255, 255, 255, 0.88);
    /* sous-texte lumineux mais pas pur */
}

/* Transition entre hero et section suivante */
.site-hero,
.hero-premium,
.hero-gradient {
    margin-bottom: 0;
    padding-bottom: 40px;
}

.next-section,
.section--after-hero {
    margin-top: 0;
    padding-top: 40px;
}

/* Section suivante après hero - cohésion visuelle */
.about-short.next-section,
.about-short.section--after-hero {
    margin-top: 0;
    padding-top: 40px;
}

/* Alternance de fonds pour sections - DISABLED */
/* Disabled nth-child alternation - prefer explicit .section--light / .section--dark classes */
section:nth-child(even) {
    background: transparent !important;
}

.section {
    padding: 32px 0;
}

.section-light {
    background-color: var(--gray-light);
}

.section-dark {
    background-color: var(--navy);
    color: var(--white);
    line-height: 1.8;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: var(--white);
}

.section-dark p {
    color: var(--white);
    opacity: 1;
    /* Full opacity for readability */
}

/* Espacement entre blocs de contenu */
.content-block {
    margin-bottom: 64px;
}

/* Grilles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.col {
    flex: 1;
    padding: 0 0.75rem;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

/* 📱 Responsive Typography & Mobile Optimization */
@media (max-width: 1024px) {

    section,
    .section {
        padding: 48px 0;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 1.9rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    }

    p {
        font-size: 0.95rem;
    }

    .col-md-6,
    .col-md-4,
    .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    section,
    .section {
        padding: 36px 0;
    }

    /* Hero responsive */
    .hero,
    .hero-premium,
    .hero-gradient,
    .site-hero {
        padding-top: 44px;
        padding-bottom: 36px;
    }

    .hero h1,
    .hero-premium h1,
    .hero-premium .hero-content h1,
    .hero-gradient h1,
    .hero-gradient .hero-content h1 {
        font-size: 1.8rem;
    }

    .content-block {
        margin-bottom: 36px;
    }

    .container {
        padding: 0 16px;
        max-width: 100%;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .card {
        padding: 20px;
    }

    .card-title {
        font-size: 1.125rem;
    }

    /* Boutons & CTA optimisés pour mobile */
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .cta,
    .cta-primary,
    .cta-secondary,
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        padding: 14px 18px;
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    /* Formulaires optimisés */
    form label,
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    input,
    textarea,
    select,
    .form-control {
        width: 100%;
        font-size: 1rem;
        min-height: 48px;
        padding: 12px 16px;
    }

    textarea {
        min-height: 120px;
    }

    /* Images responsives */
    img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .hero-image {
        max-height: 50vh;
    }

    /* Footer mobile */
    footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    footer {
        text-align: center;
        padding: 32px 16px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .container {
        padding: 0 16px;
    }

    section,
    .section {
        padding: 32px 0;
    }

    .content-block {
        margin-bottom: 32px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .cta-primary,
    .cta-secondary,
    .cta {
        width: 100%;
        margin-bottom: 0.5rem;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .card {
        padding: 16px;
    }

    ul,
    ol {
        padding-left: 1.25em;
    }

    /* Formulaires petits écrans */
    input,
    textarea,
    select {
        font-size: 16px;
        /* Évite le zoom sur iOS */
        padding: 12px;
    }

    /* Navigation mobile */
    .theme-toggle {
        width: 36px;
        height: 36px;
        padding: 6px;
        margin-left: 8px;
    }

    .theme-toggle svg {
        width: 18px;
        height: 18px;
    }

    /* Hero images */
    .hero-image {
        max-height: 40vh;
    }

    /* Footer */
    footer {
        padding: 24px 12px;
        font-size: 13px;
    }
}

/* Utilitaires */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.p-0 {
    padding: 0;
}

.p-1 {
    padding: 0.25rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 1rem;
}

.p-4 {
    padding: 1.5rem;
}

.p-5 {
    padding: 3rem;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-inline {
    display: inline;
}

.d-inline-block {
    display: inline-block;
}

/* ✨ Micro-animations & Hover States - SCAM HUNTERS */
/* Transitions ciblées pour les éléments interactifs */
a,
button,
.btn-primary,
.btn-secondary,
.btn-outline,
.cta-primary,
.cta-secondary,
.cta,
.card,
input,
textarea,
select,
img.hover-zoom,
nav,
header {
    transition: all 0.25s ease-in-out;
}

/* Fade-in global des sections au scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animations keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

/* Hover sur les cartes - Amélioré */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Boutons interactifs - Amélioré */
.btn-primary:hover,
.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(242, 169, 80, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(10, 31, 68, 0.3);
}

.btn-outline:hover,
.cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(10, 31, 68, 0.15);
}

/* Feedback "click" sur les boutons */
button:active,
.btn-primary:active,
.cta-primary:active,
.btn-secondary:active,
.btn-outline:active,
.cta-secondary:active {
    transform: scale(0.97);
    box-shadow: none;
}

/* Images & icônes au survol */
img.hover-zoom:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* Lignes soulignées dynamiques sur les liens */
a {
    position: relative;
}

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background-color: var(--cybergold);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* Exclusion pour les liens dans le footer et les boutons */
footer a::after,
.btn-primary::after,
.btn-secondary::after,
.btn-outline::after,
.cta-primary::after,
.cta-secondary::after,
.cta::after,
button::after {
    display: none;
}

/* Header & Navigation - Sticky avec transition */
header,
nav.sticky,
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

header.scrolled,
nav.sticky.scrolled,
.sticky-header.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Animation du footer */
footer {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

footer.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Focus states améliorés */
button:focus,
input:focus,
textarea:focus,
select:focus,
.btn-primary:focus,
.cta-primary:focus,
.btn-secondary:focus,
.btn-outline:focus,
.cta-secondary:focus {
    outline: 2px solid var(--cybergold);
    outline-offset: 2px;
}

/* 🌙 Dark Mode - REMOVED */
/* All dark mode functionality has been removed - site now uses light theme only */

/* Accessibilité - Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }

    footer {
        opacity: 1;
        transform: none;
    }
}

/* États de chargement */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border-gray);
    border-radius: 50%;
    border-top-color: var(--cybergold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Boutons Hero spécifiques - Améliorés (pour compatibilité avec styles inline dans index.php) */
.btn-hero-primary {
    background-color: var(--cybergold);
    color: var(--navy);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 1.125rem;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
    box-shadow: 0 6px 18px rgba(242, 169, 80, 0.18);
    text-decoration: none;
    display: inline-block;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    background-color: #F4B35D;
    /* slightly lighter on hover */
    color: var(--navy);
    box-shadow: 0 10px 28px rgba(242, 169, 80, 0.32);
}

.btn-hero-primary:focus {
    outline: 3px solid rgba(242, 169, 80, 0.28);
    outline-offset: 2px;
}

.btn-hero-secondary {
    background: transparent;
    color: var(--cybergold);
    border: 2px solid var(--cybergold);
    border-radius: 8px;
    padding: 10px 22px;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-secondary:hover {
    background: var(--cybergold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(242, 169, 80, 0.25);
}

.btn-hero-secondary:focus {
    outline: 3px solid rgba(242, 169, 80, 0.28);
    outline-offset: 2px;
}

/* Dark Mode - Boutons Hero - REMOVED */

/* Dark mode - REMOVED */

/* Footer */
footer {
    background: var(--navy);
    color: var(--gray-light);
    font-size: 14px;
    padding: 48px 24px;
    font-family: var(--font-body);
}

footer a {
    color: var(--cybergold);
    transition: var(--transition);
}

footer a:hover {
    color: var(--white);
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
    color: var(--white);
    font-family: var(--font-title);
}

/* === FORCE LIGHT THEME — safe minimal ================= */
:root {
    --navy: #0A1F44;
    --cybergold: #F2A950;
    --white: #FFFFFF;
    --bg-light: #F7F8FA;
    --card-bg: #FFFFFF;
    --card-text: #222222;
    --text-default: #222222;
    --border-color: #EAEAEA;
}

/* page default light */
html,
body {
    background-color: var(--bg-light);
    color: var(--text-default);
}

/* header & hero default light */
header,
.site-header,
nav.sticky,
.sticky-header {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 2px 12px rgba(12, 18, 28, 0.06);
}

.site-hero,
.hero {
    background: var(--card-bg);
    color: var(--navy);
}

/* Explicit section classes */
.section-light {
    background-color: var(--card-bg);
    color: var(--card-text);
}

.section-dark {
    background-color: var(--navy);
    color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark p {
    color: var(--white);
    opacity: 1;
}

/* Hero dark class (for hero-gradient sections) */
.hero--dark,
.site-hero.hero--dark {
    background: var(--navy);
    color: var(--white);
}

.hero--light,
.site-hero.hero--light {
    background: var(--card-bg);
    color: var(--navy);
}

/* inputs/cards */
.card,
.panel,
.box,
input,
textarea,
select,
.form-control {
    background: var(--card-bg);
    color: var(--card-text);
    border: 1px solid var(--border-color);
}

/* Placeholder colors */
::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/* Accessibility: ensure headings inherit appropriate color */
h1,
h2,
h3,
h4 {
    color: inherit;
}

/* ---------------------------
   FIX HEADER NAV - override
   Put at the end of /assets/css/global.css
   --------------------------- */

.site-header {
    position: relative;
    z-index: 2000;
    background: #ffffff;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 6px rgba(10, 42, 74, 0.04);
    border-bottom: 3px solid #F29C50;
}

/* Logo */
.site-header .logo-link {
    font-weight: 700;
}

.site-header .logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* NAV — desktop baseline */
.nav-wrapper {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 2rem !important;
}

.nav-wrapper ul.nav {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-wrapper ul.nav li {
    display: inline-block;
}

.nav-wrapper ul.nav li a {
    color: #0A2A4A;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 6px;
    transition: all 0.18s ease-in-out;
}

.nav-wrapper ul.nav li a:hover,
.nav-wrapper ul.nav li a.active {
    box-shadow: inset 0 -3px 0 0 #F29C50;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
}

/* Mobile behaviour */
.header-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #0A2A4A;
    transition: color 0.2s ease;
}

.header-mobile-toggle:hover {
    color: #F29C50;
}

.header-mobile-toggle svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 992px) {
    .site-header {
        height: 72px;
        padding: 0 16px;
    }

    .header-mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: 0;
        cursor: pointer;
    }

    .nav-wrapper {
        position: absolute;
        top: 100% !important;
        /* Position directly under header */
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 16px;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.18s ease;
        box-shadow: 0 8px 24px rgba(10, 42, 74, 0.08);
        margin: 0 !important;
        z-index: 1999;
        display: none !important;
        visibility: hidden;
    }

    .nav-wrapper.open {
        display: block !important;
        visibility: visible;
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-wrapper ul.nav {
        flex-direction: column;
        width: 100%;
        gap: 0;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-wrapper ul.nav li {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(10, 42, 74, 0.1);
        margin: 0;
    }

    .nav-wrapper ul.nav li:last-child {
        border-bottom: none;
    }

    .nav-wrapper ul.nav li a {
        display: block !important;
        width: 100% !important;
        padding: 10px 8px;
        color: #0A2A4A !important;
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        transition: color 0.2s ease;
    }

    .nav-wrapper ul.nav li a:hover,
    .nav-wrapper ul.nav li a.active {
        color: #F29C50 !important;
        background: transparent;
    }

    .header-actions {
        z-index: 2100;
    }

    .site-header .logo img {
        height: 50px;
    }
}

/* Safety: ensure desktop always shows horizontal nav */
@media (min-width: 993px) {
    .nav-wrapper {
        display: flex !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .header-mobile-toggle {
        display: none !important;
    }
}

/* --- HEADER REFINEMENT --- */
/* Masquer uniquement le logo image, conserver le texte */
.site-header .logo img.logo-icon {
    display: none;
}

/* Styliser le texte du titre */
.site-header .logo .site-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: #0A2A4A;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    margin-left: 0;
}

/* Centrer le contenu global dans un container fluide */
.site-header {
    display: flex;
    justify-content: center;
}

.site-header>.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    padding: 0 2rem;
    margin: 0 auto;
}

/* Adapter les sous-éléments */
.site-header .nav-wrapper ul.nav {
    display: flex;
    gap: 2rem;
}

.site-header .nav-wrapper ul.nav li a {
    color: #0A2A4A;
    font-weight: 600;
    padding: 6px 4px;
}

.site-header .nav-wrapper ul.nav li a:hover,
.site-header .nav-wrapper ul.nav li a.active {
    box-shadow: inset 0 -3px 0 0 #F29C50;
}

/* Drapeaux à droite */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Mobile adjustments */
@media (max-width: 992px) {
    .site-header>.header-container {
        padding: 0 1rem;
        position: relative;
    }

    .site-header {
        height: 72px;
    }

    /* Logo link - ensure title is bold and left-aligned on mobile */
    .site-header .logo-link {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        margin-right: auto;
    }

    .site-header .site-title {
        font-weight: 700;
        font-size: 1.2rem;
        color: #0A2A4A;
        white-space: nowrap;
    }

    /* Header actions - ensure flags are visible on mobile */
    .header-actions {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
        flex-shrink: 0;
        margin-left: auto;
        z-index: 1001;
    }

    .header-actions .flags {
        display: flex !important;
        gap: 0.25rem;
    }

    /* Ensure mobile menu positions correctly */
    .site-header .nav-wrapper {
        position: absolute;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }

    /* Ensure nav-list links are visible */
    .site-header .nav-list li a,
    .site-header .nav-wrapper ul.nav li a,
    .site-header .site-nav ul.nav li a {
        color: #0A2A4A !important;
        font-weight: 600;
        font-size: 16px;
        display: block;
        width: 100%;
        padding: 0.75rem 0;
    }
}

/* --- HERO REWORK --- */
.hero.hero-white,
.hero.hero-premium.hero-white,
.hero.site-hero.hero-white,
.hero.hero-gradient.hero-white {
    background: #FFFFFF !important;
    padding: 80px 0;
}

.hero .hero-visual {
    flex: 0 0 auto;
    text-align: center;
}

.hero .hero-logo {
    max-width: 300px;
    width: 28vw;
    height: auto;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 4px 16px rgba(10, 42, 74, 0.1);
    padding: 10px;
    display: block;
    margin-left: auto;
}

/* Remove hero-visual-card styling */
.hero-visual-card {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: block;
}

/* Responsive */
@media (max-width: 992px) {

    .hero.hero-white,
    .hero.hero-premium.hero-white,
    .hero.hero-gradient.hero-white {
        flex-direction: column;
        text-align: center;
        padding: 40px 0 30px !important;
        /* Reduced vertical padding */
    }

    .hero .hero-visual {
        margin-top: 20px;
        /* Reduced top margin */
    }

    .hero .hero-logo {
        width: 160px;
        max-width: 60%;
        margin: 0 auto;
    }
}

/* ---------------------------
   SECTION VISIBILITY / HERO FIX
   Add at the end of /assets/css/global.css
   --------------------------- */

/* Page background (very light) to create contrast with white cards/hero) */
body {
    background-color: #F6F8FA;
    /* très léger gris */
}

/* Generic section wrapper — use .site-section on each big block */
.site-section {
    padding: 72px 0;
}

/* Two section variants: white (full white background) and muted (very light gray band) */
.site-section--white {
    background: #FFFFFF;
}

.site-section--muted {
    background: #F6F8FA;
}

.section-padding-lg {
    padding: 48px 0;
}

.section-padding-hero {
    padding: 60px 0 40px;
}

.text-navy {
    color: #0A2A4A;
}

.legal-note--emphasis {
    margin-top: 22px;
    font-weight: 600;
    color: #243038;
}

.mascot-figure {
    max-width: 120px;
    height: auto;
    display: block;
}

.mascot-figure--small {
    max-width: 80px;
    margin-right: 15px;
}

/* Max-width container to avoid full-bleed nav/sections */
.site-container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Card style for service boxes, expertise, forms etc. */
.card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(10, 42, 74, 0.06);
    padding: 28px;
    border: 1px solid rgba(10, 42, 74, 0.03);
}

/* Mobile: Remove card styling when it's used as hero-logo-wrap */
@media (max-width: 992px) {
    .hero .hero-visual .card.hero-logo-wrap {
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border: none !important;
    }
}

/* Reduce global low-contrast grayness on text sections */
.section-lead {
    color: #263238;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
}

/* HERO specifics: force white background and spacing */
.hero {
    background: #FFFFFF !important;
    padding: 84px 0;
}

.hero .site-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: center;
}

/* Hero text block */
.hero .hero-title {
    color: #0A2A4A;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 56px;
    margin: 0 0 18px 0;
    line-height: 1.02;
}

/* Hero paragraph */
.hero .hero-sub {
    color: #606B73;
    font-size: 1.125rem;
    margin-bottom: 28px;
}

/* Hero visual (logo/card) */
.hero .hero-visual .card {
    padding: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(10, 42, 74, 0.06);
}

/* Ensure logo appears circular and not boxed by parent */
.hero .hero-visual img.hero-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 50%;
    background: #FFFFFF;
    display: block;
    object-fit: contain;
}

/* Services row: cards on white with subtle background behind */
.services-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.services-row .card {
    min-height: 190px;
}

/* Why Trust block — make it stand out with muted band and centered content */
.why-trust {
    text-align: center;
    background: #FFFFFF !important;
}

.why-trust .icons-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 36px;
}

.why-trust .icons-row .feature {
    background: transparent;
    padding: 18px;
}

.why-trust .icons-row .feature h3 {
    color: #0A2A4A;
    font-weight: 700;
    margin-top: 14px;
}

.why-trust .legal-note {
    color: #243038;
    font-weight: 600;
    margin-top: 16px;
}

/* Make CTA buttons more visible on muted/white backgrounds */
.btn-primary {
    background: #F29C50;
    color: #0A2A4A;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(242, 156, 80, 0.18);
}

.btn-outline {
    background: transparent;
    border: 2px solid #F29C50;
    color: #F29C50;
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 600;
}

.btn-ghost {
    background: #EAEAEA;
    color: #333333;
    border: 0;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease;
}

.btn-ghost:hover,
.btn-ghost:focus {
    background: rgba(10, 42, 74, 0.08);
    color: #0A2A4A;
}

/* Slightly darker text for headings across sections */
.site-section h2,
.site-section h3 {
    color: #0A2A4A;
}

/* Mobile responsiveness */
@media (max-width: 992px) {
    .hero .site-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero .hero-title {
        font-size: 36px;
    }

    .services-row {
        grid-template-columns: 1fr;
    }

    .why-trust .icons-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Form information notice --- */
.form-note {
    margin: 18px 0;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.98rem;
    line-height: 1.45;
}

.form-note--warning {
    background: #FFF8E6;
    /* Pale warm tone matching orange brand */
    border: 1px solid rgba(242, 156, 80, 0.25);
    color: #2E3B40;
}

/* --- MOBILE NAV FIX (append to /assets/css/global.css) --- */

/* Hide mobile toggle on desktop */
.header-mobile-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 6px;
    cursor: pointer;
}

.header-mobile-toggle svg {
    width: 28px;
    height: 20px;
    stroke-width: 2;
}

/* Desktop: nav horizontal, visible */
@media (min-width: 993px) {
    .nav-wrapper {
        position: static !important;
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .nav-wrapper ul.nav {
        flex-direction: row;
        gap: 2rem;
    }

    .header-mobile-toggle {
        display: none !important;
    }
}

/* Mobile: hide nav by default and use panel */
@media (max-width: 992px) {
    .header-mobile-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .nav-wrapper {
        position: absolute !important;
        top: 72px;
        /* adapt to header height on mobile */
        left: 0;
        right: 0;
        background: #ffffff !important;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease, transform 180ms ease;
        box-shadow: 0 10px 30px rgba(10, 42, 74, 0.08);
        z-index: 1500;
        padding: 14px 16px;
        border-top: 1px solid rgba(10, 42, 74, 0.04);
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        display: flex !important;
        flex-direction: column;
    }

    .nav-wrapper.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-wrapper ul.nav {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 0;
        padding: 8px 0;
    }

    .nav-wrapper ul.nav li a {
        display: block;
        padding: 10px 8px;
        color: #0A2A4A;
        font-weight: 600;
    }
}

/* --- HERO LOGO FULL SIZE FIX --- */
.hero .hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 380px;
    /* limite sur desktop */
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 18px 36px rgba(10, 42, 74, 0.06);
    overflow: hidden;
    padding: 0;
    /* supprime la marge interne */
    margin-left: auto;
    margin-right: auto;
}

/* Support pour structure avec .card (si présente) */
.hero .hero-visual .card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 18px 36px rgba(10, 42, 74, 0.06);
    overflow: hidden;
    padding: 0;
}

/* Le logo remplit désormais tout le cercle sans se déformer */
.hero .hero-visual img.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* conserve le ratio du logo */
    border-radius: 50%;
    background: #FFFFFF;
    display: block;
    transform: scale(1.08);
    /* léger agrandissement visuel */
    transition: transform 0.3s ease;
}

/* Option hover (discret, pro) */
.hero .hero-visual:hover img.hero-logo,
.hero .hero-visual .card:hover img.hero-logo {
    transform: scale(1.12);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero .hero-visual {
        max-width: 280px;
    }

    .hero .hero-visual .card {
        max-width: 100%;
    }
}

/* --- FOOTER LOGO UPDATE --- */
footer {
    background-color: #0A2A4A;
    color: #ffffff;
    padding-top: 60px;
    padding-bottom: 40px;
}

footer .footer-logo {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    transition: transform 0.3s ease;
}

footer .footer-logo:hover {
    transform: scale(1.05);
}

footer .footer-top,
footer .footer-bottom {
    text-align: center;
}

footer .footer-links a {
    color: #F29C50;
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Responsive fix */
@media (max-width: 768px) {
    footer .footer-logo {
        width: 100px;
        margin-bottom: 16px;
    }
}

/* ===== FIX HERO & FOOTER VISUALS - append to global.css ===== */

/* HERO grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

/* Ensure hero is white and spacious */
.hero {
    background: #FFFFFF !important;
    padding: 88px 0;
}

/* Hero logo wrap: perfect circle, no internal padding */
.hero-logo-wrap {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(10, 42, 74, 0.06);
    margin-left: auto;
    padding: 0;
    /* ensure logo fills circle */
}

/* The logo fills the circle while keeping ratio */
.hero-logo-wrap .hero-logo {
    width: 98%;
    height: 98%;
    object-fit: contain;
    display: block;
    border-radius: 50%;
}

/* Remove double layered fake-circles if present - defensive */
.hero .decorative-circle,
.hero .card.layer {
    display: none !important;
}

/* FOOTER fixes */
footer {
    background: #0A2A4A;
    color: #fff;
    padding: 56px 0 40px;
}

.footer-brand {
    text-align: center;
    margin-bottom: 18px;
}

.footer-logo {
    width: 140px;
    height: auto;
    display: inline-block;
    margin-bottom: 12px;
}

/* Footer layout: columns centered and consistent */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
}

.footer-columns h4 {
    color: #FFFFFF;
    margin-bottom: 12px;
}

.footer-columns a {
    color: #F29C50;
    text-decoration: none;
}

.footer-columns p,
.footer-columns li {
    color: rgba(255, 255, 255, 0.85);
}

/* Mobile adjustments */
/* === HERO LOGO FIX - Mobile: Remove multiple white layers and distortion === */
@media (max-width: 992px) {

    /* Remove card background and padding that creates white layers */
    .hero .hero-visual .card,
    .hero .hero-visual .hero-logo-wrap.card {
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        overflow: visible !important;
    }

    /* Simplify hero-logo-wrap - single clean container, NO background */
    .hero .hero-visual .hero-logo-wrap,
    .hero .hero-logo-wrap {
        width: 100% !important;
        max-width: 260px !important;
        aspect-ratio: auto !important;
        /* Remove fixed aspect ratio */
        border-radius: 0 !important;
        /* Remove circle */
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        /* NO background */
        box-shadow: none !important;
        /* NO shadow */
        padding: 0 !important;
        margin: 12px auto 12px !important;
        /* Reduced vertical padding */
    }

    /* Logo image - no distortion, no background, just the logo */
    .hero .hero-visual img.hero-logo,
    .hero .hero-logo-wrap img.hero-logo,
    .hero .hero-logo-wrap .hero-logo,
    .hero .hero-logo {
        width: 200px !important;
        /* Fixed width for consistency */
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        display: block !important;
        border-radius: 0 !important;
        background: transparent !important;
        transform: none !important;
        padding: 0 !important;
        margin: 0 auto !important;
    }

    /* Remove any pseudo-elements creating white layers */
    .hero .hero-visual::before,
    .hero .hero-visual::after,
    .hero .hero-visual .card::before,
    .hero .hero-visual .card::after,
    .hero .hero-logo-wrap::before,
    .hero .hero-logo-wrap::after {
        display: none !important;
        content: none !important;
        background: none !important;
        box-shadow: none !important;
    }

    /* Remove decorative circles and layers */
    .hero .card.layer,
    .hero .decorative-circle {
        display: none !important;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        padding: 12px;
        text-align: center;
    }
}

/* === HERO VISUAL FIX - SINGLE WHITE CIRCLE === */

/* Supprime toutes les couches superposées ou effets de pseudo-cercle */
.hero .card.layer,
.hero .decorative-circle,
.hero .hero-visual::before,
.hero .hero-visual::after,
.hero .hero-visual-card {
    display: none !important;
    content: none !important;
    box-shadow: none !important;
    background: none !important;
}

/* Assure un fond blanc pur sur le HERO */
.hero,
.hero.hero-white,
.hero.hero-premium,
.hero.site-hero {
    background: #FFFFFF !important;
}

/* Conteneur principal du logo */
.hero .hero-visual {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Le cercle blanc unique - override tout */
.hero .hero-visual .card,
.hero .hero-visual .hero-logo-wrap,
.hero .hero-logo-wrap {
    width: 100% !important;
    max-width: 420px !important;
    aspect-ratio: 1/1 !important;
    background: #FFFFFF !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 30px rgba(10, 42, 74, 0.08) !important;
    padding: 0 !important;
    margin: 0 auto !important;
    overflow: hidden !important;
}

/* Mobile override - prevent multiple white layers */
@media (max-width: 992px) {

    /* CRITICAL: Remove card completely on mobile - it creates extra white layer */
    .hero .hero-visual .card {
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        overflow: visible !important;
        display: block !important;
    }

    /* Ensure hero-logo-wrap is the ONLY white circle */
    .hero .hero-visual .hero-logo-wrap,
    .hero .hero-logo-wrap {
        width: 100% !important;
        max-width: 260px !important;
        aspect-ratio: 1/1 !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ffffff !important;
        box-shadow: 0 18px 36px rgba(10, 42, 74, 0.06) !important;
        padding: 0 !important;
        margin: 24px auto 0 !important;
    }

    /* Logo image - clean, no distortion */
    .hero .hero-visual img.hero-logo,
    .hero .hero-logo-wrap img.hero-logo,
    .hero .hero-logo-wrap .hero-logo,
    .hero .hero-logo {
        width: 85% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        display: block !important;
        border-radius: 0 !important;
        background: transparent !important;
        transform: none !important;
        padding: 0 !important;
        margin: 0 auto !important;
    }
}

/* Le logo remplit le cercle sans marge - override tout */
.hero .hero-visual img.hero-logo,
.hero .hero-logo-wrap .hero-logo,
.hero .hero-logo {
    width: 98% !important;
    height: 98% !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 0 !important;
    background: transparent !important;
    transform: none !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive : logo toujours centré et circulaire */
@media (max-width: 992px) {

    /* CRITICAL FIX: Remove ALL card styling on mobile */
    .hero .hero-visual .card {
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        overflow: visible !important;
        display: block !important;
        border: none !important;
    }

    .hero .hero-visual .hero-logo-wrap,
    .hero .hero-logo-wrap {
        max-width: 260px !important;
        margin-top: 24px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        aspect-ratio: 1/1 !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ffffff !important;
        box-shadow: 0 18px 36px rgba(10, 42, 74, 0.06) !important;
        padding: 0 !important;
    }

    .hero .hero-visual {
        margin-top: 24px !important;
    }

    /* Mobile: Remove distortion and white layers - OVERRIDE ALL */
    .hero .hero-visual img.hero-logo,
    .hero .hero-logo-wrap .hero-logo,
    .hero .hero-logo-wrap img.hero-logo,
    .hero .hero-logo {
        width: 85% !important;
        height: auto !important;
        object-fit: contain !important;
        border-radius: 0 !important;
        background: transparent !important;
        transform: none !important;
        padding: 0 !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

/* ============================================
   EXTRACTED HERO CSS FROM index.php <style>
   Date: 2025-11-05
   Source: index.php lines 247-482
   ============================================ */

/* Hero Premium Design - White Background */
.hero-premium {
    background: #FFFFFF;
    padding-top: 60px;
    padding-bottom: 40px;
    position: relative;
}

.hero-premium .hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #0A1F44;
    font-size: clamp(2rem, 3vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-premium .hero-content p {
    font-family: 'Montserrat', sans-serif;
    color: #333333;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Hero logo wrap - cercle blanc unique (extracted from inline) */
.hero-logo-wrap {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1/1;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(10, 42, 74, 0.08);
    padding: 0;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-wrap .hero-logo {
    width: 98%;
    height: 98%;
    object-fit: contain;
    display: block;
    border-radius: 0;
    background: transparent;
    transform: none;
    padding: 0;
}

/* Mobile override */
@media (max-width: 992px) {
    .hero-logo-wrap .hero-logo {
        width: 90%;
        height: auto;
        object-fit: contain;
        border-radius: 0;
        background: transparent;
        transform: none;
        padding: 0;
    }
}

/* Mascotte dans carte blanche (ancien - à supprimer si plus utilisé) */
.hero-visual-card {
    display: none !important;
}

/* CTA Primary - Report a Scam - Amélioré */
.btn-hero-primary {
    background: #F2A950;
    color: #0A1F44;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 6px 18px rgba(242, 169, 80, 0.18);
}

.btn-hero-primary:hover {
    background: #F4B35D;
    /* slightly lighter on hover */
    color: #0A1F44;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(242, 169, 80, 0.32);
}

.btn-hero-primary:focus {
    outline: 3px solid rgba(242, 169, 80, 0.28);
    outline-offset: 2px;
}

/* CTA Secondary - Learn More - Amélioré */
.btn-hero-secondary {
    background: transparent;
    color: #F2A950;
    border: 2px solid #F2A950;
    border-radius: 8px;
    padding: 10px 22px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    box-shadow: none;
}

.btn-hero-secondary:hover {
    background: #F2A950;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(242, 169, 80, 0.25);
}

.btn-hero-secondary:focus {
    outline: 3px solid rgba(242, 169, 80, 0.28);
    outline-offset: 2px;
}

/* Responsive Hero (extracted from inline) */
@media (max-width: 768px) {
    .hero-premium {
        padding: 48px 0;
    }

    .hero-premium .hero-content h1 {
        font-size: clamp(2rem, 3vw, 2.5rem);
    }

    .hero-premium .hero-content p {
        font-size: 1.125rem;
    }

    .hero-with-image {
        flex-direction: column;
        text-align: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-logo-wrap {
        max-width: 260px;
        margin-top: 24px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-logo-wrap .hero-logo {
        width: 90%;
        height: auto;
        object-fit: contain;
        border-radius: 0;
        background: transparent;
        transform: none;
        padding: 0;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-premium {
        padding: 32px 0;
    }

    .hero-premium .hero-content h1 {
        font-size: clamp(1.75rem, 3vw, 2rem);
    }

    .hero-logo-wrap {
        max-width: 240px;
    }
}

/* ===== EXTRACTED HERO OVERRIDES (auto-appended) ===== */

.hero {
    background: #ffffff !important;
    padding: 72px 0 84px !important;
}

.hero .site-container.hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.hero .hero-visual .hero-logo-wrap {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 18px 36px rgba(10, 42, 74, 0.06);
    padding: 0;
    margin-left: auto;
}

.hero .hero-logo-wrap img.hero-logo {
    width: 96%;
    height: 96%;
    object-fit: contain;
    display: block;
    border-radius: 50%;
    background: #fff;
    transform: scale(1.02);
    transition: transform .25s ease;
}

.hero .card.layer,
.hero .decorative-circle,
.hero .hero-visual::before,
.hero .hero-visual::after {
    display: none !important;
    content: none !important;
    box-shadow: none !important;
    background: none !important;
}

@media (max-width:992px) {
    .hero .site-container.hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero .hero-logo-wrap {
        max-width: 180px;
        margin: 24px auto 0;
        background: #ffffff;
        border-radius: 50%;
        overflow: visible;
        padding: 0;
    }

    .hero .hero-logo-wrap img.hero-logo {
        width: 90% !important;
        height: auto !important;
        object-fit: contain !important;
        border-radius: 0 !important;
        background: transparent !important;
        transform: none !important;
        padding: 0 !important;
    }

    .hero .hero-visual .card {
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
}