/*
 Theme Name:   Astra EmaVeda
 Theme URI:    https://www.emaveda.fr
 Description:  Thème enfant pour Les Bienfaits d'Ema'Veda
 Author:       Ema'Veda
 Template:     astra
 Version:      1.0.0
*/

/* ── VARIABLES ── */
:root {
    --creme: #FAF7F2;
    --terracotta: #C4846A;
    --terracotta-light: #E8B49A;
    --sauge: #8FA68E;
    --sauge-light: #B8CDB7;
    --brun: #4A3728;
    --brun-light: #7A5C48;
    --or: #C9A96E;
}

/* ── RESET ASTRA ── */
body.page-template-page-accueil #masthead,
body.page-template-page-accueil .site-header,
body.page-template-page-accueil .ast-above-header,
body.page-template-page-accueil #colophon { display: none !important; }

body.page-template-page-accueil {
    background: var(--creme);
    font-family: 'Raleway', sans-serif;
    color: var(--brun);
    overflow-x: hidden;
}

body.page-template-page-accueil .site-content,
body.page-template-page-accueil .ast-container,
body.page-template-page-accueil #content,
body.page-template-page-accueil #primary { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }

/* ── NAV ── */
.ev-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 14px 40px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(250,247,242,0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(143,166,142,0.2);
}
.ev-nav .nav-logo img { height: 56px; width: auto; }
.ev-nav ul { list-style: none; display: flex; gap: 40px; margin: 0; padding: 0; }
.ev-nav ul li a {
    text-decoration: none; font-weight: 300; font-size: 0.78rem;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--brun-light);
    transition: color 0.3s; position: relative;
}
.ev-nav ul li a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--terracotta); transition: width 0.3s;
}
.ev-nav ul li a:hover { color: var(--terracotta); }
.ev-nav ul li a:hover::after { width: 100%; }

/* ── HERO ── */
#hero {
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 120px 20px 80px; position: relative; overflow: hidden;
}
#hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(143,166,142,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(196,132,106,0.1) 0%, transparent 70%);
}
.hero-logo {
    width: min(400px, 75vw); margin-bottom: 36px;
    opacity: 0; animation: fadeUp 1.2s 0.3s forwards;
    filter: drop-shadow(0 8px 30px rgba(74,55,40,0.08));
}
.hero-tagline {
    font-family: 'Cormorant Garamond', serif; font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-weight: 300; font-style: italic; color: var(--brun-light);
    max-width: 520px; line-height: 1.7; margin-bottom: 48px;
    opacity: 0; animation: fadeUp 1.2s 0.6s forwards;
}
.btn-primary {
    display: inline-block; padding: 15px 46px;
    background: var(--terracotta); color: white; text-decoration: none;
    font-weight: 400; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
    border: none; cursor: pointer; transition: all 0.4s ease;
    position: relative; overflow: hidden;
    opacity: 0; animation: fadeUp 1.2s 0.9s forwards;
    font-family: 'Raleway', sans-serif;
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: var(--brun); transform: translateX(-100%); transition: transform 0.4s ease;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.scroll-hint {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    opacity: 0; animation: fadeUp 1s 1.4s forwards;
}
.scroll-hint span { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sauge); }
.scroll-line { width: 1px; height: 38px; background: linear-gradient(to bottom, var(--sauge), transparent); animation: scrollPulse 2s infinite; }

/* ── SECTIONS ── */
.ev-section { padding: 100px 40px; }
.ev-section-white { background: white; }
.ev-section-creme { background: var(--creme); }
.ev-section-brun { background: var(--brun); color: var(--creme); }
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 300; color: var(--brun); margin-bottom: 16px;
}
.ev-section-brun .section-title { color: var(--creme); }
.divider { width: 60px; height: 1px; background: linear-gradient(to right, var(--or), var(--terracotta-light)); margin: 20px 0; }
.divider-center { margin: 20px auto; }
.divider-dark { background: linear-gradient(to right, transparent, var(--or), transparent); width: 120px; }

/* ── PRESTATIONS ── */
.prestations-inner { max-width: 1100px; margin: 0 auto; }
.prestations-header { text-align: center; margin-bottom: 50px; }
.prestations-header p { font-size: 0.85rem; font-weight: 300; line-height: 1.9; color: var(--brun-light); max-width: 540px; margin: 0 auto; }

/* ONGLETS */
.tabs { display: flex; justify-content: center; gap: 0; margin-bottom: 50px; }
.tab-btn {
    padding: 13px 40px; border: 1px solid rgba(143,166,142,0.4);
    background: transparent; font-family: 'Raleway', sans-serif;
    font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--brun-light); cursor: pointer; transition: all 0.3s;
}
.tab-btn:first-child { border-right: none; }
.tab-btn.active { background: var(--terracotta); color: white; border-color: var(--terracotta); }
.tab-btn:hover:not(.active) { background: rgba(196,132,106,0.08); color: var(--terracotta); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* CARTES */
.prestations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.prestation-card {
    border: 1px solid rgba(143,166,142,0.2); background: var(--creme);
    position: relative; transition: all 0.4s ease; overflow: hidden;
}
.prestation-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 3px; height: 0;
    background: linear-gradient(to bottom, var(--terracotta), var(--sauge));
    transition: height 0.4s ease;
}
.prestation-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(74,55,40,0.08); }
.prestation-card:hover::before { height: 100%; }
.card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card-body { padding: 28px 28px 32px; }
.card-icon { font-size: 1.5rem; margin-bottom: 14px; }
.card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 400; color: var(--brun); margin-bottom: 10px; }
.card-desc { font-size: 0.81rem; font-weight: 300; line-height: 1.85; color: var(--brun-light); margin-bottom: 18px; }
.card-duree { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sauge); margin-bottom: 22px; }
.btn-reserver {
    display: inline-block; padding: 10px 26px;
    border: 1px solid var(--terracotta); color: var(--terracotta);
    font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
    text-decoration: none; transition: all 0.3s; cursor: pointer;
    background: transparent; font-family: 'Raleway', sans-serif;
}
.btn-reserver:hover { background: var(--terracotta); color: white; }

/* ── QUI SUIS-JE ── */
.qui-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.qui-photo { position: relative; }
.qui-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.qui-photo-placeholder {
    width: 100%; aspect-ratio: 3/4;
    background: linear-gradient(135deg, rgba(143,166,142,0.2), rgba(196,132,106,0.15));
    border: 1px solid rgba(143,166,142,0.3);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--sauge);
}
.qui-photo::after {
    content: ''; position: absolute; bottom: -15px; right: -15px;
    width: 80%; height: 80%; border: 1px solid rgba(196,132,106,0.3); z-index: -1;
}
.qui-text p { font-size: 0.87rem; font-weight: 300; line-height: 2; color: var(--brun-light); margin-bottom: 18px; }
.qui-signature { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-style: italic; color: var(--terracotta); margin-top: 28px; }

/* ── AYURVEDA ── */
.ayurveda-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; }
.ayurveda-intro {
    font-family: 'Cormorant Garamond', serif; font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-style: italic; font-weight: 300; line-height: 1.85; color: rgba(250,247,242,0.8); margin-bottom: 50px;
}
.doshas { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 50px; }
.dosha {
    padding: 30px 22px; border: 1px solid rgba(250,247,242,0.1);
    background: rgba(250,247,242,0.04); transition: all 0.3s;
}
.dosha:hover { background: rgba(250,247,242,0.08); border-color: rgba(201,169,110,0.4); }
.dosha-symbol { font-size: 1.5rem; margin-bottom: 14px; }
.dosha-name { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--or); margin-bottom: 10px; }
.dosha-desc { font-size: 0.77rem; font-weight: 300; line-height: 1.8; color: rgba(250,247,242,0.6); }

/* ── CONTACT ── */
.contact-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.contact-form { margin-top: 46px; display: flex; flex-direction: column; gap: 18px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--brun-light); }
.form-group input, .form-group textarea, .form-group select {
    padding: 13px 16px; border: 1px solid rgba(143,166,142,0.3); background: var(--creme);
    font-family: 'Raleway', sans-serif; font-size: 0.84rem; font-weight: 300; color: var(--brun); outline: none; transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--terracotta); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info { margin-top: 56px; display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.info-item { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.info-label { font-size: 0.63rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sauge); }
.info-value { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--brun); }

/* ── FOOTER ── */
.ev-footer { background: var(--brun); color: rgba(250,247,242,0.45); text-align: center; padding: 28px; font-size: 0.7rem; letter-spacing: 0.1em; }
.ev-footer a { color: var(--or); text-decoration: none; }

/* ── MODAL ── */
.modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(74,55,40,0.6); z-index: 999;
    align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box { background: var(--creme); padding: 46px 38px; max-width: 460px; width: 90%; position: relative; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--brun-light); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .ev-nav ul { display: none; }
    .qui-inner { grid-template-columns: 1fr; }
    .doshas { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .ev-section { padding: 70px 20px; }
    .tabs { flex-direction: column; align-items: center; }
    .tab-btn:first-child { border-right: 1px solid rgba(143,166,142,0.4); border-bottom: none; }
}
