/* ===== Variables & Reset ===== */
:root {
    --primary-dark: #0a1628;
    --primary-blue: #1a365d;
    --accent-blue: #2c5282;
    --light-blue: #4299e1;
    --gold: #d4a853;
    --gold-light: #e8c97a;
    --white: #ffffff;
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 0;
    transition: all 0.3s ease;
}

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

.navbar .logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 50%, var(--accent-blue) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 168, 83, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(66, 153, 225, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.hero-text .hero-logo {
    height: 180px;
    margin-bottom: 24px;
    width: auto;
    object-fit: contain;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.tagline {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-intro {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 16px;
    opacity: 0.95;
}

.hero-belief {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 32px;
    font-style: italic;
}

.cta-button {
    display: inline-block;
    background: var(--gold);
    color: var(--primary-dark);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
}

.cta-button:hover {
    background: transparent;
    color: var(--gold);
}

.hero-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 380px;
    margin-left: auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ===== Sections communes ===== */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--accent-blue);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Vision Section (Nos engagements) ===== */
.vision-section {
    padding: 100px 0;
    background: var(--gray-100);
}

.vision-header {
    text-align: center;
    margin-bottom: 48px;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.vision-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(26, 54, 93, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(66, 153, 225, 0.12);
}

.vision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 54, 93, 0.15);
    border-color: rgba(212, 168, 83, 0.3);
}

.vision-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(66, 153, 225, 0.1));
    border-radius: 12px;
    margin-bottom: 20px;
}

.vision-card h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
}

.vision-card p {
    color: var(--primary-dark);
    font-size: 0.95rem;
    line-height: 1.65;
    opacity: 0.92;
}

.vision-card ul {
    list-style: none;
}

.vision-card li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: var(--primary-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.vision-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.vision-card li strong {
    color: var(--primary-blue);
}

/* ===== About Section ===== */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 380px;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Services Section ===== */
.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.services-header {
    text-align: center;
    margin-bottom: 48px;
}

.services-header .section-subtitle {
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(26, 54, 93, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(66, 153, 225, 0.12);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 54, 93, 0.15);
    border-color: rgba(212, 168, 83, 0.3);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(66, 153, 225, 0.1));
    border-radius: 12px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.35;
}

.service-card p {
    color: var(--primary-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.services-etudiants-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 36px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 16px;
    text-decoration: none;
    color: var(--white);
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.services-etudiants-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 54, 93, 0.3);
    color: var(--white);
}

.services-etudiants-icon {
    font-size: 2.5rem;
}

.services-etudiants-text {
    flex: 1;
}

.services-etudiants-text strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.services-etudiants-text span {
    font-size: 0.95rem;
    opacity: 0.9;
}

.services-etudiants-arrow {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .services-etudiants-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .services-etudiants-text strong {
        font-size: 1.05rem;
    }
}

.services-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    padding: 48px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(26, 54, 93, 0.2);
}

.services-cta h3 {
    font-size: 1.35rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.services-cta ul {
    list-style: none;
    margin-bottom: 28px;
    display: inline-block;
    text-align: left;
}

.services-cta li {
    padding: 8px 0;
    font-size: 1.05rem;
    padding-left: 28px;
    position: relative;
}

.services-cta li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.services-cta .cta-button {
    background: var(--gold);
    color: var(--primary-dark);
}

.services-cta .cta-button:hover {
    background: var(--gold-light);
    color: var(--primary-dark);
}

/* ===== Domaines d'intervention ===== */
.domaines-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.domaines-header {
    text-align: center;
    margin-bottom: 48px;
}

.domaines-subtitle {
    color: var(--accent-blue);
    font-size: 1.1rem;
    margin-top: -8px;
}

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

.domaine-card {
    background: var(--white);
    padding: 28px 26px;
    border-radius: 16px;
    border: 1px solid rgba(66, 153, 225, 0.12);
    box-shadow: 0 2px 16px rgba(26, 54, 93, 0.06);
    transition: all 0.3s ease;
}

.domaine-card:hover {
    box-shadow: 0 12px 32px rgba(26, 54, 93, 0.12);
    transform: translateY(-4px);
    border-color: rgba(212, 168, 83, 0.3);
}

.domaine-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.domaine-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.2), rgba(66, 153, 225, 0.12));
    border-radius: 12px;
}

.domaine-card h3 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

.domaine-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.domaine-tag {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: var(--primary-blue);
    background: rgba(66, 153, 225, 0.1);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.domaine-card:hover .domaine-tag {
    background: rgba(212, 168, 83, 0.15);
}

.domaine-card-wide {
    grid-column: 1 / -1;
}

/* ===== Pourquoi nous choisir ===== */
.pourquoi-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
}

.pourquoi-section .section-title {
    color: var(--white);
}

.pourquoi-header {
    text-align: center;
    margin-bottom: 48px;
}

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

.pourquoi-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 36px 28px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.pourquoi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.pourquoi-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

.pourquoi-card p {
    color: var(--primary-dark);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ===== Nos clients ===== */
.clients-section {
    padding: 100px 0;
    background: var(--white);
}

.clients-header {
    text-align: center;
    margin-bottom: 48px;
}

.clients-subtitle {
    color: var(--accent-blue);
    font-size: 1.1rem;
    margin-top: -8px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.client-card {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(66, 153, 225, 0.15);
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(26, 54, 93, 0.15);
    border-color: rgba(212, 168, 83, 0.4);
}

.client-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.2), rgba(66, 153, 225, 0.15));
    border-radius: 14px;
}

.client-card h3 {
    color: var(--primary-blue);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.client-card p {
    color: var(--primary-dark);
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}

/* ===== Founder Section ===== */
.founder-section {
    padding: 100px 0;
    background: var(--primary-dark);
}

.founder-section .section-title {
    color: var(--white);
}

.founder-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 48px;
}

.founder-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.founder-image img {
    width: 100%;
    height: auto;
    display: block;
}

.founder-text h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 8px;
}

.founder-role {
    color: var(--light-blue);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.founder-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.founder-text h4 {
    color: var(--gold);
    font-size: 1.25rem;
    margin: 32px 0 16px;
}

.founder-text ul {
    list-style: none;
    margin-bottom: 24px;
}

.founder-text li {
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
}

.founder-text li::before {
    content: "✓";
    color: var(--gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.founder-mission {
    font-size: 1.1rem;
    color: var(--gold-light) !important;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 100px 0;
    background: var(--gray-100);
}

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

.contact-block {
    background: var(--white);
    padding: 28px 32px;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(26, 54, 93, 0.08);
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.contact-block p {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin: 0;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: var(--gold);
}

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

.contact-note {
    text-align: center;
    color: var(--accent-blue);
    font-size: 0.95rem;
    margin: 0;
}

.contact-whatsapp-block {
    padding: 0;
    background: transparent;
    box-shadow: none;
}


.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
    color: var(--white);
}

.whatsapp-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.whatsapp-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.whatsapp-label {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.95;
}

.whatsapp-number {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-whatsapp {
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
}

.footer-whatsapp:hover {
    text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    padding: 48px 0;
    text-align: center;
}

.footer-logo {
    height: 88px;
    margin-bottom: 16px;
    width: auto;
    object-fit: contain;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.footer-tagline {
    color: var(--gold) !important;
    font-weight: 500;
    margin-top: 8px;
}

.footer-contact {
    margin-top: 12px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-credit {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-credit a {
    color: var(--gold);
    text-decoration: none;
}

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

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text .hero-logo {
        margin-left: auto;
        margin-right: auto;
        height: 150px;
    }

    .hero-image {
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-image img {
        max-height: 320px;
        object-fit: cover;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 320px;
        margin: 0 auto;
    }

    .founder-content {
        grid-template-columns: 1fr;
    }

    .founder-image {
        max-width: 320px;
        margin: 0 auto;
    }

    .vision-grid {
        grid-template-columns: 1fr;
    }

    .domaines-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .domaine-card-wide {
        grid-column: auto;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .domaines-grid {
        grid-template-columns: 1fr;
    }

    .domaine-card-wide {
        grid-column: auto;
    }

    .pourquoi-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {
    .navbar .logo img {
        height: 36px;
    }

    .hero-text .hero-logo {
        height: 100px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-cta {
        padding: 36px 24px;
    }

    .contact-item {
        font-size: 1.2rem;
        padding: 20px 24px;
    }

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

    .vision-section, .about-section, .services-section, .domaines-section, .pourquoi-section, .clients-section, .founder-section, .contact-section {
        padding: 60px 0;
    }

    .pourquoi-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

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

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-btn {
        padding: 20px 24px;
    }

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

/* Very small screens */
@media (max-width: 480px) {
    .hero {
        padding: 100px 16px 60px;
    }

    .hero-text .hero-logo {
        height: 100px;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 16px;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }
}
