/* ==========================================
   SOPHROLIE EN FLEURS - Styles
   Design apaisant, tons naturels & floraux
   ========================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Palette apaisante */
    --color-cream: #FAF7F2;
    --color-sage: #8BA888;
    --color-sage-light: #A8C5A0;
    --color-sage-dark: #6B8E6B;
    --color-earth: #C4A882;
    --color-earth-light: #D4C4A8;
    --color-lavender: #B8A9C9;
    --color-lavender-light: #E8E0F0;
    --color-text: #3D3D3D;
    --color-text-light: #6B6B6B;
    --color-white: #FFFFFF;
    --color-dark: #2C2C2C;
    --color-rose: #D4A0A0;
    --color-rose-light: #F0E0E0;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Lato', 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1100px;

    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--color-sage-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 142, 107, 0.3);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.05rem;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 247, 242, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-white);
    transition: var(--transition);
}

.navbar.scrolled .nav-logo {
    color: var(--color-sage-dark);
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--color-text);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link:hover {
    background: rgba(139, 168, 136, 0.1);
    color: var(--color-sage-dark);
}

.nav-link--cta {
    background-color: var(--color-sage);
    color: var(--color-white) !important;
}

.nav-link--cta:hover {
    background-color: var(--color-sage-dark) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .nav-toggle span {
    background-color: var(--color-text);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #6B8E6B 0%, #8BA888 30%, #A8C5A0 60%, #C4A882 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(196,168,130,0.2) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 24px;
    animation: fadeInUp 1.2s ease;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-separator {
    margin: 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.hero-separator::before,
.hero-separator::after {
    content: '';
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.hero-separator::before {
    margin-right: 0;
}

.hero-separator::after {
    margin-left: 0;
}

.hero-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    margin-bottom: 16px;
}

.hero-invite {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--color-white);
    margin-bottom: 36px;
}

/* --- Sections Common --- */
.section {
    padding: var(--section-padding);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 500;
    text-align: center;
    color: var(--color-sage-dark);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-earth);
    margin: 16px auto 0;
}

/* --- About Section --- */
.section--about {
    background-color: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--color-sage-light), var(--color-earth-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    box-shadow: 0 20px 60px rgba(107, 142, 107, 0.15);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.02rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* --- Sophrologie Section --- */
.section--sophro {
    background-color: var(--color-cream);
}

.sophro-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.sophro-intro p {
    margin-bottom: 20px;
    font-size: 1.02rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 70px;
}

.value-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(107, 142, 107, 0.12);
}

.value-icon {
    margin-bottom: 16px;
    color: var(--color-sage);
    display: flex;
    justify-content: center;
}

.value-icon svg {
    width: 36px;
    height: 36px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-sage-dark);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Details */
.sophro-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.detail-block {
    background: var(--color-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.detail-block h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-sage-dark);
    margin-bottom: 20px;
}

.detail-block p {
    margin-bottom: 14px;
}

.help-list {
    padding-left: 0;
}

.help-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 0.98rem;
}

.help-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--color-sage-light);
    border-radius: 50%;
}

.help-note {
    margin-top: 16px;
    font-style: italic;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* --- Fleurs de Bach Section --- */
.section--bach {
    background-color: var(--color-white);
}

.bach-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.bach-intro p {
    margin-bottom: 20px;
    font-size: 1.02rem;
}

.bach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.bach-card {
    background: var(--color-cream);
    border-radius: 16px;
    padding: 40px;
}

.bach-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-sage-dark);
    margin-bottom: 20px;
}

.bach-card p {
    margin-bottom: 14px;
}

.bach-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 0.98rem;
}

.bach-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--color-earth), var(--color-rose));
    border-radius: 50%;
}

.bach-public {
    margin-top: 10px;
    padding: 16px 20px;
    background: var(--color-lavender-light);
    border-radius: 10px;
    font-style: italic;
    font-size: 0.95rem;
}

/* --- Tarifs Section --- */
.section--tarifs {
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
}

.location-info {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.location-info p {
    margin-bottom: 12px;
    font-size: 1.02rem;
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.tarif-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.tarif-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.tarif-header {
    padding: 28px 24px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 168, 136, 0.08), rgba(196, 168, 130, 0.08));
    position: relative;
}

.tarif-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.tarif-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-sage-dark);
}

.tarif-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 14px;
    background-color: var(--color-sage-light);
    color: var(--color-white);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.tarif-body {
    padding: 24px;
    text-align: center;
}

.tarif-price {
    margin-bottom: 8px;
}

.price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-sage-dark);
}

.price--small {
    font-size: 1.5rem;
}

.price-detail {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 2px;
}

.tarif-duration {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.tarifs-note {
    text-align: center;
    font-style: italic;
    color: var(--color-text-light);
    font-size: 0.92rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(139, 168, 136, 0.06);
    border-radius: 12px;
}

/* --- Contact Section --- */
.section--contact {
    background: linear-gradient(135deg, var(--color-sage-dark) 0%, var(--color-sage) 50%, var(--color-earth) 100%);
    color: var(--color-white);
}

.section--contact .section-title {
    color: var(--color-white);
}

.section--contact .section-title::after {
    background: rgba(255, 255, 255, 0.4);
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    text-align: center;
    max-width: 500px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 30px;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
}

.contact-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item strong {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-item a {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 400;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-note {
    margin-bottom: 24px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.section--contact .btn-primary {
    background: var(--color-white);
    color: var(--color-sage-dark);
    font-weight: 700;
}

.section--contact .btn-primary:hover {
    background: var(--color-cream);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* --- Footer --- */
.footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-white);
    display: block;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    font-size: 0.85rem;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-sage-light);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    margin-bottom: 6px;
}

.footer-legal {
    font-size: 0.78rem;
    font-style: italic;
    opacity: 0.5;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Responsive --- */
@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tarifs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tarif-card--pro {
        grid-column: span 2;
        max-width: 400px;
        justify-self: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-cream);
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 24px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: var(--color-text) !important;
        font-size: 1.05rem;
        padding: 12px 20px;
    }

    .nav-link:hover {
        background: rgba(139, 168, 136, 0.1) !important;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-placeholder {
        max-width: 280px;
        margin: 0 auto;
    }

    /* Sophro */
    .sophro-details {
        grid-template-columns: 1fr;
    }

    /* Bach */
    .bach-grid {
        grid-template-columns: 1fr;
    }

    /* Tarifs */
    .tarifs-grid {
        grid-template-columns: 1fr;
    }

    .tarif-card--pro {
        grid-column: span 1;
        max-width: none;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .detail-block,
    .bach-card {
        padding: 28px 20px;
    }

    .contact-card {
        padding: 24px 20px;
    }

    .btn-large {
        padding: 16px 36px;
        font-size: 0.95rem;
    }
}
