/* ==========================================================
   TAO DES SOURCES — CSS GLOBAL
   Thème enfant Astra
   ========================================================== */

:root {
    --tao-green: #274c3a;
    --tao-green-soft: #8fa998;
    --tao-ivory: #f7f4ed;
    --tao-sand: #c99b5b;
    --tao-text: #252824;
    --tao-muted: #6f756f;
    --tao-white: #ffffff;
    --tao-radius: 22px;
    --tao-shadow: 0 18px 45px rgba(39, 76, 58, 0.10);
    --tao-container: 1240px;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--tao-ivory);
    color: var(--tao-text);
}

/* Conteneur réutilisable pour les futures sections */
.tao-container {
    width: min(calc(100% - 40px), var(--tao-container));
    margin-inline: auto;
}

/*
 * Les styles définitifs des sections validées seront ajoutés ici :
 * - Header / Hero
 * - Qi Gong
 * - Les cours / accordéon
 * - Tarifs & informations pratiques
 * - Agenda
 * - L'enseignante
 * - Contact
 * - Footer
 */

/* ==========================================================
   TAO DES SOURCES — BASE GLOBALE
   ========================================================== */

:root {
    --tao-green: #274C3A;
    --tao-sage: #8FA998;
    --tao-ivory: #F7F4ED;
    --tao-sand: #C99B5B;
    --tao-text: #252824;
    --tao-white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--tao-ivory);
    color: var(--tao-text);
}

/* ---------- LIENS ---------- */

a {
    color: var(--tao-green);
}

a:hover,
a:focus {
    color: var(--tao-sage);
}

/* ---------- BOUTONS ---------- */

button,
input[type="button"],
input[type="submit"],
.elementor-button,
.ast-button,
.wp-block-button__link {
    background-color: var(--tao-green);
    border-color: var(--tao-green);
    color: #fff;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.elementor-button:hover,
.ast-button:hover,
.wp-block-button__link:hover {
    background-color: #1f3f30;
    border-color: #1f3f30;
    color: #fff;
}

/* ---------- FOCUS : PAS DE BLEU ASTRA ---------- */

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline-color: var(--tao-sage);
    border-color: var(--tao-sage);
    box-shadow: 0 0 0 2px rgba(143,169,152,.22);
}

/* ---------- MENU ---------- */

.main-header-menu .menu-link,
.ast-builder-menu-1 .menu-item > .menu-link {
    color: var(--tao-text);
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link,
.ast-builder-menu-1 .menu-item:hover > .menu-link,
.ast-builder-menu-1 .current-menu-item > .menu-link {
    color: var(--tao-green);
}

/* ---------- BURGER MOBILE ---------- */

.ast-mobile-menu-trigger-minimal,
.ast-button-wrap .menu-toggle,
.ast-mobile-svg {
    color: var(--tao-green) !important;
    fill: var(--tao-green) !important;
}

/* ---------- FORMULAIRES ---------- */

input,
textarea,
select {
    border-color: rgba(39,76,58,.2);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--tao-green) !important;
}

/* ---------- SELECTION TEXTE ---------- */

::selection {
    background: var(--tao-sage);
    color: #fff;
}
