/* =========================
   VARIABLES THEME
========================= */
:root {
    /* Couleurs principales */
    --color-primary: #842AAD;
    /* violet gestalt */
    --color-secondary: #2AAD97;
    /* vert présence */
    --color-accent: #6A3FA0;

    /* Fonds */
    --color-bg-main: #D9D9D9;
    --color-bg-soft: #F3F3F3;
    --color-bg-card: #FFFFFF;

    /* Texte */
    --color-text: #2B2B2B;
    --color-text-soft: #555;

    /* UI */
    --color-border: #E2DED7;
    --radius-sm: 4px;
    --radius-md: 8px;
    --shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* =========================
   RESET + BASE
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2px;    font-size: 16px;
    line-height: 1.7;
        -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    color: var(--color-text);
    background: radial-gradient(47.18% 97.62% at 50.08% 50%,
            rgba(42, 173, 82, 0.3408) 20.67%, rgba(42, 173, 97, 0.2256) 40.87%,
            rgba(42, 173, 151, 0.48) 68.27%) var(--color-bg-main);
}

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

/* =========================
   TYPOGRAPHIE
========================= */
h1 {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.1rem;
    color: var(--color-primary);
}

h1, h2, h3 {
    font-family: 'Inter', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* =========================
   LAYOUT
========================= */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 3.5rem 0;
}

/* =========================
   HEADER
========================= */
.site-header {
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(6px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.site-title {
    font-size: large;
    font-weight: 600;
    color: var(--color-primary);
}

/* Navigation */
.main-navigation {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0);
}

.main-navigation.is-open {
    display: block;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.nav-list a {
    padding: 1rem;
}

.nav-list a:hover {
    color: var(--color-primary);
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================
   NAVIGATION - BOUTONS
========================= */
.nav-list {
    list-style: none;
    display: flex;
    gap: 0.75rem;
}

.nav-btn {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    /* forme "pilule" */
    background-color: #F6FAF8;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 500;
    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease;
}

.nav-btn:hover,
.nav-btn:focus {
    background-color: rgba(131, 42, 173, 0.651);
    box-shadow: 0 4px 12px rgba(132, 42, 173, 0.25);
    transform: translateY(-1px);
}

.nav-btn.is-active {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 6px 18px rgba(132, 42, 173, 0.35);
}


/* Desktop */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .main-navigation {
        position: static;
        display: block;
        width: auto;
    }

    .nav-list {
        flex-direction: row;
        gap: 1.5rem;
    }

    .nav-btn {
        background-color: rgba(131, 42, 173, 0.08);
    }
}

/* =========================
   FOOTER
========================= */
.site-footer {
    background-color: var(--color-secondary);
    color: #fff;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-bottom {
    margin-top: 2rem;
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* =========================
   COMPONENTS
========================= */
.card {
    background-color: var(--color-bg-card);
    padding: 1.8rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.5rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-sm);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

/* =========================
   CONTACT BOX
========================= */
.contact-box {
    text-align: center;
    padding: 3rem 0;
}

.contact-box-text {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

/* Sticky mobile */
.contact-sticky-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    padding: 0.8rem;
    text-align: center;
    z-index: 1000;
}

@media (min-width: 768px) {
    .contact-sticky-mobile {
        display: none;
    }
}

/* =========================
   PAGE CONTENT — VERSION GESTALT
========================= */

/* Soulignement doux des titres */
.page-content h1 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.4rem;
}

.page-content h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40%;
    height: 3px;
    background: linear-gradient(
        to right,
        var(--color-secondary),
        transparent
    );
    border-radius: 4px;
}

.page-content {
    padding: 4rem 0;
    font-size: 1.05rem;
    line-height: 1.8;
}

.page-text {
    max-width: 760px;
}

/* Intro douce */
.page-intro {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
}

/* Paragraphes */
.page-text p {
    margin-bottom: 1.4rem;
    color: var(--color-text);
}

/* Listes */
.page-text ul,
.page-text ol {
    margin-bottom: 1.5rem;
    padding-left: 1.4rem;
}

.page-text li {
    margin-bottom: 0.5rem;
}

/* Citations thérapeutiques */
.page-text blockquote {
    border-left: 4px solid var(--color-secondary);
    padding: 1rem 1.2rem;
    margin: 2rem 0;
    background-color: var(--color-bg-soft);
    border-radius: var(--radius-sm);
    font-style: italic;
    color: var(--color-text-soft);
}

/* Sous-sections respiration */
.page-section {
    margin: 3rem 0;
}

/* Petits encarts (ex : infos pratiques) */
.page-note {
    background-color: var(--color-bg-card);
    padding: 1.3rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
/*     margin: 2rem 0;
 */    font-size: 0.95rem;
}

/* Séparateur doux */
.page-divider {
    height: 1px;
    background-color: var(--color-border);
    margin: 3rem 0;
    opacity: 0.6;
}

/* Responsive lecture mobile */
@media (max-width: 768px) {
    .page-content {
        padding: 3rem 0;
        font-size: 1rem;
    }

    .page-intro {
        font-size: 1.1rem;
    }
}
/* =========================
   FORMULAIRE SYMFONY
========================= */
.form-wrapper {
    max-width: 640px;
    margin: 3rem auto;
    padding: 2.5rem;
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.form-wrapper h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

/* Chaque champ */
.form-group {
    margin-bottom: 1.5rem;
}

/* Labels Symfony */
.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
}

/* Champs Symfony */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    font-size: 0.95rem;
    background-color: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

/* Focus doux */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(132, 42, 173, 0.15);
}

/* Bouton */
.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-submit button {
    background-color: var(--color-primary);
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.form-submit button:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(132, 42, 173, 0.35);
}

/* halo respire */
#bg-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.organic-blob {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Particules légères */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.671);
    border-radius: 50%;
    opacity: 0.5;
}

/* veines organiques */
#veins-canvas {
    position: fixed;
    inset: 0;
    z-index: -2; /* derrière les halos */
    pointer-events: none;
    opacity: 0.9; /* très discret */
}