@import "style.css";

/* PAGE CONCEPT */

body {
    background: var(--bg);
    color: var(--text);
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: auto;
}

.container-small {
    width: min(900px, 90%);
    margin: auto;
}

.section-label {
    display: block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--accent);
}

.immersive-overlay img {
    border-radius: var(--radius);
}


/* PAGE CONCEPT */
/* HERO */

.concept-hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.concept-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('') no-repeat center center/cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(4rem, 6vw, 6rem);
    line-height: .95;
    font-weight: 400;
    margin-bottom: 30px;
    font-family: 'Dancing Script', cursive;
    transform: translateY(24px);
    animation: fadeUp 1.2s ease forwards;
}

.hero-content p {
    opacity: .9;
    animation: fadeUp 1.2s ease forwards;
}

.hero-content h1 {
    animation-delay: 0.5s;
}

.hero-content p {
    animation-delay: 0.8s;
}

.story h2,
.story p {
    animation: fadeUp 1.2s ease forwards;
}

/* QUOTE */

.quote-section {
    padding: 70px 0;
    background: var(--green);
    color: var(--white);
}

.quote-section blockquote {
    line-height: 1.15;
    text-align: center;
    font-weight: 300;
    max-width: 1200px;
    margin: auto;
    font-family: 'Dancing Script', cursive;
}

/* IMMERSIVE IMAGE */

.immersive-image {
    height: 95vh;
}

.immersive-content {
    margin: 5%;
    padding: 0 20px;
}

.immersive-content p {
    color: var(--text);
    text-align: justify;
    margin-bottom: 20px;
}

.immersive-overlay {
    margin: 5%;
    height: 90%;
}

.immersive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA */

.concept-cta {
    padding: 70px 0;
    text-align: center;
    background: var(--surface);
}

.concept-cta h3 {
    line-height: 1;
    margin-bottom: 30px;
    font-weight: 400;
    font-family: 'Dancing Script', cursive;
}

.concept-cta p {
    color: var(--text);
    text-align: center;
    margin: 2%;
}

/* PAGE CONTACT */
.contact {
    padding: 70px 0;
}

.contact h2,
.horaire h2 {
    line-height: 1;
    margin-bottom: 30px;
    font-weight: 400;
    font-family: 'Dancing Script', cursive;
    color: var(--blue);
    text-align: center;
}

.contact p,
.horaire p {
    color: var(--text);
    text-align: justify;
    margin-bottom: 20px;
}

.contact .reassurance-card {
    padding: 70px 40px;
    background: var(--white);
    text-align: justify;
    margin-bottom: 20px;
}

.contact .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-contact {
    display: flex;
    align-items: center;
}

/* PAGE HORAIRE */

.section-horaire {
    margin: 70px 0;
}

.horaire .reassurance-card {
    margin: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.label-jour {
    font-weight: bold;
    color: var(--accent);
}

/* PAGE PRIVATISATION */

/* .privatisation-section{
    background-color:var(--accent-soft);
} */

.privatisation {
    padding: 70px 0 0;
}

.privatisation h2 {
    line-height: 1;
    margin-bottom: 30px;
    font-weight: 400;
    font-family: 'Dancing Script', cursive;
    color: var(--blue);
    text-align: center;
}

.privatisation p {
    color: var(--text);
    text-align: justify;
    margin-bottom: 20px;
}

.private-card {
    text-align: justify;
}

/* FORMULAIRE */
.private-form {
    max-width: 700px;
    margin: auto;
    padding: 48px;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
}

.private-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.private-form input,
.private-form textarea {
    width: 100%;
    padding: 18px 22px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    font-family: inherit;
    background: #fafafa;
    transition: .3s ease;
}

.private-form textarea {
    min-height: 180px;
    resize: vertical;
}

.private-form input:focus,
.private-form textarea:focus {
    outline: none;
    border-color: #ff7a00;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 122, 0, .15);
}

.private-form input::placeholder,
.private-form textarea::placeholder {
    color: var(--text);
    font-size: 1.2em;
}

.private-form button {
    padding: 16px 36px;
    border: none;
    border-radius: 999px;
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: .3s ease;
}

.private-form button:hover {
    transform: translateY(-2px);
    background: var(--brown);
    box-shadow: 0 8px 20px rgba(255, 122, 0, .3);
}

.private-form button:active {
    transform: translateY(0);
}

@media(max-width:768px) {

    .private-form {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .private-form button {
        width: 100%;
        justify-content: center;
    }

}

/* PAGE EMPLACEMENTS */

/* .map-section{
    padding: clamp(60px, 8vw, 100px) 20px;
} */

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
    font-family: 'Dancing Script', cursive;
    color: var(--blue);
}

/* CONTENEUR CARTE */
.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
}

/* BOUTON */
.btn-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s ease;
    background: var(--accent);
    color: white;
}

.btn-map:hover {
    transform: translateY(-2px);
}

/* CARTE */

.documents-section {
    padding: 100px 20px;
}

.documents-section .container {
    max-width: 1200px;
    margin: 50px auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    margin: 0;
    line-height: 1.1;
}

.pdf-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.pdf-tab {
    border: none;
    cursor: pointer;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    transition: .3s;
}

.pdf-tab:hover {
    transform: translateY(-2px);
}

.pdf-tab.active {
    background: var(--blue);
    color: var(--white);
}

.pdf-viewer {
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
}

.pdf-viewer iframe {
    width: 100%;
    height: 900px;
    border: none;
    display: block;
}

.pdf-download {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
}

.pdf-download a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: .3s;
}

.pdf-download a:hover {
    transform: translateY(-2px);
}

/* MENTIONS LEGALES */

.page-header {

    padding: 40px 0;

    background: var(--bg);

}

.page-header .logo img {

    width: 90px;

}

.legal-hero {

    padding: 70px 0 20px;

}


.legal-hero h1 {

    font-size: clamp(3rem, 6vw, 5rem);

    font-family: 'Dancing Script', cursive;

    line-height: 1;

    margin-bottom: 24px;

    font-weight: 600;
    color: var(--accent);

}

.legal-hero p {

    max-width: 650px;

    color: var(--muted);

    font-size: 1.05rem;

}

.span-mentions-bold {

    font-weight: 600;

}

.legal-content .container {

    max-width: 900px;

}

.legal-content article {

    padding: 20px 0;

    border-top: 1px solid rgba(0, 0, 0, .08);

}

.legal-content article:last-child {

    border-bottom: 1px solid rgba(0, 0, 0, .08);

}

.legal-content h2 {
    font-family: 'Dancing Script', cursive;

    /* font-size: 1.55rem; */

    margin-bottom: 18px;

    font-weight: 600;
    color: var(--blue);

}

.legal-content p {

    color: var(--muted);

    line-height: 1.9;
    margin-bottom: 10px;
    text-align: justify;

}

.legal-content strong {

    color: var(--text);

}


/* RESPONSIVE */

@media (max-width: 992px) {

    .map-container iframe {
        height: 400px;
    }

    .btn-map {
        width: 100%;
        max-width: 350px;
    }

    .pdf-viewer iframe {
        height: 700px;
    }

    .horaire .reassurance-card {
        display: block;
    }

}

@media(max-width:768px) {

    .quote-section {
        padding: 50px 0;
    }

    .immersive-image {
        height: 60vh;
    }

    .map-section {
        padding: 60px 16px;
    }

    .map-section h2 {
        margin-top: 40px;
    }

    .map-container {
        border-radius: 14px;
    }

    .map-container iframe {
        height: 320px;
    }

    .btn-map {
        width: 100%;
        padding: 16px;
    }

    .documents-section {
        padding: 70px 16px;
    }

    .pdf-tabs {
        flex-direction: column;
    }

    .pdf-tab {
        width: 100%;
    }

    .pdf-viewer {
        border-radius: 16px;
    }

    .pdf-viewer iframe {
        height: 75vh;
        min-height: 500px;
    }

    .pdf-download a {
        width: 100%;
    }
}

@media(max-width:480px) {

    .map-container iframe {
        height: 280px;
    }

    .map-section {
        padding: 50px 12px;
    }

    .pdf-viewer iframe {
        height: 70vh;
        min-height: 450px;
    }


}