/* ==========================
   ORBIS MOBILITY AGENCY
   Styles principaux
   ========================== */

/* === VARIABLES CSS === */
:root {
    /* Couleurs principales */
    --bleu-nuit: #031c60;
    --dore: #d4af37;
    --bordeaux: #7d1128;
    --blanc: #ffffff;
    --noir: #000000;
    --gris-clair: #f5f5f5;
    --gris-moyen: #666666;
    
    /* Typographie */
    --font-principale: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --font-secondaire: 'Playfair Display', Georgia, serif;
    
    /* Espacements */
    --espacement-xs: 0.5rem;
    --espacement-sm: 1rem;
    --espacement-md: 2rem;
    --espacement-lg: 4rem;
    --espacement-xl: 6rem;
    
    /* Ombres */
    --ombre-legere: 0 1px 3px rgba(0, 0, 0, 0.08);
    --ombre-moyenne: 0 2px 8px rgba(0, 0, 0, 0.1);
    --ombre-forte: 0 4px 12px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* === RESET ET BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-principale);
    color: var(--noir);
    line-height: 1.6;
    background-color: var(--blanc);
    overflow-x: hidden;
}

/* === TYPOGRAPHIE === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondaire);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--espacement-sm);
}

h1 {
    font-size: 3.5rem;
    color: var(--bleu-nuit);
}

h2 {
    font-size: 2.5rem;
    color: var(--bleu-nuit);
    margin-bottom: var(--espacement-md);
}

h3 {
    font-size: 1.75rem;
    color: var(--bleu-nuit);
}

p {
    margin-bottom: var(--espacement-sm);
    color: var(--gris-moyen);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--bleu-nuit);
    padding: 1.25rem 0;
    z-index: 1000;
    box-shadow: var(--ombre-moyenne);
}

.navbar.scrolled {
    padding: 0.75rem 0;
}

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

.logo {
    display: inline-flex;
    align-items: center;
}

.logo-image {
    height: 70px;
    width: auto;
    display: block;
}

.logo span {
    color: var(--dore);
}

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

.nav-link {
    color: var(--blanc);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--dore);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.btn-primary {
    background-color: var(--bordeaux);
    color: var(--blanc);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
}

.nav-link.btn-primary::after {
    display: none;
}

.nav-link.btn-primary:hover {
    background-color: #a01437;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--blanc);
    margin: 3px;
    transition: var(--transition);
}

/* === HERO SECTION === */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(115, 147, 184, 0.95) 0%, rgba(44, 110, 180, 0.25) 80%),
                url('../images/hero.png') center/cover no-repeat; 
    color: var(--blanc);
    text-align: center;
    margin-top: 80px;
}

.hero-pages{

    height: 50vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(115, 147, 184, 0.95) 0%, rgba(44, 110, 180, 0.25) 80%), 
    url('../images/hero.png') center/cover no-repeat;
    color: var(--blanc);
    text-align: center;
    margin-top: 80px; 
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
}

.hero h1 {
    color: var(--blanc);
    font-size: 4rem;
    margin-bottom: var(--espacement-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-pages h1 {
    color: var(--blanc);
    font-size: 4rem;
    margin-bottom: var(--espacement-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}


.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--espacement-lg);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === BOUTONS === */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--bordeaux);
    color: var(--blanc);
    box-shadow: var(--ombre-moyenne);
}

.btn-primary:hover {
    background-color: #a01437;
}

.btn-secondary {
    background-color: transparent;
    color: var(--blanc);
    border: 2px solid var(--dore);
}

.btn-secondary:hover {
    background-color: var(--dore);
    color: var(--bleu-nuit);
}

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

.btn-outline:hover {
    background-color: var(--bordeaux);
    color: var(--blanc);
}

/* === CONTENEUR GÉNÉRAL === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--espacement-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--espacement-lg);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--bordeaux) 0%, var(--dore) 100%);
    margin: 1.5rem auto;
    border-radius: 2px;
}

/* === SECTION PRÉSENTATION === */
.presentation {
    background-color: var(--gris-clair);
    text-align: center;
}

.presentation-content {
    max-width: 800px;
    margin: 0 auto;
}

.presentation h2 {
    color: var(--bleu-nuit);
    margin-bottom: var(--espacement-md);
}

.presentation p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gris-moyen);
}

/* === SECTION SERVICES === */
.services {
    background-color: var(--blanc);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: var(--espacement-md);
}

.service-card {
    background: var(--blanc);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--ombre-legere);
    transition: var(--transition);
    border: 1px solid #e8e8e8;
}

.service-card:hover {
    box-shadow: var(--ombre-moyenne);
    border-color: var(--bleu-nuit);
}

.service-icon {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--espacement-sm);
    display: block;
}

.service-card h3 {
    color: var(--bleu-nuit);
    margin-bottom: var(--espacement-sm);
    font-size: 1.5rem;
}

.service-card p {
    color: var(--gris-moyen);
    margin-bottom: var(--espacement-md);
}

.service-card .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.75rem;
}

/* === SECTION DESTINATIONS === */
.destinations {
    background: var(--bleu-nuit);
    color: var(--blanc);
}

.destinations h2 {
    color: var(--blanc);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: var(--espacement-md);
}

.destinations-showcase {
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    padding: 5rem 0;
}

.destination-countries-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.country-card {
    min-height: 200px;
    border-radius: 14px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    position: relative;
    box-shadow: 0 8px 20px rgba(3, 28, 96, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.country-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(3, 28, 96, 0.18);
}

.country-card-content {
    width: 100%;
    padding: 1rem;
    color: var(--blanc);
    background: linear-gradient(180deg, rgba(3, 28, 96, 0.05) 0%, rgba(3, 28, 96, 0.9) 100%);
}

.country-card h3 {
    color: var(--blanc);
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.country-card p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0;
    font-size: 0.86rem;
    line-height: 1.4;
}

.destination-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.destination-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--dore);
}

.destination-card h3 {
    color: var(--dore);
    margin-bottom: var(--espacement-sm);
    font-size: 1.5rem;
}

.destination-list {
    list-style: none;
    padding-left: 0;
}

.destination-list li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.destination-list li:last-child {
    border-bottom: none;
}

.destination-list li::before {
    content: '•';
    margin-right: 0.75rem;
    color: var(--dore);
    font-weight: bold;
}

/* === SECTION PROCESSUS === */
.processus {
    background-color: var(--gris-clair);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: var(--espacement-lg) auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: var(--espacement-lg);
    position: relative;
}

.timeline-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--bleu-nuit);
    color: var(--dore);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--dore);
}

.timeline-content {
    flex: 1;
    background: var(--blanc);
    padding: 1.75rem;
    border-radius: 10px;
    box-shadow: var(--ombre-legere);
    border-left: 3px solid var(--dore);
}

.timeline-content h3 {
    color: var(--bleu-nuit);
    margin-bottom: 0.5rem;
}

/* === SECTION CHIFFRES CLÉS === */
.chiffres {
    background: var(--bleu-nuit);
    color: var(--blanc);
    text-align: center;
}

.chiffres h2 {
    color: var(--blanc);
}

.chiffres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: var(--espacement-lg);
}

.chiffre-item {
    padding: 2rem;
}

.chiffre-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--dore);
    margin-bottom: 0.5rem;
    font-family: var(--font-secondaire);
}

.chiffre-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* === SECTION TÉMOIGNAGES === */
.testimonials {
    background-color: var(--blanc);
}

.testimonials-carousel {
    max-width: 800px;
    margin: var(--espacement-lg) auto;
    position: relative;
}

.testimonial-card {
    background: var(--gris-clair);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--ombre-legere);
    border: 1px solid #e8e8e8;
}

.testimonial-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto var(--espacement-sm);
    border: 4px solid var(--dore);
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--gris-moyen);
    margin-bottom: var(--espacement-md);
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--bleu-nuit);
    margin-bottom: 0.25rem;
}

.testimonial-destination {
    color: var(--dore);
    font-size: 0.95rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: var(--espacement-md);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--bordeaux);
    width: 30px;
    border-radius: 6px;
}

/* === SECTION FAQ === */
.faq {
    background-color: var(--gris-clair);
}

.faq-container {
    max-width: 900px;
    margin: var(--espacement-lg) auto;
}

.faq-item {
    background: var(--blanc);
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--ombre-legere);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--bleu-nuit);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--gris-clair);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--dore);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem;
    color: var(--gris-moyen);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* === FOOTER === */
.footer {
    background-color: var(--bleu-nuit);
    color: var(--blanc);
    padding: var(--espacement-lg) 0 var(--espacement-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: var(--espacement-md);
}

.footer-section h3 {
    color: var(--dore);
    margin-bottom: var(--espacement-sm);
}

.footer-section p,
.footer-section a:not(.social-icon) {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: var(--dore);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: var(--espacement-sm);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: var(--bleu-nuit);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.social-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    flex: 0 0 18px;
    fill: currentColor;
}

.social-icon:hover {
    background-color: var(--dore);
    color: var(--bleu-nuit);
    transform: translateY(-2px);
}

.footer .social-icon {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    box-shadow: none;
}

.footer .social-icon:hover {
    background-color: #ffffff;
    color: var(--bleu-nuit);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--espacement-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* === ANIMATIONS === */
/* Animations désactivées pour sobriété maximale */

/* === RESPONSIVE === */
@media screen and (max-width: 1100px) {
    .destination-countries-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .destinations-showcase {
        padding: 3.5rem 0;
    }

    .destination-countries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .country-card {
        min-height: 170px;
    }
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--bleu-nuit);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--ombre-forte);
        padding: 2rem 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .burger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .services-grid,
    .destinations-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .chiffres-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .presentation div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}

/* === CARROUSEL SERVICES === */
.service-slider {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--ombre-moyenne);
    background: var(--gris-clair);
}

.service-slide {
    display: none;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-slide.active {
    display: block;
}

.service-slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.service-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--transition);
}

.service-dot.active {
    background: var(--dore);
    transform: scale(1.1);
}

/* === FORMULAIRE CONTACT === */
.contact-container {
    max-width: 900px;
    margin: var(--espacement-lg) auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: var(--bleu-nuit);
    padding: 3rem;
    border-radius: 15px;
    color: var(--blanc);
}

.contact-info h3 {
    color: var(--dore);
    margin-bottom: var(--espacement-md);
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: var(--espacement-md);
}

.contact-item-icon {
    width: 2.6rem;
    height: 2.6rem;
    min-width: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    color: var(--dore);
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.contact-form {
    background: var(--gris-clair);
    padding: 3rem;
    border-radius: 15px;
}

.contact-alert {
    padding: 0.9rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-alert-success {
    background: #e8f7ee;
    border: 1px solid #8ccfa1;
    color: #1c6b3a;
}

.contact-alert-error {
    background: #fdecec;
    border: 1px solid #ebb2b2;
    color: #8f1f1f;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--bleu-nuit);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-principale);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dore);
}

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

@media screen and (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}
