/* ============================================
   YOBBU - CSS COMPLET STANDALONE
   À placer dans public/css/yobbu.css
   ============================================ */

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

:root {
    --yobbu-dark: #0d2a4e;
    --yobbu-light: #e6f0f8;
    --yobbu-gradient: linear-gradient(135deg, #0d2a4e 0%, #164a8f 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

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

a {
    text-decoration: none;
}

/* === CONTAINER === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 42, 78, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo-icon {
    width: 48px;
    height: 48px;
    background: var(--yobbu-dark);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

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

.navbar-link {
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar-link:hover,
.navbar-link.active {
    color: var(--yobbu-light);
}

.navbar-cta {
    background: var(--yobbu-dark);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar-cta:hover {
    background: #164a8f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 42, 78, 0.3);
}

.navbar-mobile-toggle {
    display: none;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-mobile-menu {
    display: none;
    background: rgba(13, 42, 78, 0.95);
}

.navbar-mobile-menu.active {
    display: block;
}

.navbar-mobile-menu-items {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.navbar-mobile-link {
    display: block;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: background 0.3s ease;
}

.navbar-mobile-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--yobbu-gradient);
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    filter: blur(80px);
}

.hero-blob-1 {
    top: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    animation: float 3s ease-in-out infinite;
}

.hero-blob-2 {
    bottom: 5rem;
    right: 2.5rem;
    width: 24rem;
    height: 24rem;
    animation: float 3s ease-in-out infinite 1s;
}

.hero-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title-highlight {
    color: var(--yobbu-light);
}

.hero-description {
    font-size: 1.25rem;
    color: #e5e7eb;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: white;
    color: var(--yobbu-dark);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.hero-cta-primary:hover {
    background: var(--yobbu-light);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: 2px solid white;
    color: white;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
    background: white;
    color: var(--yobbu-dark);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-number {
    font-size: 1.875rem;
    font-weight: 700;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: #d1d5db;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

/* === SECTIONS COMMUNES === */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--yobbu-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 42rem;
    margin: 0 auto;
}

/* === GRID LAYOUTS === */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* === CARDS === */
.card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-light {
    background: var(--yobbu-light);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    background: var(--yobbu-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--yobbu-dark);
    margin-bottom: 0.75rem;
    text-align: center;
}

.card-text {
    color: #4b5563;
    text-align: center;
    line-height: 1.6;
}

/* === STEP CARDS === */
.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 5rem;
    height: 5rem;
    background: var(--yobbu-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(13, 42, 78, 0.2);
}

.step-number span {
    color: white;
    font-size: 1.875rem;
    font-weight: 700;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--yobbu-dark);
    margin-bottom: 1rem;
}

.step-text {
    color: #6b7280;
    line-height: 1.6;
}

/* === VEHICLE CARDS === */
.vehicle-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vehicle-image {
    height: 16rem;
    background: linear-gradient(135deg, var(--yobbu-light), #f9fafb);
    overflow: hidden;
}

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

.vehicle-content {
    padding: 1.5rem;
}

.vehicle-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.vehicle-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--yobbu-dark);
    margin-bottom: 0.5rem;
}

.vehicle-subtitle {
    color: #6b7280;
    margin-bottom: 1rem;
}

.vehicle-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.vehicle-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: #4b5563;
    font-size: 0.875rem;
}

.vehicle-features svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
    flex-shrink: 0;
}

.vehicle-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--yobbu-dark);
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vehicle-cta:hover {
    background: #164a8f;
}

/* === TESTIMONIAL CARDS === */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #fbbf24;
}

.testimonial-text {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    background: var(--yobbu-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--yobbu-dark);
}

.testimonial-author-name {
    font-weight: 600;
    color: var(--yobbu-dark);
}

.testimonial-author-role {
    font-size: 0.875rem;
    color: #6b7280;
}

/* === STATS SECTION === */
.stats-section {
    background: var(--yobbu-dark);
    color: white;
    padding: 6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: #d1d5db;
}

/* === CTA SECTION === */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(
        to bottom right,
        var(--yobbu-light),
        white,
        var(--yobbu-light)
    );
}

.cta-content {
    /* max-width: 60rem; */
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--yobbu-dark);
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* === FOOTER === */
.footer {
    background: var(--yobbu-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: left;
    /* gap: 0.75rem;
    margin-bottom: 1.5rem; */
}

.footer-logo-icon {
    width: 3rem;
    height: 3rem;
    background: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon span {
    color: var(--yobbu-dark);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    margin-top: 0 !important;
}

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

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #d1d5db;
}

.footer-contact svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.footer-bottom-text {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

/* === ANIMATIONS === */
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* === RESPONSIVE === */
@media (min-width: 640px) {
    /* .hero-title {
        font-size: 1.6rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.6rem;
        line-height: 1.1;
    } */

    .hero-buttons,
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

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

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    /* .hero-title {
        font-size: 1.6rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.6rem;
        line-height: 1.1;
    } */

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

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

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

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-title {
        font-size: 3rem;
    }

    .cta-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }

    .navbar-mobile-toggle {
        display: block;
    }

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

    .section {
        padding: 4rem 0;
    }

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

    .footer-bottom-text {
        font-size: 0.8rem;
    }

    .footer-bottom-links {
        width: 100%;
        justify-content: space-between;
    }

    .footer-bottom-links a {
        font-size: 0.8rem;
    }
}

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}
.text-white {
    color: white;
}
.bg-white {
    background: white;
}
.hidden {
    display: none;
}
.block {
    display: block;
}

/* Style pour la floating card */
.hero-floating-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* ============================================
   FIX HERO PAGE À PROPOS - 1 COLONNE CENTRÉE
   À ajouter à yobbu-complete.css ou yobbu-animations.css
   ============================================ */

/* Hero About - Layout 1 colonne centrée */
.hero-about .hero-container {
    grid-template-columns: 1fr !important;
    max-width: 900px;
    margin: 0 auto;
}

.hero-about .hero-content {
    text-align: center;
}

/* Alternative : ajouter une classe spécifique aux pages sans image */
.hero-centered .hero-container {
    grid-template-columns: 1fr !important;
    text-align: center;
}

.hero-centered .hero-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-about .hero-container,
    .hero-centered .hero-container {
        grid-template-columns: 1fr !important;
    }
}
/* Animation de l'image hero au chargement */
.hero-image {
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* Responsive : cacher la floating card sur mobile */
@media (max-width: 1024px) {
    .hero-floating-card {
        display: none;
    }
}

/* Amélioration des icônes sociales - Blanc avec fond bleu clair au hover */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #e6f0f8;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.footer-social-link:hover::before {
    transform: scale(1);
}

.footer-social-link svg {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.footer-social-link:hover svg {
    fill: #0d2a4e;
    transform: scale(1.1);
}

/* Animation pour les liens de navigation */
.footer-link-hover {
    position: relative;
    display: inline-block;
}

.footer-link-hover::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e6f0f8;
    transition: width 0.3s ease;
}

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

/* Contact items améliorés */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #d1d5db;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    color: #e6f0f8;
    transform: translateX(5px);
}

.footer-contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    /* margin-top: 0.25rem; */
}

.footer-contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: #e6f0f8;
}

.logo-white {
    filter: brightness(0) invert(1);
    width: 150px;
    height: auto;
    margin: 0 !important;
}

.footer .logo-white {
    transform: scale(1.2); /* Réduit à 80% */
    transform-origin: left top;
    filter: brightness(0) invert(1);
    width: 150px;
    height: auto;
    margin: 0 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-white {
        filter: brightness(0) invert(1);
        width: 120px;
        height: auto;
        margin: 0 !important;
    }

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