/* ========== RESET & GLOBAL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background: url('tourisme-classic/mauri/acceil-tourist.png') center center fixed;
    background-size: cover;
    color: #2c2c2c;
    line-height: 1.6;
}

.container {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ========== TYPOGRAPHIE ========== */
h1,
h2,
h3,
h4,
.logo,
.stat-number,
.btn,
.service-badge,
.country-tag,
.btn-tourism {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
    font-size: 1.6rem;
}

p,
li,
.faq-answer p,
.contact-item p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #4a4a4a;
}

/* ========== HEADER ========== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    height: 85px;
}

.logo img {
    height: 130px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-left: -100px;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
}

.nav-links a {
    color: #025920;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F1A921;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: #F1A921;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #025920;
}

/* ========== BOUTONS GÉNÉRAUX ========== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #025920;
    color: white;
    box-shadow: 0 4px 10px rgba(2, 89, 32, 0.2);
}

.btn-primary:hover {
    background: #1CA658;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #F1A921;
    color: #025920;
}

.btn-secondary:hover {
    background: #025920;
    color: white;
    transform: translateY(-2px);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px;
    overflow: hidden;
    background: transparent;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    color: white;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

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

/* ========== SECTIONS ========== */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: #025920;
    margin-bottom: 0.75rem;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

/* ========== SERVICES LIST (supprime l'espace entre les blocs) ========== */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ========== TOURISME CLASSIQUE (fond rouge pleine largeur) ========== */
.tourisme-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #a8011c;
    padding: 50px 0;
    margin-bottom: 0;
}

.tourisme-inner {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
}

.tourisme-main-title {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.tourisme-main-title h2 {
    font-size: 2.5rem;
    color: #F1A921;
    margin-bottom: 18px;
}

.tourisme-main-title p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1rem;
}

.tourisme-double {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.tourism-side {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tourism-side:hover {
    transform: translateY(-6px);
}

.country-tag {
    display: inline-block;
    background: #025920;
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 18px;
}

.tourism-header h3 {
    font-size: 1.8rem;
    color: #025920;
    margin-bottom: 12px;
}

.tourism-header p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.tourism-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.tourism-gallery img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 16px;
    transition: 0.3s;
}

.tourism-gallery img:hover {
    transform: scale(1.03);
}

.tourism-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.tourism-list li {
    position: relative;
    padding-left: 28px;
    font-size: 0.95rem;
}

.tourism-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F1A921;
    font-weight: bold;
}

.btn-tourism {
    display: inline-block;
    background: #F1A921;
    color: #025920;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-tourism:hover {
    background: #025920;
    color: white;
    transform: translateY(-2px);
}

/* ========== SANTÉ & ÉTUDES (fond moutarde pleine largeur) ========== */
.services-double-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #F1A921;
    padding: 50px 0;
    margin-top: 0;
}

.services-double-inner {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
}

.services-double-title {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.services-double-title h2 {
    font-size: 2.5rem;
    color: #a8011c;
    margin-bottom: 18px;
}

.services-double-title p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1rem;
}

.services-double-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.service-card-horizontal {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.35s ease;
    padding: 2rem;
}

.service-card-horizontal:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.service-card-horizontal .service-text {
    flex: 1;
}

.service-card-horizontal .service-text h3 {
    font-size: 1.8rem;
    color: #025920;
    margin-bottom: 1rem;
}

.service-card-horizontal .service-text p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.service-card-horizontal .service-text ul li {
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card-horizontal .service-text ul li::before {
    content: "✓";
    color: #F1A921;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-card-horizontal .service-image {
    flex: 1;
}

.service-card-horizontal .service-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.4s;
}

.service-card-horizontal:hover .service-image img {
    transform: scale(1.02);
}

.btn-service-alt {
    display: inline-block;
    background: #a8011c;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
}

.btn-service-alt:hover {
    background: #7a0012;
    transform: translateY(-2px);
    color: white;
}

/* ========== ABOUT ========== */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 2;
}

.about-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.about-stats {
    flex: 1;
    background: linear-gradient(135deg, #025920, #1CA658);
    padding: 2rem;
    border-radius: 28px;
    text-align: center;
    color: white;
}

.stat {
    margin-bottom: 1.8rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #F1A921;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== CONTACT ========== */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info,
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #F1A921;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: #025920;
    margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    font-family: 'Roboto', sans-serif;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #F1A921;
    box-shadow: 0 0 0 3px rgba(241, 169, 33, 0.1);
}

/* ========== FAQ - FOND TRANSPARENT ========== */
.faq {
    background: transparent;
    padding: 5rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;

    /* مهم */
    align-items: start;
}

.faq-item {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    cursor: pointer;
    transition: 0.25s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}



.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #025920;
    flex: 1;
    margin: 0;
}

.faq-question i:first-child {
    font-size: 1.4rem;
    color: #F1A921;
    min-width: 30px;
}

.faq-icon {
    font-size: 1rem;
    color: #025920;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 0;
    padding-left: 2.8rem;
}

.faq-answer.show {
    max-height: 500px;
    margin-top: 1rem;
}

.faq-answer p {
    font-size: 0.98rem;
    letter-spacing: 0.2px;
}

.faq-more {
    text-align: center;
    margin-top: 3rem;
}

/* Disposition alternée pour la page FAQ complète */
.faq-page-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.faq-page-item {
    width: 80%;
    max-width: 700px;
    transition: all 0.3s ease;
}

/* Premier bloc à droite, deuxième à gauche, etc. */
.faq-page-item:nth-child(odd) {
    align-self: flex-end;
    margin-right: 5%;
}

.faq-page-item:nth-child(even) {
    align-self: flex-start;
    margin-left: 5%;
}

/* Sur mobile, on revient à un affichage normal */
@media (max-width: 768px) {
    .faq-page-item {
        width: 95%;
        align-self: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Style des réponses (toujours visible) */
.faq-page-item .faq-answer {
    max-height: none;
    overflow: visible;
    display: block;
    margin-top: 1rem;
    padding-left: 2.8rem;
}

/* Suppression des icônes + / - */
.faq-page-item .faq-icon {
    display: none;
}

/* ========== FOOTER ========== */
footer {
    background: rgba(1, 47, 17, 0.92);
    color: white;
    width: 92%;
    max-width: 1750px;
    margin: 0 auto 40px;
    padding: 3rem 0 1.5rem;
    border-radius: 35px;
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 20;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28), 0 8px 20px rgba(0, 0, 0, 0.15);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-col {
    flex: 1;
    min-width: 180px;
}

.footer-logo {
    height: 100px;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #F1A921;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-col p {
    color: #ddd;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #F1A921;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
}

.social-links a:hover {
    background: #F1A921;
    color: #025920;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .tourisme-double {
        grid-template-columns: 1fr;
    }

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

    .service-card-horizontal {
        flex-direction: column;
        text-align: center;
    }

    .service-card-horizontal .service-image img {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        display: none;
        gap: 1.5rem;
        box-shadow: 0 15px 20px rgba(0, 0, 0, 0.05);
    }

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

    .menu-toggle {
        display: block;
    }

    .tourisme-wrapper {
        padding: 40px 0;
    }

    .services-double-wrapper {
        padding: 40px 0;
    }

    .tourism-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content,
    .contact-wrapper,
    .footer-content {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .tourism-gallery {
        grid-template-columns: 1fr;
    }

    .tourisme-main-title h2 {
        font-size: 1.8rem;
    }

    .services-double-title h2 {
        font-size: 1.8rem;
    }

    .service-text h3 {
        font-size: 1.5rem;
    }
}

/* ================= HEBERGEMENTS ================= */

.villas-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background: #025920;
    padding: 70px 0;
}

.villas-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.villas-title h2 {
    color: #fff;
    margin-bottom: 15px;
}

.villas-title p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

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

/* CARTES */

.villa-card {
    position: relative;
    min-height: 520px;
    border-radius: 25px;
    overflow: hidden;
    padding: 35px 25px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: 0.4s ease;
}

/* IMAGES DE FOND */

.villa1 {
    background-image: url("booking/villa2.png");
}

.villa2 {
    background-image: url("booking/riad.png");
}

.villa3 {
    background-image: url("booking/sejours2-maroc.png");
}

/* OVERLAY SOMBRE */

.villa-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.villa-card>* {
    position: relative;
    z-index: 2;
}

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

/* ICONE */

.villa-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);

    display: flex;
    align-items: center;
    justify-content: center;
}

.villa-icon i {
    font-size: 2rem;
    color: #F1A921;
}

/* TITRE */

.villa-card h3 {
    color: #fff !important;
    margin-bottom: 15px;
    font-size: 2rem;
}

/* TEXTE */

.villa-card p {
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* BOUTON */

.villa-btn {
    display: inline-block;
    background: #F1A921;
    color: #025920;

    padding: 12px 28px;
    border-radius: 40px;

    font-weight: 700;
    transition: 0.3s;
}

.villa-btn:hover {
    background: #fff;
    color: #025920;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .villas-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== RESPONSIVE AMÉLIORÉ ========== */
@media (max-width: 992px) {

    .tourisme-double,
    .services-double-grid,
    .villas-grid {
        grid-template-columns: 1fr;
    }

    .service-card-horizontal {
        flex-direction: column;
        text-align: center;
    }

    .service-image img {
        height: 240px;
    }
}

@media (max-width: 768px) {
    nav {
        height: 70px;
    }

    .logo img {
        height: 80px;
        margin-left: 0;
    }

    .menu-toggle {
        display: block;
        font-size: 1.8rem;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        display: none;
        gap: 1.5rem;
        box-shadow: 0 15px 20px rgba(0, 0, 0, 0.05);
        z-index: 999;
    }

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

    .hero {
        padding: 100px 15px;
    }

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

    .hero-buttons .btn {
        width: 80%;
    }

    .tourism-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content,
    .contact-wrapper,
    .footer-content {
        flex-direction: column;
    }

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

    footer {
        width: 95%;
        border-radius: 25px;
    }

    .villa-card {
        min-height: 480px;
    }

    .detail-single-wrapper {
        padding: 100px 0 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .tourisme-main-title h2,
    .services-double-title h2 {
        font-size: 1.6rem;
    }

    .tourism-gallery {
        grid-template-columns: 1fr;
    }

    .tourism-gallery img {
        height: auto;
    }

    .service-text h3 {
        font-size: 1.5rem;
    }

    .service-card-horizontal {
        padding: 1.5rem;
    }

    .btn,
    .btn-tourism,
    .btn-service-alt,
    .villa-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .footer-col {
        min-width: 100%;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .villa-card h3 {
        font-size: 1.6rem;
    }

    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }
}

/* Correction pour éviter tout débordement horizontal */
iframe,
video,
svg {
    max-width: 100%;
    height: auto;
}