/* ============================================================
   GLOBAL — Essence Féminine / thème enfant `aml`
   Chargé sur toutes les pages
   ============================================================ */


/* ─────────────────────────────────────────────────────────────
   1. HEADER - FOOTER
───────────────────────────────────────────────────────────── */
header.wp-block-template-part {
    position: sticky;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 1001;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.hero-description {
    margin-bottom: 5rem !important;
}

footer .wp-block-navigation a {
    color: #FDF5EC !important;
}

footer .wp-block-navigation a:hover {
    color: #FCEDC6 !important;
}


/* ─────────────────────────────────────────────────────────────
   2. NAVIGATION
───────────────────────────────────────────────────────────── */
.wp-block-navigation {
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--sm);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wp-block-navigation ul {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wp-block-navigation a {
    color: var(--wp--preset--color--brun-profond) !important;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}

.wp-block-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--wp--preset--color--terracotta);
    transition: width 0.3s ease;
}

.wp-block-navigation a:hover {
    color: var(--wp--preset--color--terracotta);
}

.wp-block-navigation a:hover::after {
    width: 100%;
}

/* Sous-menu */
.wp-block-navigation .wp-block-navigation__submenu-container {
    background: var(--wp--preset--color--cream);
    border: 1px solid var(--wp--preset--color--blush);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(61, 46, 39, 0.08);
    padding: 8px 0;
    min-width: 220px;
}

.wp-block-navigation .wp-block-navigation__submenu-container a {
    display: block;
    padding: 10px 20px;
    letter-spacing: 0.06em;
    font-size: 12px;
}

.wp-block-navigation .wp-block-navigation__submenu-container a::after {
    display: none;
}


/* ─────────────────────────────────────────────────────────────
   3. BOUTON CONTACT HEADER
───────────────────────────────────────────────────────────── */
li.nav-cta {
    background-color: #F0C9A0 !important;
}

li.nav-cta a.wp-block-navigation-item__content,
li.nav-cta span.wp-block-navigation-item__label {
    color: #3D2E27 !important;
    background: transparent !important;
}

li.nav-cta:hover a.wp-block-navigation-item__content,
li.nav-cta:hover span.wp-block-navigation-item__label {
    color: #ffffff !important;
}


/* ─────────────────────────────────────────────────────────────
   4. TÉLÉPHONE HEADER
───────────────────────────────────────────────────────────── */
.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--wp--preset--color--blush);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    background: var(--wp--preset--color--cream);
    color: var(--wp--preset--color--brun-chaud);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.nav-phone svg {
    stroke: var(--wp--preset--color--terracotta);
    flex-shrink: 0;
}

.nav-phone:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 15px rgba(196, 123, 107, 0.2);
    background: #ffffff;
}


/* ─────────────────────────────────────────────────────────────
   5. HERO — commun à toutes les pages
───────────────────────────────────────────────────────────── */
.hero {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    margin-top: 0 !important;
}

/* Halo rose — haut-droit */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 55%;
    background: radial-gradient(
        ellipse at top right,
        var(--wp--preset--color--rose-poudre) 0%,
        transparent 65%
    );
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

/* Forme blush — arc collé à droite */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 57%;
    height: 100%;
    background: linear-gradient(
        160deg,
        var(--wp--preset--color--blush) 0%,
        var(--wp--preset--color--cream-warm) 100%
    );
    border-radius: 0 0 0 70% / 0 0 0 45%;
    opacity: 0.7;
    z-index: 2;
    pointer-events: none;
}

/* Colonnes */
.hero-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 3;
    padding: 0 clamp(20px, 4vw, 40px) !important;
}

/* Colonne texte */
.hero-inner > .wp-block-column:first-child {
    position: relative;
}

/* Halo rose derrière le texte */
.hero-inner > .wp-block-column:first-child::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 320px;
    height: 320px;
    background: radial-gradient(
        circle,
        var(--wp--preset--color--rose-poudre) 0%,
        transparent 75%
    );
    opacity: 0.25;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Colonne portrait */
.hero-inner > .wp-block-column:last-child {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    padding-right: 1rem !important;
}

/* Eyebrow */
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--wp--preset--color--olive-doux);
    display: inline-block;
    flex-shrink: 0;
}

/* Accent terracotta dans le titre */
.hero-title-accent {
    color: var(--wp--preset--color--terracotta);
}

/* Liens dans la description */
.hero-description a {
    color: inherit !important;
    text-decoration: none !important;
}

/* Portrait */
.hero-portrait {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 500px;
}

.hero-portrait img {
    border-radius: 220px 220px 120px 120px;
    box-shadow: 0 40px 80px rgba(93, 78, 71, 0.15);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: 87% top;
    width: 100%;
    display: block;
}

/* Cercle bas-gauche */
.hero-portrait::before {
    content: '';
    position: absolute;
    bottom: -25px;
    left: -25px;
    width: 130px;
    height: 130px;
    border: 1px solid var(--wp--preset--color--rose-poudre);
    border-radius: 50%;
    opacity: 0.55;
    z-index: 5;
    pointer-events: none;
}

/* Boutons hero */
.hero .wp-block-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* Bouton primaire hero */
.hero .btn-primary {
    border-radius: 999px !important;
    background: var(--wp--preset--color--terracotta) !important;
    color: var(--wp--preset--color--cream) !important;
    transition: all 0.4s ease !important;
}

.hero .btn-primary:hover {
    background: var(--wp--preset--color--terracotta-deep) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196, 123, 107, 0.4);
}

/* Bouton secondaire hero */
.hero .btn-secondary {
    border-radius: 999px !important;
    background: transparent !important;
    border: 1px solid var(--wp--preset--color--blush) !important;
    color: var(--wp--preset--color--brun-chaud) !important;
    transition: all 0.3s ease !important;
}

.hero .btn-secondary:hover {
    background: var(--wp--preset--color--cream-warm) !important;
    border-color: var(--wp--preset--color--rose-poudre) !important;
    transform: translateY(-2px);
}

/* Focus/active : arrondi préservé (RGAA) */
.hero .btn-primary:focus,
.hero .btn-primary:active,
.hero .btn-primary:focus-visible,
.hero .btn-secondary:focus,
.hero .btn-secondary:active,
.hero .btn-secondary:focus-visible {
    border-radius: 999px !important;
    outline-offset: 3px;
}

/* Bouton Contact nav */
.nav-cta {
    background: var(--wp--preset--color--terracotta) !important;
    color: var(--wp--preset--color--cream) !important;
    border-radius: 999px !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--wp--preset--color--terracotta-deep) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 123, 107, 0.35) !important;
}


/* ─────────────────────────────────────────────────────────────
   6. INFORMATIONS PRATIQUES
───────────────────────────────────────────────────────────── */
.infos-pratiques {
    background-color: var(--wp--preset--color--brun-profond);
    background-image: radial-gradient(circle, rgba(212, 168, 154, 0.12) 1px, transparent 1px);
    background-size: 40px 40px;
    padding: clamp(4rem, 8vw, 7rem) clamp(2rem, 6vw, 8rem) !important;
}

.session-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Timeline */
.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--wp--preset--color--terracotta), transparent);
    opacity: 0.4;
}

.timeline-step {
    display: flex;
    gap: 2rem;
    padding-bottom: 4rem;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-number {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(196, 123, 107, 0.2);
    border: 1px solid rgba(196, 123, 107, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--wp--preset--font-family--display);
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--wp--preset--color--terracotta);
}

.timeline-content {
    padding-top: 0.8rem;
}

.timeline-content h3 {
    font-family: var(--wp--preset--font-family--display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--wp--preset--color--cream);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.92rem;
    color: rgba(253, 248, 243, 0.75);
    line-height: 1.8;
}

/* Box infos pratiques */
.pratique-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-right: 1.5rem;
    padding: 2rem;
}

.pratique-box h3 {
    font-family: var(--wp--preset--font-family--display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--wp--preset--color--cream);
    margin-bottom: 2rem;
}

.pratique-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pratique-item:last-of-type {
    border-bottom: none;
}

.pratique-icon {
    width: 36px;
    height: 36px;
    background: rgba(196, 123, 107, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pratique-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--wp--preset--color--terracotta);
    fill: none;
}

.pratique-item-content > span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wp--preset--color--blush);
    display: block;
    margin-bottom: 0.3rem;
}

.pratique-item-content p {
    font-size: 0.95rem;
    color: var(--wp--preset--color--cream);
    opacity: 0.9;
    line-height: 1.6;
}

/* Tarifs */
.tarif-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0 1.5rem;
}

.pratique-item-content .tarif-line {
    display: contents;
}

.pratique-item-content .tarif-line > span:first-child {
    font-size: 1.05rem;
    color: rgba(253, 248, 243, 0.8);
    padding: 0.5rem 0;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
    align-self: center;
}

.pratique-item-content .tarif-line:last-child > span:first-child {
    border-bottom: none;
}

.pratique-item-content .tarif-price {
    font-family: var(--wp--preset--font-family--display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--wp--preset--color--terracotta);
    white-space: nowrap;
    padding: 0.5rem 0;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
    align-self: center;
    justify-self: end;
}

.pratique-item-content .tarif-line:last-child .tarif-price {
    border-bottom: none;
}

.tarif-remise {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #E8976A !important;
    white-space: nowrap;
    padding: 0.5rem 0;
    align-self: center;
}

.rythme-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(253, 248, 243, 0.6);
    font-style: italic;
    line-height: 1.6;
}

.pratique-box .btn svg {
    width: 16px !important;
    height: 16px !important;
    margin-top: 8px;
    margin-left: 10px;
}

.pratique-box a.btn-primary {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}


/* ─────────────────────────────────────────────────────────────
   7. FOOTER NAVIGATION
───────────────────────────────────────────────────────────── */
.footer-nav .wp-block-navigation__container {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.footer-nav .wp-block-navigation-item {
    margin: 0 !important;
    padding: 0 !important;
}

.footer-nav .wp-block-navigation-item__content {
    padding: 0 !important;
}


/* ─────────────────────────────────────────────────────────────
   8. ICÔNES SVG - PICTOS
───────────────────────────────────────────────────────────── */
.service-category-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--wp--preset--color--terracotta) 0%, var(--wp--preset--color--rose-poudre) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-category-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
    stroke-width: 1.5;
}


/* ─────────────────────────────────────────────────────────────
   9. LISTE SERVICES
───────────────────────────────────────────────────────────── */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-item {
    background: var(--wp--preset--color--cream);
    border-radius: 8px;
    padding: 0.75rem 1rem 0.75rem 2rem;
    margin-bottom: 0.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--wp--preset--color--brun-chaud);
    transition: transform 0.2s ease;
}

.service-item::before {
    content: '';
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--wp--preset--color--terracotta);
    border-radius: 50%;
}

.service-item:hover {
    transform: scale(1.02);
    background: #ffffff !important;
}

.service-category {
    border-top: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.service-category:hover {
    border-color: var(--wp--preset--color--terracotta);
}


/* ─────────────────────────────────────────────────────────────
   10. COORDONNÉES
───────────────────────────────────────────────────────────── */
.contact-icon {
    width: 56px;
    height: 56px;
    background: #ffffff;
    border: 1.5px solid var(--wp--preset--color--terracotta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem auto;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--wp--preset--color--terracotta);
}


/* ─────────────────────────────────────────────────────────────
   11. CTA GLOBAL
───────────────────────────────────────────────────────────── */
.btn-primary {
    border-radius: 999px !important;
    background: var(--wp--preset--color--terracotta-deep) !important;
    color: #ffffff !important;
    transition: all 0.4s ease !important;
}

.btn-primary .wp-block-button__link,
.wp-block-button.btn-primary .wp-block-button__link {
    background-color: #A0522D !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background: #7A3D20 !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196, 123, 107, 0.4);
}

.btn-secondary {
    border-radius: 999px !important;
    background: transparent !important;
    border: 1px solid var(--wp--preset--color--blush) !important;
    color: var(--wp--preset--color--brun-chaud) !important;
    transition: all 0.3s ease !important;
}

.btn-secondary:hover {
    background: var(--wp--preset--color--cream-warm) !important;
    border-color: var(--wp--preset--color--rose-poudre) !important;
    transform: translateY(-2px);
}