@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&family=Montserrat:wght@300;400;500&display=swap');

:root {
    --white: #ffffff;
    --black: #111111;
    --gold: #C8A96A;
    --grey: #6f6f6f;
    --cream: #F5F3EE;
    --border: #e9e3d8;

    --serif: "Playfair Display", Georgia, serif;
    --sans: "Montserrat", Arial, sans-serif;

    --max-width: 1440px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--black);
    background: var(--white);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    height: 108px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 100;
}

.header-inner {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 48px;

    display: grid;
    grid-template-columns: 240px 1fr auto;
    align-items: center;
    gap: 40px;
}

.brand {
    width: 190px;
}

.brand img {
    width: 100%;
    height: 88px;
    object-fit: contain;

    /*
       Le JPG contient beaucoup de blanc autour du logo.
       On l'affiche donc plus grand dans sa boîte.
       Le SVG final remplacera simplement cette image.
    */
    transform: scale(1.32);
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 38px;

    font-size: 13px;
    font-weight: 400;
}

.main-nav a {
    position: relative;
    padding: 10px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    height: 1px;
    background: var(--gold);
    transition: 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    left: 0;
    right: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.languages {
    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--grey);
}

.languages .active {
    color: var(--black);
    font-weight: 500;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    min-height: 48px;
    padding: 0 27px;

    font-size: 12px;
    font-weight: 400;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border 0.25s ease,
        transform 0.25s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-outline {
    color: var(--gold);
    border: 1px solid var(--gold);
}

.button-outline:hover {
    background: var(--gold);
    color: var(--white);
}

.button-gold {
    background: var(--gold);
    color: var(--white);
    border: 1px solid var(--gold);
}

.button-gold:hover {
    background: #a77b2e;
}

.mobile-menu-button {
    display: none;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 680px;
    display: grid;
    grid-template-columns: 52% 48%;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,1) 45%,
            rgba(255,255,255,0.86) 53%,
            rgba(255,255,255,0) 65%
        ),
        linear-gradient(135deg, #ffffff, #f6f3ed);
}

.hero-content {
    position: relative;
    z-index: 2;

    padding:
        clamp(70px, 8vw, 120px)
        40px
        70px
        max(48px, calc((100vw - var(--max-width)) / 2 + 48px));
}

.eyebrow,
.section-label {
    margin: 0 0 34px;

    color: var(--grey);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.34em;
    line-height: 2;
}

.hero h1 {
    max-width: 760px;
    margin: 0;

    font-family: var(--serif);
    font-size: clamp(40px, 4vw, 65px);
    font-weight: 400;
    line-height: 1.09;
    letter-spacing: -0.025em;
}

.gold-line {
    width: 48px;
    height: 1px;
    margin: 31px 0;
    background: var(--gold);
}

.hero-promise {
    margin: 0 0 34px;

    color: #4d4d4d;
    font-size: 18px;
    line-height: 1.6;
}

.hero-values {
    margin-top: 65px;

    display: flex;
    flex-direction: column;
    gap: 3px;

    color: #555;
    font-size: 9px;
    letter-spacing: 0.34em;
}

.hero-image {
    position: absolute;
    inset: 0 0 0 42%;

    /*
       Image temporaire pour donner immédiatement l'ambiance.
       On la remplacera ensuite par notre propre photo optimisée.
    */
    background-image:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.72) 0%,
            rgba(255,255,255,0.05) 30%
        ),
        url("../images/accueil-interieur.jpg");

    background-size: cover;
    background-position: center;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.introduction {
    background: var(--cream);
    padding: 105px 30px 95px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-label {
    color: var(--gold);
    margin-bottom: 18px;
}

.introduction h2 {
    margin: 0;

    font-family: var(--serif);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.2;
}

.gold-line.centered {
    margin: 28px auto 34px;
}

.introduction-text {
    max-width: 780px;
    margin: 0 auto 10px;

    color: #5b5b5b;
    font-size: 15px;
}

.values-grid {
    margin-top: 75px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
}

.value-card {
    padding: 0 20px;
}

.value-icon {
    height: 50px;

    color: var(--gold);
    font-family: var(--serif);
    font-size: 38px;
    line-height: 1;
}

.value-card h3 {
    margin: 12px 0 7px;

    font-family: var(--serif);
    font-size: 21px;
    font-weight: 400;
}

.value-card p {
    margin: 0;
    color: var(--grey);
    font-size: 13px;
}

.intro-actions {
    margin-top: 65px;
}

.text-link {
    display: inline-flex;
    gap: 15px;
    align-items: center;

    padding-bottom: 5px;

    color: var(--gold);
    font-size: 13px;
    border-bottom: 1px solid rgba(184, 138, 54, 0.5);
}


/* =========================================================
   CLOSING
   ========================================================= */

.closing-banner {
    min-height: 290px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    background:
        linear-gradient(rgba(17,17,17,0.30), rgba(17,17,17,0.30)),
        url("../images/bandeau-interieur.jpg");

    background-size: cover;
    background-position: center;
}

.closing-content {
    width: min(720px, calc(100% - 50px));
    padding: 35px 45px;

    text-align: center;
    background: rgba(255,255,255,0.91);
    backdrop-filter: blur(5px);
}

.closing-content p {
    margin: 0;

    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 58px 48px 22px;

    background: #151515;
    color: rgba(255,255,255,0.78);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 70px;
    align-items: center;
}

.footer-brand img {
    width: 165px;
    height: 85px;
    object-fit: contain;

    /*
       Le JPG actuel a un fond blanc.
       On conserve cette version provisoire.
       Une version SVG inversée sera idéale ici plus tard.
    */
    background: white;
    padding: 4px;
}

.footer-brand p {
    margin: 8px 0 0;

    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-nav {
    display: flex;
    gap: 30px;

    font-size: 11px;
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;

    font-size: 11px;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-languages {
    margin-top: 8px;
    color: rgba(255,255,255,0.6);
}

.footer-languages .active {
    color: var(--gold);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 45px auto 0;
    padding-top: 18px;

    display: flex;
    justify-content: space-between;

    border-top: 1px solid rgba(255,255,255,0.1);

    color: rgba(255,255,255,0.45);
    font-size: 9px;
}

.footer-bottom div {
    display: flex;
    gap: 12px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .header-inner {
        padding: 0 25px;
        grid-template-columns: 180px 1fr auto;
    }

    .main-nav {
        gap: 20px;
    }

    .header-actions .button {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-left: 45px;
        padding-right: 45px;
    }

    .hero-image {
        inset: 0;
        opacity: 0.35;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-nav {
        display: none;
    }
}


@media (max-width: 720px) {

    .site-header {
        height: 88px;
    }

    .header-inner {
        grid-template-columns: 150px 1fr;
    }

    .brand {
        width: 145px;
    }

    .brand img {
        height: 72px;
    }

    .header-actions {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
        justify-self: end;
        flex-direction: column;
        gap: 5px;

        width: 35px;
        padding: 7px;

        background: none;
        border: 0;
        cursor: pointer;
    }

    .mobile-menu-button span {
        width: 100%;
        height: 1px;
        background: var(--black);
    }

    .main-nav {
        display: none;

        position: absolute;
        top: 88px;
        left: 0;
        right: 0;

        padding: 30px;

        flex-direction: column;
        align-items: center;
        gap: 15px;

        background: var(--white);
        border-top: 1px solid var(--border);
    }

    .main-nav.open {
        display: flex;
    }

    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding:
            70px
            28px
            55px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-image {
        inset: 35% 0 0;
        opacity: 0.30;
    }

    .hero-values {
        margin-top: 55px;
    }

    .introduction {
        padding: 75px 25px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 45px;
        margin-top: 55px;
    }

    .closing-content {
        padding: 28px 24px;
    }

    .site-footer {
        padding: 45px 25px 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-contact {
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }
}

/* =========================================================
   INTERNAL PAGES
   ========================================================= */

.page-hero {
    padding: 95px 30px 85px;
    background: var(--cream);
}

.page-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-hero h1,
.about-content h1,
.contact-intro h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 62px);
    font-weight: 400;
    line-height: 1.12;
}

.page-hero p:last-child {
    max-width: 650px;
    margin: 0 auto;
    color: var(--grey);
}


/* SERVICES */

.packages-section {
    padding: 90px 40px 100px;
}

.packages-grid {
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.package-card {
    position: relative;
    padding: 48px 38px;
    background: #fff;
    border: 1px solid var(--border);
}

.package-featured {
    background: var(--cream);
    border-top: 3px solid var(--gold);
}

.package-number {
    color: rgba(184,138,54,0.32);
    font-family: var(--serif);
    font-size: 45px;
}

.package-level {
    margin: 15px 0 8px;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 0.28em;
}

.package-card h2 {
    margin: 0 0 18px;
    font-family: var(--serif);
    font-size: 29px;
    font-weight: 400;
}

.package-intro {
    min-height: 80px;
    color: var(--grey);
    font-size: 13px;
}

.package-card ul {
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.package-card li {
    position: relative;
    padding: 11px 0 11px 22px;
    border-bottom: 1px solid #eee9df;
    font-size: 12px;
}

.package-card li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--gold);
}

.package-promise {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--gold);
}

.package-promise span {
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 0.2em;
}

.package-promise p {
    margin-bottom: 0;
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.5;
}


/* ABOUT */

.about-section {
    padding: 90px 45px;
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 90px;
    align-items: center;
}

.about-photo img {
    width: 100%;
    max-height: 650px;
    object-fit: cover;
    object-position: center;
}

.about-content p {
    color: var(--grey);
    font-size: 14px;
}

.about-content .section-label {
    color: var(--gold);
}

.signature {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid var(--border);

    display: flex;
    flex-direction: column;
}

.signature strong {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
}

.signature span {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 0.12em;
}

.philosophy {
    padding: 90px 30px;
    background: var(--cream);
}


/* CONTACT */

.contact-section {
    padding: 100px 45px;
    background: var(--cream);
}

.contact-grid {
    max-width: 1150px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 100px;
}

.contact-intro > p {
    max-width: 450px;
    color: var(--grey);
}

.direct-contact {
    margin-top: 50px;

    display: flex;
    flex-direction: column;
}

.direct-contact span {
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 0.2em;
}

.direct-contact a {
    margin-top: 6px;
    font-family: var(--serif);
    font-size: 19px;
}

.contact-form {
    padding: 45px;
    background: var(--white);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-field {
    margin-bottom: 24px;

    display: flex;
    flex-direction: column;
}

.form-field label {
    margin-bottom: 7px;

    color: #555;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 3px;

    color: var(--black);
    background: transparent;

    font-family: var(--sans);
    font-size: 14px;

    border: 0;
    border-bottom: 1px solid #ccc4b6;
    border-radius: 0;
    outline: none;
}

.form-field textarea {
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--gold);
}

.privacy-check {
    margin: 5px 0 28px;

    display: flex;
    gap: 10px;

    color: var(--grey);
    font-size: 10px;
}

.form-notice {
    margin: 18px 0 0;
    color: var(--grey);
    font-size: 10px;
}


/* SHARED CTA */

.simple-cta {
    padding: 90px 30px;
    text-align: center;
}

.simple-cta h2 {
    margin: 0 0 15px;

    font-family: var(--serif);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 400;
}

.simple-cta > p:not(.section-label) {
    max-width: 650px;
    margin: 0 auto 30px;
    color: var(--grey);
}


/* INTERNAL MOBILE */

@media (max-width: 850px) {

    .packages-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .packages-grid {
        max-width: 600px;
    }

    .package-intro {
        min-height: auto;
    }

    .about-grid,
    .contact-grid {
        gap: 45px;
    }

    .about-photo {
        max-width: 500px;
        margin: 0 auto;
    }
}


@media (max-width: 600px) {

    .page-hero,
    .packages-section,
    .about-section,
    .contact-section {
        padding-left: 22px;
        padding-right: 22px;
    }

    .package-card {
        padding: 35px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 30px 22px;
    }

    .about-content h1,
    .contact-intro h1 {
        font-size: 39px;
    }
}
/* =========================================================
   CONTACT - MESSAGES & ANTI-SPAM
   ========================================================= */

.website-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-message {
    margin-bottom: 30px;
    padding: 18px 20px;

    font-size: 12px;
    line-height: 1.6;
}

.form-message p {
    margin: 0 0 5px;
}

.form-message p:last-child {
    margin-bottom: 0;
}

.form-success {
    border-left: 2px solid var(--gold);
    background: var(--cream);
}

.form-error {
    border-left: 2px solid #8c3b32;
    background: #fbf5f4;
}
.brand { width: 225px; }
.site-footer { background: #181818; }
.button-gold { color: var(--black); }
.button-outline, .text-link, .section-label { color: #806128; }
.button-outline:hover, .button-gold:hover { background: #b99a59; color: var(--black); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #806128; outline-offset: 4px;
}
.hero-content { max-width: 850px; }
.mobile-languages { display: none; }
@media (max-width: 1100px) { .header-inner { gap: 20px; } .main-nav { gap: 22px; } }
@media (max-width: 720px) {
    .brand { width: 160px; }
    .header-inner { grid-template-columns: 160px 1fr auto; gap: 12px; padding: 0 20px; }
    .header-actions { display: flex; grid-column: 2; grid-row: 1; justify-self: end; }
    .mobile-menu-button { grid-column: 3; grid-row: 1; }
    .footer-bottom { gap: 15px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Photos de la précédente version, conservées localement. */
.hero-image {
    position: absolute;
    inset: 0 0 0 45%;
    display: block;
    padding: 0;
    opacity: 1;
    background-image: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.85) 15%, rgba(255,255,255,0) 45%), url("../images/accueil-interieur.jpg");
    background-size: cover;
    background-position: center;
}
.closing-banner {
    min-height: 330px;
    background-image: linear-gradient(rgba(17,17,17,.18), rgba(17,17,17,.18)), url("../images/bandeau-interieur.jpg");
    background-size: cover;
    background-position: center 55%;
}
@media (max-width: 1000px) {
    .hero-image { position: relative; inset: auto; opacity: 1; padding: 0; min-height: 300px; background-image: url("../images/accueil-interieur.jpg"); }
    .hero { min-height: auto; }
}

.legal-content { text-align: left; max-width: 850px; }
.legal-content h2 { font-family: var(--serif); font-weight: 400; margin-top: 35px; }

/* Logos SVG autonomes : aucun cadrage ni agrandissement artificiel. */
.brand img { width: 100%; height: auto; object-fit: contain; transform: none; }
.footer-brand img { width: 260px; height: auto; padding: 0; background: none; }
@media (max-width: 720px) { .brand img { height: auto; } .footer-brand img { max-width: 100%; } }

@media (max-width: 720px) { .hero-image { min-height: 250px; } .closing-content { padding: 28px 24px; } }
