/* ==========================================================================
   HOMEPAGE SPECIFIC STYLES
   ========================================================================== */

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    padding-bottom: var(--space-3xl);
    background-color: var(--color-graphite);
    color: var(--color-white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(20,20,20,0.7) 0%, rgba(20,20,20,0.3) 50%, rgba(20,20,20,0.95) 100%);
    z-index: 2;
}

.hero-centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-3xl);
}

.hero-content-centered {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto var(--space-lg);
}

.hero-title-centered {
    color: var(--color-white);
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 24px rgba(0,0,0,0.6);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.15;
}

.hero-subtitle-centered {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* FILTER TABS ABOVE SEARCH PILL */
.hero-filter-tabs {
    position: relative;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.hero-filter-tab {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-filter-tab:hover, .hero-filter-tab.active {
    background: var(--color-copper);
    border-color: var(--color-copper);
    color: white;
    transform: translateY(-2px);
}

/* ROUNDED PILL SEARCH MODULE */
.search-module-pill {
    position: relative;
    z-index: 4;
    background-color: var(--color-white);
    border-radius: 60px;
    padding: 10px 14px 10px 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    max-width: 950px;
    width: 100%;
    margin: 0 auto var(--space-2xl);
    color: var(--color-graphite);
}

.search-form-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pill-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
    min-width: 0;
}

.pill-group label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-graphite);
    margin-bottom: 2px;
}

.pill-control {
    border: none;
    background: transparent;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-stone);
    width: 100%;
    outline: none;
    cursor: pointer;
    padding: 2px 0;
}

.pill-divider {
    width: 1px;
    height: 36px;
    background-color: rgba(0, 0, 0, 0.1);
}

.pill-action {
    flex-shrink: 0;
}

.btn-pill-search {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--color-copper);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 20px rgba(184, 115, 51, 0.4);
}

.btn-pill-search:hover {
    background-color: #a06028;
    transform: scale(1.06);
}

@media (max-width: 850px) {
    .search-module-pill {
        border-radius: 24px;
        padding: 20px;
    }
    .search-form-pill {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .pill-divider {
        width: 100%;
        height: 1px;
    }
    .btn-pill-search {
        width: 100%;
        border-radius: 14px;
        height: 50px;
        gap: 8px;
    }
    .btn-pill-search::after {
        content: "Rechercher un véhicule";
        font-weight: 700;
        font-size: var(--text-base);
    }
}

/* CIRCULAR VEHICLE CATEGORY ICONS */
.hero-categories {
    position: relative;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(16px, 4vw, 36px);
    margin-top: var(--space-md);
}

.category-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.category-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    color: white;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.category-icon-circle svg {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.category-icon-item:hover .category-icon-circle {
    background: var(--color-copper);
    border-color: var(--color-copper);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(184, 115, 51, 0.5);
}

.category-icon-item:hover .category-icon-circle svg {
    transform: scale(1.1);
}

.category-icon-item span {
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* TRUST INDICATORS */
.trust-bar {
    padding: var(--space-2xl) 0;
    background-color: var(--color-warm-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

@media (min-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--color-graphite);
    margin-bottom: var(--space-2xs);
}

.trust-number span {
    color: var(--color-copper);
}

.trust-label {
    font-size: var(--text-sm);
    color: var(--color-stone);
    font-weight: 500;
}

/* FLEET PREVIEW SECTION */
.section-fleet {
    padding: var(--space-3xl) 0;
    background-color: var(--color-warm-white);
}

.section-header {
    max-width: 650px;
    margin-bottom: var(--space-2xl);
}

.fleet-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

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

.fleet-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.fleet-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.fleet-img {
    height: 320px;
    background-color: var(--color-graphite);
    position: relative;
    overflow: hidden;
}

.fleet-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fleet-card:hover .fleet-img img {
    transform: scale(1.06);
}

.fleet-details {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fleet-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin: var(--space-md) 0;
    padding: var(--space-sm) 0;
    border-top: var(--border-light);
    border-bottom: var(--border-light);
    color: var(--color-stone);
    font-size: var(--text-sm);
}

/* EDITORIAL WHY US SECTION */
.section-editorial {
    padding: var(--space-3xl) 0;
    background-color: var(--color-graphite);
    color: var(--color-white);
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .editorial-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.editorial-grid.reverse {
    direction: ltr;
}

@media (min-width: 1024px) {
    .editorial-grid.reverse {
        grid-template-columns: 0.9fr 1.1fr;
    }
    .editorial-grid.reverse .editorial-text {
        order: 1;
    }
    .editorial-grid.reverse .editorial-img {
        order: 2;
    }
}

.editorial-title {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.editorial-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.editorial-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.editorial-number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--color-copper);
    font-weight: 700;
    line-height: 1;
}

/* DESTINATIONS SECTION */
.section-destinations {
    padding: var(--space-3xl) 0;
    background-color: var(--color-cream);
}

.dest-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .dest-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.dest-card {
    position: relative;
    height: 440px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--color-white);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
}

.dest-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.dest-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(20,20,20,0.85) 0%, rgba(20,20,20,0.2) 60%, rgba(20,20,20,0) 100%);
    z-index: 2;
}

.dest-content {
    position: relative;
    z-index: 3;
}

/* TESTIMONIALS SECTION */
.section-testimonials {
    padding: var(--space-3xl) 0;
    background-color: var(--color-warm-white);
}

.testi-card {
    background-color: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .testi-card {
        grid-template-columns: 350px 1fr;
    }
}

.testi-img {
    height: 350px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.testi-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-icon {
    font-size: var(--text-4xl);
    color: var(--color-copper);
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

/* FAQ ACCORDION */
.accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.accordion-item {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-weight: 600;
    font-size: var(--text-lg);
    color: var(--color-graphite);
    cursor: pointer;
    transition: var(--transition-fast);
}

.accordion-header:hover {
    color: var(--color-copper);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    color: var(--color-copper);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 var(--space-lg);
}

.accordion-item.active .accordion-body {
    padding-bottom: var(--space-md);
}

/* CTA FULLSCREEN SECTION */
.section-cta {
    padding: var(--space-3xl) 0;
    background-color: var(--color-graphite);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* FLOATING WHATSAPP ASSISTANCE WIDGET */
.floating-help-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatBob 3s ease-in-out infinite;
}

.floating-help-text {
    background-color: var(--color-white);
    color: var(--color-graphite);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: var(--text-sm);
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.05);
    display: none;
}

@media (min-width: 600px) {
    .floating-help-text {
        display: block;
    }
}

.floating-whatsapp-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1) rotate(6deg);
    background-color: #20b858;
}

@keyframes floatBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
