/* style.css - IKAOA Groupe International */

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

:root {
    --gold: #194c7f;
    --gold-light: #3ca0db;
    --gold-dark: #253e52;
    --navy: #0f172a;
    --navy-light: #1e293b;
    --navy-dark: #0c0e16;
    --offwhite: #f8fafc;
    --white: #FFFFFF;
    --black: #0f172a;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 30px 50px -15px rgba(0, 0, 0, 0.3);
}

body {
    font-family: var(--font-secondary);
    color: var(--black);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 140px 0;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--navy);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease, visibility 1s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-text {
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-weight: 300;
    color: var(--gold);
    letter-spacing: 10px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.loader-line {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: lineGrow 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes lineGrow {
    0% { width: 0; opacity: 0; }
    50% { width: 100%; opacity: 1; }
    100% { width: 0; opacity: 0; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 15px 0;
}

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

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-menu li a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.navbar-transparent .nav-menu > li > a {
    color: var(--black);
}

.navbar.scrolled .nav-menu > li > a {
    color: var(--black);
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: var(--transition);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    padding: 15px 0;
    border-radius: 5px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    list-style: none;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    color: var(--black) !important;
    padding: 10px 20px;
    display: block;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: var(--offwhite);
    color: var(--gold) !important;
    padding-left: 25px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.navbar-transparent .menu-toggle span {
    background-color: var(--black);
}

.navbar.scrolled .menu-toggle span {
    background-color: var(--black);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
    border-radius: 0;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--white);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--navy);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.hero-slider {
    height: 100%;
}

.slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.9) 0%, rgba(10, 31, 68, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
    display: block;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 6rem;
    font-weight: 300;
    letter-spacing: 5px;
    line-height: 1.1;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
    color: var(--white);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 600px;
    opacity: 0.95;
    color: var(--offwhite);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s both;
}

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


/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--offwhite) 0%, var(--white) 100%);
    position: relative;
    z-index: 10;
    margin-top: 0;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--gold);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-light);
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--navy);
    margin-bottom: 15px;
}

.section-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 20px auto;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray);
}

/* Filiales Section */
.filiales {
    background: linear-gradient(135deg, var(--offwhite) 0%, var(--white) 100%);
    position: relative;
    z-index: 5;
    margin-top: 40px;
    border-top: 3px solid var(--gold);
    padding: 140px 0 !important;
}

/* Filiales Grid */
.filiales-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-top: 60px;
}

.filiale-card {
    background-color: var(--white);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    animation: fadeInUp 0.8s ease backwards;
}

.filiale-card:nth-child(1) { animation-delay: 0.1s; }
.filiale-card:nth-child(2) { animation-delay: 0.2s; }
.filiale-card:nth-child(3) { animation-delay: 0.3s; }
.filiale-card:nth-child(4) { animation-delay: 0.4s; }

.filiale-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.35);
}

.card-image {
    height: 280px;
    position: relative;
    overflow: hidden;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.filiale-card:hover .card-image img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.filiale-card:hover .card-overlay {
    opacity: 1;
}

.card-content {
    padding: 35px 30px;
}

.card-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.45rem;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--navy);
}

.card-content p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.7;
    display: block;
}

.card-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: block;
    margin-top: 10px;
}

/* Vision Section */
.vision {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    position: relative;
    margin-top: 40px;
    border-top: 2px solid var(--gold-light);
}

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

.vision-text .section-subtitle {
    color: var(--gold);
}

.vision-text h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.vision-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.vision-stats {
    display: flex;
    gap: 40px;
}

.vision-stat-number {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 300;
    color: var(--gold-light);
    display: block;
    line-height: 1;
}

.vision-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.vision-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Contact CTA */
.contact-cta {
    background-color: var(--offwhite);
    text-align: center;
    padding: 120px 0;
    margin-top: 40px;
    border-top: 2px solid var(--gold-light);
}

.cta-content h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--navy);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-info p {
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--gold);
    padding-left: 5px;
}

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

.footer-bottom p {
    opacity: 0.5;
    font-size: 0.85rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Filiale Detail */
.filiale-detail .filiale-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.filiale-intro h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    color: var(--navy);
    margin-bottom: 20px;
}

.filiale-intro p {
    font-size: 1.1rem;
    color: var(--gray);
}

.filiale-intro img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--gold);
}

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

.service-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    color: var(--navy);
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    padding: 20px;
    background-color: var(--offwhite);
    border-radius: 5px;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 50%;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--navy);
}

.step-desc {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    .vision-content {
        grid-template-columns: 1fr;
    }
    .vision-image {
        order: -1;
    }
    .filiale-intro {
        grid-template-columns: 1fr;
    }
    .filiales-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-menu li a {
        color: var(--black) !important;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .filiales-grid {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
}