/* =========================
   AB TAXI - STYLE.CSS
   ========================= */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #222222;
    line-height: 1.6;
}

.service-page {
    position: relative;
    min-height: calc(100vh - 170px);
    display: grid;
    place-items: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #fff8d9, #ffffff 55%, #f7f7f7);
    overflow: hidden;
}

.service-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.45) saturate(0.85);
    opacity: 0.8;
    z-index: 0;
}

.service-page > * {
    position: relative;
    z-index: 1;
}

.service-detail {
    width: min(100%, 760px);
    padding: 0 0 60px;
    text-align: center;
    background-color: #ffffff;
    border-top: 5px solid #ffc400;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.service-visual {
    position: relative;
    height: 220px;
    margin: 0 0 24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(0.9) contrast(1.08) brightness(0.72);
}

.service-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.46));
}

.service-detail > :not(.service-visual) {
    padding-left: 40px;
    padding-right: 40px;
}

.service-icon {
    display: block;
    margin-top: 34px;
    margin-bottom: 16px;
    font-size: 3rem;
}

.service-detail h2 {
    margin-bottom: 16px;
    color: #111111;
    font-size: clamp(2rem, 5vw, 3rem);
}

.service-detail p {
    max-width: 560px;
    margin: 0 auto 30px;
    color: #555555;
    font-size: 1.1rem;
}

.service-page-airport::before {
    background-image: url('https://images.unsplash.com/photo-1529074963764-98f45c47344b?auto=format&fit=crop&w=1400&q=80');
}

.service-page-gare::before {
    background-image: url('https://images.unsplash.com/photo-1514565131-fce0801e5785?auto=format&fit=crop&w=1400&q=80');
}

.service-page-local::before {
    background-image: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=1400&q=80');
}

.service-page-longue-distance::before {
    background-image: url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1400&q=80');
}

.service-page-professionnel::before {
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1400&q=80');
}

.service-visual-airport {
    background-image: url('https://images.unsplash.com/photo-1529074963764-98f45c47344b?auto=format&fit=crop&w=1400&q=80');
}

.service-visual-gare {
    background-image: url('https://images.unsplash.com/photo-1514565131-fce0801e5785?auto=format&fit=crop&w=1400&q=80');
}

.service-visual-local {
    background-image: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=1400&q=80');
}

.service-visual-longue-distance {
    background-image: url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1400&q=80');
}

.service-visual-professionnel {
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1400&q=80');
}

.service-visual-medical {
    background-image: url('../assets/assurance%20maladie.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(0.85) contrast(1.05) brightness(0.78);
    height: 220px;
}

.service-personalized {
    max-width: 650px;
    margin: 0 auto 30px;
    padding: 28px 24px;
    text-align: left;
    background: linear-gradient(135deg, #fff8d9, #ffffff 60%, #fffdf4);
    border-left: 4px solid #ffc400;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.service-personalized h3 {
    margin-bottom: 14px;
    color: #111111;
    font-size: 1.4rem;
}

.service-personalized p,
.service-personalized li {
    max-width: none;
    margin: 0 0 12px;
    color: #444444;
    font-size: 1rem;
}

.service-personalized ul {
    padding-left: 20px;
    margin: 0;
}

/* =========================
   HEADER
   ========================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 8%;
    background: #000000;
    border-bottom: 1px solid rgba(255, 196, 0, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

nav .convention-badge {
    width: 86px;
    height: 86px;
    margin-left: 10px;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(13, 42, 115, 0.22);
}

.convention-badge {
    position: relative;
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border: 4px solid #0d2a73;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #edf3ff 100%);
    color: #0d2a73;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: inset 0 0 0 2px rgba(13, 42, 115, 0.1), 0 10px 22px rgba(13, 42, 115, 0.22);
    overflow: hidden;
}

.service-badge {
    margin: 0 auto 18px;
    width: 150px;
    height: 150px;
    border: 0;
    background: transparent;
    box-shadow: 0 14px 28px rgba(13, 42, 115, 0.2);
}

.service-badge img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.convention-badge::before {
    content: "";
    position: absolute;
    inset: 9px;
    border: 2px solid rgba(13, 42, 115, 0.4);
    border-radius: 50%;
}

.convention-badge .badge-top {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.52rem;
    line-height: 1;
    white-space: nowrap;
}

.convention-badge .badge-letter {
    position: relative;
    display: block;
    font-size: 4.2rem;
    line-height: 1;
    margin-top: 12px;
}

.convention-badge .badge-bottom {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.42rem;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
}

header h1 {
    margin: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-logo img {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.site-logo-text strong {
    color: #ffc400;
    font-size: clamp(1.5rem, 2vw, 2rem);
    letter-spacing: 0.08em;
    line-height: 1;
    font-weight: 800;
}

.site-logo-text small {
    color: #ffffff;
    font-size: 0.48rem;
    letter-spacing: 0.12em;
    line-height: 1;
    white-space: nowrap;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

nav a {
    position: relative;
    color: #f5f5f5;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 8px 4px;
    transition: color 0.25s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #ffc400;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

nav a:hover,
nav a:focus-visible {
    color: #ffc400;
}

nav a:hover::after,
nav a:focus-visible::after {
    transform: scaleX(1);
}

/* =========================
   ACCUEIL
   ========================= */

#accueil {
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 80px 20px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.7)
    );
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image: url('../assets/paris-taxi.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    transform: scale(1.08);
    z-index: 0;
}

#accueil > :not(.hero-image) {
    position: relative;
    z-index: 1;
}

#accueil h2 {
    font-size: 52px;
    margin-bottom: 20px;
}

#accueil p {
    font-size: 20px;
    max-width: 650px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* =========================
   BOUTONS
   ========================= */

button {
    background-color: #ffc400;
    color: #111111;

    border: none;
    border-radius: 6px;

    padding: 15px 30px;
    margin: 8px;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

button:hover {
    background-color: #e5af00;
    transform: translateY(-2px);
}

.hero-button {
    display: inline-block;
    min-width: 178px;
    margin: 0;
    padding: 14px 22px;
    border: 2px solid #ffc400;
    border-radius: 999px;
    background: #ffc400;
    color: #111111;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 196, 0, 0.28);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-button-whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}

.hero-button:hover,
.hero-button:focus-visible {
    background: transparent;
    color: #ffc400;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(255, 196, 0, 0.4);
}

.hero-button-whatsapp:hover,
.hero-button-whatsapp:focus-visible {
    border-color: #25d366;
    color: #25d366;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}

/* =========================
   SERVICES
   ========================= */

.services-reviews-wrapper {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.services-reviews-wrapper > .map-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.72;
    pointer-events: none;
}

.services-reviews-wrapper > .map-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(247, 247, 247, 0.58);
}

.services-reviews-wrapper > .map-background iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 1100px;
    border: 0;
}

#services {
    position: relative;
    padding: 90px 10% 100px;
    text-align: center;
    background-color: transparent;
}

.services-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

#services h2 {
    position: relative;
    grid-column: 1 / -1;
    margin-bottom: 10px;
    color: #111111;
    font-size: clamp(2rem, 4vw, 2.75rem);
}

#services h2::after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, #ffc400, #f8d45b);
    margin: 16px auto 0;
    border-radius: 999px;
}

.service-link {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-height: 200px;
    padding: 28px 24px;
    color: #1a1a1a;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 214, 0.9)),
        linear-gradient(180deg, rgba(17, 17, 17, 0.03), rgba(17, 17, 17, 0.06));
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 18px;
    text-decoration: none;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    overflow: hidden;
}

.service-link::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ffc400, #f5b700);
}

.service-link::after {
    content: "";
    position: absolute;
    inset: auto -35% -45% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 196, 0, 0.08);
}

.service-link:hover,
.service-link:focus-visible {
    color: #111111;
    background:
        linear-gradient(135deg, rgba(255, 249, 221, 0.98), rgba(255, 255, 255, 0.96)),
        linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.08));
    transform: translateY(-6px);
    border-color: rgba(255, 196, 0, 0.45);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.12);
    outline: none;
}

.service-link .service-icon-main {
    font-size: 2.4rem;
    line-height: 1;
}

.service-link .service-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.service-link .service-subtitle {
    font-size: 0.92rem;
    color: #666666;
}

/* =========================
   RESERVATION
   ========================= */

#reservation {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #111111;
    color: white;

    padding: 80px 10%;

    text-align: center;
}

#reservation::before {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: min(48vw, 420px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: url('../assets/logo-ab-taxi-optimized.png') center / contain no-repeat;
    opacity: 0.1;
    z-index: -1;
}

#reservation h2 {
    position: relative;
    color: #ffc400;
    font-size: 38px;

    margin-bottom: 35px;
}

form {
    position: relative;
    max-width: 650px;

    margin: auto;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #ffffff;
    font-weight: 700;
    text-align: left;
}

form input {
    width: 100%;

    padding: 16px;

    border: none;
    border-radius: 6px;

    font-size: 16px;

    outline: none;
}

form .form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

form input:focus {
    box-shadow: 0 0 0 3px #ffc400;
}

/* =========================
   FOOTER
   ========================= */

footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #050505;
    color: #dddddd;
    text-align: center;
    padding: 24px 20px;
}

.footer-content {
    position: relative;
    z-index: 1;
    width: min(100%, 900px);
    margin: 0 auto;
}

footer h2 {
    color: #ffc400;
    margin-bottom: 24px;
}

.footer-contact {
    display: grid;
    grid-template-columns: 1fr auto auto auto 1fr;
    gap: 8px;
    align-items: center;
}

.footer-contact p {
    margin: 0;
    padding: 6px;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
    color: #ffc400;
    text-decoration: underline;
}

.footer-contact .social-item {
    display: grid;
    place-items: center;
}

.footer-contact .social-link {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.25rem;
}

.copyright {
    margin: 14px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #aaaaaa;
}

/* =========================
   RESPONSIVE - MOBILE
   ========================= */

@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 8px;
        padding: 8px 5%;
    }

    .brand {
        justify-content: center;
    }

    .site-logo img {
        width: 46px;
        height: 46px;
    }

    .site-logo-text strong {
        font-size: 20px;
    }

    .site-logo-text small {
        font-size: 0.38rem;
        letter-spacing: 0.08em;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
    }

    nav a {
        font-size: 14px;
    }

    #accueil {
        min-height: 500px;
    }

    #accueil h2 {
        font-size: 36px;
    }

    #accueil p {
        font-size: 17px;
    }

    #services,
    #avis,
    #reservation {
        padding: 60px 20px;
    }

    #services h2,
    #avis h2,
    #reservation h2 {
        font-size: 30px;
    }

    .services-content {
        grid-template-columns: 1fr;
    }

    .services-content > h2 {
        margin-bottom: 24px;
    }

    .service-detail {
        padding: 45px 24px;
    }

    .footer-contact {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .footer-contact > p:not(.social-item) {
        flex: 1 0 100%;
    }

    .footer-contact .social-item {
        flex: 0 0 32px;
    }

    .reviews {
        grid-template-columns: 1fr;
    }

    button {
        width: 100%;
        max-width: 300px;
    }
}