/* ========== ULM76 - Style Principal (front public) ========== */
/* Palette et polices reprises du site d'origine (ulm76.fr) */

:root {
    --color-primary: #0186ff;
    --color-primary-dark: #0159aa;
    --color-primary-light: #e8f4ff;
    --color-accent: #f79007;
    --color-accent-dark: #a25e05;
    --color-text: #131313;
    --color-text-light: #55606a;
    --color-bg: #ffffff;
    --color-bg-alt: #f4f8fb;
    --color-border: #e2e8ee;
    --color-header-bg: #002d55;
    --font-heading: "Rajdhani", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --spacing-unit: 1rem;
    --container-max: 1200px;
}

/* ========== RESET & BASE ========== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

a {
    color: var(--color-primary);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.25;
    color: var(--color-text);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.btn {
    display: inline-block;
    padding: 0.75em 1.75em;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
    border: 2px solid transparent;
}

.btn--reservation {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.btn__icon {
    flex: 0 0 auto;
}

.btn--primary {
    background-color: var(--color-accent);
    color: #fff;
}

.btn--primary:hover {
    background-color: var(--color-accent-dark);
}

.btn--outline {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn--outline:hover {
    background-color: #fff;
    color: var(--color-primary);
}

.section {
    padding: 4rem 0;
}

.section--alt {
    background-color: var(--color-bg-alt);
}

.section__eyebrow {
    display: block;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .85rem;
    margin-bottom: .5rem;
}

.section__title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    margin-bottom: 1rem;
}

.section__lead {
    color: var(--color-text-light);
    max-width: 700px;
    margin-bottom: 2.5rem;
}

/* ========== HEADER ========== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: #fff;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #fff;
    cursor: pointer;
}

.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.75rem;
}

.main-nav a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #cfe0ef;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
    font-size: .8rem;
}

.main-nav a:hover {
    color: #fff;
}

/* ========== HERO ========== */

.hero {
    position: relative;
    color: #fff;
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    text-align: center;
}

.hero--home {
    background-position: center 35%;
}

.hero__eyebrow {
    display: block;
    color: #cfe6ff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    margin-bottom: 1rem;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #fff;
    max-width: 900px;
    margin: 0 auto 1.25rem;
}

.hero__lead {
    font-size: 1.2rem;
    max-width: 640px;
    margin: 0 auto 2rem;
    opacity: .95;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Sur la photo sombre du hero, le bouton primaire garde le bleu de marque
   plutôt que la couleur accent (trop proche du bandeau marine, peu visible). */
.hero .btn--primary {
    background-color: var(--color-primary);
}

.hero .btn--primary:hover {
    background-color: var(--color-primary-dark);
}

/* ========== CARDS GRID (services, cadeaux, points forts) ========== */

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

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

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

.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.card__image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card__title {
    font-size: 1.2rem;
    margin-bottom: .6rem;
}

.card__text {
    color: var(--color-text-light);
    flex: 1;
    margin-bottom: 1rem;
}

.card--plain {
    box-shadow: none;
    border: 1px solid var(--color-border);
    padding: 1.75rem;
}

.card--plain .card__title {
    color: var(--color-primary);
}

/* ========== FAQ ========== */

.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq details {
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
}

.faq summary {
    font-weight: 700;
    cursor: pointer;
    font-size: 1.05rem;
    color: var(--color-text);
}

.faq summary::marker {
    color: var(--color-accent);
}

.faq p {
    color: var(--color-text-light);
    margin-top: .75rem;
}

/* ========== ACTUALITÉS ========== */

.actu-card__image {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

/* ========== FOOTER ========== */

.site-footer {
    background-color: var(--color-text);
    color: #d8dde2;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: .75rem;
}

.footer-section p,
.footer-section a {
    color: #b7bfc7;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: .4rem;
}

.footer-section a {
    text-decoration: none;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 1.25rem;
    font-size: .85rem;
    color: #889199;
    text-align: center;
}

/* ========== GRID VARIANTS ========== */

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

/* ========== CARDS SECTION (variantes) ========== */

.cards-section--gradient {
    background: linear-gradient(135deg, #17c4c4 0%, #22e07a 100%);
    color: #fff;
    text-align: center;
}

.cards-section--gradient .section__title,
.cards-section--gradient .section__eyebrow {
    color: #fff;
}

.cards-section--gradient .section__lead {
    color: rgba(255, 255, 255, .9);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.cards-section--icones,
.cards-section--gradient {
    text-align: center;
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.cards-section--icones .card--plain,
.cards-section--gradient .card--plain {
    text-align: center;
}

/* ========== TEXTE : centre ========== */

.texte-centre {
    text-align: center;
}

.texte-centre__body {
    max-width: 760px;
    margin: 0 auto;
    color: var(--color-text-light);
}

.texte-centre__body p {
    margin-bottom: 1rem;
}

.souvenirs-vol__intro {
    margin-bottom: 2rem;
}

.souvenirs-vol__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.souvenirs-vol__option {
    padding: 1.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
}

.souvenirs-vol__option .icon-circle {
    margin: 0 0 1rem;
}

.souvenirs-vol__option h3 {
    margin-bottom: .75rem;
}

.souvenirs-vol__option p {
    margin: 0;
}

/* ========== TEXTE : fond photo plein cadre ========== */

.bg-photo-section {
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 5rem 0;
}

.bg-photo-section__title {
    color: #fff;
    margin-bottom: 1.5rem;
}

.bg-photo-section__body {
    max-width: 760px;
    margin: 0 auto;
}

.bg-photo-section__body p {
    margin-bottom: 1rem;
    opacity: .95;
}

/* ========== TEXTE : fond photo + carte (duo) ========== */

.bg-duo-section {
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    color: #fff;
}

.bg-duo {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 2rem;
    align-items: center;
}

.bg-duo__texte h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.bg-duo__texte p {
    margin-bottom: .75rem;
    opacity: .95;
}

.bg-duo__carte {
    background: linear-gradient(160deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.bg-duo__carte h4 {
    color: #fff;
    margin-bottom: .5rem;
}

.bg-duo__carte p {
    opacity: .95;
    margin: 0;
}

/* ========== CTA : plein cadre ========== */

.cta-plein {
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 5rem 0;
}

.cta-plein h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-plein p {
    max-width: 600px;
    margin: 0 auto 1.75rem;
    opacity: .95;
}

/* ========== CTA : carte sur fond couleur ========== */

.cta-carte {
    background-color: var(--color-primary);
    padding: 4rem 0;
}

.cta-carte__box {
    background: #fff;
    border-radius: 8px;
    padding: 2.5rem;
    max-width: 560px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.cta-carte__box h2 {
    margin-bottom: .75rem;
}

.cta-carte__box p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

/* ========== EMBED (intégration tierce, ex: billetterie) ========== */

.embed-content {
    max-width: 780px;
    margin: 0 auto;
}

/* Sélecteur de base de départ (ex: réservation ULM76 / Ciel Normand) */

.billetterie-selecteur {
    max-width: 980px;
    margin: 0 auto;
}

.billetterie-selecteur__tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.billetterie-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    min-height: 180px;
    padding: 1.5rem;
    text-align: left;
    background: #fff;
    border: 2px solid #e2e6ea;
    border-radius: var(--radius);
    cursor: pointer;
    font: inherit;
    color: var(--color-text, #131313);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.billetterie-tab__logo {
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 62px;
    width: 100%;
}

.billetterie-tab__logo img {
    width: 62px;
    max-height: 62px;
    object-fit: contain;
    object-position: top;
}

.billetterie-tab__content {
    display: flex;
    flex: 1;
    width: 100%;
    flex-direction: column;
    gap: .35rem;
    line-height: 1.35;
}

.billetterie-tab__eyebrow {
    color: var(--color-text-light);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.billetterie-tab strong {
    font-size: 1.2rem;
}

.billetterie-tab:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.billetterie-tab.is-active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary), 0 8px 20px rgba(1, 30, 60, .12);
    background: #f5faff;
}

@media (max-width: 640px) {
    .billetterie-selecteur__tabs {
        flex-direction: column;
    }

    .billetterie-tab {
        justify-content: flex-start;
        min-height: 0;
    }
}

/* ========== GALERIE (bandeau photos) ========== */

.galerie-strip {
    display: flex;
    height: 220px;
}

.galerie-strip__item {
    flex: 1;
    background-size: cover;
    background-position: center;
}

/* ========== 404 (réutilise les classes existantes) ========== */

.page-content {
    padding: 3rem 0 4rem;
}

.page-hero {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.page-hero .hero-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.page-article {
    max-width: 780px;
    margin: 0 auto;
}

.page-article h1 {
    margin-bottom: 1.5rem;
}

.page-resume {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.page-body h2 {
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
}

.page-body h3 {
    margin: 1.5rem 0 .75rem;
    font-size: 1.15rem;
}

.page-body p {
    margin-bottom: 1.1rem;
    color: var(--color-text-light);
}

.page-body ul,
.page-body ol {
    margin: 0 0 1.1rem 1.4rem;
    color: var(--color-text-light);
}

.page-body li {
    margin-bottom: .4rem;
}

.page-body a {
    color: var(--color-primary);
}

.page-map {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.page-map iframe {
    display: block;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .bg-duo {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .nav-toggle {
        display: block;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0;
        line-height: 1;
        text-align: center;
    }

    .logo {
        min-width: 0;
    }

    .logo img {
        max-width: calc(100vw - 92px);
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .main-nav li {
        border-top: 1px solid rgba(255, 255, 255, .15);
    }

    .main-nav a {
        display: block;
        padding: .85rem 0;
    }

    .header-content {
        flex-wrap: wrap;
    }

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

    .souvenirs-vol__options {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 4rem 0;
    }

    .section {
        padding: 2.75rem 0;
    }

    .galerie-strip {
        flex-wrap: wrap;
        height: auto;
    }

    .galerie-strip__item {
        flex: 1 1 33%;
        height: 100px;
    }

    .cta-carte__box {
        max-width: none;
    }
}

/* Achat des vols : parcours externe Billetweb. */
.vol-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.vol-actions__details { color: var(--color-primary); text-decoration: underline; font-weight: 600; }
.vol-actions__info { display: block; margin-top: .65rem; color: var(--color-text-light); }
