/* IBM Plex Sans (famille principale) */
@font-face {
    font-family: 'IBM_Plex_Sans';
    src: url('fonts/IBM_Plex_Sans/static/IBMPlexSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'IBM_Plex_Sans';
    src: url('fonts/IBM_Plex_Sans/static/IBMPlexSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Alias pour conserver les styles existants sans tout réécrire */
@font-face {
    font-family: 'Roboto';
    src: url('fonts/IBM_Plex_Sans/static/IBMPlexSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/IBM_Plex_Sans/static/IBMPlexSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Changa';
    src: url('fonts/IBM_Plex_Sans/static/IBMPlexSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Changa';
    src: url('fonts/IBM_Plex_Sans/static/IBMPlexSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Menu hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 200;
}

.menu-toggle img {
    width: 40px;
    height: 40px;
}

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

body {
    font-family: 'Roboto';
    background: url('photo/photo-presta/background_tracte_fbjets.png') center/cover no-repeat;
    background-color: #0B2847;
}
h1, h2, h3 {
    font-family: Roboto, sans-serif;
    color: #FFFFFF;
}

#titre_accueill {
    text-align: center;
    font-family: Roboto, sans-serif;
    color: #D4AF37;
}

#sous_titre {
    text-align: center;
    font-family: Roboto, sans-serif;
    color: #FFFFFF;
}

#village {
    text-align: center;
    font-family: Roboto, sans-serif;
    color: #FFFFFF;
}

.navigation {
    background: linear-gradient(to right, #1E3A8A, #4682B4);
    width: 100%;
    min-height: 72px;
    margin: 18px 0;
    padding: 0 20px;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
}

.navigation ul {
    list-style-type: none; /* Enlève les puces */
    padding: 0;
    margin: 0;
    display: flex; /* Affiche les éléments en ligne */
    justify-content: space-around;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 100%;
}

.navigation li a {
    text-decoration: none; /* Enlève le soulignement */
    color: #FFFFFF; /* Blanc brillant pour le texte */
    font-family: 'Changa', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease, opacity 0.3s ease;
    padding: 0 10px;
    line-height: 72px;
    display: inline-block;
}

.navigation li a:hover {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none; /* Pas de soulignement */
    border-bottom: none;
}

.contact-container {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 30px;
}

.contact-card {
    width: min(100%, 760px);
    background: #ffffff;
    color: #0B2847;
    padding: 40px 36px;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(11, 40, 71, 0.16);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 18px, 6% 0, 18% 12px, 30% 4px, 44% 16px, 58% 3px, 73% 15px, 86% 0, 100% 18px, 100% calc(100% - 18px), 92% 100%, 78% calc(100% - 10px), 64% 100%, 48% calc(100% - 12px), 32% 100%, 16% calc(100% - 8px), 0 calc(100% - 18px));
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(92, 184, 228, 0.35);
    border-radius: 24px;
    pointer-events: none;
}

.contact-card__header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-card__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(92, 184, 228, 0.18);
    color: #5CB8E4;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-card h2 {
    color: #0B2847;
    font-size: clamp(28px, 4vw, 38px);
    margin-bottom: 12px;
}

.contact-card__intro {
    color: #4e5b6a;
    font-size: 16px;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
}

.contact-card__list {
    display: grid;
    gap: 16px;
}

.contact-card__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(92, 184, 228, 0.09), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(92, 184, 228, 0.18);
}

.contact-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    background: #5CB8E4;
    padding: 8px;
    box-shadow: 0 8px 18px rgba(92, 184, 228, 0.25);
}

.contact-card__label {
    display: block;
    color: #5CB8E4;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-card__value {
    color: #0B2847;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
}

.contact-card__value:hover {
    color: #5CB8E4;
}

.contact-map-wrapper {
    margin-top: 24px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(92, 184, 228, 0.25);
    box-shadow: 0 12px 28px rgba(11, 40, 71, 0.12);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

.platform-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.4rem;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s;
}

.platform-btn:hover {
    transform: translateY(-3px);
}

.platform-btn.google { background-color: #4285F4; }
.platform-btn.tripadvisor { background-color: #00AF87; }
.platform-btn.koifaire { background-color: #FF7043; }
.platform-btn.pagesjaunes { background-color: #FFD700; color: #333333; }

.contact-form {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    color: #0B2847;
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(30, 58, 138, 0.35);
    border-radius: 8px;
    padding: 10px;
    font-family: 'Roboto';
}

.btn {
    background-color: #1E3A8A;
    color: #FFFFFF;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 700;
    justify-self: start;
}

.btn:hover {
    background-color: #1565C0;
}

footer {
    background-color: #000000; /* Noir */
    padding: 20px 0; /* Espacement vertical */
    text-align: center; /* Centre le texte */
    margin-top: 40px; /* Espacement au-dessus du footer */
    border-top: 3px solid #D4AF37;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

/* Style pour le copyright */
.copyright {
    color: #ffffff; /* Gris foncé */
    font-family: 'Changa', sans-serif;
    font-size: 14px; /* Taille du texte */
    margin: 0; /* Enlève les marges par défaut */
}

.call-cta-section {
    width: min(92%, 860px);
    margin: 0 auto 30px auto;
    padding: 18px 20px;
    border: 2px solid #D4AF37;
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(13, 79, 139, 0.88) 0%, rgba(11, 40, 71, 0.88) 100%);
    box-shadow: 0 8px 24px rgba(11, 40, 71, 0.35);
    text-align: center;
}

.call-cta-label {
    color: #ffffff;
    font-family: 'Changa', sans-serif;
    font-size: 15px;
    margin: 0 0 12px 0;
}

.call-cta-button {
    display: inline-block;
    min-width: 260px;
    max-width: 100%;
    padding: 12px 20px;
    color: #D4AF37;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Changa', sans-serif;
    font-size: 18px;
    border: 2px solid #D4AF37;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
}

.call-cta-button:hover {
    color: #00CED1;
    border-color: #00CED1;
    box-shadow: 0 6px 20px rgba(0, 206, 209, 0.28);
    transform: translateY(-1px);
}

/* Logo top-right pour la page contact */
.image-top-right {
    position: absolute;
    top: 4px;
    right: 12px;
    z-index: 220;
    pointer-events: none;
}
.top-right-image {
    width: 150px;
    height: auto;
    display: block;
}

/* Tailles responsives du logo */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 250;
        background-color: transparent;
    }

    .menu-toggle img {
        width: 40px;
        height: 40px;
    }

    .top-right-image { width: 110px; }
}

@media (max-width: 480px) {
    .top-right-image { width: 72px; }
}

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

/* Tablettes et écrans moyens */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .menu-toggle {
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 250;
        background-color: transparent;
    }

    .menu-toggle img {
        width: 40px;
        height: 40px;
    }

    #titre_accueill {
        margin-top: 28px;
        font-size: 28px;
    }

    #sous_titre {
        font-size: 18px;
    }

    #village {
        font-size: 16px;
    }

    .navigation {
        position: fixed;
        left: -300px;
        top: 96px;
        width: 280px;
        height: 100vh;
        background: linear-gradient(to right, #1E3A8A, #4682B4);
        padding: 20px 0;
        border-radius: 0;
        margin: 0;
        transition: left 0.3s;
        z-index: 180;
        overflow-y: auto;
    }

    .navigation.active {
        left: 0;
    }

    .navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .navigation li {
        width: 100%;
        padding: 0;
    }

    .navigation li a {
        padding: 15px 20px;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
    }

    .contact-container {
        flex-direction: column;
        height: auto;
        min-height: auto;
        padding: 8px 10px 14px;
        gap: 10px;
    }

    .contact-left {
        align-items: center;
        width: 100%;
    }

    .contact-sortie {
        width: 100%;
        max-width: 400px;
    }

    .contact-left textarea {
        width: 100%;
        max-width: 400px;
    }

    .contact-droit {
        width: 100%;
        text-align: center;
    }

    .contact-droit img {
        width: 100%;
        max-width: 300px;
    }

    .contact-left-titre h2 {
        font-size: 30px;
    }

    .contact-left-titre hr {
        width: 200px;
    }
}

/* Petits écrans - téléphones */
@media (max-width: 480px) {
    .menu-toggle {
        top: 5px;
        left: 5px;
    }

    .menu-toggle img {
        width: 35px;
        height: 35px;
    }

    #titre_accueill {
        margin-top: 16px;
        font-size: 24px;
    }

    #sous_titre {
        font-size: 16px;
    }

    #village {
        font-size: 14px;
    }

    .navigation {
        width: 250px;
        top: 50px;
    }

    .navigation li a {
        font-size: 16px;
        padding: 12px 15px;
    }

    .contact-container {
        min-height: auto;
        padding: 2px 8px 12px;
        gap: 8px;
    }

    .contact-sortie {
        max-width: 100%;
        height: 45px;
        font-size: 14px;
    }

    .contact-left textarea {
        max-width: 100%;
        height: 120px;
        font-size: 14px;
    }

    .contact-left-titre h2 {
        font-size: 24px;
    }

    .contact-left-titre hr {
        width: 100%;
    }

    .contact-left button {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 12px 15px;
    }

    .contact-droit img {
        max-width: 250px;
    }

    footer {
        margin-top: 20px;
        padding: 15px 10px;
    }

    .call-cta-section {
        width: calc(100% - 30px);
        margin-bottom: 20px;
        padding: 14px 12px;
    }

    .call-cta-label {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .call-cta-button {
        width: 100%;
        min-width: 0;
        font-size: 16px;
        padding: 11px 12px;
    }

    .copyright {
        font-size: 12px;
    }
}

/* === Global responsive safety net === */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img, video, iframe, svg, canvas {
    max-width: 100%;
    height: auto;
}

input, select, textarea, button {
    max-width: 100%;
}

table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* === End global responsive safety net === */

/* === Flyer color theme override === */
:root {
    --flyer-blue-main: #1E3A8A;
    --flyer-blue-violet: #6A5ACD;
}

body,
h1, h2, h3, h4, h5, h6,
p,
a,
.title,
.main-text,
.content {
    color: var(--flyer-blue-main) !important;
}

#sous_titre,
#village,
h2.subtitle,
h3.subtitle,
h4.subtitle,
.subtitle,
.info-text,
.info-text-2,
.info-text-3,
.info-text-4,
.details,
.horaires,
.coordonnees,
.contact-card__eyebrow,
.contact-card__label {
    color: var(--flyer-blue-violet) !important;
}

a {
    text-decoration: none;
    border-bottom: 1px solid var(--flyer-blue-violet);
    transition: border-bottom 0.3s ease;
}

a:hover {
    border-bottom: 2px solid var(--flyer-blue-violet);
}
/* === End flyer color theme override === */

/* === Keep navigation text white === */
.navigation a,
.navigation li a,
.navbar a,
.navbar li a,
nav a {
    color: #FFFFFF !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.navigation a:hover,
.navigation li a:hover,
.navbar a:hover,
.navbar li a:hover,
nav a:hover {
    color: rgba(255, 255, 255, 0.88) !important;
    border-bottom: none !important;
}
/* === End keep navigation text white === */

/* === Mobile hardening (final overrides) === */
@media (max-width: 768px) {
    #titre_accueill {
        padding: 0 56px;
        line-height: 1.2;
        word-break: break-word;
    }

    .navigation {
        width: min(280px, 88vw);
        top: 58px !important;
        height: calc(100dvh - 58px);
        padding: 12px 0;
        border-radius: 0 14px 14px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    }

    #titre_accueill {
        margin-top: 14px;
    }

    .contact-container {
        min-height: auto;
        align-items: flex-start;
        padding: 0 8px 10px;
    }

    .contact-card {
        padding: 22px 16px;
        border-radius: 18px;
    }

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

    .contact-map-wrapper iframe {
        height: 240px;
    }
}

@media (max-width: 480px) {
    #titre_accueill {
        padding: 0 48px;
    }

    .navigation {
        width: min(250px, 90vw);
        top: 58px !important;
        height: calc(100dvh - 58px);
    }

    #titre_accueill {
        margin-top: 8px;
    }

    .contact-container {
        padding-top: 0;
    }

    .contact-card__item {
        padding: 12px;
    }
}
