/* ========================================
   DRONE ACADÉMIE — Site Officiel CSS
   Charte graphique : Orange #e8491d / Blanc / Gris foncé
   ======================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #e8491d;
    --orange-dark: #c73a12;
    --orange-light: #f4703f;
    --dark: #1a1a2e;
    --dark-2: #222240;
    --dark-3: #16213e;
    --gray-dark: #333;
    --gray: #666;
    --gray-light: #999;
    --gray-bg: #f7f7f7;
    --white: #ffffff;
    --success: #27ae60;
    --error: #e74c3c;
    --font: 'Poppins', -apple-system, sans-serif;
    --font-heading: 'Montserrat', 'Poppins', sans-serif;
    --shadow: 0 5px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--gray-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.3;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- Loader ---- */
.loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.loader-logo { width: 100px; margin: 0 auto 1.5rem; animation: pulse 1.2s ease-in-out infinite; }
.loader-bar { width: 200px; height: 4px; background: #eee; border-radius: 4px; overflow: hidden; }
.loader-progress { width: 0; height: 100%; background: var(--orange); border-radius: 4px; animation: loaderFill 1.2s ease forwards; }
@keyframes loaderFill { to { width: 100%; } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    justify-content: center;
}
.btn-primary {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}
.btn-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232,73,29,0.35);
}
.btn-white {
    background: var(--white);
    color: var(--orange);
    border-color: var(--white);
}
.btn-white:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}
.btn-outline-primary {
    background: transparent;
    color: var(--orange);
    border-color: var(--orange);
}
.btn-outline-primary:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}
.btn-block { width: 100%; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.8rem; }

/* ---- Topbar ---- */
.topbar {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    padding: 0.5rem 0;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.topbar span i { margin-right: 0.4rem; color: var(--orange); }
.topbar-socials {
    display: flex;
    gap: 0.75rem;
}
.topbar-socials a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}
.topbar-socials a:hover { color: var(--orange); }

/* ---- Navbar ---- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; }
.logo-img { height: 55px; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}
.nav-link {
    padding: 1rem 1.1rem;
    color: var(--gray-dark);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--orange); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--gray-dark);
    border-radius: 3px;
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.82) 0%, rgba(22,33,62,0.75) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 2rem 1.5rem;
}
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(232,73,29,0.15);
    border: 1px solid rgba(232,73,29,0.4);
    border-radius: 50px;
    color: var(--orange-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}
.hero h1 span { color: var(--orange-light); }
.hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%,20%,50%,80%,100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ---- Stats Bar ---- */
.stats-bar {
    background: var(--orange);
    padding: 2.5rem 0;
    margin-top: -1px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    color: var(--white);
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-icon { font-size: 2rem; margin-bottom: 0.5rem; opacity: 0.8; }
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    display: inline;
}
.stat-plus {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    display: inline;
}
.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ---- Sections ---- */
.section {
    padding: 5rem 0;
}
.section-light { background: var(--gray-bg); }
.section-orange {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
}
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem;
}
.section-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(232,73,29,0.1);
    color: var(--orange);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.section-tag-white {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}
.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 0.75rem;
}
.section-orange .section-header h2 { color: var(--white); }
.section-line {
    width: 60px;
    height: 4px;
    background: var(--orange);
    border-radius: 4px;
    margin: 0 auto 1rem;
}
.section-orange .section-line { background: var(--white); }
.section-desc {
    color: var(--gray);
    font-size: 1rem;
}

/* ---- About ---- */
.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}
.about-text p {
    margin-bottom: 1rem;
    color: var(--gray);
    font-size: 0.95rem;
}
.about-text strong { color: var(--gray-dark); }
.about-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(232,73,29,0.08);
    border: 1px solid rgba(232,73,29,0.15);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--orange);
}
.badge-item i { font-size: 1rem; }

.about-image { display: flex; justify-content: center; }
.about-img-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}
.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.5s ease;
}
.about-img-wrapper:hover .about-photo { transform: scale(1.05); }

/* ---- Mission ---- */
.mission-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.mission-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.mission-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.5s ease;
}
.mission-image:hover img { transform: scale(1.05); }
.mission-content h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}
.mission-content p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 1rem;
    font-size: 1rem;
}
.mission-content .btn { margin-top: 0.5rem; }

/* ---- Formations ---- */
.formations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.formation-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.formation-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(232,73,29,0.2);
}
.formation-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.formation-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.formation-card:hover .formation-img img { transform: scale(1.1); }
.formation-card h3,
.formation-card > p,
.formation-card ul { margin-left: 1.5rem; margin-right: 1.5rem; }
.formation-card .btn.btn-block {
    margin: auto 1.5rem 1.5rem;
    width: calc(100% - 3rem);
    box-sizing: border-box;
}
.formation-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.2rem 0.75rem;
    background: var(--orange);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}
.formation-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
}
.formation-card > p {
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 1.25rem;
}
.formation-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}
.formation-card ul li {
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.formation-card ul li i { color: var(--success); font-size: 0.75rem; }

/* Custom formation */
.custom-formation {
    margin-top: 2rem;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 200px;
}
.custom-formation-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(232,73,29,0.7) 100%);
}
.custom-formation-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3rem 2.5rem;
}
.custom-text h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--white); }
.custom-text p { font-size: 0.95rem; color: rgba(255,255,255,0.85); }

/* ---- Réglementation ---- */
.reglement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.reglement-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--orange);
    transition: var(--transition);
}
.reglement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.reglement-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(232,73,29,0.15);
    margin-bottom: 0.5rem;
}
.reglement-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.reglement-card p { font-size: 0.9rem; color: var(--gray); }

/* ---- News ---- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-img {
    height: 200px;
    overflow: hidden;
}
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-img img { transform: scale(1.08); }
.news-body { padding: 1.5rem; }
.news-date {
    font-size: 0.78rem;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}
.news-body h3 { font-size: 1.05rem; margin-bottom: 0.75rem; }
.news-body p { font-size: 0.88rem; color: var(--gray); margin-bottom: 1rem; }
.news-link {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.news-link:hover { gap: 0.6rem; }

/* ---- Partners ---- */
.section-partners { padding: 4rem 0; background: var(--white); }
.partners-marquee {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.partners-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    animation: marquee 40s linear infinite;
    width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
.partner-item {
    flex-shrink: 0;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: var(--transition);
}
.partner-item:hover {
    border-color: rgba(232,73,29,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.partner-item img {
    max-height: 50px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}
.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- Contact ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-bg);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); }
.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
}
.contact-card h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.contact-card p { font-size: 0.85rem; color: var(--gray); }

.contact-form-wrap {
    background: var(--gray-bg);
    border-radius: var(--radius);
    padding: 2rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-dark);
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    color: var(--gray-dark);
    font-size: 0.9rem;
    font-family: var(--font);
    transition: var(--transition);
    outline: none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232,73,29,0.1);
}
input::placeholder, textarea::placeholder { color: #bbb; }
select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}
textarea { resize: vertical; min-height: 100px; }

/* ---- Verification Section ---- */
.verification-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
    padding: 4rem 0;
    color: var(--white);
}
.verif-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}
.verif-info h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.verif-info h2 i { color: var(--orange); }
.verif-info > p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}
.verif-how { display: flex; flex-direction: column; gap: 1rem; }
.how-step {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.how-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.how-step span { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

.verif-box {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 2rem;
}
.verif-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-sm);
    padding: 0.25rem;
}
.verif-tab {
    flex: 1;
    padding: 0.7rem 1rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
    font-family: var(--font);
}
.verif-tab.active {
    background: var(--orange);
    color: var(--white);
}
.verif-panel { display: none; }
.verif-panel.active { display: block; }

.verif-form label {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}
.verif-input-row {
    display: flex;
    gap: 0.75rem;
}
.verif-input-wrap {
    flex: 1;
    position: relative;
}
.verif-input-wrap i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-light);
}
.verif-input-wrap input {
    padding-left: 2.75rem;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: var(--white);
}
.verif-input-wrap input::placeholder { color: rgba(255,255,255,0.3); }
.verif-input-wrap input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232,73,29,0.2);
}

/* QR Scanner */
.qr-scanner-area { text-align: center; }
.qr-reader {
    width: 100%;
    max-width: 300px;
    height: 260px;
    margin: 0 auto 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(0,0,0,0.3);
    border: 2px dashed rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qr-placeholder { text-align: center; color: rgba(255,255,255,0.4); }
.qr-placeholder i { font-size: 3.5rem; margin-bottom: 0.75rem; }
.qr-placeholder p { font-size: 0.85rem; }
.qr-btns { display: flex; gap: 0.5rem; justify-content: center; }

/* Verify Result */
.verif-result {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    animation: fadeInUp 0.4s ease;
}
.verif-result.success {
    background: rgba(39,174,96,0.1);
    border: 1px solid rgba(39,174,96,0.3);
}
.verif-result.error {
    background: rgba(231,76,60,0.1);
    border: 1px solid rgba(231,76,60,0.3);
}
.result-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.result-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.result-icon.success { background: rgba(39,174,96,0.2); color: var(--success); }
.result-icon.error { background: rgba(231,76,60,0.2); color: var(--error); }
.result-header h3 { font-size: 1.1rem; color: var(--white); }
.result-details { display: grid; gap: 0.5rem; }
.result-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.88rem;
}
.result-row span:first-child { color: rgba(255,255,255,0.5); }
.result-row span:last-child { color: var(--white); font-weight: 600; }

#pdf-actions .btn { padding: 0.6rem 1.25rem; border-radius: 8px; cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }
#pdf-actions .btn-primary { background: var(--orange); color: white; border: none; }
#pdf-actions .btn-primary:hover { background: var(--orange-dark); }
#pdf-actions .btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); }
#pdf-actions .btn-outline:hover { border-color: white; }

/* ---- Footer ---- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}
.footer-logo { height: 60px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; margin-bottom: 0.75rem; }
.footer-accreditation {
    font-size: 0.78rem;
    color: var(--orange);
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    background: rgba(232,73,29,0.1);
    border-radius: var(--radius-sm);
    display: inline-block;
}
.footer-links h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
}
.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}
.footer-links a:hover { color: var(--orange); padding-left: 5px; }
.footer-links a i { font-size: 0.8rem; color: var(--orange); }
.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    padding: 0;
}
.footer-socials a:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8rem;
}
.footer-legal {
    display: flex;
    gap: 1.5rem;
}
.footer-legal a { color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: var(--orange); }

/* ---- Scroll Animations ---- */
[data-aos] {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos="fade-right"] { transform: translateX(-25px); }
[data-aos="fade-left"] { transform: translateX(25px); }
[data-aos].aos-animate { opacity: 1; transform: translate(0); }

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .formations-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .about-layout { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .about-img-wrapper { max-width: 100%; }
    .verif-layout { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .mission-layout { grid-template-columns: 1fr; text-align: center; }
    .mission-image { max-width: 500px; margin: 0 auto; }
    .mission-image img { height: 280px; }
}

@media (max-width: 768px) {
    .topbar-left, .topbar-right { gap: 0.75rem; }
    .topbar-inner { flex-direction: column; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition);
        z-index: 999;
    }
    .nav-menu.active { right: 0; }
    .nav-toggle { display: flex; z-index: 1000; }
    .formations-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 1.8rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
    .footer-legal { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
    .verif-input-row { flex-direction: column; }
    .custom-formation-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .about-badges { flex-direction: column; }
}
