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

/* ===== VARIABLES ===== */
:root {
    --beige: #f5f0e8;
    --beige-light: #faf7f2;
    --beige-dark: #e8dfd0;
    --gold: #c9a27d;
    --gold-dark: #a07850;
    --brown: #5a4633;
    --brown-light: #8a6d52;
    --text: #3a2e22;
    --white: #ffffff;
    --shadow: rgba(90, 70, 51, 0.12);
    --shadow-hover: rgba(90, 70, 51, 0.22);
    --radius: 14px;
    --radius-pill: 40px;
    --transition: 0.35s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: var(--text);
    background-color: var(--beige-light);
    line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.25;
    color: var(--brown);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1rem; }

/* ===== HEADER ===== */
header {
    background-color: var(--beige);
    border-bottom: 1px solid var(--beige-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px var(--shadow);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    flex-wrap: wrap;
    gap: 8px;
}

.header-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--brown);
    letter-spacing: 0.05em;
    white-space: nowrap;
    padding: 12px 0;
}
.header-logo em { font-style: italic; color: var(--gold-dark); }

nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}

nav ul li a {
    font-size: 0.74rem;
    font-weight: 400;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--brown);
    padding: 7px 9px;
    border-radius: 6px;
    transition: background-color var(--transition), color var(--transition);
    white-space: nowrap;
    display: block;
}

nav ul li a:hover { background-color: var(--beige-dark); color: var(--gold-dark); }

nav ul li.nav-cta a {
    background-color: var(--gold);
    color: var(--white);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
}
nav ul li.nav-cta a:hover { background-color: var(--gold-dark); color: var(--white); }

.menu-burger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--brown);
    padding: 8px;
    border-radius: 8px;
    transition: background-color var(--transition);
}
.menu-burger:hover { background-color: var(--beige-dark); }

/* ===== FOOTER ===== */
footer {
    background-color: var(--beige);
    border-top: 1px solid var(--beige-dark);
    padding: 40px 24px;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

footer p, footer a {
    font-size: 0.88rem;
    color: var(--brown-light);
    line-height: 1.9;
}
footer a:hover { color: var(--gold-dark); }

.footer-insta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--brown-light);
    transition: color var(--transition);
}
.footer-insta:hover { color: var(--gold-dark); }
.footer-insta img { width: 28px; height: 28px; border-radius: 6px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: var(--radius-pill);
    font-family: 'Raleway', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary { background-color: var(--gold); color: var(--white); }
.btn-primary:hover {
    background-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(162, 112, 60, 0.3);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--gold-dark);
    border: 1.5px solid var(--gold);
}
.btn-outline:hover {
    background-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.boutonRetour {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 28px;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    background-color: var(--beige-dark);
    color: var(--brown-light);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.boutonRetour::before { content: '←'; }
.boutonRetour:hover { background-color: var(--gold); color: var(--white); }

/* ===== PAGE WRAPPER ===== */
main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 52px 24px 32px;
}

/* ===== PAGE ACCUEIL ===== */
.accueil {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    padding-top: 52px;
    padding-bottom: 52px;
    max-width: 1100px;
    margin: 0 auto;
}

.accueil-text { display: flex; flex-direction: column; gap: 20px; }

.accueil-text .subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--gold-dark);
    letter-spacing: 0.04em;
}

.accueil-text h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.12; }

.accueil-text p {
    font-size: 1rem;
    color: var(--brown-light);
    line-height: 1.9;
    max-width: 460px;
}

.accueil-text .cta-group {
    display: flex;
    gap: 14px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.accueil-image { position: relative; }

.accueil-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 24px 60px var(--shadow);
}

.accueil-image::before {
    content: '';
    position: absolute;
    top: -16px; right: -16px;
    width: 100%; height: 100%;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0.4;
}

/* ===== PAGE SOINS ===== */
.mainSoins { padding: 52px 24px; text-align: center; }

.mainSoins > h1 {
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}
.mainSoins > h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 14px auto 0;
}

.mainSoins ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
    text-align: left;
}

.mainSoins ul li {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 24px var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.mainSoins ul li:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px var(--shadow-hover);
}

.mainSoins ul li a { display: block; }

.mainSoins ul li img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.mainSoins ul li:hover img { transform: scale(1.05); }

.mainSoins ul li .card-body { padding: 20px; }
.mainSoins ul li h2 { font-size: 1.1rem; color: var(--brown); margin: 0; }

.mainSoins a { color: inherit; }

/* ===== CONTENT PAGES (acupuncture, tuina, etc.) ===== */
.mainAcupuncture {
    max-width: 780px;
    margin: 0 auto;
    padding: 52px 24px;
}

.mainAcupuncture h2 { margin: 36px 0 10px; }
.mainAcupuncture h2:first-child { margin-top: 0; }

.mainAcupuncture section {
    border-bottom: 1px solid var(--beige-dark);
    padding-bottom: 28px;
    margin-bottom: 28px;
}
.mainAcupuncture section:last-child { border-bottom: none; }

.mainAcupuncture p, .mainAcupuncture section p {
    color: var(--brown-light);
    font-size: 0.98rem;
    line-height: 1.9;
}

.mainAcupuncture h3 { margin: 0 0 12px; color: var(--brown); }

/* ===== PAGE TARIFS ===== */
.mainTarifs {
    max-width: 820px;
    margin: 0 auto;
    padding: 52px 24px;
}

.mainTarifs .page-header { text-align: center; margin-bottom: 14px; }
.mainTarifs .page-header h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 14px auto 0;
}

.tarif-intro {
    text-align: center;
    font-style: italic;
    color: var(--brown-light);
    font-size: 0.95rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.tarifs-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }

.ligneTarif {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 18px 24px;
    box-shadow: 0 3px 12px var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
    gap: 16px;
}
.ligneTarif:hover { transform: translateX(4px); box-shadow: 0 6px 22px var(--shadow-hover); }

.tarif-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: var(--brown);
    flex: 1;
}

.tarif-price {
    font-weight: 500;
    font-size: 1rem;
    color: var(--gold-dark);
    min-width: 72px;
    text-align: right;
}

.ligneTarif a,
.ligneTarif button {
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    border: none;
    background-color: var(--gold);
    color: var(--white);
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all var(--transition);
    white-space: nowrap;
}
.ligneTarif a:hover, .ligneTarif button:hover {
    background-color: var(--gold-dark);
    transform: translateY(-1px);
    color: var(--white);
}

.imagesTarifs {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.imagesTarifs img {
    width: 200px;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px var(--shadow);
}

/* ===== PAGE À PROPOS ===== */
.mainPropos {
    max-width: 820px;
    margin: 0 auto;
    padding: 52px 24px;
}

.propos-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 52px;
    align-items: start;
}

.mainPropos h1 { margin-bottom: 24px; }
.mainPropos h1::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin-top: 14px;
}

.mainPropos p {
    line-height: 1.9;
    font-size: 0.98rem;
    color: var(--brown-light);
    margin-bottom: 18px;
}

.mainPropos img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 14px 36px var(--shadow);
}

/* ===== PAGE CONTACT ===== */
.mainContacts {
    max-width: 560px;
    margin: 0 auto;
    padding: 60px 24px;
}

.contact-card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 36px var(--shadow);
    padding: 48px 44px;
    text-align: center;
}

.mainContacts h1 { margin-bottom: 10px; }
.mainContacts h1::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 14px auto 0;
}

.mainContacts p { margin-top: 20px; font-size: 0.98rem; color: var(--brown-light); line-height: 1.9; }
.mainContacts a { color: var(--gold-dark); font-weight: 500; }
.mainContacts a:hover { opacity: 0.75; }

.mainContacts .contact-img {
    margin: 28px auto;
    border-radius: var(--radius);
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    box-shadow: 0 8px 22px var(--shadow);
}

/* ===== PAGE RDV ===== */
.mainRdv {
    max-width: 560px;
    margin: 0 auto;
    padding: 60px 24px;
}

.rdv-card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 36px var(--shadow);
    padding: 52px 44px;
    text-align: center;
}

.mainRdv h1 { margin-bottom: 28px; }
.mainRdv p { color: var(--brown-light); margin-bottom: 32px; line-height: 1.9; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.accueil-text { animation: fadeUp 0.65s ease both; }
.accueil-image { animation: fadeUp 0.65s 0.15s ease both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .accueil {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .accueil-text p, .cta-group { margin-left: auto; margin-right: auto; justify-content: center; }
    .accueil-image::before { display: none; }
    .accueil-image img { height: 340px; }

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

@media (max-width: 768px) {
    nav { display: none; width: 100%; order: 3; }
    nav.open { display: block; }
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0 16px;
        border-top: 1px solid var(--beige-dark);
        gap: 0;
    }
    nav ul li { width: 100%; }
    nav ul li a { padding: 10px 8px; font-size: 0.8rem; }

    .menu-burger { display: block; }

    .mainSoins ul { grid-template-columns: 1fr 1fr; }
    .ligneTarif { flex-wrap: wrap; }
    .contact-card, .rdv-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .mainSoins ul { grid-template-columns: 1fr; }
    main { padding: 32px 16px; }
}
