/*
Theme Name: FormaPro
Theme URI: https://formapro.fr
Author: FormaPro
Author URI: https://formapro.fr
Description: Thème WordPress sur-mesure pour FormaPro – Landing page de formations informatiques personnalisées.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: formapro
Tags: one-page, custom-background, custom-logo, responsive-layout, education
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
*/

/* ============================================================
   FORMAPRO – WordPress Theme Styles
   Premium, modern, responsive design
   ============================================================ */

/* --------------------------------
   CSS Variables & Design Tokens
   -------------------------------- */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent: #14b8a6;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-2: linear-gradient(135deg, #6366f1 0%, #14b8a6 100%);
    --gradient-hero: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 40%, #0f172a 100%);
    --bg-dark: #0f0f23;
    --bg-section: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-white: #f1f5f9;
    --border: #e2e8f0;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 10px;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.1), 0 3px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

/* --------------------------------
   Global Reset & Typography
   -------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

/* --------------------------------
   Utility Classes
   -------------------------------- */
.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    padding: 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary);
    border-radius: 100px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 50px;
    width: 50%;
    text-align:center;
}

.section-header {
    max-width: 650px;
    margin: 0 auto 20px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* --------------------------------
   NAVBAR
   -------------------------------- */
.navbar {
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
}

.navbar.scrolled .navbar-brand {
    color: var(--text-primary) !important;
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 1.2rem;
}

.brand-accent {
    color: var(--primary-light);
}

.navbar.scrolled .brand-accent {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link-custom {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link-custom:hover {
    color: #fff;
}

.navbar.scrolled .nav-link-custom {
    color: var(--text-secondary);
}

.navbar.scrolled .nav-link-custom:hover {
    color: var(--primary);
}

.btn-connexion {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.btn-connexion:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.navbar.scrolled .btn-connexion {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.navbar.scrolled .btn-connexion:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

/* --------------------------------
   HERO SECTION
   -------------------------------- */
.hero-section {
    position: relative;
    background: var(--bg-dark);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section>.container {
    z-index: 5;
    position: relative;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(15, 15, 35, 0.75) 0%,
            rgba(15, 15, 35, 0.65) 40%,
            rgba(15, 23, 42, 0.80) 100%);
    z-index: 2;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    color: var(--text-white);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    max-width: 600px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle strong {
    color: #fff;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--gradient-1);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    transition: var(--transition);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.55);
    color: #fff;
}

.btn-hero i {
    transition: transform 0.3s ease;
}

.btn-hero:hover i {
    transform: translateX(4px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.18);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-scroll-indicator a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

/* --------------------------------
   DOMAINES SECTION
   -------------------------------- */
.section-domaines {
    padding: 100px 0;
    background: var(--bg-section);
}

.section-domaines .container,
.section-methode .container,
.section-avantages .container,
.section-formulaire .container,
.section-lms .container,
.section-contact .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.domain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent, var(--primary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.domain-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.domain-card:hover::before {
    transform: scaleX(1);
}

.domain-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 100px;
    font-size: 1.8rem;
    margin: 20px auto;
    padding:40px;
    transition: var(--transition);
}

.domain-card:hover .domain-icon {
    transform: scale(1.1);
}

.domain-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    margin-top:25px!important ;
    text-align:center;
}

.domain-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top:25px!important ;
    text-align:center!important;
    padding-top:25px;
    padding-bottom:25px;
    border-top:1px #d6d6d6 solid;
}

.vibe-coding-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.08));
    border: 1px dashed rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.vibe-coding-badge i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* --------------------------------
   METHODE SECTION
   -------------------------------- */
.section-methode {
    padding: 100px 0;
    background: #fff;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    height: 100%;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(99, 102, 241, 0.08);
    line-height: 1;
}

.step-icon-wrapper {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    aspect-ratio: 4/3;
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.step-card:hover .step-image {
    transform: scale(1.05);
}

.step-card h3 {
    font-size: 1.15rem;
    margin-top:40px!important ;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top:25px!important ;
    padding-top:25px;
    padding-bottom:25px;
    border-top:1px #d6d6d6 solid;
}

/* --------------------------------
   AVANTAGES SECTION
   -------------------------------- */
.section-avantages {
    padding: 100px 0;
    background: var(--bg-section);
}

.avantages-image-wrapper {
    position: relative;
    padding: 20px;
}

.avantages-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
    aspect-ratio: 5/6;
}

.avantages-experience-badge {
    position: absolute;
    bottom: 40px;
    right: 0;
    background: var(--gradient-1);
    color: #fff;
    padding: 20px 28px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.exp-text {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.3;
}

.avantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.avantage-item:last-child {
    border-bottom: none;
}

.avantage-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-1);
    border-radius: 100px;
    color: #fff;
    font-size: 1.4rem;
    padding:30px;
}

.avantage-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.avantage-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* --------------------------------
   FORMULAIRE SECTION
   -------------------------------- */
.section-formulaire {
    padding: 100px 0;
    background: #fff;
}

.form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 50px 60px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

.form-header {
    margin-bottom: 36px;
}

.form-wrapper .section-desc{
    margin-top:30px!important ;
    padding-top:25px;
    padding-bottom:10px;
    border-top:1px #d6d6d6 solid;
}

/* Form-floating (Bootstrap compatible) */
.form-floating {
    position: relative;
}

.form-floating>.form-control,
.form-floating>.form-select {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem 0;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    background: #f8fafc;
    color: var(--text-primary);
    width: 100%;
    line-height: 1.25;
    appearance: auto;
}

.form-floating>textarea.form-control {
    height: auto;
    padding-top: 1.625rem;
    resize: vertical;
}

.form-floating>.form-control:focus,
.form-floating>.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: #fff;
    outline: none;
}

.form-floating>label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
    opacity: 0.65;
    transform: scale(0.80) translateY(-0.6rem) translateX(0.15rem);
}

.form-floating>.form-select~label {
    transform: scale(0.80) translateY(-0.6rem) translateX(0.15rem);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    margin-top:20px;
    background: var(--gradient-1);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.35);
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
    color: #fff;
}

.form-success-msg {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

.form-success-msg.active {
    display: block;
}

.form-success-msg i {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 16px;
    display: block;
}

.form-success-msg h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-success-msg p {
    color: var(--text-secondary);
}

/* --------------------------------
   LMS SECTION
   -------------------------------- */
.section-lms {
    padding: 60px 0;
    background: var(--bg-section);
}

.lms-card {
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: 50px 56px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.lms-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.lms-card h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.lms-card p {
    opacity: 0.7;
    margin: 0;
    font-size: 1.05rem;
}

.btn-lms {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    background: #fff;
    color: var(--primary);
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-lms:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
    color: var(--primary-dark);
}

/* --------------------------------
   CONTACT SECTION
   -------------------------------- */
.section-contact {
    padding: 80px 0;
    background: #fff;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-contact:hover {
    background: var(--gradient-1);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.35);
}

.contact-response {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --------------------------------
   FOOTER
   -------------------------------- */
.site-footer {
    background: var(--bg-dark);
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-brand .brand-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

.footer-brand .brand-accent {
    color: var(--primary-light);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-light);
}

.footer-sep {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 12px;
}

/* --------------------------------
   GRID HELPERS (Bootstrap-like)
   -------------------------------- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.row>* {
    padding: 0 12px;
}

.col-12 {
    width: 100%;
}

.col-lg-4 {
    width: 33.333%;
}

.col-lg-5 {
    width: 41.666%;
}

.col-lg-6 {
    width: 50%;
}

.col-lg-8 {
    width: 66.666%;
}

.col-lg-10 {
    width: 83.333%;
}

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

.offset-lg-1 {
    margin-left: 8.333%;
}

.g-3 {
    gap: 16px;
}

.g-4 {
    gap: 24px;
}

.me-2 {
    margin-right: 0.5rem;
}

.ms-2 {
    margin-left: 0.5rem;
}

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

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

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.align-items-stretch {
    align-items: stretch;
}

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

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

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

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

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

/* --------------------------------
   RESPONSIVE
   -------------------------------- */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .hero-stats {
        gap: 20px;
        margin-top: 40px;
        padding-top: 24px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .section-domaines,
    .section-methode,
    .section-avantages,
    .section-formulaire {
        padding: 70px 0;
    }

    .avantages-image-wrapper {
        margin-bottom: 40px;
    }

    .lms-card {
        padding: 36px 32px;
        text-align: center;
    }

    .form-wrapper {
        padding: 36px 28px;
    }

    .col-lg-4 {
        width: 50%;
    }

    .col-lg-5,
    .col-lg-6,
    .col-lg-8,
    .col-lg-10 {
        width: 100%;
    }

    .offset-lg-1 {
        margin-left: 0;
    }

    .text-lg-end {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .nav-right {
        gap: 12px;
    }

    .nav-link-custom {
        display: none;
    }

    .btn-connexion {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .hero-section {
        padding-top: 100px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-hero {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-desc {
        font-size: 0.95rem;
    }

    .domain-card {
        padding: 24px 20px;
    }

    .step-card {
        padding: 28px 20px;
    }

    .avantage-item {
        gap: 14px;
        padding: 16px 0;
    }

    .avantage-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1rem;
    }

    .form-wrapper {
        padding: 28px 20px;
        border-radius: var(--radius-lg);
    }

    .formapro-form .form-row {
        flex-direction: column;
    }

    .lms-card {
        padding: 28px 24px;
    }

    .lms-card h2 {
        font-size: 1.3rem;
    }

    .site-footer {
        text-align: center;
    }

    .col-lg-4,
    .col-md-6 {
        width: 100%;
    }

    .row {
        gap: 16px;
    }
}

@media (max-width: 575.98px) {
    .hero-scroll-indicator {
        display: none;
    }

    .domain-card h3 {
        font-size: 1rem;
    }
}

/* --------------------------------
   ANIMATIONS
   -------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* WordPress admin bar fix */
body.admin-bar .navbar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .navbar {
        top: 46px;
    }
}
