/* ==================== FONTS PREMIUM ====================*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700;900&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ==================== VARIABLES - CHARTE GRAPHIQUE PREMIUM GBVIM ====================*/
:root {
    /* Polices Premium */
    --font-premium: 'Playfair Display', serif;  /* Titres élégants & luxe */
    --font-body: 'Montserrat', sans-serif;      /* Corps texte minimaliste */
    
    /* Couleurs primaires - Blanc/Crème (fond premium) */
    --primary: #FAFAF8;        /* Blanc cassé premium */
    --primary-dark: #F5F3F0;   /* Crème très légère */
    
    /* Noir élégant pour texte */
    --text-dark: #1A1A1A;      /* Noir pur texte */
    --text-light: #666666;     /* Gris moyen */
    
    /* Accent - Or/Cuivre discret */
    --accent: #C8A882;         /* Or cuivré discret (comme Bulan) */
    --accent-light: #D4B896;   /* Or cuivré clair */
    --accent-lighter: #E5D4C1; /* Or très clair */
    
    /* Couleurs secondaires */
    --success: #27ae60;        /* Vert succès */
    --danger: #dc3545;         /* Rouge alerte */
    
    /* Neutres */
    --dark: #1A1A1A;           /* Noir profond */
    --light-gray: #F5F3F0;     /* Gris très clair */
    --border: #E5E5E5;         /* Bordures très légères */
    --text: #1A1A1A;           /* Texte défaut */
    
    /* Effets Premium */
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-accent: 0 4px 12px rgba(200, 168, 130, 0.15);
    --transition: all 0.3s ease;
}

/* ==================== RESET ====================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-premium);
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.2;
    color: var(--text-dark);
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--primary);
    font-weight: 400;
    letter-spacing: 0.3px;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-light);
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* ==================== CONTAINER ====================*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== NAVIGATION ====================*/
.navbar {
    background: var(--primary);
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 65px;
    width: auto;
    border-radius: 6px;
}

.logo h1 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin: 0;
}

.logo p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
    font-style: italic;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-accent);
    transform: translateY(0);
    border-radius: 4px;
}

.nav-links a.btn-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--accent-light);
}

/* ==================== BUTTONS ====================*/
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent-lighter);
    border-color: var(--accent);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
}

/* ==================== HERO SECTION ====================*/
.hero {
    background: var(--primary);
    color: var(--text-dark);
    padding: 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 0;
}

.hero::before {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 900;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.globe-animation {
    animation: float 3s ease-in-out infinite;
    display: inline-block;
}

.globe-animation img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ==================== SECTIONS ====================*/
.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* SERVICES */
.services-preview {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card .icon {
    width: 100%;
    height: 200px;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px 8px 0 0;
}

.service-card .icon-touristique {
    background-image: url('/images/visa-touristique.jpg');
}

.service-card .icon-etudiant {
    background-image: url('/images/visa-etudiant.jpg');
}

.service-card .icon-travail {
    background-image: url('/images/visa-travail.jpg');
}

.service-card .icon-residence {
    background-image: url('/images/visa-residence.jpg');
}

.service-card .icon-affaires {
    background-image: url('/images/visa-affaires.jpg');
}

.service-card .icon-familial {
    background-image: url('/images/regroupement-familial.jpg');
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card .price {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

/* BENEFITS */
.benefits {
    padding: 100px 0;
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.benefit-item {
    text-align: center;
}

.benefit-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--accent-lighter);
    color: var(--text-dark);
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-light);
}

/* TESTIMONIALS */
.testimonials {
    padding: 100px 0;
    background: var(--primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-card .profile-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 2px solid var(--accent-lighter);
    object-fit: cover;
    display: block;
}

.testimonial-card .stars {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--accent);
}

.testimonial-card p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-style: italic;
}

.testimonial-card .author {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-card .author-title {
    font-size: 0.85rem;
    color: var(--accent);
}

/* CTA */
.cta {
    padding: 80px 0;
    background: var(--text-dark);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== FOOTER ====================*/
.footer {
    background: var(--light-gray);
    color: var(--text-dark);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links img.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: var(--transition);
    opacity: 0.8;
}

.social-links a:hover img.social-icon {
    opacity: 1;
    transform: scale(1.15);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    opacity: 0.8;
    color: var(--text-light);
}

/* ==================== IMAGE SIDEBAR ====================*/
.image-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    background: white;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    border-radius: 12px 0 0 12px;
    padding: 1.5rem;
    z-index: 999;
    transition: transform 0.3s ease;
}

.image-sidebar.collapsed {
    transform: translateY(-50%) translateX(calc(100% - 50px));
}

.sidebar-toggle {
    position: absolute;
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 100px;
    background: var(--accent);
    border-radius: 12px 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.sidebar-toggle:hover {
    background: var(--accent-light);
}

.toggle-icon {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.image-sidebar.collapsed .toggle-icon {
    transform: scaleX(-1);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 0 0 8px;
}

.sidebar-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sidebar-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 168, 130, 0.3);
}

.sidebar-btn:active {
    transform: translateY(0);
}

/* ==================== RESPONSIVE ====================*/

/* Tablet - 768px et moins */
@media (max-width: 768px) {
    :root {
        --shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
        --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    body {
        letter-spacing: 0.2px;
    }

    .navbar {
        padding: 1rem 0;
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .logo {
        gap: 0.75rem;
    }

    .logo img {
        height: 55px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .logo p {
        display: none;
    }

    .nav-links {
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    .nav-links a {
        padding: 0.4rem 0.8rem;
    }

    /* HERO */
    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    .hero::before {
        width: 300px;
        height: 300px;
        right: -150px;
        opacity: 0.2;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        padding: 0.85rem 1.5rem;
    }

    .btn-large {
        width: 100%;
    }

    /* SECTIONS */
    .services-preview,
    .benefits,
    .testimonials,
    .cta {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .services-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* FOOTER */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* SIDEBAR */
    .image-sidebar {
        width: 240px;
        padding: 1rem;
    }

    .sidebar-image {
        height: 200px;
    }
}

/* Mobile - 480px et moins */
@media (max-width: 480px) {
    :root {
        --shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        --shadow-lg: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    body {
        font-size: 15px;
        line-height: 1.6;
        letter-spacing: 0px;
    }

    .container {
        padding: 0 15px;
    }

    /* NAVBAR */
    .navbar {
        padding: 0.8rem 0;
    }

    .navbar .container {
        flex-wrap: wrap;
        padding: 0 15px;
    }

    .logo {
        gap: 0.5rem;
        width: 100%;
    }

    .logo img {
        height: 50px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        font-size: 0.9rem;
    }

    /* HERO */
    .hero {
        padding: 40px 0;
        min-height: auto;
    }

    .hero::before {
        width: 200px;
        height: 200px;
        right: -100px;
        opacity: 0.15;
    }

    .hero .container {
        gap: 1.5rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn,
    .btn-large {
        width: 100%;
        padding: 0.75rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-image {
        margin-top: 1rem;
    }

    .globe-animation img {
        max-height: 250px;
    }

    /* SECTIONS */
    .services-preview,
    .benefits,
    .testimonials,
    .cta {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
        letter-spacing: -0.5px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .services-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card,
    .benefit-item,
    .testimonial-card {
        padding: 1.2rem;
        border-radius: 6px;
    }

    .service-card h3,
    .benefit-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .service-card p,
    .benefit-item p {
        font-size: 0.85rem;
    }

    .service-card .price {
        font-size: 1.1rem;
    }

    .service-card .icon {
        font-size: 2rem;
    }

    .benefit-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .testimonial-card {
        text-align: center;
    }

    .testimonial-card .profile-image {
        width: 60px;
        height: 60px;
    }

    /* CTA */
    .cta h2 {
        font-size: 1.6rem;
    }

    .cta p {
        font-size: 0.95rem;
    }

    /* FOOTER */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .footer-section a,
    .footer-section p {
        font-size: 0.85rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 1.5rem;
    }
}

/* Extra small - 360px et moins */
@media (max-width: 360px) {
    .hero-content h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

    /* SIDEBAR MOBILE */
    .image-sidebar {
        width: 220px;
        padding: 1rem;
        right: -220px;
        border-radius: 0;
    }

    .image-sidebar.collapsed {
        transform: translateY(-50%) translateX(0);
    }

    .sidebar-toggle {
        left: -40px;
        width: 40px;
        height: 80px;
    }

    .sidebar-image {
        height: 180px;
    }

    .sidebar-content h3 {
        font-size: 0.95rem;
    }

    .sidebar-btn {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
}
