/*
   Page vitrine publique (portail/accueil.blade.php) — s'appuie sur les
   variables de marque et les classes .pt-logo / .pt-actions / .pt-btn-reserver
   / .pt-lien-pro / .pt-brand-bar déjà définies dans portail.css (chargé avant
   ce fichier) pour que l'en-tête reste identique visuellement à celui du
   panneau départs/arrivées. Tout le reste (héros, sections, pied de page)
   est propre à cette page.
*/

:root {
    --ac-navy: #0B1F3C;
    --ac-navy-dark: #071426;
    --ac-navy-light: #16305A;
    --ac-green: #208040;
    --ac-red: #D3191A;
    --ac-gold: #F7C210;
    --ac-ink: #1c2333;
    --ac-muted: #6b7689;
    --ac-bg-alt: #f4f6fb;
}

.ac-body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ac-ink);
    background: #fff;
    overflow-x: hidden;
}

.ac-body h1, .ac-body h2, .ac-body h3, .ac-body h4 {
    font-weight: 700;
    color: var(--ac-navy);
}

/* ---------------------------------------------------------------- En-tête */
.ac-entete {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    transition: background-color .35s ease, box-shadow .35s ease;
}

.ac-entete-pleine {
    background: var(--ac-navy);
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .2);
}

.ac-entete-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: .9rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.ac-entete .pt-logo img { height: 52px; width: auto; }

@media (max-width: 575px) {
    .ac-entete .pt-logo img { height: 40px; }
}

/* En dessous de 720px, portail.css force .pt-actions et .pt-btn-reserver à
   100% de large — ça suppose que le logo est passé à la ligne au-dessus
   (c'est le cas sur .pt-entete-haut, qui a son propre flex-wrap). Sans ce
   même flex-wrap ici, le logo restait sur la même ligne que le bouton et le
   débordait. */
@media (max-width: 720px) {
    .ac-entete-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.ac-nav {
    flex: 1;
    gap: 1.75rem;
}

.ac-nav a {
    color: #e7ecf5;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 500;
    opacity: .9;
    transition: opacity .2s ease;
}

.ac-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.ac-entete .pt-actions { margin-left: auto; }

/* ------------------------------------------------------------------ Héros */
.ac-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.ac-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ac-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: acKenBurns 20s ease-in-out infinite alternate;
}

@keyframes acKenBurns {
    from { transform: scale(1.05) translate3d(0, 0, 0); }
    to   { transform: scale(1.15) translate3d(-1%, -1%, 0); }
}

.ac-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 20, 38, .55) 0%, rgba(7, 20, 38, .75) 55%, rgba(7, 20, 38, .95) 100%);
}

.ac-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    padding: 8rem 1.5rem 4rem;
    width: 100%;
}

.ac-kicker {
    display: inline-block;
    padding: .4rem 1rem;
    border-radius: 999px;
    background: rgba(247, 194, 16, .16);
    border: 1px solid rgba(247, 194, 16, .4);
    color: var(--ac-gold);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1.5rem;
}

.ac-hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    line-height: 1.15;
    max-width: 820px;
    margin-bottom: 1.5rem;
}

.ac-hero-lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #dbe2f0;
    max-width: 620px;
    margin-bottom: 2.25rem;
}

.ac-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.ac-scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: #fff;
    font-size: 1.4rem;
    opacity: .8;
    animation: acBounce 2s ease-in-out infinite;
}

@keyframes acBounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ------------------------------------------------------------- Boutons CTA */
.ac-btn-primary {
    background: linear-gradient(135deg, var(--ac-gold), #e0a800);
    border: none;
    color: var(--ac-navy-dark);
    font-weight: 700;
    padding: .85rem 1.75rem;
    border-radius: .7rem;
    box-shadow: 0 .6rem 1.5rem rgba(247, 194, 16, .3);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ac-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 .9rem 2rem rgba(247, 194, 16, .4);
    color: var(--ac-navy-dark);
}

.ac-btn-ghost {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
    font-weight: 600;
    padding: .85rem 1.75rem;
    border-radius: .7rem;
    backdrop-filter: blur(6px);
    transition: background-color .2s ease, transform .2s ease;
}

.ac-btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-2px); }

.ac-btn-ghost-light {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .6);
    color: #fff;
    font-weight: 600;
    padding: .85rem 1.75rem;
    border-radius: .7rem;
    transition: transform .2s ease;
}

.ac-btn-ghost-light:hover { color: #fff; transform: translateY(-2px); }

/* ------------------------------------------------------------------ Stats */
.ac-stats {
    background: var(--ac-navy);
    padding: 3rem 0;
}

.ac-stat-val {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--ac-gold);
    line-height: 1;
}

.ac-stat-lbl {
    color: #c7d0e0;
    font-size: .85rem;
    margin-top: .5rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* --------------------------------------------------------------- Sections */
.ac-section { padding: 6rem 0; }
.ac-section-alt { background: var(--ac-bg-alt); }

.ac-section-head {
    max-width: 700px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.ac-eyebrow {
    display: inline-block;
    color: var(--ac-green);
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .75rem;
}

.ac-section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: .75rem; }
.ac-section-head p { color: var(--ac-muted); font-size: 1.05rem; }

/* ---------------------------------------------------------------- Feature */
.ac-feature {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1.6rem;
    height: 100%;
    box-shadow: 0 .5rem 1.5rem rgba(11, 31, 60, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.ac-feature:hover { transform: translateY(-6px); box-shadow: 0 1rem 2.2rem rgba(11, 31, 60, .14); }

.ac-feature-icon {
    width: 54px; height: 54px;
    border-radius: .85rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
}

.ac-ic-green { background: #e6f4ea; color: var(--ac-green); }
.ac-ic-gold  { background: #fef4d3; color: #b8890a; }
.ac-ic-red   { background: #fbe6e6; color: var(--ac-red); }
.ac-ic-navy  { background: #e7ecf5; color: var(--ac-navy-light); }

.ac-feature h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.ac-feature p  { color: var(--ac-muted); font-size: .92rem; margin: 0; }

/* ----------------------------------------------------------------- Étapes */
.ac-etapes { position: relative; }

.ac-etape { text-align: center; padding: 0 .5rem; }

.ac-etape-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px var(--ac-gold);
    margin-bottom: .5rem;
}

.ac-etape h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.ac-etape p  { color: var(--ac-muted); font-size: .92rem; }

/* ----------------------------------------------------------------- Module */
.ac-module {
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 .5rem 1.5rem rgba(11, 31, 60, .08);
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ac-module:hover { transform: translateY(-6px); box-shadow: 0 1rem 2.2rem rgba(11, 31, 60, .16); }

.ac-module img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.ac-module:hover img { transform: scale(1.06); }

.ac-module-body { padding: 1.5rem; }

.ac-module-body i {
    font-size: 1.4rem;
    color: var(--ac-green);
    margin-bottom: .6rem;
    display: block;
}

.ac-module-body h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.ac-module-body p { color: var(--ac-muted); font-size: .92rem; margin: 0; }

/* --------------------------------------------------------------------- CTA */
.ac-cta {
    background: linear-gradient(135deg, var(--ac-navy) 0%, var(--ac-navy-dark) 100%);
    color: #fff;
    padding: 5rem 0;
}

.ac-cta h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: .75rem; }
.ac-cta p { color: #c7d0e0; font-size: 1.05rem; margin-bottom: 2rem; }

/* ------------------------------------------------------------------ Footer */
.ac-footer {
    background: var(--ac-navy-dark);
    color: #b7c0d4;
    padding: 4.5rem 0 0;
}

.ac-footer-logo { height: 46px; margin-bottom: 1rem; }
.ac-footer-tagline { font-size: .9rem; max-width: 320px; line-height: 1.6; }

.ac-footer h4 {
    color: #fff;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1.1rem;
}

.ac-footer ul { list-style: none; padding: 0; margin: 0; }
.ac-footer ul li { margin-bottom: .65rem; }

.ac-footer a {
    color: #b7c0d4;
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s ease;
}

.ac-footer a:hover { color: var(--ac-gold); }

.ac-footer-social { display: flex; gap: .75rem; }
.ac-footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex; align-items: center; justify-content: center;
}
.ac-footer-social a:hover { background: var(--ac-gold); color: var(--ac-navy-dark); border-color: var(--ac-gold); }

.ac-footer-bas {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .82rem;
    text-align: center;
}

/* --------------------------------------------------- Application mobile */
.ac-app-lead { color: var(--ac-muted); font-size: 1.05rem; margin-bottom: 1.5rem; }

.ac-app-atouts { list-style: none; padding: 0; margin: 0 0 2rem; }
.ac-app-atouts li { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; font-size: .95rem; }
.ac-app-atouts li i { color: var(--ac-green); font-size: 1.1rem; flex-shrink: 0; }

.ac-app-note { color: var(--ac-muted); font-size: .82rem; margin-top: 1rem; margin-bottom: 0; max-width: 480px; }
.ac-app-note code { background: #e7ecf5; color: var(--ac-navy); padding: .1rem .4rem; border-radius: .3rem; }

.ac-app-visuel {
    aspect-ratio: 3 / 4;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 2rem;
    background: linear-gradient(145deg, var(--ac-navy), var(--ac-navy-light));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 1.5rem 3rem rgba(11, 31, 60, .25);
}

.ac-app-visuel i { font-size: 6rem; color: rgba(255, 255, 255, .35); }

/* ------------------------------------------------------------ Formulaire */
.ac-form-carte {
    background: #fff;
    border-radius: 1.2rem;
    padding: 2rem;
    box-shadow: 0 1rem 3rem rgba(11, 31, 60, .1);
}

.ac-form-label {
    display: block;
    font-weight: 600;
    color: var(--ac-navy);
    font-size: .85rem;
    margin-bottom: .4rem;
}

.ac-form-carte .form-control {
    border-radius: .6rem;
    border-color: #dfe4ee;
    padding: .65rem .9rem;
}

.ac-form-carte .form-control:focus {
    border-color: var(--ac-navy-light);
    box-shadow: 0 0 0 .2rem rgba(11, 31, 60, .12);
}

/* Piège à robots : masqué visuellement et pour la navigation clavier, mais
   toujours présent dans le DOM pour qu'un bot naïf le remplisse quand même. */
.ac-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ------------------------------------------------------------- Responsive */
@media (max-width: 991px) {
    .ac-nav { display: none !important; }
    .ac-hero-content { padding-top: 7rem; }
}

@media (max-width: 575px) {
    .ac-hero-cta { flex-direction: column; }
    .ac-hero-cta .btn { width: 100%; }
    .ac-section { padding: 4rem 0; }
}
