/* ========================================
   DOUCEUR DE SOI — Institut de beauté
   Palette : rose pâle #FEEEE4 + vert forêt pâle #98A886
   ======================================== */

:root {
    --pink: #FEEEE4;
    --pink-deep: #F8DECF;
    --green: #98A886;
    --green-deep: #758A66;
    --green-dark: #4F6147;
    --cream: #FAF6F1;
    --ink: #3D3530;
    --ink-soft: #6B5F58;
    --white: #FFFFFF;
    --shadow-sm: 0 4px 14px rgba(120, 100, 90, 0.08);
    --shadow-md: 0 10px 30px rgba(120, 100, 90, 0.12);
    --shadow-lg: 0 20px 50px rgba(120, 100, 90, 0.16);
    --radius: 18px;
    --radius-lg: 28px;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--green-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(250, 246, 241, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    padding: 12px 0;
    border-bottom-color: rgba(152, 168, 134, 0.18);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 336px;
    height: 110px;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: width 0.3s ease, height 0.3s ease;
}

.site-header.scrolled .brand-logo {
    width: 220px;
    height: 72px;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.brand-name {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--green-dark);
    letter-spacing: 0.01em;
}

.brand-name em {
    font-style: italic;
    color: var(--green);
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
    font-size: 0.93rem;
    color: var(--ink-soft);
    transition: color 0.2s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -4px;
    height: 1px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav a:hover { color: var(--green-dark); }
.nav a:hover::after { transform: scaleX(1); }

.nav a.btn-primary,
.nav a.btn-primary:hover { color: var(--white); }
.nav a.btn-primary::after { display: none; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    text-align: center;
    line-height: 1;
    font-family: var(--sans);
}

.btn-primary {
    background: var(--green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--pink);
    color: var(--green-dark);
}

.btn-secondary:hover {
    background: var(--pink-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.burger {
    display: none;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.burger span {
    width: 22px;
    height: 1.5px;
    background: var(--green-dark);
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(254, 238, 228, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(152, 168, 134, 0.18) 0%, transparent 50%),
        var(--cream);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--pink);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(152, 168, 134, 0.15);
    color: var(--green-dark);
    border-radius: 999px;
    font-size: 0.83rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: italic;
    color: var(--green);
    font-weight: 400;
}

.hero-tagline {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--green);
    margin-bottom: 18px;
    font-style: italic;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--ink-soft);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-meta-item svg {
    color: var(--green);
    flex-shrink: 0;
}

.hero-visual {
    position: relative;
}

.hero-visual-frame {
    aspect-ratio: 4/5;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-visual-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hero-visual-frame.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-family: var(--serif);
    font-size: 1.4rem;
    text-align: center;
    padding: 40px;
}

.hero-deco {
    position: absolute;
    width: 130px;
    height: 130px;
    background: var(--pink);
    border-radius: 50%;
    bottom: -30px;
    left: -30px;
    z-index: -1;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-pink {
    background: var(--pink);
}

.section-cream { background: var(--cream); }

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: var(--white);
    color: var(--green-dark);
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 18px;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--ink-soft);
}

/* ===== A PROPOS ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    background: var(--pink);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-gallery img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease;
}

.about-gallery img:hover {
    transform: scale(1.03);
}

.about-gallery img:first-child {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 { margin-bottom: 24px; }
.about-content p {
    color: var(--ink-soft);
    margin-bottom: 18px;
    font-size: 1.02rem;
}

/* ===== PRESTATIONS ===== */
.cat-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.cat-tab {
    padding: 10px 22px;
    background: var(--white);
    color: var(--ink-soft);
    border-radius: 999px;
    font-size: 0.92rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    font-family: var(--sans);
}

.cat-tab:hover {
    color: var(--green-dark);
    border-color: rgba(152, 168, 134, 0.3);
}

.cat-tab.active {
    background: var(--green);
    color: var(--white);
}

.cat-panel {
    display: none;
}

.cat-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.cat-subtitle {
    text-align: center;
    color: var(--ink-soft);
    margin-bottom: 40px;
    font-style: italic;
    font-family: var(--serif);
    font-size: 1.1rem;
}

.cat-group {
    margin-bottom: 50px;
}

.cat-group-title {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--green-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(152, 168, 134, 0.25);
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 22px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 26px 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(152, 168, 134, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--pink) 0%, var(--green) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 10px;
}

.card-title {
    font-family: var(--serif);
    font-size: 1.22rem;
    color: var(--green-dark);
    line-height: 1.2;
    flex: 1;
}

.card-price {
    font-family: var(--serif);
    font-size: 1.35rem;
    color: var(--green);
    font-weight: 500;
    white-space: nowrap;
}

.card-duration {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--ink-soft);
    background: var(--pink);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.card-desc {
    font-size: 0.93rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

.card-note {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--green);
    font-style: italic;
}

/* List card variant for short items (epilations) */
.price-list {
    background: var(--white);
    border-radius: var(--radius);
    padding: 26px 30px;
    box-shadow: var(--shadow-sm);
}

.price-list-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(152, 168, 134, 0.25);
    gap: 16px;
}

.price-list-row:last-child { border-bottom: none; }

.price-list-name {
    color: var(--ink);
    flex: 1;
}

.price-list-price {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--green);
    white-space: nowrap;
}

.price-list-note {
    font-size: 0.85rem;
    color: var(--ink-soft);
    font-style: italic;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(152, 168, 134, 0.15);
}

.price-list h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--green-dark);
    margin-bottom: 10px;
    text-align: center;
}

.price-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    margin-bottom: 30px;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
}

.contact-info {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    color: var(--ink-soft);
    font-size: 0.96rem;
}

.contact-line svg {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-line strong {
    color: var(--ink);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.call-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 50px 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    min-height: 380px;
}

.call-cta:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.call-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 12px 30px rgba(152, 168, 134, 0.45);
    position: relative;
    transition: transform 0.3s ease;
}

.call-circle::before,
.call-circle::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--green);
    opacity: 0;
    animation: callPulse 2.4s ease-out infinite;
}

.call-circle::after { animation-delay: 1.2s; }

@keyframes callPulse {
    0%   { transform: scale(1); opacity: 0.55; }
    100% { transform: scale(1.6); opacity: 0; }
}

.call-cta:hover .call-circle {
    transform: scale(1.06) rotate(-8deg);
}

.call-circle svg {
    width: 70px;
    height: 70px;
    position: relative;
    z-index: 1;
}

.call-number {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 500;
    color: var(--green-dark);
    letter-spacing: 0.02em;
    line-height: 1;
}

.call-label {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--ink-soft);
}

.field { margin-bottom: 18px; }

.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.88rem;
    color: var(--ink);
    font-weight: 500;
}

.field input,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(152, 168, 134, 0.3);
    border-radius: 12px;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--cream);
    transition: all 0.2s ease;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--green);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(152, 168, 134, 0.15);
}

.btn-submit { width: 100%; justify-content: center; }
.btn-success { background: #2d6a4f !important; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--green-dark);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr 1.3fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-name em { color: var(--pink); }

.footer-brand p {
    margin-top: 14px;
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    max-width: 320px;
}

.footer-block h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-family: var(--serif);
}

.footer-block p,
.footer-block a {
    color: rgba(255,255,255,0.75);
    font-size: 0.92rem;
    margin-bottom: 8px;
    display: block;
    transition: color 0.2s ease;
}

.footer-block a:hover { color: var(--pink); }

.footer-emphasis {
    color: var(--pink);
    font-family: var(--serif);
    font-style: italic;
    margin-top: 12px;
    font-size: 1rem;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 16px 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.footer-social:hover {
    background: var(--pink);
    color: var(--green-dark) !important;
    transform: translateY(-2px);
}

.footer-social svg {
    flex-shrink: 0;
}

.footer-map-block { min-width: 0; }

.footer-map-link {
    display: block;
    margin-top: 4px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    border: 2px solid rgba(255,255,255,0.12);
    transition: all 0.25s ease;
    line-height: 0;
}

.footer-map-link:hover {
    transform: translateY(-3px);
    border-color: var(--pink);
}

.footer-map-link iframe {
    display: block;
    width: 100%;
    height: 180px;
    border: 0;
    filter: saturate(0.9);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 22px;
    text-align: center;
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
}

/* ===== ANIMATIONS ===== */
.anim-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero { padding: 110px 0 60px; min-height: auto; }
    .hero-grid,
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-map-link iframe { height: 200px; }
    .nav {
        position: fixed;
        top: 0; right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 320px;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 40px;
        gap: 24px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    }
    .nav.open { right: 0; }
    .nav a { font-size: 1.15rem; }
    .burger { display: flex; }
    .section { padding: 70px 0; }
}

@media (max-width: 540px) {
    .container { padding: 0 18px; }
    .contact-info, .contact-form, .price-list { padding: 24px 20px; }
    .card { padding: 22px 20px; }
}

/* ===== LIGHTBOX ===== */
.img-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(60, 50, 45, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
    padding: 40px;
}

.img-lightbox.visible { opacity: 1; }

.img-lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
