/* Police Geom chargée via Google Fonts (voir <head>) */

/* ==========================================
   CSS Variables & Reset
   ========================================== */
:root {
    /* Palette Transilio v2.0 */
    --color-navy: #092442;
    --color-navy-mid: #0D3260;
    --color-orange: #F76836;
    --color-orange-hover: #FFA573;
    --color-orange-tint: #FFF4F0;
    --color-grey-blue: #E8EDF5;
    --color-bg-section: #F0F4F8;
    --color-neutral: #94A3B8;
    --color-white: #FFFFFF;
    --color-error: #E53E3E;

    /* Alias sémantiques */
    --primary-color: var(--color-orange);
    --primary-hover: var(--color-orange-hover);
    --secondary-color: var(--color-navy);
    --text-color: #1a1a1a;
    --text-light: var(--color-navy-mid);
    --bg-light: var(--color-bg-section);
    --bg-white: var(--color-white);
    --border-color: var(--color-grey-blue);

    /* Border radius — charte Transilio */
    --radius-card: 12px;
    --radius-btn: 8px;
    --radius-pill: 9999px;

    /* Spacing scale ×4 */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-12: 48px;
    --space-16: 64px;

    --shadow: 0 4px 12px rgba(9, 36, 66, 0.1);
    --shadow-hover: 0 8px 24px rgba(9, 36, 66, 0.15);
    --transition: all 0.2s ease;

    /* Typographie — Barlow (charte v2.0) */
    --font-main: 'Barlow', 'Helvetica Neue', Arial, sans-serif;

    --gradient-hero: linear-gradient(135deg, #092442 0%, #F76836 100%);
    --gradient-cal: linear-gradient(13deg, #092442 0%, #F76836 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   Texture cuir premium — overlay global
   ========================================== */
.hero-texture {
    position: absolute;
    inset: 0;
    background-image: url('../assets/textures/background-Leather.png');
    background-size: 480px auto;
    background-repeat: repeat;
    mix-blend-mode: soft-light;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: clamp(1.625rem, 3vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 0.9375rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-light);
    text-align: center;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   Buttons
   ========================================== */
.cta-primary,
.cta-secondary {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.cta-primary {
    background-color: var(--primary-color);
    color: white;
}

.cta-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-primary:active {
    transform: translateY(0);
}

.cta-primary:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.cta-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.cta-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.cta-secondary:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    min-height: 100vh;
    background-color: var(--color-navy);
    display: flex;
    align-items: center;
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    color: var(--color-orange);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Animation de zoom in/out pour le texte important - compatible Safari mobile */
@keyframes zoomPulse {
    0%, 100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        text-shadow: 0 0 10px rgba(251, 146, 60, 0);
    }
    50% {
        -webkit-transform: scale(1.40);
        -ms-transform: scale(1.40);
        transform: scale(1.4);
        text-shadow: 0 0 20px rgba(251, 146, 60, 0.5), 0 0 30px rgba(251, 146, 60, 0.3);
    }
}

/* Animation de zoom out et fade pour le texte qui recule */
@keyframes zoomOutFade {
    0%, 100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
    50% {
        -webkit-transform: scale(0.75);
        -ms-transform: scale(0.75);
        transform: scale(0.75);
        opacity: 0.2;
    }
}

.vibrate-text {
    display: inline-block;
    opacity: 0;
    font-weight: 900;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.vibrate-text.visible {
    opacity: 1;
}

.vibrate-text.vibrating {
    animation: zoomPulse var(--zoom-animation-duration, 5s) ease-in-out;
}

.fade-text {
    display: inline-block;
    opacity: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.fade-text.visible {
    opacity: 1;
}

.fade-text.fading {
    animation: zoomOutFade var(--zoom-animation-duration, 5s) ease-in-out;
}

.hero-how {
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.85rem;
    line-height: 1.45;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.15s forwards;
}

.hero-subtitle {
    font-size: clamp(0.875rem, 1.6vw, 1rem);
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

/* ==========================================
   Cas d'usage (grille dans hero)
   ========================================== */
.use-cases-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.use-cases-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: 1rem;
    text-align: center;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-card);
    padding: 1rem;
    color: white;
    transition: var(--transition);
}

.use-case-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.use-case-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.use-case-header h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
    flex: 1;
    margin: 0;
}

.use-case-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    opacity: 0.9;
}

.use-case-icon svg {
    width: 100%;
    height: 100%;
}

.use-case-comparison {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.pie-chart-static {
    width: 80px;
    height: 80px;
}

.pie-chart-static svg {
    width: 100%;
    height: 100%;
}

.comparison-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
}

.time-before {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.time-after {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.hero-illustration {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

.hero-animation {
    max-width: 400px;
    width: 100%;
    height: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================
   CTA bas de hero
   ========================================== */
.hero-bottom-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-cta-question {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-align: center;
    line-height: 1.4;
    animation: question-glow 4s ease-in-out infinite;
}

@keyframes question-glow {
    0%, 100% {
        color: white;
        text-shadow: none;
    }
    50% {
        color: white;
        text-shadow: 0 0 24px rgba(247, 104, 54, 0.55), 0 0 8px rgba(247, 104, 54, 0.3);
    }
}

.hero-cta-arrow {
    font-size: 1.5rem;
    color: var(--color-orange);
    animation: cta-bounce 1.2s ease-in-out infinite;
    display: block;
    line-height: 1;
}

@keyframes cta-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.cta-booking-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 14px 32px;
    background-color: var(--color-orange);
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-btn);
    transition: var(--transition);
    text-align: center;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.cta-booking-btn:hover {
    background-color: var(--color-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 104, 54, 0.4);
}

.cta-booking-btn:active {
    transform: translateY(0);
}

/* ==========================================
   Site Header — marque Transilio
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    display: inline-flex;
    flex-direction: column;
    gap: 0.1rem;
}

.site-header .brand {
    font-size: 2.7rem; /* 60% de la taille originale (40% de réduction) */
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 0;
    filter: drop-shadow(2px 4px 10px rgba(0, 0, 0, 0.65));
}

.brand-logo {
    height: 0.88em;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.site-header .brand-baseline {
    font-family: var(--font-main);
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
    text-transform: none;
    text-align: right;
    display: block;
    width: 100%;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.55);
}

/* ==========================================
   Advantages Section — design premium
   ========================================== */
.advantages-section {
    padding: 6rem 0;
    background: linear-gradient(160deg, #0b2d57 0%, var(--color-navy) 60%);
}

.advantages-section .section-title {
    color: white;
}

.section-label {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: 0.6rem;
}

.section-intro {
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 3.5rem;
    margin-top: 0.5rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 0;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-card);
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: background 0.25s ease, transform 0.25s ease;
}

.advantage-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--color-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.advantage-card:hover::after {
    transform: scaleX(1);
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-4px);
}

.advantage-icon {
    width: 52px;
    height: 52px;
    background: rgba(247, 104, 54, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.lucide-icon {
    width: 24px;
    height: 24px;
    stroke: var(--color-orange);
    stroke-width: 2;
    fill: none;
}

.advantage-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.advantage-description {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.75;
}

/* ==========================================
   Formations Section
   ========================================== */
.formations-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.formation-card {
    background: white;
    border-radius: var(--radius-card);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--color-orange);
}

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

.formation-icon {
    width: 64px;
    height: 64px;
    background: var(--color-orange-tint);
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.formation-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.formation-description {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.75;
}

.formation-topics {
    list-style: none;
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.formation-topics li {
    color: var(--text-light);
    font-size: 1rem;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.55;
}

.formation-topics li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-size: 0.85rem;
}

/* ==========================================
   Use Cases Section (conservé pour compatibilité)
   ========================================== */
.use-cases-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.use-cases-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.use-case {
    background: white;
    border-radius: var(--radius-card);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.use-case h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* ==========================================
   Compliance Section
   ========================================== */
.compliance-section {
    padding: 6rem 0;
    background: var(--secondary-color);
    color: white;
}

.compliance-section .section-title {
    color: white;
}

.compliance-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.compliance-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.compliance-point {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-card);
    padding: 2rem;
}

.compliance-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.compliance-icon-svg {
    width: 140px;
    height: 140px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compliance-icon-svg svg {
    width: 100%;
    height: 100%;
}

.compliance-point h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.compliance-point p {
    color: rgba(255, 255, 255, 0.8);
}

.certification-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.badge {
    opacity: 0.9;
    transition: var(--transition);
}

.badge:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.star {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================
   Video Section (Gating)
   ========================================== */
.video-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.video-container {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
}

.video-gating-form {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-hover);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    max-width: 500px;
    margin: 2rem auto;
    left: 50%;
    transform: translateX(-50%);
}

.video-gating-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.video-gating-form h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 16px;
}

.privacy-notice {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-status {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.video-wrapper {
    border-radius: 16px;
    overflow: hidden;
    background: var(--secondary-color);
    aspect-ratio: 16/9;
    position: relative;
    transition: filter 0.5s ease;
}

.video-wrapper.unblurred {
    filter: none !important;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    position: relative;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: var(--transition);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* ==========================================
   Booking Section (Cal.com)
   ========================================== */
.booking-section {
    padding: 6rem 0;
    /*background: var(--bg-white);*/
    background: var(--gradient-cal);
}

.booking-container {
    max-width: 800px;
    margin: 3rem auto 0;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    min-height: 600px;
}

/* Conteneur du calendrier cal.com */
#my-cal-inline-30-min-d-appel-site-web,
#my-cal-inline-30-min-d-appel-site-web-cta {
    width: 100%;
    height: 600px;
    overflow: auto;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-hero);
    text-align: center;
    color: white;
}

.cta-section .section-title {
    color: white;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.cta-booking {
    max-width: 800px;
    margin: 3rem auto 0;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-hover);
}

.cta-booking #my-cal-inline-30-min-d-appel-site-web-cta {
    border-radius: 8px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Section fondateur dans le footer */
.footer-brand-with-founder {
    grid-column: span 2;
}

.founder-info {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.founder-photo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.founder-photo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-card);
    flex-shrink: 0;
}

.founder-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    text-align: center;
}

.founder-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-orange);
    margin: 0;
}

.founder-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.founder-text {
    flex: 1;
}

.founder-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: white;
}

.founder-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-item a:hover {
    color: var(--color-orange);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ==========================================
   Scroll-triggered animations
   ========================================== */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger animations for grid items */
.advantages-grid > *,
.formations-grid > *,
.testimonials-grid > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.advantages-grid > *.visible,
.formations-grid > *.visible,
.testimonials-grid > *.visible {
    opacity: 1;
    transform: translateY(0);
}
