* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #F8F5EE;
    color: #171717;
    font-family: Arial, sans-serif;
}

a {
    color: inherit;
}

/* ========================================
   HEADER
======================================== */

.site-header {
    background: #F8F5EE;
    padding: 16px 40px;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo-link {
    display: block;
}

.logo {
    width: 145px;
    height: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    text-decoration: none;
    font-size: 15px;
}

.main-nav a:hover {
    color: #0B4F3A;
}

.header-cta {
    background: #0B4F3A;
    color: #F8F5EE;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 8px;
    white-space: nowrap;
}

/* ========================================
   HERO
======================================== */

.hero {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding: 55px 40px 75px;
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(42px, 4.4vw, 68px);
    line-height: 1.08;
    font-weight: 500;
    margin-bottom: 18px;
}

.hero p {
    font-size: 21px;
    line-height: 1.5;
    margin-bottom: 32px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.buttons a,
.btn-primary {
    text-decoration: none;
    padding: 15px 28px;
    border-radius: 8px;
}

.btn-primary {
    background: #0B4F3A;
    color: white;
}

.btn-secondary {
    border: 1px solid #0B4F3A;
    color: #0B4F3A;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 8px;
}

/* ========================================
   PHOTOBOOTH
======================================== */

.photobooth-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px 40px 55px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.photobooth-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.photobooth-content h2 {
    font-family: Georgia, serif;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 34px;
    white-space: nowrap;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 35px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #DED7CA;
}

.feature-icon {
    font-size: 30px;
    line-height: 1;
    min-width: 42px;
    text-align: center;
}

.feature h3 {
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.15;
    margin-bottom: 7px;
}

.feature p {
    color: #555;
    font-size: 14px;
    line-height: 1.45;
}

/* ========================================
   NOTRE HISTOIRE
======================================== */

.story-section {
    width: 100%;
    background: #0B4F3A;
    color: white;
    padding: 32px max(40px, calc((100vw - 1280px) / 2));
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    align-items: center;
    gap: 40px;
}

.story-left span {
    display: block;
    color: #F8F5EE;
    font-size: 11px;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.story-left h2 {
    font-family: Georgia, serif;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 400;
}

.story-right {
    border-left: 2px solid #C59A35;
    padding-left: 28px;
}

.story-right p {
    color: #C59A35;
    font-family: Georgia, serif;
    font-size: 21px;
    line-height: 1.2;
    white-space: nowrap;
}

/* ========================================
   COMMENT ÇA MARCHE
======================================== */

.how-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 35px 40px;
}

.how-section > h2 {
    text-align: center;
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 25px;
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 25px;
}

.how-step {
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-number {
    width: 44px;
    height: 44px;
    background: #EFE8DA;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.how-step h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.how-step p {
    color: #666;
    font-size: 14px;
}

.how-arrow {
    color: #C59A35;
    font-size: 28px;
}

/* ========================================
   FORMULES
======================================== */

.formules-section {
    max-width: 900px;
    margin: 20px auto 50px;
    text-align: center;
    padding: 35px 40px;
}

.formules-section h2 {
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 500;
    margin-bottom: 15px;
}

.formules-section p {
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

.formules-section .btn-primary {
    display: inline-block;
}

/* ========================================
   FAQ + CONTACT
======================================== */

.faq-contact-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 40px 55px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.faq-section h2,
.contact-section h2 {
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 18px;
}

/* ========================================
   FAQ
======================================== */

.faq-item {
    border-bottom: 1px solid #D9D4CB;
}

.faq-question {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 15px;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-size: 22px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 18px;
    color: #555;
    line-height: 1.5;
    font-size: 14px;
}

/* ========================================
   CONTACT
======================================== */

.contact-intro {
    margin-bottom: 20px;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #D6D0C5;
    background: white;
    padding: 13px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 1px solid #0B4F3A;
}

.contact-form textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-form button {
    background: #0B4F3A;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
}

.contact-form button:hover {
    background: #083D2D;
}

.hidden-field {
    display: none;
}

/* ========================================
   CHAMP DATE
======================================== */

.date-wrapper {
    position: relative;
    width: 100%;
}

.date-wrapper input {
    width: 100%;
    padding-right: 45px;
}

.date-required {
    position: absolute;
    top: 50%;
    left: 92px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #555;
    font-size: 14px;
    z-index: 2;
}

/* ========================================
   RGPD
======================================== */

.rgpd {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.4;
    color: #555;
}

.rgpd p {
    margin-bottom: 6px;
}

.rgpd a {
    text-decoration: underline;
}

/* ========================================
   PAGES JURIDIQUES
======================================== */

.legal-page {
    background: #F8F5EE;
    padding: 50px 40px 80px;
    font-family: Arial, sans-serif;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

/* EN-TÊTE */

.legal-hero {
    text-align: center;
    margin-bottom: 48px;
}

.legal-eyebrow {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #0B4F3A;
    margin-bottom: 14px;
}

.legal-hero h1 {
    font-family: Arial, sans-serif;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
    color: #0B4F3A;
    margin-bottom: 12px;
}

.legal-date {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #6B665E;
    margin-bottom: 28px;
}

.legal-intro {
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #252525;
    text-align: justify;
    text-justify: inter-word;
}

/* ========================================
   SECTIONS JURIDIQUES
======================================== */

.legal-section {
    padding: 34px 0;
    border-top: 1px solid #D8D1C4;
}

.legal-section h2 {
    font-family: Arial, sans-serif;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0B4F3A;
    margin-bottom: 24px;
    text-align: center;
}

.legal-section h3 {
    max-width: 800px;
    margin: 26px auto 14px;
    font-family: Arial, sans-serif;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
    color: #171717;
}

.legal-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #252525;
    margin-bottom: 14px;
    text-align: justify;
    text-justify: inter-word;
}

.legal-section ul {
    max-width: 800px;
    margin: 8px auto 20px;
    padding-left: 24px;
}

.legal-section li {
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #252525;
    margin-bottom: 5px;
}

.legal-section strong {
    font-weight: 700;
}

.legal-section a {
    color: #0B4F3A;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ========================================
   INFORMATIONS ENTREPRISE
======================================== */

.legal-info {
    max-width: 800px;
    margin: 22px auto 24px;
}

.legal-info p {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 30px;
    padding: 11px 0;
    margin: 0;
    border-bottom: 1px solid #E2DCCF;
    text-align: left;
    font-size: 17px;
    line-height: 1.8;
}

.legal-info p:last-child {
    border-bottom: none;
}

.legal-info strong {
    min-width: 230px;
    font-weight: 700;
    color: #171717;
    font-size: 17px;
}

.legal-info a {
    color: #0B4F3A;
}

/* ========================================
   LIENS
======================================== */

.legal-link {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #0B4F3A;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ========================================
   RETOUR
======================================== */

.legal-back {
    text-align: center;
    margin-top: 42px;
    padding-top: 26px;
    border-top: 1px solid #D8D1C4;
}

.legal-back a {
    color: #0B4F3A;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.legal-back a:hover {
    text-decoration: underline;
}

/* ========================================
   FOOTER
======================================== */

footer {
    background: #0B4F3A;
    color: white;
    padding: 22px 40px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

footer nav a {
    color: white;
    text-decoration: none;
    font-size: 13px;
}

footer nav a:hover {
    text-decoration: underline;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 850px) {

    .site-header {
        padding: 14px 20px;
    }

    .main-nav {
        display: none;
    }

    .logo {
        width: 105px;
    }

    .header-cta {
        padding: 11px 14px;
        font-size: 12px;
    }

    .hero {
        padding: 45px 20px 60px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }

    .buttons {
        flex-direction: column;
    }

    .photobooth-section {
        grid-template-columns: 1fr;
        padding: 15px 20px 45px;
        gap: 35px;
    }

    .photobooth-content h2 {
        font-size: 34px;
        white-space: normal;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .story-section {
        grid-template-columns: 1fr;
        padding: 35px 20px;
        gap: 25px;
    }

    .story-left h2 {
        font-size: 25px;
    }

    .story-right {
        border-left: none;
        border-top: 2px solid #C59A35;
        padding-left: 0;
        padding-top: 20px;
    }

    .story-right p {
        font-size: 23px;
        white-space: normal;
    }

    .how-section {
        padding: 35px 20px;
    }

    .how-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .how-arrow {
        display: none;
    }

    .faq-contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px 20px 45px;
        gap: 45px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .legal-page {
        padding: 35px 20px 60px;
    }

    .legal-hero {
        margin-bottom: 38px;
    }

    .legal-hero h1 {
        font-size: 32px;
    }

    .legal-intro {
        font-size: 16px;
        text-align: left;
    }

    .legal-section {
        padding: 27px 0;
    }

    .legal-section h2 {
        font-size: 20px;
        letter-spacing: 1.5px;
    }

    .legal-section h3 {
        font-size: 18px;
    }

    .legal-section p {
        font-size: 16px;
        text-align: left;
    }

    .legal-section li {
        font-size: 16px;
    }

    .legal-info p {
        display: block;
        padding: 9px 0;
        font-size: 16px;
    }

    .legal-info strong {
        display: block;
        min-width: 0;
        margin-bottom: 3px;
        font-size: 16px;
    }

    .legal-link {
        font-size: 16px;
    }

    footer nav {
        flex-direction: column;
        align-items: center;
    }
}