/* ================================
   RAY-LY-CAR - Style professionnel
   ================================ */

:root {
    --primary: #0f1b2d;
    --primary-light: #1a2b44;
    --accent: #d4af37;
    --accent-light: #f0d27a;
    --accent-dark: #b8941f;
    --text: #1a1a1a;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-light: #f7f8fa;
    --border: #e5e7eb;
    --white: #ffffff;
    --success: #10b981;
    --shadow-sm: 0 2px 8px rgba(15, 27, 45, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 27, 45, 0.1);
    --shadow-lg: 0 20px 60px rgba(15, 27, 45, 0.15);
    --radius: 14px;
    --radius-lg: 22px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.highlight {
    color: var(--accent);
}

/* ================================
   BOUTONS
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

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

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-full {
    width: 100%;
}

/* ================================
   NAVIGATION
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 27, 45, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--primary);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

.logo i {
    color: var(--accent);
    font-size: 26px;
}

.logo strong {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: 6px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.nav-phone i {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
}

/* ================================
   HERO
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 76px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 27, 45, 0.92) 0%, rgba(26, 43, 68, 0.85) 50%, rgba(15, 27, 45, 0.95) 100%),
                url('https://coresg-normal.trae.ai/api/ide/v1/text_to_image?prompt=luxury%20black%20sedan%20car%20parked%20at%20night%20in%20modern%20city%20street%20cinematic%20lighting%20professional%20photography&image_size=landscape_16_9') center/cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 17px;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

.hero-feature i {
    color: var(--accent);
    font-size: 18px;
}

/* Booking Widget */
.booking-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-widget h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--bg-light);
}

.booking-widget h3 i {
    color: var(--accent);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

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

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    background: var(--bg-light);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 27, 45, 0.6);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 2;
}

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

.stat {
    text-align: center;
    color: var(--white);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 13px;
    opacity: 0.8;
}

/* ================================
   SECTIONS
   ================================ */
.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--primary);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-light);
    font-size: 16px;
}

/* ================================
   CARDS (Popular & Fleet)
   ================================ */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.car-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.car-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.car-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

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

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

.car-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.car-badge.popular {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
}

.car-fav {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
    border: none;
}

.car-fav:hover,
.car-fav.active {
    color: #ef4444;
    transform: scale(1.1);
}

.car-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.car-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.car-title h3 {
    font-size: 18px;
    color: var(--primary);
}

.car-category {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    background: rgba(212, 175, 55, 0.1);
    padding: 3px 10px;
    border-radius: 6px;
}

.car-specs {
    display: flex;
    gap: 16px;
    margin: 16px 0;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.car-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.car-spec i {
    color: var(--accent);
}

.car-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.car-price {
    display: flex;
    flex-direction: column;
}

.car-price .amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.car-price .amount span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
}

.car-price .period {
    font-size: 12px;
    color: var(--text-light);
}

.car-btn {
    padding: 10px 20px;
    font-size: 14px;
}

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

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

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ================================
   FLEET FILTERS
   ================================ */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

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

.car-card.hide {
    display: none;
}

/* ================================
   PROCESS
   ================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 40px 30px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 60px;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.12);
    font-family: 'Playfair Display', serif;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
}

.process-step h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-light);
    font-size: 15px;
}

/* ================================
   TESTIMONIALS
   ================================ */
.testimonials {
    background: var(--bg-light);
}

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

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 15px;
}

.testimonial-card p {
    color: var(--text);
    font-size: 15px;
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.testimonial-author h4 {
    font-size: 15px;
    color: var(--primary);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-light);
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 10px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.cta-content p strong {
    color: var(--accent);
}

/* ================================
   CONTACT
   ================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 14px;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--primary);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 36px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item i {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    color: var(--accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
    font-size: 16px;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.75);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-brand .social-links a {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent);
}

/* ================================
   FLOATING WHATSAPP & TOAST
   ================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

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

.toast {
    position: fixed;
    top: 90px;
    right: 30px;
    background: var(--success);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    font-weight: 500;
}

.toast.show {
    transform: translateX(0);
}

.toast i {
    font-size: 20px;
}

/* ================================
   ANIMATIONS
   ================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        transform: translateY(-120%);
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        padding: 12px 14px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-phone span {
        display: none;
    }

    .nav-actions .btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 16px;
    }

    .stat-number {
        font-size: 26px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .booking-widget {
        padding: 24px;
    }

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

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

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

    .hero-features {
        flex-direction: column;
        gap: 12px;
    }

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

    .filter-bar {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ================================
   PAGES JURIDIQUES - RAY-LY-CAR
   ================================ */

.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 130px 24px 80px;
    min-height: 70vh;
}

.legal-page h1 {
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 12px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--accent);
}

.legal-page > p:first-of-type {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 32px;
}

.legal-page section {
    margin: 32px 0;
    padding: 28px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.legal-page h2 {
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.legal-page p {
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.legal-page ul {
    padding-left: 24px;
    margin: 16px 0;
}

.legal-page li {
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.legal-page a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-page a:hover {
    color: var(--primary);
}

.legal-page > p:last-child {
    margin-top: 36px;
}

.legal-page > p:last-child a {
    display: inline-block;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.legal-page > p:last-child a:hover {
    background: var(--primary-light);
    color: var(--accent);
}

@media (max-width: 600px) {
    .legal-page {
        padding: 110px 16px 50px;
    }

    .legal-page section {
        padding: 20px 16px;
        margin: 24px 0;
    }

    .legal-page h2 {
        font-size: 1.15rem;
    }
}

