@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --rouge: #c0392b;
    --rouge-hover: #e30613;
    --jaune: #ffca08;
    --noir: #1a1a1a;
    --gris-clair: #f4f4f4;
    --gris-texte: #555;
    --blanc: #fff;
    --transition: all .3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background: var(--blanc);
}

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

/* ===== BANNIÈRE GALASS ===== */
.galass-top-bar {
    background: var(--rouge);
    color: var(--blanc);
    padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    position: relative;
    z-index: 3000;
    text-align: center;
}
.btn-download, .btn-download-top {
    display: inline-block;
    background: var(--blanc);
    color: var(--rouge);
    border: 0;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}
.btn-download:hover, .btn-download-top:hover {
    background: var(--noir);
    color: var(--blanc);
}
.close-galass, .close-top-bar {
    cursor: pointer;
    font-weight: 700;
    margin-left: 5px;
}

/* ===== NAVIGATION ===== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 15px rgba(0,0,0,.08);
}
.logo img { height: 45px; width: auto; }
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--noir);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}
.nav-links a.active, .nav-links a:hover { color: var(--rouge); }
.nav-links li:last-child a {
    background: var(--rouge);
    color: var(--blanc);
    padding: 8px 18px;
    border-radius: 4px;
}
.nav-links li:last-child a:hover { background: var(--rouge-hover); color: var(--blanc); }

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: transparent;
    border: 0;
    padding: 5px;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--noir);
    border-radius: 2px;
    display: block;
}

/* ===== HERO COMMUN ===== */
.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--blanc);
    text-align: center;
}
.hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.12);
    z-index: 2;
}
.hero-content {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%,-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 3;
    color: var(--blanc);
}
.hero-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem,5vw,2.8rem);
    line-height: 1.2;
    text-shadow: 0 5px 20px rgba(0,0,0,.5);
}
.hero-banner p {
    font-size: clamp(.9rem,2vw,1.2rem);
    text-shadow: 0 3px 10px rgba(0,0,0,.5);
}
.hero-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 13px 25px;
    background: var(--rouge);
    color: var(--blanc);
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: var(--transition);
}
.hero-btn:hover { background: var(--rouge-hover); transform: translateY(-2px); }

/* ===== INDEX : INTRO ===== */
.intro-section {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 10%;
    background: var(--blanc);
}
.text-box, .image-container { flex: 1; min-width: 300px; }
.text-box h2, .projects-section > h2 {
    color: var(--rouge);
    text-transform: uppercase;
    margin-bottom: 25px;
    font-size: 2.2rem;
}
.text-box p { color: var(--gris-texte); line-height: 1.8; }
.about-button {
    margin-top: 25px;
    padding: 13px 25px;
    border: 0;
    border-radius: 5px;
    background: var(--rouge);
    color: var(--blanc);
    font-weight: 700;
    cursor: pointer;
}
.image-container img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

/* ===== INDEX : PROJETS ===== */
.projects-section {
    padding: 80px 10%;
    background: var(--gris-clair);
    text-align: center;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    min-height: 360px;
    background: #000;
}
.project-card > img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform .5s ease;
}
.project-card:hover > img { transform: scale(1.05); }
.project-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 30px 20px 22px;
    color: var(--blanc);
    text-align: left;
    background: linear-gradient(transparent,rgba(0,0,0,.9));
}
.project-overlay h3 { margin-bottom: 8px; color: var(--jaune); }

/* ===== INDEX : SERVICES ===== */
.service-block {
    padding: 80px 10%;
    background: var(--blanc);
    text-align: center;
}
.service-block h2 {
    color: var(--rouge);
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.service-intro {
    max-width: 900px;
    margin: 0 auto 45px;
    color: var(--gris-texte);
    line-height: 1.8;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 35px;
    text-align: left;
}
.service-card {
    background: var(--gris-clair);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.service-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.service-card h3 { padding: 25px 25px 10px; color: var(--noir); }
.service-card p { padding: 0 25px 30px; color: var(--gris-texte); }

/* ===== PARTENAIRES ===== */
.partners-section {
    padding: 45px 10%;
    text-align: center;
    background: var(--gris-clair);
}
.partners-title {
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 25px;
    text-transform: uppercase;
}
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}
.partners-grid img {
    max-width: 150px;
    max-height: 70px;
    object-fit: contain;
}

/* ===== CONTACT ===== */
.contact-section {
    background: var(--gris-clair);
    padding-bottom: 80px;
}
.contact-page-hero { height: 40vh; min-height: 280px; }
.hero-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 1;
}
.contact-page-hero .hero-overlay { background: rgba(0,0,0,.4); }
.contact-page-hero h1 {
    position: relative;
    z-index: 3;
    font-family: 'Montserrat',sans-serif;
    font-size: 2.5rem;
}
.contact-page-hero h1::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--rouge);
    margin: 10px auto 0;
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: -40px auto 0;
    background: var(--blanc);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
    position: relative;
    z-index: 10;
}
.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 50px;
    color: var(--blanc);
    background:
        linear-gradient(rgba(192,57,43,.9),rgba(26,26,26,.9)),
        url('./img/gallery2.jpg') center/cover;
}
.contact-info h3 { font-size: 1.8rem; margin-bottom: 25px; }
.contact-info p { margin-bottom: 15px; }
.contact-form { flex: 1.2; min-width: 300px; padding: 50px; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--rouge); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.btn-submit {
    background: var(--rouge);
    color: var(--blanc);
    border: 0;
    width: 100%;
    padding: 18px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
}
.btn-submit:hover { background: var(--rouge-hover); }

/* ===== GALASS ===== */
.galass-page-hero .hero-overlay { background: rgba(0,0,0,.08); }
.galass-page-hero h1 { text-transform: uppercase; }
.galass-section {
    background: var(--blanc);
    padding: 80px 10%;
    text-align: center;
}
.galass-section > h2 {
    font-size: 2.2rem;
    color: var(--rouge);
    margin-bottom: 50px;
    text-transform: uppercase;
}
.app-details-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    text-align: left;
}
.app-image-container, .app-text-container { flex: 1; min-width: 300px; }
.app-image-container img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
}
.app-text-container { flex: 1.2; }
.app-text-container h3 { font-size: 2rem; margin-bottom: 20px; color: var(--noir); }
.main-p { font-size: 1.1rem; color: var(--gris-texte); line-height: 1.8; margin-bottom: 25px; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-bottom: 35px;
}
.feature-item h4 { color: var(--rouge); margin-bottom: 5px; }
.feature-item p { font-size: .95rem; color: #666; }
.download-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-rider, .btn-driver {
    padding: 15px 30px;
    border: 0;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 14px;
}
.btn-rider { background: var(--rouge-hover); color: var(--blanc); }
.btn-driver { background: var(--jaune); color: var(--noir); border: 2px solid var(--jaune); }
.btn-rider:hover, .btn-driver:hover { transform: translateY(-2px); }

/* ===== MODALE GALASS ===== */
.store-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.store-modal.active { display: flex; }
.store-modal-content {
    width: 100%;
    max-width: 430px;
    background: var(--blanc);
    border-radius: 18px;
    padding: 35px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 70px rgba(0,0,0,.3);
}
.store-modal-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: var(--rouge);
    color: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
}
.store-modal-content h3 { font-size: 1.5rem; margin-bottom: 8px; }
.store-modal-content p { color: var(--gris-texte); margin-bottom: 25px; }
.store-buttons { display: flex; flex-direction: column; gap: 12px; }
.store-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #ddd;
}
.apple-store { background: #000; color: #fff; border-color: #000; }
.google-store { background: #fff; color: #222; }
.store-logo { font-size: 23px; }
.close-modal {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 25px;
    color: #777;
    border-radius: 50%;
}

/* ===== FOOTER COMMUN ===== */
footer {
    background: var(--noir);
    color: var(--blanc);
    padding: 50px 10% 25px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
}
.footer-brand, .footer-heading { margin-bottom: 15px; }
.footer-brand { color: var(--rouge); }
.footer-description, .footer-contact, .footer-column p {
    opacity: .75;
    font-size: .9rem;
    margin-bottom: 8px;
}
.footer-content a {
    color: var(--blanc);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    opacity: .75;
}
.footer-content a:hover { color: var(--rouge); opacity: 1; }
.footer-contact {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-icon { color: var(--rouge); }
.copyright {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    font-size: .8rem;
    opacity: .5;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    nav { padding: 15px 5%; }
    .menu-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--blanc);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,.1);
    }
    .nav-links.show { display: flex; }
    .nav-links li { width: 100%; text-align: center; padding: 12px 0; }
    .nav-links a { font-size: 13px; }
    .nav-links li:last-child a { display: inline-block; }

    .galass-top-bar { font-size: 12px; padding: 9px 10px; gap: 8px; }

    .hero-content { width: 94%; }
    .hero-banner h1 { font-size: clamp(1.5rem,8vw,2rem); }
    .hero-banner p { font-size: clamp(.7rem,3vw,1rem); }

    .intro-section { flex-direction: column; padding: 55px 5%; gap: 30px; }
    .text-box, .image-container { min-width: 100%; }
    .projects-section, .service-block, .galass-section { padding: 55px 5%; }
    .projects-grid, .service-grid { grid-template-columns: 1fr; }
    .project-card { min-height: 320px; }
    .project-card > img { height: 320px; }

    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-contact { justify-content: center; }
    footer { padding: 45px 7% 25px; }

    .contact-container { margin: 20px 15px 50px; }
    .contact-info, .contact-form { min-width: 100%; padding: 30px 25px; }
    .contact-page-hero { height: 35vh; min-height: 250px; }
    .contact-page-hero h1 { font-size: 1.8rem; }

    .app-details-container { gap: 30px; }
    .app-image-container, .app-text-container { min-width: 100%; }
    .download-buttons { flex-direction: column; width: 100%; }
    .btn-rider, .btn-driver { width: 100%; }
}

@media (max-width: 480px) {
    .logo img { height: 40px; }
    .galass-top-bar { font-size: 11px; }
    .btn-download { font-size: 10px; padding: 5px 12px; }
    .hero-banner h1 { font-size: 1.4rem; }
    .hero-banner p { font-size: .65rem; }
    .text-box h2, .projects-section > h2, .service-block h2, .galass-section > h2 { font-size: 1.7rem; }
    .app-text-container h3 { font-size: 1.6rem; }
    .main-p { font-size: 1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .store-modal-content { width: 95%; padding: 28px 18px; }
}
