/*
Theme Name: Auto-École MACQUET Rouen (Version Officielle Complète)
Theme URI: https://autoecolerouenmacquet.fr/
Author: Web Studio Rouen
Description: Thème WordPress multi-pages officiel de l'Auto-École MACQUET Rouen (Depuis 1964 - 7 rue des Faulx, 76000 Rouen). Design fidèle au flyer officiel : logo vectorisé, Hero bleu roi/marine avec cartouche rouge 1 200€, inscription directe en ligne, accès direct Codes Rousseau, photo réelle de la devanture, vraies photos/avatars des 6 moniteurs, 24 tarifs officiels et Mentions légales uniquement en pied de page.
Version: 9.0.0
Text Domain: autoecole-macquet
*/

:root {
    --navy: #0A162E;
    --navy-light: #15284E;
    --royal: #1D4ED8;
    --royal-bright: #2563EB;
    --red: #D71920;
    --red-hover: #B51218;
    --gold: #F59E0B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #475569;
    --border: #E2E8F0;
    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-sm: 0 4px 14px rgba(10, 22, 46, 0.06);
    --shadow-md: 0 12px 28px rgba(10, 22, 46, 0.10);
    --shadow-lg: 0 24px 48px rgba(10, 22, 46, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: all 0.22s ease; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Topbar */
.topbar {
    background: var(--navy);
    color: #E2E8F0;
    font-size: 0.84rem;
    padding: 9px 0;
    border-bottom: 2px solid var(--red);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.topbar-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.badge-since {
    background: var(--red); color: var(--white); font-weight: 800; font-style: italic;
    padding: 2px 10px; border-radius: 6px; font-size: 0.78rem; letter-spacing: 0.03em;
}

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(10, 22, 46, 0.04);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 86px; }
.brand-logo { display: inline-flex; align-items: center; }
.main-nav ul { display: flex; list-style: none; gap: 24px; align-items: center; }
.main-nav a { font-weight: 700; font-size: 0.94rem; color: var(--navy); padding: 6px 0; position: relative; }
.main-nav a:hover, .main-nav li.current-menu-item a { color: var(--red); }
.main-nav li.current-menu-item a::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2.5px; background: var(--red); border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 10px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 12px; font-weight: 800; font-size: 0.9rem;
    cursor: pointer; border: none; transition: all 0.22s ease;
}
.btn-red, .btn-primary { background: var(--red); color: var(--white); box-shadow: 0 8px 20px rgba(215, 25, 32, 0.28); }
.btn-red:hover, .btn-primary:hover { background: var(--red-hover); transform: translateY(-2px); }
.btn-royal { background: var(--royal); color: var(--white); box-shadow: 0 8px 20px rgba(29, 78, 216, 0.24); }
.btn-royal:hover { background: var(--royal-bright); transform: translateY(-2px); }
.btn-navy, .btn-dark { background: var(--navy); color: var(--white); }
.btn-navy:hover, .btn-dark:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-outline { background: var(--white); color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--navy); background: var(--bg-light); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* Hero Flyer Authentique */
.hero-flyer {
    background-color: #0A162E;
    background-image:
        linear-gradient(115deg, rgba(10, 22, 46, 0.90) 0%, rgba(21, 44, 91, 0.80) 52%, rgba(29, 78, 216, 0.72) 100%),
        url('assets/images/rouen-banner-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 64px 0 76px;
    position: relative;
    overflow: hidden;
}
.hero-flyer::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 42%;
    background: radial-gradient(circle at center, rgba(215, 25, 32, 0.16), transparent 70%);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; position: relative; z-index: 2; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 6px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 700; margin-bottom: 18px;
}
.hero-flyer h1 {
    font-size: clamp(2.3rem, 4.2vw, 3.55rem);
    font-weight: 800; font-style: italic; line-height: 1.08; margin-bottom: 18px;
}
.hero-flyer h1 span { color: #FCD34D; }

/* Cartouche Rouge Officiel du Flyer */
.flyer-price-cartouche {
    background: var(--red);
    border: 3px solid var(--white);
    border-radius: 20px;
    padding: 20px 26px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
    margin-bottom: 24px;
    display: inline-block;
    transform: rotate(-1.2deg);
}
.flyer-price-cartouche .top-label { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.flyer-price-cartouche .big-amount { font-size: 2.85rem; font-weight: 900; line-height: 1; margin: 4px 0; }
.flyer-price-cartouche .hours-pill {
    display: inline-block; background: var(--navy); color: var(--white);
    padding: 4px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 700;
}

.flyer-pills-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.flyer-pill {
    background: rgba(10, 22, 46, 0.72); border: 1.5px solid rgba(255, 255, 255, 0.28);
    padding: 8px 15px; border-radius: 999px; font-size: 0.86rem; font-weight: 700;
    display: inline-flex; align-items: center; gap: 8px;
}
.flyer-pill b { color: var(--red); }

/* Widget Inscription Rapide */
.hero-right-col { display: flex; flex-direction: column; gap: 18px; }
.quick-enroll-card {
    background: var(--white); color: var(--navy);
    border-radius: var(--radius-xl); padding: 28px;
    box-shadow: var(--shadow-lg); border-top: 6px solid var(--red);
}
.quick-enroll-card h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.quick-enroll-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }
.quick-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.quick-form-group { margin-bottom: 11px; }
.quick-form-group label { display: block; font-size: 0.78rem; font-weight: 800; margin-bottom: 4px; color: var(--navy); }
.quick-select, .quick-input {
    width: 100%; padding: 10px 13px; border: 1.5px solid var(--border);
    border-radius: 10px; font-family: inherit; font-size: 0.88rem; font-weight: 600; color: var(--navy);
    background: var(--white);
}
.quick-select:focus, .quick-input:focus {
    outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.storefront-mini-card {
    border-radius: var(--radius-lg); overflow: hidden;
    border: 2px solid rgba(255,255,255,0.25); position: relative; height: 165px;
}
.storefront-mini-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.storefront-mini-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(10,22,46,0.92));
    padding: 12px 16px; font-size: 0.82rem; font-weight: 700; color: var(--white);
}

/* Sections */
.section { padding: 78px 0; }
.section-alt { background: var(--bg-light); }
.section-header { text-align: center; max-width: 780px; margin: 0 auto 46px; }
.section-tag {
    display: inline-block; background: #FEE2E2; color: var(--red);
    padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px;
}
.section-header h2 { font-size: clamp(1.85rem, 3.2vw, 2.5rem); font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.04rem; }

/* Configurateur Interactif */
.switch-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.segmented-control {
    display: inline-flex; background: var(--bg-light); padding: 6px;
    border-radius: 14px; border: 1.5px solid var(--border);
}
.seg-btn {
    padding: 10px 20px; border-radius: 10px; border: none; background: transparent;
    font-family: inherit; font-weight: 800; font-size: 0.9rem; color: var(--text-muted); cursor: pointer;
}
.seg-btn.active { background: var(--navy); color: var(--white); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; transition: all 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-featured { border: 2.5px solid var(--red); position: relative; }
.ribbon {
    position: absolute; top: -13px; right: 20px; background: var(--red); color: var(--white);
    font-size: 0.74rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; text-transform: uppercase;
}
.price-tag { font-size: 2.4rem; font-weight: 800; color: var(--navy); margin: 8px 0; line-height: 1.1; }
.price-tag small { font-size: 0.94rem; font-weight: 700; color: var(--red); display: block; margin-top: 4px; }
.feature-list { list-style: none; margin: 14px 0 22px; flex-grow: 1; }
.feature-list li {
    padding: 6px 0; border-bottom: 1px dashed var(--border);
    display: flex; align-items: flex-start; gap: 10px; font-size: 0.91rem; color: var(--text-muted);
}
.feature-list li::before { content: '✓'; color: var(--royal); font-weight: 900; }

/* Équipe 6 Moniteurs */
.team-grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: var(--radius-xl); padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--royal); }
.team-avatar {
    width: 118px; height: 118px; margin: 0 auto 14px; border-radius: 50%;
    overflow: hidden; border: 3.5px solid var(--royal); background: #E0F2FE;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.16);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-role {
    display: inline-block; font-size: 0.75rem; font-weight: 800;
    color: var(--royal); background: #EFF6FF; padding: 3px 12px; border-radius: 999px; margin-bottom: 8px;
}
.team-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.team-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }

/* Sélecteur visuel moniteurs sur la page Inscription */
.moniteur-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.moniteur-chip {
    display: flex; align-items: center; gap: 8px; padding: 8px 10px;
    border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer;
    background: var(--white); transition: all 0.2s ease; font-size: 0.85rem; font-weight: 700; color: var(--navy);
}
.moniteur-chip:hover { border-color: var(--royal); }
.moniteur-chip.selected { border-color: var(--red); background: #FEF2F2; color: var(--red); }
.moniteur-chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--royal); }

/* Subpages & Tarifs */
.page-banner {
    position: relative;
    background-color: #0A162E;
    background-image:
        linear-gradient(90deg, rgba(10, 22, 46, 0.96) 0%, rgba(10, 22, 46, 0.88) 44%, rgba(10, 22, 46, 0.35) 75%, rgba(10, 22, 46, 0.15) 100%),
        url('assets/images/rouen-ville-banner.jpg');
    background-size: 980px auto;
    background-position: right center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 58px 0;
    border-bottom: 3px solid var(--red);
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 22, 46, 0.35) 0%, transparent 30%, transparent 70%, rgba(10, 22, 46, 0.45) 100%);
    pointer-events: none;
    z-index: 1;
}
.page-banner .container {
    position: relative;
    z-index: 2;
}
.page-banner h1,
.page-banner p {
    text-shadow: 0 2px 14px rgba(6, 16, 36, 0.72);
}
@media (max-width: 900px) {
    .page-banner {
        background-image: linear-gradient(135deg, #0A162E 0%, #15284E 60%, #1D4ED8 100%) !important;
        background-size: auto !important;
    }
}
.breadcrumb { font-size: 0.85rem; color: #CBD5E1; margin-bottom: 10px; }
.page-banner h1 { font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 800; margin-bottom: 10px; }
.page-banner p { color: #E2E8F0; max-width: 680px; font-size: 1.04rem; }

.tarif-nav-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.tarif-pill-link { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--white); color: var(--navy); font-weight: 700; font-size: 0.88rem; }
.tarif-pill-link:hover, .tarif-pill-link.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tarif-block { margin-bottom: 66px; scroll-margin-top: 100px; }
.block-header {
    background: var(--navy); color: var(--white); padding: 24px 30px;
    border-radius: var(--radius-xl); margin-bottom: 26px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
    border-left: 6px solid var(--red);
}
.block-badge { background: var(--red); color: var(--white); padding: 6px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 800; }
.sub-heading { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin: 28px 0 16px; display: flex; align-items: center; gap: 10px; }
.sub-heading span.badge { font-size: 0.78rem; background: #FEE2E2; color: var(--red); padding: 4px 10px; border-radius: 8px; }
.agency-note { font-size: 0.82rem; color: var(--text-muted); background: var(--bg-light); padding: 10px 12px; border-radius: 10px; border-left: 3px solid var(--royal); margin-bottom: 18px; flex-grow: 1; }
.info-docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 26px; }
.info-docs-box h4 { font-size: 0.96rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; text-transform: uppercase; }
.info-docs-box ul { list-style: none; }
.info-docs-box li { font-size: 0.88rem; color: var(--text-muted); padding: 4px 0; display: flex; gap: 8px; }
.info-docs-box li::before { content: '•'; color: var(--red); font-weight: 800; }
.assr-alert { margin-top: 10px; padding: 8px 12px; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; border-radius: 8px; font-size: 0.84rem; font-weight: 700; }

/* Forms & Footer */
.form-box { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 34px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy); }
.form-control { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 12px; font-family: inherit; font-size: 0.95rem; }
.form-control:focus { outline: none; border-color: var(--royal); }

.site-footer { background: var(--navy); color: #CBD5E1; padding: 68px 0 30px; border-top: 4px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; font-weight: 800; margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    font-size: 0.85rem; color: #94A3B8;
}
.footer-bottom a.legal-link { color: #FCD34D; font-weight: 700; text-decoration: underline; }

@media (max-width: 1024px) {
    .hero-grid, .grid-3, .team-grid-6, .footer-grid, .info-docs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hero-grid, .grid-3, .grid-2, .team-grid-6, .footer-grid, .form-grid, .info-docs-grid, .moniteur-picker { grid-template-columns: 1fr; }
    .main-nav { display: none; }
    .main-nav.open { display: block; position: absolute; top: 86px; left: 0; right: 0; background: var(--white); padding: 24px; border-bottom: 1px solid var(--border); }
    .main-nav.open ul { flex-direction: column; align-items: flex-start; }
    .mobile-toggle { display: block; }
}


/* ===================================================================== */
/* HERO OFFICIEL : FOND STABLE SANS ZOOM + FORMULAIRE AGRANDI + BOUTONS  */
/* ===================================================================== */
.hero-official-section {
    position: relative;
    background-color: #061024;
    background-size: 1440px auto;
    background-position: center top;
    background-repeat: no-repeat;
    color: #FFFFFF;
    padding: 48px 0 32px;
    overflow: hidden;
}
/* Sur écrans <= 1440px, la photo couvre proprement sans zoom excessif */
@media (max-width: 1440px) {
    .hero-official-section {
        background-size: cover;
        background-position: center 20%;
    }
}
/* Sur très grands écrans (> 1440px), fondu latéral harmonieux sur les bords sans étirer les visages */
.hero-official-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #061024 0%, transparent 12%, transparent 88%, #061024 100%);
    pointer-events: none;
    z-index: 1;
}
.hero-official-bottom-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    background: linear-gradient(180deg, rgba(6, 16, 36, 0) 0%, rgba(6, 16, 36, 0.88) 45%, #061024 100%);
    pointer-events: none;
    z-index: 1;
}
.hero-official-container {
    position: relative;
    z-index: 2;
}
.hero-official-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: center;
}
.hero-official-left {
    padding-top: 40px;
}
.hero-official-title {
    font-size: clamp(2.4rem, 4.3vw, 3.6rem);
    font-weight: 900;
    font-style: italic;
    line-height: 1.06;
    color: #FFFFFF;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
    margin-bottom: 20px;
}
.hero-official-title span {
    color: #F5B82E;
}
.hero-official-cartouche {
    display: inline-block;
    background: var(--red);
    border: 3px solid #FFFFFF;
    border-radius: 18px;
    padding: 18px 26px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
    transform: rotate(-1.5deg);
}
.cartouche-kicker {
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #FFFFFF;
}
.cartouche-price {
    font-size: clamp(2.4rem, 3.8vw, 3.2rem);
    font-weight: 900;
    line-height: 1.05;
    color: #FFFFFF;
    margin: 4px 0 8px;
}
.cartouche-subpill {
    display: inline-block;
    background: #0A162E;
    color: #FFFFFF;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
}

/* Carte Formulaire d'Inscription agrandie et confortable à droite */
.hero-form-card {
    background: #FFFFFF;
    color: var(--navy);
    border-top: 6px solid var(--red);
    border-radius: 20px;
    padding: 26px 28px;
    box-shadow: 0 24px 50px rgba(6, 16, 36, 0.45);
}
.hero-form-header {
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}
.hero-form-header h2 {
    font-size: 1.32rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 2px;
}
.hero-form-header p {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
}
.hero-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.hero-form-group {
    margin-bottom: 12px;
}
.hero-form-row .hero-form-group {
    margin-bottom: 0;
}
.hero-form-card label {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 5px;
}
.hero-input,
.hero-select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy);
    background: #FFFFFF;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-input:focus,
.hero-select:focus {
    outline: none;
    border-color: var(--royal);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.14);
}
.hero-submit-btn {
    width: 100%;
    margin-top: 4px;
    padding: 13px 20px;
    background: var(--royal);
    color: #FFFFFF;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(29, 78, 216, 0.30);
    transition: background 0.2s, transform 0.15s;
}
.hero-submit-btn:hover {
    background: #1E40AF;
    transform: translateY(-1px);
}

/* Barre des 5 icônes prestations */
.hero-features-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 32px;
    padding: 14px 0;
}
.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-feature-item:last-child {
    border-right: none;
}
.hero-feature-item svg {
    width: 32px;
    height: 32px;
    color: #FFFFFF;
    margin-bottom: 6px;
}
.hero-feature-item strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
}
.hero-feature-item span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
}

/* Deux vrais boutons HTML/CSS en bas (zéro décalage quelle que soit la taille d'écran) */
.hero-cta-buttons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 22px;
}
.hero-cta-btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--red);
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 15px 30px;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(215, 25, 32, 0.38);
    transition: background 0.2s, transform 0.15s;
}
.hero-cta-btn-red:hover {
    background: #B91C1C;
    color: #FFFFFF;
    transform: translateY(-2px);
}
.hero-cta-btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.42);
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.hero-cta-btn-glass:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #FFFFFF;
    color: #FFFFFF;
    transform: translateY(-2px);
}
.hero-footnote {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.78);
    margin: 16px auto 0;
}

/* Responsive Tablette & Mobile */
@media (max-width: 992px) {
    .hero-official-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .hero-official-left {
        padding-top: 10px;
        text-align: center;
    }
    .hero-features-bar {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px 8px;
    }
    .hero-feature-item {
        border-right: none;
    }
}
@media (max-width: 600px) {
    .hero-form-row {
        grid-template-columns: 1fr;
    }
    .hero-features-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-cta-btn-red,
    .hero-cta-btn-glass {
        width: 100%;
    }
}


/* ===================================================================== */
/* SECTION & PAGE EN VIDÉOS (LECTURE EN BOUCLE + CONTENU SEO)            */
/* ===================================================================== */
.video-showcase-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 44px;
    align-items: center;
}
.video-phone-frame {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    border-radius: 26px;
    overflow: hidden;
    background: #061024;
    border: 4px solid var(--navy);
    box-shadow: 0 24px 50px rgba(10, 22, 46, 0.24);
}
.video-live-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    background: rgba(215, 25, 32, 0.92);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}
.looping-vertical-video {
    width: 100%;
    aspect-ratio: 9 / 16;
    display: block;
    object-fit: cover;
    background: #061024;
}
.video-seo-content h2,
.video-seo-content h3 {
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}
.video-seo-content p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.72;
    margin-bottom: 16px;
}
.seo-highlights-box {
    background: var(--bg-light);
    border: 1.5px solid var(--border);
    border-left: 5px solid var(--royal);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    margin-top: 20px;
}
.seo-highlights-box h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
}
@media (max-width: 900px) {
    .video-showcase-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .video-phone-frame {
        max-width: 320px;
    }
}
