/* ===============================================
   We Today Academy - Manager 360
   Version 3.1 - Toutes modifications
   =============================================== */

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

:root {
    --dark-turquoise: #0C475A;
    --turquoise: #1C8596;
    --teal: #20847D;
    --light-blue: #8FC0D5;
    --light-bg: #F7FAFB;
    --orange: #FF8B3D;
    --white: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-muted: #5a6a72;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cabin', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--turquoise);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--teal);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-highlight {
    color: var(--light-blue);
}

/* ===============================================
   ANIMATIONS
   =============================================== */

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

/* Par défaut visible, caché seulement si JS fonctionne */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* JS ajoute cette classe au body quand il est prêt */
.js-ready .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.js-ready .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================================
   NAVIGATION
   =============================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 0;
    background: rgba(12, 71, 90, 0.9);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(12, 71, 90, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    background: var(--white);
    border-radius: 50%;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-logo img {
    height: 30px;
    width: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.nav-link:hover {
    color: var(--white);
    opacity: 1;
}

.nav-cta {
    background: var(--orange);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 139, 61, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 139, 61, 0.5);
    color: var(--white);
}

/* ===============================================
   HERO
   =============================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.png') center center no-repeat;
    background-size: cover;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12, 71, 90, 0.85) 0%, rgba(12, 71, 90, 0.7) 50%, rgba(12, 71, 90, 0.5) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 72px);
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-tagline {
    font-size: clamp(20px, 3vw, 26px);
    color: var(--light-blue);
    font-weight: 600;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 139, 61, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 139, 61, 0.6);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.btn-tertiary {
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    padding: 16px 24px;
    opacity: 0.8;
}

.btn-tertiary:hover {
    opacity: 1;
    color: var(--white);
}

/* ===============================================
   CONSTAT SECTION (SVG Orange)
   =============================================== */

.constat-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.constat-section::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    height: 500px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 500' fill='none'%3E%3Cpath d='M0 80 Q 180 120, 120 250 Q 60 380, 0 420' stroke='%238FC0D5' stroke-width='2' fill='none'/%3E%3Cpath d='M0 110 Q 150 150, 100 280 Q 50 410, 0 450' stroke='%231C8596' stroke-width='2' fill='none' opacity='0.7'/%3E%3Cpath d='M0 140 Q 120 180, 80 310 Q 40 440, 0 480' stroke='%2320847D' stroke-width='2' fill='none' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

.constat-section .container {
    position: relative;
    z-index: 1;
}

.constat-section h2 {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--dark-turquoise);
    margin-bottom: 50px;
}

.constat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 50px;
}

.constat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.constat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 139, 61, 0.15) 0%, rgba(255, 139, 61, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.constat-icon svg {
    width: 24px;
    height: 24px;
    color: var(--orange);
}

.constat-item p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
}

.constat-result {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-turquoise);
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ===============================================
   APPROCHE SECTION
   =============================================== */

.approche-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.approche-section h2 {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--dark-turquoise);
    margin-bottom: 24px;
}

.approche-intro {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 700px;
}

.approche-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.approche-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}

.approche-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.approche-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.approche-card h3 {
    font-size: 22px;
    color: var(--dark-turquoise);
    margin-bottom: 12px;
}

.approche-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.approche-card-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--turquoise);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.approche-result {
    font-size: 18px;
    color: var(--dark-turquoise);
    font-weight: 500;
    text-align: center;
    padding-top: 20px;
}

/* ===============================================
   PROGRAMME SECTION - FLIP CARDS
   =============================================== */

.programme-section {
    padding: 100px 0;
    background: var(--dark-turquoise);
}

.programme-section h2 {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--white);
    margin-bottom: 16px;
}

.programme-intro {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 60px;
    max-width: 650px;
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

/* Flip Card Container */
.flip-card {
    perspective: 1000px;
    height: 280px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    transform-origin: center center;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    top: 0;
    left: 0;
}

/* ===== FRONT OF CARD ===== */
.flip-card-front {
    background: var(--white);
    display: flex;
    flex-direction: column;
    padding: 0;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.flip-card:hover .flip-card-front {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Header with number */
.flip-card-front .programme-number {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--teal) 100%);
    color: var(--white);
    font-family: 'Unbounded', sans-serif;
    font-size: 20px;
    font-weight: 700;
    border-radius: 0 0 16px 0;
    transition: background 0.3s ease;
}

.flip-card:hover .flip-card-front .programme-number {
    background: linear-gradient(135deg, var(--orange) 0%, #ff9d5c 100%);
}

/* Content area */
.flip-card-front h3 {
    font-size: 20px;
    color: var(--dark-turquoise);
    margin: 0;
    padding: 20px 24px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.flip-card:hover .flip-card-front h3 {
    color: var(--orange);
}

.flip-card-front p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 12px 24px 0;
    margin: 0;
    flex: 1;
}

/* Flip hint */
.flip-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--turquoise);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
    transition: color 0.3s ease;
}

.flip-hint::after {
    content: '→';
    font-size: 14px;
    transition: transform 0.3s ease;
}

.flip-card:hover .flip-hint {
    color: var(--orange);
}

.flip-card:hover .flip-hint::after {
    transform: translateX(4px);
}

/* ===== BACK OF CARD ===== */
.flip-card-back {
    background: var(--white);
    transform: rotateY(180deg);
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.flip-card-back h4 {
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--orange);
    margin: 0 0 5px 0;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.flip-card-back h4:first-child {
    padding-top: 0;
    border-top: none;
}

.flip-card-back ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2px 0;
}

.flip-card-back li {
    font-size: 10.5px;
    color: var(--text-dark);
    padding: 2px 0;
    padding-left: 12px;
    position: relative;
    line-height: 1.35;
}

.flip-card-back li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 4px;
    height: 4px;
    background: var(--light-blue);
    border-radius: 50%;
}

.programme-note {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* ===============================================
   INCLUS SECTION - REPENSÉE
   =============================================== */

.inclus-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.inclus-section::before {
    content: '';
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    width: 250px;
    height: 500px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 500' fill='none'%3E%3Cpath d='M0 80 Q 180 120, 120 250 Q 60 380, 0 420' stroke='%238FC0D5' stroke-width='2' fill='none'/%3E%3Cpath d='M0 110 Q 150 150, 100 280 Q 50 410, 0 450' stroke='%231C8596' stroke-width='2' fill='none' opacity='0.7'/%3E%3Cpath d='M0 140 Q 120 180, 80 310 Q 40 440, 0 480' stroke='%2320847D' stroke-width='2' fill='none' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

.inclus-section .container {
    position: relative;
    z-index: 1;
}

.inclus-section h2 {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--dark-turquoise);
    margin-bottom: 60px;
    text-align: center;
}

.inclus-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.inclus-step {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.inclus-step-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(28, 133, 150, 0.3);
}

.inclus-step-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.inclus-step h3 {
    font-size: 20px;
    color: var(--dark-turquoise);
    margin-bottom: 12px;
}

.inclus-step p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.inclus-arrow {
    display: flex;
    align-items: center;
    padding-top: 24px;
}

.inclus-arrow svg {
    width: 32px;
    height: 32px;
    color: var(--light-blue);
}

.inclus-extras {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.inclus-extra {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 320px;
}

.inclus-extra-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 139, 61, 0.15) 0%, rgba(255, 139, 61, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.inclus-extra-icon svg {
    width: 24px;
    height: 24px;
    color: var(--orange);
}

.inclus-extra h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-turquoise);
    margin-bottom: 4px;
}

.inclus-extra p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===============================================
   FORMATEURS SECTION
   =============================================== */

.formateurs-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.formateurs-section h2 {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--dark-turquoise);
    margin-bottom: 16px;
    text-align: center;
}

.formateurs-intro {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 60px;
}

.formateurs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 850px;
    margin: 0 auto;
}

.formateur-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.formateur-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    border: 4px solid var(--light-blue);
}

.formateur-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.formateur-card h3 {
    font-size: 24px;
    color: var(--dark-turquoise);
    margin-bottom: 4px;
}

.formateur-role {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--orange);
    margin-bottom: 20px;
}

.formateur-bio {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: left;
}

/* ===============================================
   TARIFS SECTION
   =============================================== */

.tarifs-section {
    padding: 100px 0;
    background: var(--white);
}

.tarifs-section h2 {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--dark-turquoise);
    margin-bottom: 16px;
    text-align: center;
}

.tarifs-intro {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 60px;
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.tarif-card {
    background: var(--light-bg);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    position: relative;
}

.tarif-card-highlight {
    background: var(--dark-turquoise);
    color: var(--white);
}

.tarif-card-highlight h3,
.tarif-card-highlight .tarif-price,
.tarif-card-highlight .tarif-unit {
    color: var(--white);
}

.tarif-card-highlight .tarif-features li {
    color: rgba(255, 255, 255, 0.9);
}

.tarif-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.tarif-card h3 {
    font-size: 20px;
    color: var(--dark-turquoise);
    margin-bottom: 16px;
}

.tarif-price {
    font-family: 'Unbounded', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--dark-turquoise);
    line-height: 1;
}

.tarif-unit {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
    margin-bottom: 28px;
}

.tarif-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.tarif-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
    padding: 8px 0;
}

.tarif-features svg {
    width: 20px;
    height: 20px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.tarif-card-highlight .tarif-features svg {
    color: var(--orange);
}

.tarif-cta {
    display: block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--dark-turquoise);
    border: 2px solid var(--dark-turquoise);
}

.tarif-cta:hover {
    background: var(--dark-turquoise);
    color: var(--white);
}

.tarif-cta-primary {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
    box-shadow: 0 4px 15px rgba(255, 139, 61, 0.3);
}

.tarif-cta-primary:hover {
    background: #ff9d5c;
    border-color: #ff9d5c;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(255, 139, 61, 0.4);
}

.tarifs-note {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 40px;
}

/* ===============================================
   CTA SECTION
   =============================================== */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--teal) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===============================================
   FOOTER (même que site principal)
   =============================================== */

.footer {
    background: var(--dark-turquoise);
    padding: 24px 0;
    color: var(--white);
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

.footer p a {
    color: var(--white);
    opacity: 1;
}

.footer p a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links span {
    opacity: 0.4;
    font-size: 12px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.7;
    font-size: 13px;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--white);
}

/* ===============================================
   MODALS
   =============================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 71, 90, 0.9);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2001;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--text-dark);
    opacity: 0.4;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.05);
}

/* Quote Modal */
.modal-quote {
    max-width: 560px;
    width: 90%;
}

.quote-content {
    padding: 48px 40px;
}

.quote-content h2 {
    font-size: 28px;
    color: var(--dark-turquoise);
    margin-bottom: 8px;
}

.quote-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--turquoise);
    box-shadow: 0 0 0 3px rgba(28, 133, 150, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
}

.checkbox-label input {
    width: auto;
    accent-color: var(--turquoise);
}

/* Module Selection */
.module-selection {
    margin-top: 20px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.module-selection-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.module-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.module-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
}

.module-checkbox:hover {
    background: var(--white);
}

.module-checkbox input {
    width: auto;
    accent-color: var(--turquoise);
}

.module-checkbox input:checked + span {
    color: var(--turquoise);
    font-weight: 600;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 139, 61, 0.3);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 139, 61, 0.4);
}

.form-success {
    text-align: center;
    padding: 40px;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.form-success h3 {
    font-size: 24px;
    color: var(--dark-turquoise);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 16px;
    color: var(--text-muted);
}

/* Priming Modal */
.modal-priming {
    max-width: 420px;
    width: 90%;
}

.priming-content {
    padding: 48px 32px;
    text-align: center;
}

.priming-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    border: 4px solid var(--light-blue);
    box-shadow: 0 4px 20px rgba(28, 133, 150, 0.15);
}

.priming-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.priming-title {
    font-size: 24px;
    color: var(--dark-turquoise);
    margin-bottom: 12px;
}

.priming-text {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.priming-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 139, 61, 0.3);
}

.priming-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 139, 61, 0.4);
    color: var(--white);
}

.priming-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* Chat Modal */
.modal-chat {
    max-width: 500px;
    width: 90%;
    height: 70vh;
    max-height: 600px;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 20px;
    color: var(--dark-turquoise);
    margin: 0;
}

.modal-header .modal-close {
    position: static;
}

.modal-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    max-width: 80%;
    padding: 14px 18px;
    border-radius: 20px;
    word-wrap: break-word;
    animation: bubbleIn 0.3s ease;
    font-size: 15px;
    line-height: 1.5;
}

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

.chat-bubble-left {
    align-self: flex-start;
    background-color: var(--light-bg);
    color: var(--text-dark);
    border-bottom-left-radius: 6px;
}

.chat-bubble-right {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--teal) 100%);
    color: var(--white);
    border-bottom-right-radius: 6px;
}

.chat-input-area {
    display: flex;
    gap: 12px;
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.chat-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 28px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
}

.chat-input:focus {
    border-color: var(--turquoise);
    box-shadow: 0 0 0 3px rgba(28, 133, 150, 0.1);
}

.chat-send-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--teal) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(28, 133, 150, 0.4);
}

.chat-typing {
    display: flex;
    gap: 4px;
    padding: 14px 18px;
    align-self: flex-start;
    background-color: var(--light-bg);
    border-radius: 20px;
    border-bottom-left-radius: 6px;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.contact-success {
    text-align: center;
    padding: 40px 24px;
}

.contact-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-success-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.contact-success h3 {
    font-size: 20px;
    color: var(--dark-turquoise);
    margin-bottom: 8px;
}

.contact-success p {
    font-size: 15px;
    color: var(--text-muted);
}

/* ===============================================
   RESPONSIVE
   =============================================== */

@media (max-width: 900px) {
    .constat-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .approche-grid {
        grid-template-columns: 1fr;
    }
    
    .programme-grid {
        grid-template-columns: 1fr;
    }
    
    .flip-card {
        height: 300px;
    }
    
    .inclus-flow {
        flex-direction: column;
        align-items: center;
    }
    
    .inclus-arrow {
        transform: rotate(90deg);
        padding: 0;
    }
    
    .inclus-step {
        max-width: 100%;
    }
    
    .inclus-extras {
        flex-direction: column;
        align-items: center;
    }
    
    .inclus-extra {
        max-width: 100%;
    }
    
    .formateurs-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .tarifs-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }
    
    .hero-bg::after {
        background: linear-gradient(180deg, rgba(12, 71, 90, 0.9) 0%, rgba(12, 71, 90, 0.8) 100%);
    }
    
    .nav-link {
        display: none;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quote-content {
        padding: 32px 24px;
    }
    
    .modal-chat {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .nav-cta {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .flip-card {
        height: 320px;
    }
    
    .flip-card-front h3 {
        font-size: 18px;
        padding: 16px 20px 0;
    }
    
    .flip-card-front p {
        font-size: 14px;
        padding: 10px 20px 0;
    }
    
    .flip-hint {
        padding: 14px 20px;
    }
    
    .flip-card-back {
        padding: 20px;
    }
    
    .tarif-card {
        padding: 32px 24px;
    }
    
    .formateur-card {
        padding: 32px 24px;
    }
}

/* Touch devices - click instead of hover for flip */
@media (hover: none) {
    .flip-card {
        cursor: pointer;
    }
    
    .flip-card.flipped .flip-card-inner {
        transform: rotateY(180deg);
    }
    
    .flip-card:hover .flip-card-inner {
        transform: none;
    }
    
    .flip-card.flipped:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}
