/*
Theme Name: Partir par SANDBAVA
Author: Bastien Sandoz
Description: Un thème WordPress pour le site Sylvie Thanadoula
Version: 1.0
*/

@font-face {
    font-family: 'Dancing Script';
    src: url('assets/fonts/DancingScript-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('assets/fonts/NunitoSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --brown: #623925;
    --egg: #FCC58F;
    --violet: #6b00a2;
    --lavander: #E5C3F6;
}

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

img {
    max-width: 100%;
}

.ml-30px {
    margin-left: 30px;
}

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

body {
    font-family: Nunito;
    font-size: 18pt;
    margin: 0;
    background-color: var(--violet);
    background-image: url('assets/images/fleur-de-lys-violet.webp');
    background-repeat: repeat;
    background-size: 45px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Dancing Script";
    font-weight: normal;
    margin: 0;
}

ul, li {
    margin: 0;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    font-family: Nunito;
    font-size: 16pt;
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    background-color: var(--violet);
    color: white;
    text-decoration: none;
    transition: background-color .7s ease, color .7s ease;
}

.btn:hover {
    background-color: var(--lavander);
    color: var(--violet);
}

.container {
    width: 90%;
    max-width: 1700px;
    margin: 0 auto;
}

.content {
    box-shadow: 0 0 150px rgba(0, 0, 0, 0.2);
    background-color: var(--violet);
    border-radius: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 15px;
    height: 100%;
}

.d-flex {
    display: flex;
    justify-content: space-between;
}

.col {
    flex: 1;
}

.site-header {
    position: relative;
    z-index: 3;
    height: 0;
}

#hero:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background-image: url('assets/images/arbre.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 800px;
    opacity: 0.05;
}

#navigation {
    position: absolute;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1800px, calc(100vw - 30px));
    height: 130px;
    background-color: var(--violet);
    color: var(--lavander);
    border-radius: 100px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    margin-left: 15px;
    color: inherit;
    text-decoration: none;
}

.brand-logo img {
    width: 100px;
    margin-top:10px;
}

.brand-text h2 {
    color: var(--egg);
    margin-top: -5px;
}

.brand-text h1,
.brand-text h2,
.navigation-contact {
    white-space: nowrap;
}

.navigation-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    align-self: center;
    margin-right: 50px;
}

.navigation-contact {
    padding: 12px 20px;
    border-radius: 30px 0 0 30px;
    border: 2px solid var(--lavander);
    color: var(--lavander);
    font-size: 16pt;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navigation-contact:hover,
.navigation-contact:focus-visible {
    background: var(--lavander);
    color: var(--violet);
}

.navigation-menu {
    position: relative;
}

.navigation-menu > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
}

.navigation-menu > summary {
    padding: 12px 20px;
    border: 2px solid var(--lavander);
    border-radius: 0 30px 30px 0;
    font-size: 16pt;
}

.navigation-menu summary::-webkit-details-marker {
    display: none;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.menu-icon {
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    position: absolute;
    left: 0;
    content: "";
}

.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }

.navigation-menu > nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 400px;
    padding: 12px 0;
    border-radius: 18px;
    background: var(--violet);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.main-menu a {
    display: block;
    padding: 10px 24px;
    color: var(--lavander);
    text-decoration: none;
}

.main-menu a:hover,
.main-menu a:focus-visible {
    color: var(--brown);
    background: var(--egg);
    border-radius: 15px 0 0 15px;
}

.menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-item-has-children > a::after {
    content: "+";
    font-size: 20pt;
    line-height: 1;
}

.menu-item-has-children.is-open > a::after {
    content: "−";
}

.sub-menu {
    display: none;
    padding: 4px 0 4px 18px;
}

.menu-item-has-children.is-open > .sub-menu {
    display: block;
}

.sub-menu a {
    font-size: 15pt;
}

.page main {
    color: var(--violet);
    margin: 0;
    padding: 200px 50px 50px 50px ;
    border-radius: 10px 10px 0 0;
    background: var(--lavander);
}

.page main.standard-page,
.page main.listing-page {
    padding-top: 260px;
}

.standard-page-content {
    max-width: 900px;
    margin: 45px auto 0;
    text-align: start;
}

.page main.contact-page {
    padding: 260px clamp(20px, 5vw, 70px) 120px;
}

.contact-page-header {
    max-width: 900px;
    margin: 0 auto 65px;
    text-align: center;
}

.contact-page-introduction {
    margin-top: 35px;
    text-align: start;
}

.contact-form-card {
    max-width: 1050px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 65px);
    border-radius: 28px;
    background: var(--egg);
    color: var(--brown);
    box-shadow: 0 18px 45px rgba(65, 23, 9, .16);
    scroll-margin-top: 180px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
}

.contact-form-field {
    min-width: 0;
}

.contact-form-field--full {
    grid-column: 1 / -1;
}

.contact-form label:not(.contact-consent) {
    display: block;
    margin-bottom: 9px;
    font-size: 13pt;
    font-weight: bold;
}

.field-optional,
.contact-field-help,
.contact-form-submit p {
    font-size: 10.5pt;
    font-weight: normal;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 2px solid transparent;
    border-radius: 12px;
    outline: none;
    background: white;
    color: var(--brown);
    font: inherit;
    font-size: 13pt;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form textarea {
    min-height: 190px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 4px rgba(107, 0, 162, .12);
}

.contact-field-help {
    margin: 8px 0 0;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 11.5pt;
    line-height: 1.45;
}

.contact-consent input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--violet);
}

.contact-form-submit {
    text-align: center;
}

.contact-form-submit .btn {
    cursor: pointer;
}

.contact-form-submit p {
    margin: 12px 0 0;
}

.contact-notice {
    margin: 0 0 35px;
    padding: 18px 20px;
    border-radius: 12px;
    font-size: 12.5pt;
}

.contact-notice--success {
    background: #e5f4e7;
    color: #245d2d;
}

.contact-notice--error {
    background: #fbe3df;
    color: #7c271d;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.custom-shape-divider-top-1785891292 {
    height: 120px;
    overflow: hidden;
    background: var(--brown);
    line-height: 0;
    pointer-events: none;
}

.custom-shape-divider-top-1785891292 svg {
    display: block;
    width: 100%;
    height: 100%;
}

.custom-shape-divider-top-1785891292 .shape-fill {
    fill: var(--lavander);
}

.custom-shape-divider-top-1785922196 {
    height: 120px;
    overflow: hidden;
    background: var(--lavander);
    line-height: 0;
    pointer-events: none;
}

.custom-shape-divider-top-1785922196 svg {
    display: block;
    width: 100%;
    height: 100%;
}

.custom-shape-divider-top-1785922196 .shape-fill {
    fill: var(--egg);
}

.page main.faq-page {
    padding: 260px clamp(20px, 5vw, 70px) 120px;
}

.faq-page-header {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.faq-page-introduction {
    margin-top: 35px;
    text-align: start;
}

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

.faq-item {
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 18px;
    background: var(--violet);
    color: var(--lavander);
    box-shadow: 0 10px 30px rgba(65, 23, 9, .1);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    cursor: pointer;
    list-style: none;
    font-weight: bold;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex: 0 0 auto;
    color: var(--lavander);
    font-size: 24pt;
    font-weight: normal;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item[open] summary {
    background: rgba(107, 0, 162, .1);
}

.faq-answer {
    border: 2px solid var(--violet);
    background-color: var(--lavander);
    color: var(--violet);
    border-radius: 0 0 18px 18px;
    padding: 5px 28px 28px;
    font-size: 14pt;
    line-height: 1.6;
}

.faq-answer > :last-child {
    margin-bottom: 0;
}

.faq-empty-state {
    text-align: center;
}

.faq-submission {
    max-width: 1000px;
    margin: 110px auto 0;
    padding: clamp(28px, 5vw, 65px);
    border-radius: 28px;
    background: var(--egg);
    color: var(--brown);
    box-shadow: 0 18px 45px rgba(65, 23, 9, .16);
    scroll-margin-top: 180px;
}

.faq-submission-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.faq-submission-heading h2 {
    margin: 8px 0 20px;
    font-size: 36pt;
}

.faq-eyebrow {
    margin: 0;
    color: var(--violet);
    font-size: 11pt;
    font-weight: bold;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.faq-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
}

.faq-form-field--full {
    grid-column: 1 / -1;
}

.faq-form-field label {
    display: block;
    margin-bottom: 9px;
    font-size: 13pt;
    font-weight: bold;
}

.faq-form input[type="text"],
.faq-form input[type="email"],
.faq-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 2px solid transparent;
    border-radius: 12px;
    outline: none;
    background: white;
    color: var(--brown);
    font: inherit;
    font-size: 13pt;
}

.faq-form textarea {
    min-height: 160px;
    resize: vertical;
}

.faq-form input:focus,
.faq-form textarea:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 4px rgba(107, 0, 162, .12);
}

.faq-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 11.5pt;
    line-height: 1.45;
}

.faq-consent input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--violet);
}

.faq-form-submit {
    text-align: center;
}

.faq-form-submit .btn {
    cursor: pointer;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sale-content {
    background-color: var(--egg);
}

.sale-content-inner {
    width: min(100%, 1100px);
    margin: 0 auto;
    padding: clamp(210px, 20vw, 250px) clamp(24px, 6vw, 80px) clamp(140px, 14vw, 200px);
    color: var(--brown);
    text-align: center;
}

.sale-content--compact-top .sale-content-inner {
    padding-top: clamp(80px, 9vw, 110px);
}

.sale-content-inner p {
    max-width: 850px;
    margin: 30px auto 0;
}

.listing-introduction {
    max-width: 900px;
    margin: 45px auto 110px;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 60px;
}

.listing-grid--count-1 {
    grid-template-columns: minmax(0, calc((100% - 56px) / 3));
    justify-content: center;
}

.listing-grid--count-2 {
    grid-template-columns: repeat(2, minmax(0, calc((100% - 56px) / 3)));
    justify-content: center;
}

.listing-introduction + .listing-grid {
    margin-top: 0;
}

.listing-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 65px;
}

.listing-pagination .page-numbers {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 24px;
    background: var(--violet);
    color: white;
    font-size: 12pt;
    text-decoration: none;
}

.listing-pagination .page-numbers.current,
.listing-pagination a.page-numbers:hover,
.listing-pagination a.page-numbers:focus-visible {
    background: var(--egg);
    color: var(--brown);
}

.listing-empty-state {
    margin: 60px 0;
    text-align: center;
}

.single-entry-page {
    margin: 0;
    padding: 260px clamp(24px, 5vw, 80px) 120px;
    background: var(--lavander);
    color: var(--violet);
}

.single-entry {
    max-width: 1000px;
    margin: 0 auto;
}

.single-entry-header {
    max-width: 850px;
    margin: 0 auto 65px;
    text-align: center;
}

.single-entry-type,
.single-entry-meta {
    margin: 0;
    font-size: 11pt;
    font-weight: bold;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.single-entry-header h1 {
    margin: 18px 0;
    font-size: clamp(38pt, 6vw, 64pt);
    line-height: 1.05;
}

.single-entry-image {
    overflow: hidden;
    margin: 0 0 70px;
    border-radius: 30px;
    box-shadow: 0 18px 45px rgba(65, 23, 9, .18);
}

.single-entry-image img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
}

.single-entry-content {
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.65;
}

.single-entry-content > :first-child {
    margin-top: 0;
}

.single-entry-content > :last-child {
    margin-bottom: 0;
}

.single-entry-pages {
    margin-top: 45px;
    text-align: center;
}

.single-entry-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 90px;
    padding-top: 35px;
    border-top: 1px solid rgba(107, 0, 162, .2);
}

.single-entry-navigation a {
    color: var(--violet);
    font-size: 13pt;
    font-weight: bold;
    text-decoration: none;
}

.single-entry-next {
    text-align: right;
}

.event-details {
    margin-top: 24px;
}

.event-detail {
    margin: 7px 0;
    font-size: 13pt;
    line-height: 1.4;
}

.event-detail span {
    font-weight: bold;
}

.event-registration {
    margin-top: 22px;
}

#sale-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 55px;
}

.sale-top-divider {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 120px;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}

.sale-top-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

.sale-top-divider .shape-fill {
    fill: var(--lavander);
}

.page-featured-image {
    position: absolute;
    z-index: 3;
    top: 120px;
    right: clamp(20px, 6vw, 100px);
    width: clamp(170px, 18vw, 280px);
    aspect-ratio: 1;
    overflow: hidden;
    border: 8px solid var(--lavander);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(65, 23, 9, .22);
    transform: translateY(-50%);
}

.page-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 700px) {
    .page main.faq-page {
        padding-top: 220px;
        padding-bottom: 80px;
    }

    .faq-page-header {
        margin-bottom: 55px;
    }

    .faq-item summary {
        padding: 20px;
        font-size: 14pt;
    }

    .faq-answer {
        padding: 4px 20px 22px;
        font-size: 12.5pt;
    }

    .faq-submission {
        margin-top: 75px;
    }

    .faq-submission-heading h2 {
        font-size: 30pt;
    }

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

    .faq-form-field--full {
        grid-column: auto;
    }

    .page main.contact-page {
        padding-top: 220px;
        padding-bottom: 80px;
    }

    .contact-page-header {
        margin-bottom: 45px;
    }

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

    .contact-form-field--full {
        grid-column: auto;
    }

    .single-entry-page {
        padding-top: 220px;
        padding-bottom: 90px;
    }

    .single-entry-header {
        margin-bottom: 45px;
    }

    .single-entry-image {
        margin-bottom: 45px;
        border-radius: 20px;
    }

    .single-entry-navigation {
        grid-template-columns: 1fr;
        margin-top: 65px;
    }

    .single-entry-next {
        text-align: left;
    }

    .listing-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .sale-content-inner {
        padding-top: 220px;
        padding-bottom: 130px;
    }

    #sale-cta {
        flex-direction: column;
        margin-top: 40px;
    }

    #sale-cta .btn {
        width: min(100%, 310px);
        border-radius: 30px;
        text-align: center;
    }

    .page-featured-image {
        right: 20px;
        width: 150px;
        border-width: 5px;
    }
}

@media (max-width: 1100px) and (min-width: 901px) {
    .brand-text h1 {
        font-size: 26pt;
    }

    .brand-text h2 {
        font-size: 18pt;
    }

    .navigation-actions {
        gap: 8px;
        margin-right: 50px;
    }

}

@media (max-width: 900px) {
    .container {
        width: 100%;
        height: 100%;
        margin: 0;
    }

    #navigation {
        flex-direction: column;
        justify-content: center;
        width: calc(100vw - 20px);
        height: 155px;
        padding: 6px 15px 14px;
        border-radius: 0px;
    }

    .brand {
        justify-content: center;
        margin-left: 0;
    }

    .brand-logo img {
        width: 65px;
    }

    .brand-text h1 {
        font-size: 24pt;
    }

    .brand-text h2 {
        font-size: 18pt;
    }

    .navigation-actions {
        gap: 8px;
        margin: 5px 0 0;
    }

    .navigation-contact,
    .navigation-menu > summary {
        padding: 8px 12px;
        font-size: 13pt;
    }

    .navigation-menu > nav {
        top: 100%;
        right: auto;
        left: 50%;
        width: min(400px, calc(100vw - 20px));
        border-radius: 0 0 18px 18px;
        transform: translateX(-50%);
    }

    .navigation-menu {
        position: static;
    }
}

@media (max-width: 520px) {
    #navigation {
        height: 145px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .brand-logo img {
        width: 58px;
    }

    .brand {
        gap: 8px;
    }

    .brand-text h1 {
        font-size: 20pt;
    }

    .brand-text h2 {
        margin-top: 0;
        font-size: 14pt;
    }

    .navigation-contact,
    .navigation-menu > summary {
        padding: 6px 9px;
        font-size: 10pt;
    }

    .navigation-actions {
        gap: 5px;
        margin-right: 8px;
    }

    .menu-icon,
    .menu-icon::before,
    .menu-icon::after {
        width: 17px;
    }

    .navigation-menu > nav {
        top: 100%;
        max-height: calc(100vh - 105px);
        overflow-y: auto;
    }
}

 #hero {
     position: relative;
     z-index: 2;
     display: flex;
     justify-content: center;
     align-items: center;
     min-height: 900px;
     border-radius: 10px 10px 0 0;
     background-color: var(--lavander);
     color: var(--violet);
     gap: 150px;
 }

 #value-proposition {
     text-align: center;
     margin-top: 50px;
 }

 #subtitle {
     margin-top: 70px;
     font-family: Nunito;
     font-size: 20pt;
     font-weight: normal;
 }

 #hero-cta {
     display: flex;
     justify-content: center;
     gap: 15px;
     margin-top: 70px;
 }

 #hero-cta-contact, #hero-cta-discover {
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
     font-weight: normal;
     font-size: 18pt;
 }

#hero-cta-contact {
    border-radius: 30px 0 0 30px;
}

#hero-cta-discover {
    border-radius: 0 30px 30px 0;
}

 #hero img {
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
     border-radius: 40px;
     margin-top: 65px;
     width: 380px;
 }

 .hero-col {
     position: relative;
     z-index: 2;
     min-width: 0;
 }

 @media (max-width: 1600px) and (min-width: 901px) {
     #hero {
         min-height: 900px;
     }

     #hero {
         gap: 35px;
         padding-right: 25px;
         padding-left: clamp(65px, 6vw, 95px);
     }

     #value-proposition {
         flex: 1 1 55%;
     }

     #hero > .hero-col:last-child {
         display: flex;
         flex: 1 1 45%;
         justify-content: center;
     }

     #title {
         font-size: 34pt;
     }

     #subtitle {
         margin-top: 80px;
         font-size: 17pt;
     }

     #hero-cta {
         flex-wrap: wrap;
         margin-top: 65px;
     }

     #hero-cta-contact,
     #hero-cta-discover {
         font-size: 15pt;
     }

     #hero img {
         width: min(30vw, 330px);
     }
 }

 @media (max-width: 1300px) and (min-width: 901px) {
     #hero {
         min-height: 0;
         padding-bottom: 120px;
         padding-top: 140px;
     }

     #subtitle {
         margin-top: 40px;
     }

     #title br, #subtitle br {
         display: none;
     }

     #hero-cta {
         margin-top: 40px;
     }
 }

 @media (max-width: 900px) {
     #hero {
         min-height: 0;
         flex-direction: column;
         gap: 25px;
         padding: 230px 25px 100px;
     }

     #value-proposition {
         margin-top: 0;
     }

     #title {
         font-size: 32pt;
         line-height: 1.1;
     }

     #subtitle {
         margin-top: 35px;
         font-size: 16pt;
         line-height: 1.4;
     }

     #title br, #subtitle br {
         display: none;
     }

     #hero-cta {
         flex-wrap: wrap;
         margin-top: 35px;
     }

     #hero-cta-contact,
     #hero-cta-discover {
         font-size: 14pt;
     }

     #hero img {
         display: block;
         width: min(75vw, 320px);
         margin: 10px auto 0;
     }
 }

 @media (max-width: 520px) {
     #hero {
         padding: 210px 15px 115px;
     }

     #title {
         font-size: 27pt;
     }

     #subtitle {
         margin-top: 25px;
         font-size: 14pt;
     }

     #hero-cta {
         flex-direction: column;
         align-items: center;
         margin-top: 28px;
     }

     #hero-cta-contact,
     #hero-cta-discover {
         width: min(100%, 310px);
         padding: 9px 15px;
         font-size: 12pt;
         text-align: center;
     }

     #hero img {
         width: min(82vw, 280px);
         border-radius: 30px;
     }
 }

#book-wrapper {
    margin: 0;
    height: 650px;
    position: relative;
    z-index: 2;
}

#book {
    position: absolute;
    z-index: 500;
    top: -100px;
    left: -25px;
    display: flex;
    width: calc(100% + 50px);
    min-height: 750px;
}

/* Séparateur décoratif entre une section et la suivante. */
.section-divider-host {
    position: relative;
}

.section-divider {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 0;
}

.section-divider-shape {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: -70px;
    left: 0;
    height: 70px;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}

.section-divider-shape svg {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleY(-1);
}

.section-divider-shape path {
    fill: var(--egg);
}

.book-page {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 50%;
    flex-direction: column;
    min-width: 0;
    min-height: 750px;
    padding: 115px 85px 115px;
    background: var(--egg);
    color: var(--brown);
}

.book-page h2 {
    margin: 0 0 85px;
    font-size: 36pt;
    line-height: 1.1;
    text-align: center;
}

.book-page p {
    margin: 0 0 28px;
    line-height: 1.28;
}

.book-page-link {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 9px;
    margin: auto auto 0;
    color: var(--brown);
}

.book-page-link:hover {
    color: var(--violet);
}

#left-page {
    border-radius: 0;
    border-top-right-radius: 190px 48px;
    background:
        linear-gradient(90deg,
            transparent 0%,
            transparent 76%,
            rgba(255, 255, 255, .16) 94%,
            rgba(255, 255, 255, .06) 100%),
        var(--egg);
}

#right-page {
    border-radius: 0;
    border-top-left-radius: 190px 48px;
    background: var(--egg);
}

.section-divider-medallion {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: -105px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffad64 0%, #ff7154 100%);
    box-shadow: 0 8px 18px rgba(65, 23, 9, .12);
    transform: translateX(-50%);
}

@media (max-width: 1300px) {
    #book-wrapper {
        height: auto;
    }

    #book {
        position: relative;
        top: -55px;
        left: -15px;
        width: calc(100% + 30px);
        min-height: 0;
        margin-bottom: -55px;
    }

    .section-divider-shape {
        bottom: -55px;
        height: 55px;
    }

    .book-page {
        min-height: 620px;
        padding: 100px 45px 105px;
    }

    .book-page h2 {
        margin-bottom: 55px;
        font-size: 31pt;
    }

    .section-divider-medallion {
        bottom: -70px;
        width: 145px;
        height: 145px;
    }
}

@media (max-width: 700px) {
    #book {
        top: -30px;
        left: -8px;
        display: block;
        width: calc(100% + 16px);
        padding-bottom: 0;
        margin-bottom: -30px;
    }

    .section-divider-shape {
        bottom: -50px;
        height: 50px;
    }

    .book-page {
        min-height: 0;
        padding: 60px 28px 80px;
    }

    .book-page h2 {
        margin-bottom: 32px;
        font-size: 29pt;
    }

    .book-page p {
        margin-bottom: 24px;
        font-size: 14pt;
        line-height: 1.42;
    }

    .book-page-link {
        margin: 16px auto 0;
    }

    #left-page {
        border-radius: 0;
        padding-bottom: 40px;
        background: var(--egg);
    }

    #right-page {
        border-radius: 0;
        padding-top: 40px;
        padding-bottom: 100px;
        background: var(--egg);
    }

    .section-divider-medallion {
        bottom: -60px;
        width: 120px;
        height: 120px;
    }
}


footer {
    position: relative;
    overflow: hidden;
    margin: 0;
    color: var(--egg);
    background-color: var(--brown);
    border-radius: 0 0 10px 10px;
    padding: 200px 70px 30px;
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1500px;
    margin: 0 auto;
}

.footer-content-section + .footer-content-section {
    margin-top: 100px;
}

.footer-section-heading {
    margin-bottom: 38px;
    text-align: center;
}

.footer-heading-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 22px;
}

.footer-all-link {
    color: var(--lavander);
    font-size: 11pt;
    font-weight: bold;
    white-space: nowrap;
}

.footer-all-link:hover {
    color: var(--egg);
}

.footer-section-link {
    display: none;
    margin: 38px 0 0;
    text-align: center;
}

.footer-content-section--count-4 .footer-section-link,
.footer-section-link--more-events {
    display: block;
}

.site-footer h2 {
    font-size: 36pt;
    line-height: 1.1;
}

.footer-eyebrow {
    margin: 0 0 8px;
    color: var(--lavander);
    font-size: 11pt;
    font-weight: bold;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.footer-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.footer-card-grid--count-1 {
    grid-template-columns: minmax(0, calc((100% - 56px) / 3));
    justify-content: center;
}

.footer-card-grid--count-2 {
    grid-template-columns: repeat(2, minmax(0, calc((100% - 56px) / 3)));
    justify-content: center;
}

.footer-card {
    overflow: hidden;
    min-width: 0;
    background: var(--egg);
    color: var(--brown);
    border: 1px solid var(--egg);
    border-radius: 22px;
    text-align: left;
    box-shadow: 0 18px 45px rgba(30, 10, 3, .18);
}

.footer-card-image {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
    background: var(--lavander);
}

.footer-card-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(transparent, rgba(98, 57, 37, .18));
}

.footer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.footer-card-image img[src*="arbre.png"] {
    object-fit: contain;
    padding: 30px;
    opacity: .42;
}

.footer-card:hover .footer-card-image img {
    transform: scale(1.045);
}

.footer-card-body {
    padding: 25px 26px 28px;
}

.footer-card-meta {
    margin: 0 0 9px;
    color: var(--violet);
    font-size: 10.5pt;
    font-weight: bold;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-card .event-details {
    margin: 0 0 14px;
    color: var(--violet);
}

.footer-card .event-detail {
    margin: 4px 0;
    font-size: 10.5pt;
    letter-spacing: .02em;
}

.footer-card h3 {
    font-size: 25pt;
    line-height: 1.1;
}

.listing-card h2 {
    font-size: 25pt;
    line-height: 1.1;
}

.footer-card h3 a {
    color: var(--brown);
    text-decoration: none;
}

.listing-card h2 a {
    color: var(--brown);
    text-decoration: none;
}

.footer-card-excerpt {
    margin: 15px 0 22px;
    color: #765444;
    font-size: 13pt;
    line-height: 1.45;
}

.footer-card-link {
    color: var(--violet);
    font-size: 12pt;
    font-weight: bold;
    text-decoration: none;
}

.footer-card-link span {
    display: inline-block;
    margin-left: 5px;
    transition: transform .2s ease;
}

.footer-card-link:hover span {
    transform: translateX(5px);
}

.footer-empty-state {
    padding: 35px;
    border: 1px dashed rgba(252, 197, 143, .45);
    border-radius: 18px;
    color: var(--lavander);
    font-size: 14pt;
    text-align: center;
}

section.credits {
    position: relative;
    z-index: 1;
    margin-top: 90px;
    padding-top: 26px;
    border-top: 1px solid rgba(252, 197, 143, .25);
    text-align: center;
}

section.credits p {
    margin: 0;
    color: var(--egg);
    font-size: 11pt;
    opacity: 1;
    visibility: visible;
}

section.credits a {
    color: var(--egg);
    font-size: inherit;
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1050px) {
    footer {
        padding-right: 35px;
        padding-left: 35px;
    }

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

    .footer-card-grid > .footer-card:nth-child(n + 3) {
        display: none;
    }

    .footer-content-section--count-3 .footer-section-link,
    .footer-content-section--count-4 .footer-section-link {
        display: block;
    }

    .footer-card-grid--count-1 {
        grid-template-columns: minmax(0, calc((100% - 28px) / 2));
    }

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

    .listing-grid--count-1 {
        grid-template-columns: minmax(0, calc((100% - 28px) / 2));
    }
}

@media (max-width: 680px) {
    footer {
        padding: 150px 18px 24px;
    }

    .footer-content-section + .footer-content-section {
        margin-top: 75px;
    }

    .site-footer h2 {
        font-size: 30pt;
    }

    .footer-heading-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

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

    .footer-card-grid > .footer-card:nth-child(n + 2) {
        display: none;
    }

    .footer-content-section--count-2 .footer-section-link,
    .footer-content-section--count-3 .footer-section-link,
    .footer-content-section--count-4 .footer-section-link {
        display: block;
    }

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

    .footer-card-image {
        height: 200px;
    }

    section.credits {
        margin-top: 70px;
    }
}
