/* --- VARIABLES & RESET --- */
:root {
    --primary: #0078B4;   /* Bleu Skoolingo */
    --dark: #0A6190;      /* Bleu foncé */
    --accent: #EA503A;    /* Orange Boutons */
    --bg-light: #F8F9FA;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --white: #FFFFFF;
    --radius: 20px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body, p {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- SECTION COMMUNAUTÉ --- */
.community-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.community-section h2 {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 600;
}

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

.community-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.instagram-card {
    border-top-color: var(--accent);
}

.whatsapp-card {
    border-top-color: var(--primary);
}

.community-card .card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.instagram-logo {
    width: 60px;
    height: 60px;
}

.community-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.community-card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.community-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 24px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.instagram-card .community-link {
    color: var(--accent);
    border-color: var(--accent);
}

.instagram-card .community-link:hover {
    background-color: var(--accent);
    color: var(--white);
}

.whatsapp-card .community-link {
    color: var(--primary);
    border-color: var(--primary);
}

.whatsapp-card .community-link:hover {
    background-color: var(--primary);
    color: var(--white);
}

.phone-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
}

.phone-icon {
    font-size: 1.2rem;
}

.phone-number {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: var(--primary);
}

.phone-label {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .community-section {
        padding: 50px 0;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .community-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px !important;
        padding: 0 10px;
    }
    
    .community-card {
        padding: 30px 20px;
    }
    
    .community-card h3 {
        font-size: 1.3rem;
    }
    
    .community-card p {
        font-size: 0.95rem;
    }
    
    .community-link {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
    
    .phone-info {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .phone-number {
        font-size: 1rem;
    }
    
    .phone-label {
        font-size: 0.8rem;
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-top: 5px;
    }
}

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

/* --- BOUTONS --- */
.btn-cta {
    background-color: var(--accent);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
    display: inline-block;
}

.btn-cta:hover {
    background-color: #d1402c;
    transform: translateY(-2px);
}

.btn-cta.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-cta.full-width {
    width: 100%;
    text-align: center;
}

/* --- HEADER --- */
.site-header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px; /* Ajuste selon ton image */
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem; /* 20% larger */
    color: var(--dark); /* #0A6190 */
    text-transform: none;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-screenshot{
    height:44px;
    width:auto;
    border-radius:12px;
    object-fit:cover;
    box-shadow:0 8px 22px rgba(0,0,0,0.08);
}

.link-login {
    display: inline-block;
    padding: 10px 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(10,97,144,0.22);
    text-decoration: none;
    transform: translateZ(0);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.link-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(10,97,144,0.28);
    filter: brightness(1.02);
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 80px 0;
    background-color: #eef5ff;
    background: linear-gradient(180deg, #eef5ff 0%, #f0f8ff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    background: transparent;
}

.hero-image {
    background: linear-gradient(180deg, #eef5ff 0%, #f0f8ff 100%);
    border-radius: var(--radius);
    padding: 12px;
    display: flex;
    justify-content: center;
    margin-top: 46px;
}

.hero-text h1 {
    font-weight: 600; /* Semi-Bold pour l'impact */
    font-size: 3.5rem; /* Grand et lisible */
    line-height: 1.15;
    color: var(--dark); /* #0A6190 */
    font-style: italic;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    background: transparent;
}

.social-proof {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
    background: transparent;
}

.img-responsive {
    width: 144%; /* agrandi de 20% supplémentaire */
    max-width: 144%;
    height: auto;
    border-radius: var(--radius);
    background-color: #eef5ff;
    mix-blend-mode: multiply; /* atténue le blanc du fond de l'image pour se fondre dans le hero */
}

@media (max-width: 768px) {
    .img-responsive {
        width: 100%;
        max-width: 100%;
    }
}

.hero-text,
.hero-text p,
.hero-buttons {
    background: transparent;
}

/* --- SECTIONS COMMUNES --- */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 3.25rem;
    color: #0A6190;
    margin-bottom: 15px;
}

.section-header p {
    margin-top: 18px; /* descend de ~0.5cm */
    color: var(--accent); /* #EA503A */
    font-weight: 700; /* gras */
    font-size: 1.1rem; /* agrandi de 10% */
}

/* --- TEAM SECTION --- */
.team-section h2 {
    font-weight: 600;
    font-size: 4.41rem; /* réduit de 10% */
    line-height: 1.15;
    color: var(--dark); /* #0A6190 */
    font-style: italic;
    text-align: center;
    display: block;
    margin: 0 auto;
}

.professors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.prof-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 25px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 520px;
    width: auto;
    max-width: none;
}

.prof-card:nth-child(1),
.prof-card:nth-child(2),
.prof-card:nth-child(3) {
    grid-column: span 1;
    max-width: 100%;
}

.prof-card:nth-child(4),
.prof-card:nth-child(5),
.prof-card:nth-child(6),
.prof-card:nth-child(7) {
    grid-column: span 1;
}

.prof-card:nth-child(3) {
    grid-column: 3;
}

.prof-card:last-child {
    grid-column: 2 / 3;
    justify-self: center;
    max-width: 100%;
}

.prof-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(12,34,56,0.12);
}

.prof-avatar {
    width: 188px !important;
    height: 188px !important;
    min-width: 188px !important;
    min-height: 188px !important;
    max-width: 188px !important;
    max-height: 188px !important;
    border-radius: 50%;
    border: 3px solid var(--primary); /* bordure bleue */
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 auto 20px !important;
    display: block !important;
    flex-shrink: 0;
}

.prof-card h3 {
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5625rem;
    margin: 15px 0 8px 0;
}

.prof-subject {
    display: inline-block;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-size: 1.04rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.prof-quote {
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-style: italic;
    margin: 12px 0 0 0;
    line-height: 1.5;
}

.team-visual {
    text-align: center;
}
.team-img {
    max-width: 100%;
    height: auto;
}

/* --- CARDS & GRID --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-10px);
}

/* Méthode Cards */
.card-icon {
    width: 187px;
    height: 187px;
    margin: 0 auto 24px auto;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.method-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
}

.badges {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    background-color: #e0f2fe;
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- PRICING --- */
.pricing-promo {
    background-color: #eefbff;
    color: var(--primary);
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 20px;
    font-weight: 500;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: start;
}

.price-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.price-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.price-card h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-detail {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.promo-text {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* --- DEMO --- */
.calendly-placeholder {
    background-color: #f1f5f9;
    height: 400px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    margin-top: 30px;
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-col p {
    color: var(--white);
    background: transparent;
    margin-left: 20px;
    margin-bottom: 10px;
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-col a:hover { opacity: 1; }

.instagram-link-demo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    background-color: #F8F9FA;
    border: 1px solid #E5E7EB;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    color: #64748B;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.instagram-link-demo:hover {
    background-color: #ffffff;
    color: #1E293B;
    border-color: #D1D5DB;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.instagram-link-demo img {
    flex-shrink: 0;
    vertical-align: middle;
    background: transparent;
    border-radius: 8px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .header-inner { 
        flex-direction: column; 
        gap: 15px;
        width: 100%;
    }
    
    .main-nav { display: none; /* Menu burger à faire plus tard */ }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-grid { 
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 30px;
        width: 100%;
    }
    
    .hero-text,
    .hero-image {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-text h1 { 
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-cta.large {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
    }
    
    .price-card.featured { transform: scale(1); }
    .header-screenshot{display:none}
    
    section {
        padding: 50px 0;
    }
    
    .section-header {
        padding: 0 10px;
    }
    
    .section-header h2 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 1rem !important;
        margin-top: 20px;
    }
    
    .team-section h2 {
        font-size: 1.5rem !important;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Responsive professors grid */
    .professors-grid {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 20px;
    }
    
    .prof-card {
        min-height: 380px;
        height: 380px;
        padding: 20px 15px;
        width: 100%;
    }
    
    .prof-card:nth-child(1),
    .prof-card:nth-child(2),
    .prof-card:nth-child(3),
    .prof-card:nth-child(4),
    .prof-card:nth-child(5),
    .prof-card:nth-child(6),
    .prof-card:nth-child(7) {
        grid-column: 1;
    }
    
    .prof-card:last-child {
        grid-column: 1;
        justify-self: auto;
    }
    
    .prof-avatar {
        width: 120px !important;
        height: 120px !important;
        min-width: 120px !important;
        min-height: 120px !important;
        max-width: 120px !important;
        max-height: 120px !important;
    }
    
    .prof-card h3 {
        font-size: 1.25rem;
    }
}

/* --- RESPONSIVE TABLET --- */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 2.6rem; }
}