/* ========================================
   CICOTOURS - STYLES COMPLETS AVEC IMAGES
   Agence de Voyage sur Mesure au Sénégal
   ======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #257bbd;
    --secondary-color: #e18621;
    --accent-color: #e18621;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

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

/* ======================================== 
   HEADER & NAVIGATION 
   ======================================== */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}



.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    display: block;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

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

.language-selector-nav select {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-selector-nav select:hover {
    background: rgba(255, 255, 255, 0.3);
}

.language-selector-nav option {
    background: var(--primary-color);
    color: var(--white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: 0.3s;
    border-radius: 2px;
}

/* ======================================== 
   HERO SECTION AVEC IMAGE DE FOND
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: linear-gradient(rgba(30, 60, 114, 0.3), rgba(42, 82, 152, 0.4)), 
                url('images/hero/hero-bg-1.jpg') center/cover no-repeat fixed;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s backwards;
}

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

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(225, 134, 33, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(225, 134, 33, 0.4);
    background: #c97419;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ======================================== 
   LICENCE BADGE
   ======================================== */
.licence-badge {
    background: linear-gradient(135deg, #155724 0%, #28a745 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: var(--shadow);
}

.badge-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    flex-wrap: wrap;
}

.badge-icon {
    font-size: 2rem;
    background: white;
    color: #28a745;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.badge-text {
    font-size: 1.1rem;
}

/* ======================================== 
   SECTIONS GÉNÉRALES
   ======================================== */
section {
    padding: 5rem 0;
    position: relative;
}

section:first-of-type {
    padding-top: 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ======================================== 
   ABOUT SECTION
   ======================================== */
.about-section {
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid var(--accent-color);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ======================================== 
   SERVICES SECTION
   ======================================== */
.services-section {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--accent-color);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ======================================== 
   CIRCUITS SECTION AVEC IMAGES
   ======================================== */
.circuits-section {
    background: var(--white);
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tab-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 123, 189, 0.3);
}

.circuits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.circuit-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-color);
    display: flex;
    flex-direction: column;
}

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

/* IMAGE POUR CIRCUIT */
.circuit-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.circuit-card:hover .circuit-image {
    transform: scale(1.1);
}

.circuit-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.circuit-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.circuit-duration {
    display: inline-block;
    background: rgba(37, 123, 189, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.circuit-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.circuit-highlights {
    list-style: none;
    margin-bottom: 1.5rem;
}

.circuit-highlights li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.circuit-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.circuit-footer {
    padding: 1.5rem 2rem;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e0e0e0;
    gap: 1rem;
}

.circuit-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price-note {
    font-size: 0.8rem;
    color: var(--text-light);
}

.btn-details {
    padding: 0.7rem 1.5rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-details:hover {
    background: #c97419;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(225, 134, 33, 0.3);
}

/* ======================================== 
   EXCURSIONS GRID AVEC IMAGES
   ======================================== */
.excursions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.excursion-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.excursion-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.excursion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.excursion-card:hover .excursion-image img {
    transform: scale(1.15);
}

.excursion-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(225, 134, 33, 0.4);
}

.excursion-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.excursion-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.excursion-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
    flex-grow: 1;
}

.excursion-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.detail-icon {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.excursion-price-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    gap: 1rem;
}

.excursion-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.btn-book {
    padding: 0.7rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-book:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 123, 189, 0.3);
}

/* ======================================== 
   ÉVÉNEMENTIEL SECTION
   ======================================== */
.evenementiel-section {
    background: var(--bg-light);
}

.event-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.event-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 5px solid var(--accent-color);
}

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

.event-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.event-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.event-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.event-features {
    list-style: none;
}

.event-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.event-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.5rem;
}

/* ======================================== 
   DESTINATIONS AVEC IMAGES
   ======================================== */
.destinations-section {
    background: var(--white);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.destination-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.destination-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.destination-card:hover .destination-image img {
    transform: scale(1.15);
}

.destination-card h3 {
    color: var(--primary-color);
    margin: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.destination-card p {
    color: var(--text-light);
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

/* ======================================== 
   LAZY LOADING IMAGES
   ======================================== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ======================================== 
   FAQ SECTION
   ======================================== */
.faq-section {
    background: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ======================================== 
   CONTACT SECTION - MIS À JOUR
   ======================================== */
.contact-section {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

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

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #e8f4f8;
    transform: translateX(5px);
}

.info-icon {
    font-size: 2rem;
    color: var(--accent-color);
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.licence-info {
    border: 2px solid #28a745;
    background: #f0fff4;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 123, 189, 0.1);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid,
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #28a745;
}

/* Compteur de caractères */
.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.3rem;
}

.char-counter.warning {
    color: #ff9800;
    font-weight: 600;
}

.char-counter.danger {
    color: #dc3545;
    font-weight: 600;
}

/* Bouton submit avec loader */
.btn-submit {
    grid-column: 1 / -1;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 123, 189, 0.3);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-submit .btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Messages de formulaire */
.form-message {
    grid-column: 1 / -1;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

/* ======================================== 
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--accent-color);
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-keywords {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* ======================================== 
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .circuits-grid,
    .excursions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .circuits-grid,
    .excursions-grid {
        grid-template-columns: 1fr;
    }

    .circuit-footer,
    .excursion-price-wrapper {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .btn-details,
    .btn-book {
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Navigation Mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .nav-menu li {
        width: 100%;
        padding: 0.5rem 0;
    }

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

    .menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero-title {
        font-size: 2.2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    /* Sections */
    .section-title {
        font-size: 2rem;
    }

    .section-intro {
        font-size: 1rem;
    }

    /* Grids */
    .features-grid,
    .services-grid,
    .circuits-grid,
    .excursions-grid,
    .destinations-grid,
    .event-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .circuit-image,
    .excursion-image img,
    .destination-image img {
        height: 180px;
    }

    .badge-text {
        font-size: 0.9rem;
    }

    .tabs-nav {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* ======================================== 
   ANIMATIONS & TRANSITIONS
   ======================================== */

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn-primary:active,
.btn-secondary:active,
.btn-details:active,
.btn-book:active {
    transform: scale(0.95);
}

/* Smooth scroll behavior */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ======================================== 
   PRINT STYLES
   ======================================== */
@media print {
    .header,
    .hero-buttons,
    .btn-primary,
    .btn-secondary,
    .btn-details,
    .btn-book,
    .menu-toggle,
    .contact-form {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    section {
        page-break-inside: avoid;
        padding: 1rem 0;
    }
}

/* ======================================== 
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ======================================== 
   LOADING STATES
   ======================================== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 3px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ======================================== 
   ACCESSIBILITY
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-secondary,
    .btn-details,
    .btn-book {
        border: 2px solid currentColor;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    /* Vous pouvez ajouter des styles dark mode ici si nécessaire */
}

/* ======================================== 
   BOUTONS FLOTTANTS CONTACT - AMÉLIORÉS
   ======================================== */
.floating-contact {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.floating-btn svg {
    width: 28px;
    height: 28px;
}

/* WhatsApp */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    animation: none;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8);
    }
}

/* Email */
.email-btn {
    background: linear-gradient(135deg, #EA4335 0%, #C5221F 100%);
}

.email-btn:hover {
    background: linear-gradient(135deg, #C5221F 0%, #A61C1C 100%);
}

/* Téléphone */
.phone-btn {
    background: linear-gradient(135deg, #4285F4 0%, #1967D2 100%);
}

.phone-btn:hover {
    background: linear-gradient(135deg, #1967D2 0%, #174EA6 100%);
}

/* Tooltips */
.floating-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 75px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.floating-btn::after {
    content: '';
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.floating-btn:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.floating-btn:hover::after {
    opacity: 1;
}

/* Animations d'entrée */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-contact {
    animation: slideInFromRight 0.6s ease-out 0.5s backwards;
}

.floating-btn:nth-child(1) {
    animation: slideInFromRight 0.6s ease-out 0.6s backwards;
}

.floating-btn:nth-child(2) {
    animation: slideInFromRight 0.6s ease-out 0.7s backwards;
}

.floating-btn:nth-child(3) {
    animation: slideInFromRight 0.6s ease-out 0.8s backwards;
}

/* Responsive */
@media (max-width: 768px) {
    .floating-contact {
        right: 15px;
        bottom: 20px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
    }

    .floating-btn svg {
        width: 26px;
        height: 26px;
    }
    
    .floating-btn::before,
    .floating-btn::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .floating-btn svg {
        width: 24px;
        height: 24px;
    }

    .floating-contact {
        bottom: 80px;
    }
}

/* ======================================== 
   FIN DES STYLES
   ======================================== */