/* =================================
   PAGE DÉTAIL TITRE D'ACCÈS
================================= */

/* HERO BANNER
----------------------------------- */
.access-detail-hero {
    background: linear-gradient(rgba(0, 85, 150, 0.75), rgba(0, 85, 150, 0.75)),
        url('../images/header-bg-port.jpg') center/cover no-repeat;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin: 30px var(--section-margin);
    border-radius: var(--radius-sm);
}

.access-detail-hero h1 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* INTRO
----------------------------------- */
.page-intro {
    max-width: 800px;
    margin: 0 auto 0;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* SECTIONS ALTERNÉES (Badge / Macaron)
----------------------------------- */

.badge-macaron-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin: 0 var(--section-margin);
}


.access-section-row {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 80px;
}

.access-section-row.image-right {
    flex-direction: row-reverse;
}

.col-image {
    flex: 1;
    max-width: 500px;
}

.col-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
}

.col-content {
    flex: 1;
}

/* Section Title & Badge */
.section-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--subtitle-color);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-badge-pill .dot {
    width: 10px;
    height: 10px;
    background: var(--link-blue);
    border-radius: 50%;
}

.col-content h2 {
    font-size: 32px;
    color: #222;
    font-weight: 700;
}

/* Info Boxes Grid (Type / Validité / Prix) */
.info-boxes-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.info-box {
    background: #eef7fc;
    /* Bleu très pâle */
    border: 1px solid #dbebf5;
    border-radius: 8px;
    padding: 15px 20px;
    flex: 1;
    min-width: 120px;
    margin-top: 0;
    margin-bottom: 0;
}

.info-box .label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}

.info-box .value {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.info-box .value.price {
    color: #222;
}

/* Description & Listes */
.description {
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.pieces-fournir h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.pieces-fournir ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pieces-fournir li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.pieces-fournir li::before {
    content: "•";
    color: var(--primary-yellow);
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: 0;
    top: -2px;
}

.pieces-fournir a {
    color: var(--link-blue);
    font-weight: 600;
}


/* CTA BANNER (Blue Background)
----------------------------------- */
.cta-online-request {
    background: url('../images/pattern-blue.png'), var(--link-blue);
    /* Ou juste couleur */
    background-size: cover;
    padding: 60px 20px;
    text-align: center;
    color: white;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* On peut ajouter un pattern CSS si pas d'image */
.cta-online-request::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
}

.cta-online-request .small-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.cta-online-request .dot {
    width: 8px;
    height: 8px;
    background: var(--sky-blue);
    border-radius: 50%;
}

.cta-online-request h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-yellow);
    color: #222;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
    position: relative;
    z-index: 2;
}

.btn-cta:hover {
    transform: translateY(-3px);
    background: #f0c020;
}

/* RELATED TITLES
----------------------------------- */
.related-titles {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin: 60px var(--section-margin);
}

.section-header-centered {
    text-align: center;
    margin-bottom: 40px;
}

.section-header-centered .small-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--subtitle-color);
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 10px;
}

.section-header-centered h2 {
    font-size: 32px;
    color: #222;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.related-card {
    border: 1px solid var(--link-blue);
    border-radius: 8px;
    padding: 30px;
    background: white;
}

.related-card.border-blue {
    border-color: var(--link-blue);
}

.related-card h3 {
    color: #222;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.related-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}

.btn-yellow {
    background: var(--primary-yellow);
    color: #222;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


/* RESPONSIVE
----------------------------------- */
@media (max-width: 992px) {
    .access-section-row {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 50px;
    }

    .access-section-row.image-right {
        flex-direction: column;
    }

    .col-image {
        max-width: 100%;
        width: 100%;
    }

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

@media (max-width: 768px) {
    .access-detail-hero {
        margin: 20px 1rem;
        height: 140px;
    }

    .access-detail-hero h1 {
        font-size: 24px;
    }

    .info-boxes-grid {
        flex-direction: column;
        gap: 10px;
    }

    .col-content h2 {
        font-size: 24px;
    }

    .cta-online-request h2 {
        font-size: 24px;
    }
}