:root{
    --couleur_titre: #388E3C;
    --teal: #2ec1ac;
    --teal_hover: #279e8c;
}

* {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.h-font {
    font-family: "Emilys Candy", serif;
    font-weight: 400;
    font-style: normal;
    color: var(--couleur_titre);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.custom-bg{
    background-color: var(--teal);
    border: 1px solid var(--teal);
}
.custom-bg:hover{
    background-color: var(--teal_hover);
    border-color: var(--teal_hover);
}

.h-line{
    width: 150px;
    margin: 0 auto;
    height: 1.7px;
    border: 1px solid var(--couleur_titre);
}

.custom-alert{
    position:fixed;
    top: 80px;
    right: 25px;
    z-index: 1111;
}

/* ============================================================
   AMBIANCE VISUELLE — inspirée de la mascotte du parc
   Fond légèrement texturé (au lieu d'un aplat blanc/gris uni)
   pour que les grands écrans ne paraissent plus vides autour
   du contenu. Aucune disposition modifiée — uniquement le fond.
   ============================================================ */

:root {
    --dragon-purple: #8E44AD;
}

body {
    background-image:
        linear-gradient(180deg, #E8F6F0 0%, #F9FBFA 600px, transparent 600px),
        url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNjAiIGhlaWdodD0iMjYwIiB2aWV3Qm94PSIwIDAgMjYwIDI2MCI+CiAgPHBvbHlnb24gcG9pbnRzPSIzMCwyMCA0MCw0MiAyMCw0MiIgZmlsbD0iIzJFN0QzMiIgb3BhY2l0eT0iMC4wNyIvPgogIDxwb2x5Z29uIHBvaW50cz0iMjEwLDU1IDIyMCw3NyAyMDAsNzciIGZpbGw9IiMyRTdEMzIiIG9wYWNpdHk9IjAuMDYiLz4KICA8cG9seWdvbiBwb2ludHM9IjEyMCwxNTAgMTMwLDE3MiAxMTAsMTcyIiBmaWxsPSIjMkU3RDMyIiBvcGFjaXR5PSIwLjA3Ii8+CiAgPHBhdGggZD0iTTcwIDk1IGw0IDkgOSA0IC05IDQgLTQgOSAtNCAtOSAtOSAtNCA5IC00IHoiIGZpbGw9IiMyZWMxYWMiIG9wYWNpdHk9IjAuMTAiLz4KICA8cGF0aCBkPSJNMTkwIDE5MCBsMy41IDggOCAzLjUgLTggMy41IC0zLjUgOCAtMy41IC04IC04IC0zLjUgOCAtMy41IHoiIGZpbGw9IiMyZWMxYWMiIG9wYWNpdHk9IjAuMDkiLz4KICA8cGF0aCBkPSJNMjAgMTkwIGwzIDcgNyAzIC03IDMgLTMgNyAtMyAtNyAtNyAtMyA3IC0zIHoiIGZpbGw9IiMyZWMxYWMiIG9wYWNpdHk9IjAuMDgiLz4KICA8Y2lyY2xlIGN4PSIxNTAiIGN5PSI0MCIgcj0iNC41IiBmaWxsPSIjOEU0NEFEIiBvcGFjaXR5PSIwLjA4Ii8+CiAgPGNpcmNsZSBjeD0iMjM1IiBjeT0iMTQwIiByPSI0IiBmaWxsPSIjOEU0NEFEIiBvcGFjaXR5PSIwLjA3Ii8+CiAgPGNpcmNsZSBjeD0iOTUiIGN5PSIyMTUiIHI9IjQiIGZpbGw9IiM4RTQ0QUQiIG9wYWNpdHk9IjAuMDciLz4KPC9zdmc+Cg==");
    background-repeat: no-repeat, repeat;
    background-size: 100% 600px, 260px 260px;
    background-position: top, top;
}


/* ============================================================
   FOOTER — refonte complète (thème mascotte)
   ============================================================ */

.site-footer {
    position: relative;
    margin-top: 4rem;
    background: linear-gradient(160deg, #1B5E20 0%, #1F6B4A 60%, #14523C 100%);
    background-image:
        linear-gradient(160deg, #1B5E20 0%, #1F6B4A 60%, #14523C 100%),
        url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+CiAgPHBhdGggZD0iTTQwIDMwIGwzIDcgNyAzIC03IDMgLTMgNyAtMyAtNyAtNyAtMyA3IC0zIHoiIGZpbGw9IiNmZmZmZmYiIG9wYWNpdHk9IjAuMDUiLz4KICA8cGF0aCBkPSJNMTYwIDYwIGwyLjUgNiA2IDIuNSAtNiAyLjUgLTIuNSA2IC0yLjUgLTYgLTYgLTIuNSA2IC0yLjUgeiIgZmlsbD0iI2ZmZmZmZiIgb3BhY2l0eT0iMC4wNSIvPgogIDxwYXRoIGQ9Ik0xMDAgMTQwIGwzIDcgNyAzIC03IDMgLTMgNyAtMyAtNyAtNyAtMyA3IC0zIHoiIGZpbGw9IiNmZmZmZmYiIG9wYWNpdHk9IjAuMDUiLz4KICA8Y2lyY2xlIGN4PSIyMCIgY3k9IjEyMCIgcj0iMi41IiBmaWxsPSIjZmZmZmZmIiBvcGFjaXR5PSIwLjA2Ii8+CiAgPGNpcmNsZSBjeD0iMTc1IiBjeT0iMTUwIiByPSIyIiBmaWxsPSIjZmZmZmZmIiBvcGFjaXR5PSIwLjA2Ii8+CiAgPGNpcmNsZSBjeD0iNzAiIGN5PSI2NSIgcj0iMiIgZmlsbD0iI2ZmZmZmZiIgb3BhY2l0eT0iMC4wNSIvPgo8L3N2Zz4K");
    background-repeat: no-repeat, repeat;
    background-size: 100% 100%, 200px 200px;
}

/* Transition en pointes entre le fond clair de la page et le footer sombre */
.footer-spikes-top {
    position: absolute;
    top: -13px;
    left: 0;
    right: 0;
    height: 13px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDYwIDE4Ij4KICA8cG9seWdvbiBwb2ludHM9IjAsMTggMTAsMiAyMCwxOCIgZmlsbD0iIzJlYzFhYyIvPgogIDxwb2x5Z29uIHBvaW50cz0iMjAsMTggMzAsMiA0MCwxOCIgZmlsbD0iIzI3OWU4YyIvPgogIDxwb2x5Z29uIHBvaW50cz0iNDAsMTggNTAsMiA2MCwxOCIgZmlsbD0iIzJlYzFhYyIvPgo8L3N2Zz4K");
    background-repeat: repeat-x;
    background-size: 46px 13px;
}

.site-footer-main {
    position: relative;
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.footer-brand-icon {
    font-size: 1.6rem;
    color: #FFD54F;
    flex-shrink: 0;
}
.footer-brand h3 {
    color: #ffffff;
}
.footer-about {
    color: #D7ECE0;
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

.footer-heading {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 34px;
    height: 3px;
    background: var(--teal);
    border-radius: 3px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #D7ECE0;
    text-decoration: none;
    font-size: 0.92rem;
    padding: 6px 0;
    transition: color 0.15s ease, transform 0.15s ease, padding-left 0.15s ease;
}
.footer-link i {
    color: #6FCF97;
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    transition: color 0.15s ease;
}
.footer-link:hover {
    color: #ffffff;
    padding-left: 6px;
}
.footer-link:hover i {
    color: var(--teal);
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease;
}
.footer-social-btn:hover {
    background: var(--dragon-purple);
    transform: translateY(-3px);
    color: #ffffff;
}

@media (max-width: 991px) {
    .site-footer { text-align: center; }
    .footer-brand { justify-content: center; }
    .footer-heading::after { left: 50%; transform: translateX(-50%); }
    .footer-link { justify-content: center; }
    .footer-social { justify-content: center; }
}
/* ============================================================
   PASSERELLE VERS ADVENTURE VALLEY
   Encart discret en pied de page, vers l'action game du même
   exploitant. Il emprunte les couleurs de CETTE marque-là
   (turquoise sur fond sombre) plutôt que celles du parc : c'est
   ce qui le distingue du reste du pied de page et signale qu'on
   change de destination.
   ============================================================ */
.av-bridge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: #070C10;
    border-top: 1px solid rgba(36, 234, 198, .18);
    text-decoration: none;
    transition: background .2s ease;
}
.av-bridge:hover { background: #0A1319; }

.av-bridge__mark { flex: none; width: 44px; height: 44px; }

.av-bridge__text { display: flex; flex-direction: column; line-height: 1.35; flex: 1; }

.av-bridge__kicker {
    font-size: .74rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #6F838C;
}
.av-bridge__name {
    font-size: .95rem;
    font-weight: 600;
    color: #24EAC6;
}
.av-bridge:hover .av-bridge__name { color: #6BF3DC; }

.av-bridge__soon {
    flex: none;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #24EA6C;
    border: 1px solid rgba(36, 234, 108, .35);
    border-radius: 100px;
    padding: 5px 12px;
    white-space: nowrap;
}

/* Le pied de page centre tout son contenu sous 992px. L'encart doit
   y échapper : sans cela, le texte se centre pendant que l'étiquette
   reste calée à gauche, et l'ensemble paraît désaligné. */
@media (max-width: 991px) {
    .av-bridge,
    .av-bridge__text { text-align: left; }
}

/* Sur mobile, l'étiquette passe sous le texte pour éviter que la
   ligne ne se comprime jusqu'à devenir illisible. */
@media (max-width: 560px) {
    .av-bridge { flex-wrap: wrap; row-gap: 10px; padding: 14px 16px; }
    .av-bridge__mark, .av-bridge__text { order: 0; }
    .av-bridge__text { flex: 1 1 0; min-width: 0; }

    /* Élément vide occupant toute la largeur : il force un retour à la
       ligne avant l'étiquette. Appliquer flex-basis:100 % à l'étiquette
       elle-même l'étirerait sur toute la largeur, bordure comprise —
       elle ne ressemblerait plus à une pastille. */
    .av-bridge::before { content: ''; order: 1; flex-basis: 100%; height: 0; }

    .av-bridge__soon { order: 2; margin-left: 58px; }
}

/* ============================================================
   MESSAGE D'ANNONCE
   Occupe la place du bloc « Voir les disponibilités » sur
   l'accueil. Le fond coloré est volontairement franc : ce
   message doit être lu avant que le visiteur ne cherche
   une date.
   ============================================================ */
.announce-box {
    border-radius: .5rem;
    padding: 26px 28px;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    color: #fff;
}
.announce-box--red   { background: linear-gradient(135deg, #c62828, #e53935); }
.announce-box--green { background: linear-gradient(135deg, #2E7D32, #43A047); }

.announce-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.announce-icon { font-size: 1.9rem; flex: none; opacity: .95; }

.announce-text {
    flex: 1 1 260px;
    margin: 0;
    line-height: 1.45;
    font-weight: 600;
}

/* La taille suit l'inverse de la longueur : un message court occupe
   la place et frappe, un message long reste confortable à lire.
   La classe est choisie côté serveur (voir index.php). */
.announce-text--xl { font-size: 1.55rem; line-height: 1.3; }
.announce-text--lg { font-size: 1.28rem; line-height: 1.4; }
.announce-text--md { font-size: 1.08rem; line-height: 1.5; font-weight: 500; }
.announce-text--sm { font-size: .98rem;  line-height: 1.55; font-weight: 500; }

.announce-btn {
    flex: none;
    background: #fff;
    border: 0;
    border-radius: .4rem;
    padding: 10px 20px;
    font-weight: 600;
    font-size: .92rem;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.announce-box--red   .announce-btn { color: #c62828; }
.announce-box--green .announce-btn { color: #2E7D32; }
.announce-btn:hover { transform: translateY(-1px); box-shadow: 0 .35rem .8rem rgba(0, 0, 0, .2); }

/* Sur mobile, le bouton passe pleine largeur sous le texte plutôt
   que de se comprimer à côté de lui. */
@media (max-width: 575px) {
    .announce-box { padding: 20px; }
    .announce-inner { gap: 14px; }
    .announce-text { flex: 1 1 100%; }
    .announce-text--xl { font-size: 1.3rem; }
    .announce-text--lg { font-size: 1.12rem; }
    .announce-text--md { font-size: 1rem; }
    .announce-text--sm { font-size: .94rem; }
    .announce-btn { flex: 1 1 100%; }
}
