/*
Theme Name: Madam Massage
Description: Identité visuelle Madam Massage — plum, mauve, crème et ocre.
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --plum: #552A5D;
    --plum-dark: #332333;
    --plum-deep: #261923;
    --mauve: #9A719F;
    --mauve-light: #D8C7D8;
    --cream: #F6F0E6;
    --cream-light: #FFFDF8;
    --gold: #C49A35;
    --gold-light: #D8B95B;
    --ink: #342B33;
    --text: #594D56;
    --line: rgba(85,42,93,.16);
    --serif: "Cormorant Garamond", Georgia, serif;
    --body: "Libre Baskerville", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.9;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a { color: inherit; text-decoration: none; }

.container {
    width: min(1120px, calc(100% - 64px));
    margin: 0 auto;
}

/* HEADER */
.site-header {
    position: relative;
    z-index: 20;
    background: var(--plum-dark);
    color: #fffaf4;
    border-bottom: 1px solid rgba(216,185,91,.25);
}

.site-header-inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.site-logo {
    justify-self: start;
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 600;
    letter-spacing: .02em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-family: var(--serif);
    font-size: 15px;
}

.site-nav a {
    opacity: .9;
    transition: color .2s ease, opacity .2s ease;
}

.site-nav a:hover {
    color: var(--gold-light);
    opacity: 1;
}

.sun-symbol {
    justify-self: end;
    color: var(--gold);
    font-size: 20px;
}

/* COMMON */
.section-kicker {
    margin: 0 0 12px;
    color: var(--gold);
    font-family: var(--body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
}

h1, h2, h3, h4 {
    margin-top: 0;
    font-family: var(--serif);
    font-weight: 500;
    line-height: .98;
}

h2 {
    font-size: clamp(52px, 6vw, 78px);
    color: var(--plum);
}

em {
    color: var(--mauve);
    font-style: normal;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 15px 26px;
    background: var(--gold);
    color: var(--plum-deep);
    font-family: var(--body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    box-shadow: 0 14px 30px rgba(48,32,43,.15);
    transition: transform .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
    background: var(--gold-light);
}

.small-rule {
    display: block;
    margin: 22px 0 28px;
    color: var(--gold);
    letter-spacing: .5em;
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    padding: 62px 0 70px;
    background:
        radial-gradient(circle at 10% 18%, rgba(255,247,216,.48), transparent 30%),
        radial-gradient(circle at 88% 78%, rgba(196,154,53,.16), transparent 32%),
        linear-gradient(135deg, #e6c77f 0%, #f0d9a7 48%, #ead6b1 100%);
}

.hero:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    height: 1px;
    background: var(--line);
}

.hero-inner {
    min-height: 500px;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 70px;
    align-items: center;
}

.hero-copy {
    padding-left: 20px;
    text-align: center;
}

.hero-ornament {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 21px;
}

.hero-kicker {
    margin: 0 0 18px;
    color: #8f6a25;
    font-family: var(--body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 20px;
    color: var(--plum);
    font-size: clamp(78px, 9vw, 122px);
    letter-spacing: .035em;
    line-height: .72;
}

.hero h1 em {
    color: var(--mauve);
    font-style: normal;
    font-weight: 500;
}

.hero-rule {
    width: 88px;
    height: 1px;
    margin: 12px auto 12px;
    background: var(--gold);
    margin-top: -525px !important;
}

.hero h2 {
    margin-bottom: 17px;
    color: var(--plum);
    font-size: 28px;
    line-height: 1.08;
}

.hero-text {
    max-width: 480px;
    margin: 0 auto 28px;
    font-family: var(--body);
    font-size: 13px;
    font-style: italic;
    line-height: 1.8;
}

.hero-photo {
    position: relative;
    margin: 0;
    padding: 0 0 18px 18px;
}

.hero-photo:before {
    content: "";
    position: absolute;
    inset: 18px 0 0 0;
    border: 1px solid rgba(85,42,93,.18);
}

.hero-photo img {
    position: relative;
    width: 100%;
    aspect-ratio: 1.18 / 1;
    object-fit: cover;
    box-shadow: 0 28px 60px rgba(42,25,35,.20);
}

.hero-photo figcaption {
    position: relative;
    margin-top: 11px;
    color: var(--mauve);
    font-family: var(--body);
    font-size: 9px;
    letter-spacing: .17em;
    text-transform: uppercase;
}

/* VALUES */
.values-strip {
    background: var(--plum);
    color: #fffaf5;
    padding: 45px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
}

.value {
    padding-left: 20px;
    border-left: 1px solid rgba(255,255,255,.22);
}

.value-number {
    color: var(--gold-light);
    font-family: var(--body);
    font-size: 10px;
    letter-spacing: .2em;
}

.value h3 {
    margin: 9px 0 5px;
    font-size: 28px;
    color: #fffaf5;
}

.value p {
    margin: 0;
    color: rgba(255,250,245,.74);
    font-size: 11px;
    line-height: 1.7;
}

/* APPROACH */
.approach-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #ead9b9 0%, #f0dfc2 52%, #e7d3b3 100%);
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 105px;
    align-items: center;
}

.approach-image-wrap {
    position: relative;
    padding: 0 38px 38px 0;
}

.approach-image {
    position: relative;
    overflow: hidden;
}

.approach-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(38,25,35,.2));
}

.approach-image img {
    width: 100%;
    aspect-ratio: .82 / 1;
    object-fit: cover;
    transform: scale(1.055);
    transform-origin: center;
}

.approach-image-wrap:after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -22px;
    width: 92%;
    height: 92%;
    border: 1px solid var(--gold);
    z-index: 0;
}

.approach-image { z-index: 1; }

.vertical-note {
    position: absolute;
    right: -29px;
    top: 35%;
    z-index: 3;
    color: var(--plum);
    font-family: var(--body);
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.approach-copy {
    max-width: 480px;
}

.approach-copy h2 {
    margin-bottom: 0;
}

.approach-copy p:not(.section-kicker) {
    font-size: 13px;
    color: #51434c;
}

.approach-copy p:not(.section-kicker):not([data-editable]) {
    font-size: 13px;
    color: #51434c;
}

.text-link {
    display: inline-flex;
    gap: 14px;
    margin-top: 14px;
    color: var(--plum);
    font-family: var(--body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.text-link span {
    color: var(--gold);
    font-size: 17px;
}

/* MASSAGE */
.massage-section {
    position: relative;
    overflow: hidden;
    padding: 30px 0 95px;
    background: #6B3A72;
    color: rgba(255,250,245,.88);
}

.massage-section:before {
    content: "✦";
    position: absolute;
    right: 8%;
    top: 65px;
    color: var(--gold);
    font-size: 22px;
}

.section-heading-light {
    margin-bottom: 45px;
}

.section-heading-light .section-kicker {
    color: var(--gold-light);
}

.section-heading-light h2 {
    margin-bottom: 0;
    color: #fffaf5;
}

.massage-layout {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 42px;
    align-items: start;
}

.massage-main-card {
    padding: 47px 50px 42px;
    background: #F1E1C7;
    color: var(--text);
    box-shadow: 0 24px 60px rgba(28,17,29,.16);
}

.massage-main-card p {
    margin: 0 0 18px;
    font-size: 12px;
    line-height: 1.85;
}

.massage-opening {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.45 !important;
    color: var(--plum);
}

.duration-box {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 25px;
    align-items: center;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.duration-box span {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 43px;
    line-height: 1;
}

.duration-box p {
    margin: 0;
    color: var(--plum);
    font-family: var(--serif);
    font-size: 15px;
    line-height: 1.45;
}

.massage-side {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.side-image {
    overflow: hidden;
    border: 0;
}

.side-image img {
    width: 100%;
    aspect-ratio: .9 / 1;
    object-fit: cover;
}

.naturiste-block {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.18);
}

.mini-kicker {
    margin: 0 0 9px !important;
    color: var(--gold-light) !important;
    font-family: var(--body);
    font-size: 9px !important;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.naturiste-block h3 {
    margin-bottom: 18px;
    color: #fffaf5;
    font-size: 29px;
    line-height: 1.2;
}

.naturiste-block p {
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1.7 !important;
}

.massage-conclusion {
    max-width: 690px;
    margin: 35px auto 0;
    color: rgba(255,250,245,.82);
    font-family: var(--serif);
    font-size: 18px;
    font-style: italic;
    text-align: center;
}

/* PROFILE */
.profile-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #C9A9C3 0%, #B996B7 100%);
}

.profile-layout {
    display: grid;
    grid-template-columns: .8fr 1.1fr;
    gap: 100px;
    align-items: center;
}

.profile-photo {
    position: relative;
    padding: 0 24px 24px 0;
}

.profile-photo:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 72%;
    height: 72%;
    border: 1px solid var(--gold);
}

.profile-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: .82 / 1;
    object-fit: cover;
    box-shadow: 0 24px 55px rgba(48,32,43,.15);
}

.profile-photo-label {
    position: absolute;
    z-index: 2;
    bottom: 12px;
    left: 20px;
    padding: 9px 14px;
    background: var(--plum);
    color: #fff;
    font-family: var(--body);
    font-size: 9px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.profile-copy h2 {
    margin-bottom: 25px;
}

.profile-copy .lead {
    max-width: 590px;
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.55;
    color: var(--plum-deep);
}

.profile-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 38px 0;
}

.profile-details div {
    padding-top: 14px;
    border-top: 1px solid rgba(85,42,93,.24);
}

.profile-details div:last-child {
    grid-column: 1 / -1;
}

.profile-details span {
    display: block;
    margin-bottom: 5px;
    color: var(--mauve);
    font-family: var(--body);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.profile-details strong {
    color: var(--plum);
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
}

.profile-note {
    padding: 20px 24px;
    border-left: 2px solid var(--gold);
    background: rgba(255,253,248,.34);
    font-size: 11px;
}

/* GALLERY */
.gallery-section {
    padding: 110px 0 125px;
    background: var(--plum-deep);
    color: #fffaf5;
}

.gallery-intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 60px;
    margin-bottom: 50px;
}

.gallery-intro h2 {
    margin: 0;
    color: #fffaf5;
}

.gallery-intro p:last-child {
    max-width: 340px;
    margin: 0 0 6px;
    color: rgba(255,250,245,.7);
    font-size: 11px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.gallery-item {
    height: 430px;
    margin: 0;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-item:hover img { transform: scale(1.025); }

.gallery-large,
.gallery-small,
.gallery-small:first-of-type,
.gallery-small:last-of-type {
    height: 430px;
    margin-top: 0;
}

/* BOOKING */
.booking-section {
    position: relative;
    overflow: hidden;
    padding: 115px 0 125px;
    background: var(--mauve);
    color: #fffaf5;
    text-align: center;
}

.booking-decoration {
    position: absolute;
    top: 32px;
    left: 50%;
    color: var(--gold-light);
    font-size: 25px;
}

.booking-inner {
    max-width: 730px;
}

.booking-inner .section-kicker {
    color: var(--gold-light);
}

.booking-inner h2 {
    margin-bottom: 30px;
    color: #fffaf5;
}

.booking-inner p:not(.section-kicker) {
    max-width: 620px;
    margin: 0 auto 13px;
    color: rgba(255,250,245,.88);
    font-size: 12px;
}

.button-light {
    margin-top: 25px;
    background: var(--gold);
}

/* FOOTER */
.site-footer {
    padding: 55px 20px 45px;
    background: var(--plum-deep);
    color: rgba(255,250,245,.65);
    text-align: center;
    font-family: var(--body);
    font-size: 10px;
    letter-spacing: .04em;
}

.footer-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--serif);
    font-size: 27px;
}

.footer-title {
    margin: 0 0 4px;
    color: #fffaf5;
    font-family: var(--serif);
    font-size: 24px;
}

/* CONTACT PAGE / EXISTING FUNCTIONALITY */
.contact-page {
    min-height: 70vh;
    padding: 90px 0;
    background: var(--cream);
}

.contact-container {
    max-width: 760px;
}

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

.contact-form label {
    color: var(--plum);
    font-family: var(--body);
    font-size: 11px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    margin-top: 7px;
    padding: 13px 15px;
    border: 1px solid rgba(85,42,93,.22);
    background: #fff;
    color: var(--text);
    font: inherit;
}

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

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: 2px solid rgba(196,154,53,.35);
    border-color: var(--gold);
}

.contact-form button {
    border: 0;
    cursor: pointer;
}

.contact-success,
.contact-error {
    margin-bottom: 25px;
    padding: 18px 20px;
    border-left: 3px solid var(--gold);
    background: #fff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .container { width: min(100% - 38px, 680px); }

    .site-header-inner {
        grid-template-columns: 1fr auto;
        min-height: 68px;
    }

    .site-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
        padding: 0 0 17px;
        gap: 22px;
        font-size: 14px;
    }

    .sun-symbol {
        grid-column: 2;
        grid-row: 1;
    }

    .hero { padding: 48px 0 65px; }

    .hero-inner,
    .approach-grid,
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-copy { padding: 0; }

    .hero h1 { font-size: clamp(70px, 15vw, 105px); }

    .hero-photo { max-width: 610px; margin: 0 auto; }

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

    .massage-layout {
        grid-template-columns: 1fr;
    }

    .massage-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

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

    .gallery-large,
    .gallery-small,
    .gallery-small:first-of-type,
    .gallery-small:last-of-type {
        height: 330px;
        margin-top: 0;
    }

    .gallery-large {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    body { font-size: 14px; }

    .container { width: calc(100% - 30px); }

    .site-logo { font-size: 22px; }

    .site-nav {
        gap: 14px;
        font-size: 12px;
    }

    .hero-inner { min-height: auto; }

    .hero h1 { font-size: 72px; }

    .hero h2 { font-size: 25px; }

    .hero-photo { padding-left: 10px; }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .approach-section,
    .profile-section,
    .gallery-section {
        padding: 80px 0;
    }

    h2 { font-size: 53px; }

    .approach-grid,
    .profile-layout {
        gap: 45px;
    }

    .vertical-note { display: none; }

    .massage-section {
        padding: 80px 0;
    }

    .massage-main-card {
        padding: 30px 23px;
    }

    .duration-box {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .massage-side {
        display: flex;
    }

    .naturiste-block { padding: 24px; }

    .profile-details {
        grid-template-columns: 1fr;
    }

    .profile-details div:last-child {
        grid-column: auto;
    }

    .gallery-intro {
        display: block;
        margin-bottom: 35px;
    }

    .gallery-intro p:last-child { margin-top: 22px; }

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

    .gallery-large,
    .gallery-small,
    .gallery-small:first-of-type,
    .gallery-small:last-of-type {
        grid-column: auto;
        height: 330px;
        margin-top: 0;
    }

    .booking-section {
        padding: 90px 0;
    }
}


/* =========================================================
   PAGE CONTACT — même identité visuelle que l'accueil
   ========================================================= */

.contact-page-section {
    position: relative;
    overflow: hidden;
    padding: 105px 0 95px;
    min-height: calc(100vh - 150px);
    background:
        radial-gradient(circle at 8% 18%, rgba(216,185,91,.13), transparent 26%),
        linear-gradient(135deg, #F3E5CA 0%, #F0DEC0 52%, #EAD2AE 100%);
}

.contact-page-section::before {
    content: "❧";
    position: absolute;
    left: 5%;
    top: 115px;
    color: rgba(196,154,53,.18);
    font-size: 110px;
    transform: rotate(-18deg);
}

.contact-page-heading {
    position: relative;
    max-width: 820px;
    margin: 0 auto 70px;
    text-align: center;
}

.contact-page-heading .section-ornament {
    display: block;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 28px;
}

.contact-page-heading .section-kicker {
    margin-bottom: 12px;
    color: #8F6A25;
}

.contact-page-heading h1 {
    margin: 0 0 25px;
    color: var(--plum);
    font-family: var(--serif);
    font-size: clamp(58px, 6vw, 82px);
    font-weight: 500;
    line-height: .98;
}

.contact-page-intro {
    max-width: 720px;
    margin: 0 auto 9px;
    color: var(--text);
    font-size: 13px;
    line-height: 1.8;
}


/* BLOCS */

.contact-page-grid {
    position: relative;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto;
    align-items: stretch;
}

/* Confirmation après envoi : une seule carte centrée */
.contact-page-grid:has(.contact-form-success) {
    display: block;
    max-width: 900px;
}

.contact-page-grid:has(.contact-form-success) .contact-form-card {
    width: 100%;
}

.contact-page-card {
    position: relative;
    padding: 43px 46px;
    background: rgba(255,253,248,.48);
    border: 1px solid rgba(85,42,93,.20);
    box-shadow: 0 20px 50px rgba(64,39,48,.09);
}

.contact-page-card::before {
    content: "";
    position: absolute;
    inset: 11px;
    border: 1px solid rgba(196,154,53,.32);
    pointer-events: none;
}

.contact-page-card > * {
    position: relative;
    z-index: 1;
}

.contact-card-ornament {
    display: block;
    margin-bottom: 13px;
    color: var(--gold);
    font-size: 19px;
}

.contact-page-card .section-kicker {
    margin-bottom: 8px;
    color: #8F6A25;
}

.contact-page-card h2 {
    margin: 0 0 25px;
    color: var(--plum);
    font-family: var(--serif);
    font-size: clamp(42px, 4vw, 58px);
    font-weight: 500;
    line-height: .98;
}

.contact-page-card p {
    color: var(--text);
    font-size: 12px;
    line-height: 1.8;
}

.contact-phone-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(85,42,93,.94);
    color: #fffaf5;
    border-color: rgba(216,185,91,.35);
}

.contact-phone-card::before {
    border-color: rgba(216,185,91,.25);
}

.contact-phone-card .section-kicker {
    color: var(--gold-light);
}

.contact-phone-card h2 {
    color: #fffaf5;
}

.contact-phone-card p {
    color: rgba(255,250,245,.78);
}

.contact-phone-number {
    display: block;
    margin: 20px 0 23px;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 30px;
    letter-spacing: .02em;
}

.contact-phone-number:hover {
    color: #fffaf5;
}


/* FORMULAIRE */

.contact-form-card {
    background: rgba(255,253,248,.68);
}

.contact-form-intro {
    margin: -6px 0 25px;
}

.madam-contact-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-field label {
    color: var(--plum);
    font-family: var(--body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.form-field label span {
    color: var(--text);
    font-weight: 400;
}

.form-field input,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    color: var(--ink);
    background: rgba(255,253,248,.82);
    border: 1px solid rgba(85,42,93,.24);
    border-radius: 0;
    font-family: var(--body);
    font-size: 12px;
    line-height: 1.5;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field input {
    min-height: 43px;
}

.form-field textarea {
    min-height: 145px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    background: #fffdf8;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(196,154,53,.13);
}

.contact-submit-button {
    align-self: flex-start;
    margin-top: 3px;
    border: 0;
    cursor: pointer;
}


/* NOTE */

.contact-page-note {
    position: relative;
    max-width: 760px;
    margin: 45px auto 0;
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid rgba(85,42,93,.20);
    border-bottom: 1px solid rgba(85,42,93,.20);
}

.contact-page-note > span {
    display: block;
    margin-bottom: 6px;
    color: var(--gold);
}

.contact-page-note p {
    margin: 0;
    color: var(--plum);
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.5;
}


/* CONFIRMATION */

.contact-form-success {
    position: relative;
    z-index: 1;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 45px 35px;
    text-align: center;
}

.contact-success-ornament {
    display: block;
    margin-bottom: 20px;
    color: var(--gold);
    font-size: 30px;
}

.contact-success-kicker {
    margin: 0 0 12px !important;
    color: #8F6A25 !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.contact-form-success h3 {
    margin: 0 0 23px;
    color: var(--plum);
    font-family: var(--serif);
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 500;
}

.contact-form-success > p:not(.contact-success-kicker):not(.contact-success-note) {
    margin: 4px 0;
    color: var(--text);
    font-size: 12px;
    line-height: 1.7;
}

.contact-success-note {
    max-width: 560px;
    margin: 30px 0 25px !important;
    padding-top: 20px;
    border-top: 1px solid rgba(85,42,93,.18);
    color: var(--text) !important;
    font-size: 11px;
}

.contact-success-home {
    color: var(--plum);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* RESPONSIVE CONTACT */

@media (max-width: 800px) {
    .contact-page-section {
        padding: 75px 0 60px;
    }

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

    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-page-card {
        padding: 35px 30px;
    }

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

@media (max-width: 520px) {
    .contact-page-heading h1 {
        font-size: 48px;
    }

    .contact-page-intro {
        font-size: 12px;
    }

    .contact-page-card {
        padding: 30px 24px;
    }

    .contact-page-card h2 {
        font-size: 42px;
    }

    .contact-phone-number {
        font-size: 27px;
    }

    .contact-page-note {
        padding: 20px 18px;
    }
}
/* Barre d'édition front-end */

#madam-edit-toolbar {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
}

#madam-edit-toggle {
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    background: var(--plum);
    color: var(--cream-light);
    font-family: "Libre Baskerville", serif;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(48, 38, 48, 0.20);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#madam-edit-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(48, 38, 48, 0.28);
}
/* Barre d'outils de l'éditeur front-end */

/* Barre d'outils de l'éditeur front-end */

#madam-editor-toolbar {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;

    display: none;
    flex-direction: row;
    align-items: stretch;
    gap: 14px;

    padding: 10px;

    background: #302630;
    border: 1px solid #C49A35;
    border-radius: 14px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);

    color: #F6F0E6;
    font-family: Arial, sans-serif;
}

/* Les deux encarts */

.madam-toolbar-group {
    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 10px 14px;

    border: 1px solid rgba(196, 154, 53, 0.65);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.04);
}

/* Titres des encarts */

.madam-toolbar-title {
    color: #C49A35;
    font-family: "Libre Baskerville", serif;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.04em;
    cursor: move;
    user-select: none;
    
}

/* Contenu de chaque encart */

.madam-toolbar-content {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

#madam-editor-toolbar label {
    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 13px;
}

#madam-editor-toolbar select {
    padding: 6px 9px;

    border: 1px solid #C49A35;
    border-radius: 6px;

    background: #F6F0E6;
    color: #302630;

    font-size: 13px;
}

#madam-editor-toolbar input[type="file"] {
    max-width: 190px;

    color: #F6F0E6;
    font-size: 12px;
}

#madam-editor-toolbar input[type="color"] {
    width: 42px;
    height: 30px;

    padding: 2px;

    border: 1px solid #C49A35;
    border-radius: 5px;

    cursor: pointer;
}

.madam-format-buttons {
    display: flex;
    gap: 4px;
}

.madam-format-buttons button {
    width: 34px;
    height: 30px;

    padding: 0;

    border: 1px solid #C49A35;
    border-radius: 5px;

    background: #F6F0E6;
    color: #302630;

    cursor: pointer;
}

#madam-editor-toolbar label {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 13px;
}

#madam-editor-toolbar select {
    padding: 7px 10px;

    border: 1px solid #C49A35;
    border-radius: 6px;

    background: #F6F0E6;
    color: #302630;

    font-size: 13px;
}

/* L'éditeur de texte ne doit pas modifier la largeur des colonnes du Hero */

.hero-copy,
.hero-visual {
    min-width: 0;
}
.hero h1 span,
.hero h1 em {
    white-space: nowrap;
}

@media (min-width: 900px) and (max-width: 1300px) {

    .hero h1 {
        font-size: clamp(68px, 7.5vw, 100px);
    }

}
/* Galerie 5 photos : centrage de la deuxième ligne */

@media (min-width: 800px) {

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }

    .gallery-grid .gallery-item {
        grid-column: span 2;
    }

    .gallery-grid .gallery-item:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .gallery-grid .gallery-item:nth-child(5) {
        grid-column: 4 / span 2;
    }

}

/* Positionnement du bouton éditeur */
#madam-edit-toolbar {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100000;
}

#madam-edit-toolbar button {
    padding: 10px 16px;
    border: 1px solid #C49A35;
    border-radius: 8px;
    background: #302630;
    color: #F6F0E6;
    font-family: Arial, sans-serif;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* Signature du collectif */
.collectif-signature {
    margin: 32px 0 36px;
    padding: 22px 20px;
    text-align: center;
    border-top: 1px solid rgba(196, 154, 53, 0.45);
    border-bottom: 1px solid rgba(196, 154, 53, 0.45);
}

.collectif-logo {
    display: flex;
    justify-content: center;
    gap: 1px;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 25px;
    line-height: 0.65;
    transform: scaleX(0.75);
}

.collectif-logo span {
    display: inline-block;
}

.collectif-signature p {
    margin: 0 0 4px;
    font-family: "Libre Baskerville", serif;
    font-size: 13px;
    color: var(--text);
    letter-spacing: 0.04em;
}

.collectif-signature strong {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 25px;
    line-height: 0.95;
    font-weight: 500;
    color: var(--plum);
    letter-spacing: 0.025em;
}
.collectif-signature img.collectif-logo {
    display: block;
    width: 42px !important;
    max-width: 42px !important;
    height: auto !important;
    margin: 0 auto 12px;
    filter: brightness(0) saturate(100%) invert(22%) sepia(18%) saturate(1335%) hue-rotate(255deg) brightness(88%) contrast(91%);
}
/* Petit logo du GanG dans le Hero */
.hero-ornament-logo {
    display: block;
    width: 32px;
    height: auto;
    margin: 0 auto 18px;
}
/* Rapproche le sous-titre du titre principal du Hero */
.hero h1 {
    margin-bottom: 15px;
}

.hero h2 {
    margin-top: 0;
}

/* Rapprocher le sous-titre du titre MADAM MASSAGE */
.hero h2 {
    margin-top: -600px !important;
}