/* =========================================================
   Bertille Coaching — Design system
   Palette conservée : navy #013c56 · teal #458496 · mint #b2d3d6
   ========================================================= */

:root {
    --navy: #013c56;
    --navy-deep: #012a3d;
    --teal: #458496;
    --teal-soft: #5a9aaa;
    --mint: #b2d3d6;
    --mint-light: #f6fbf9;
    --cream: #eef6f5;
    --ink: #1a2f38;
    --muted: #5a7a85;
    --white: #ffffff;
    --footer: #2c3a40;

    --font-script: "Allura", cursive;
    --font-display: "Barlow Condensed", sans-serif;
    --font-body: "Outfit", system-ui, sans-serif;

    --radius: 14px;
    --radius-lg: 22px;
    --shadow-soft: 0 18px 50px rgba(1, 60, 86, 0.12);
    --shadow-nav: 0 8px 28px rgba(1, 60, 86, 0.18);
    --header-h: 72px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--ink);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.site-shell {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

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

a {
    transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

/* ---------- Buttons ---------- */

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    background-color: var(--navy);
    border-color: var(--navy);
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.65rem 1.4rem;
}

.btn-primary:hover {
    background-color: var(--teal);
    border-color: var(--teal);
    transform: translateY(-1px);
}

.btn-sm {
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    border: 1.5px solid transparent;
    text-decoration: none !important;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease),
        border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-hero--primary {
    background: var(--white);
    color: var(--navy) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-hero--primary:hover {
    transform: translateY(-2px);
    background: var(--mint-light);
    color: var(--navy-deep) !important;
}

.btn-hero--ghost {
    background: transparent;
    color: var(--white) !important;
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-hero--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* ---------- Header / Nav ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    box-shadow: var(--shadow-nav);
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
        backdrop-filter 0.35s var(--ease);
    align-self: stretch;
    flex-shrink: 0;
}

.site-header.is-scrolled {
    background: rgba(1, 60, 86, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-nav);
}

.site-header--hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: transparent;
    box-shadow: none;
}

/* Only the home (overlaid) header becomes fixed on scroll */
.site-header--hero.is-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    background: rgba(1, 60, 86, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-nav);
}

.site-nav {
    padding: 0.65rem 0;
    min-height: var(--header-h);
}

.site-nav__inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none !important;
    color: var(--white);
    margin-right: auto;
    flex-shrink: 0;
}

.site-brand__mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.35s var(--ease);
}

.site-brand:hover .site-brand__mark {
    transform: scale(1.06);
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.site-brand__name {
    font-family: var(--font-script);
    font-size: 1.65rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.site-brand__tag {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: 2px;
}

.site-nav__toggler.navbar-toggler {
    border: none !important;
    border-radius: 0;
    padding: 0.85rem 0.35rem;
    background: transparent;
    margin-left: 0.75rem;
    flex-shrink: 0;
    box-shadow: none !important;
    min-height: 48px;
    align-items: center;
    justify-content: center;
}

.site-nav__toggler.navbar-toggler:focus,
.site-nav__toggler.navbar-toggler:hover,
.site-nav__toggler.navbar-toggler:active {
    outline: none;
    box-shadow: none !important;
    background: transparent;
}

@media (min-width: 992px) {
    .site-nav__toggler.navbar-toggler {
        display: none !important;
    }
}

.site-nav__burger,
.site-nav__burger::before,
.site-nav__burger::after {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    position: relative;
    transition: transform 0.25s var(--ease), opacity 0.2s;
}

.site-nav__burger::before,
.site-nav__burger::after {
    content: "";
    position: absolute;
    left: 0;
}

.site-nav__burger::before {
    top: -9px;
}

.site-nav__burger::after {
    top: 9px;
}

.site-nav__links {
    align-items: center;
    gap: 0.15rem;
}

.site-nav__links .nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.5rem 0.85rem !important;
    position: relative;
    opacity: 1;
}

.site-nav__links .nav-link::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.2rem;
    height: 2px;
    background: var(--mint);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s var(--ease);
}

.site-nav__links .nav-link:hover,
.site-nav__links .nav-link.is-active {
    color: var(--white) !important;
}

.site-nav__links .nav-link:hover::after,
.site-nav__links .nav-link.is-active::after {
    transform: scaleX(1);
}

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.75rem;
}

.btn-nav {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    text-decoration: none !important;
    transition: background 0.25s var(--ease), color 0.25s var(--ease),
        border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-nav--ghost {
    color: var(--white) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    background: transparent;
}

.btn-nav--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white) !important;
}

.btn-nav--solid {
    background: var(--white);
    color: var(--navy) !important;
    border: 1.5px solid var(--white);
}

.btn-nav--solid:hover {
    background: var(--mint-light);
    transform: translateY(-1px);
    color: var(--navy) !important;
}

.site-flash {
    position: relative;
    z-index: 900;
    margin: 0;
    border-radius: 0;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        165deg,
        var(--navy-deep) 0%,
        var(--navy) 42%,
        var(--teal) 100%
    );
    color: var(--white);
    padding: calc(var(--header-h) + 2rem) 0 4rem;
}

.hero__atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 55% at 20% 20%, rgba(178, 211, 214, 0.22), transparent 55%),
        radial-gradient(ellipse 60% 50% at 85% 75%, rgba(69, 132, 150, 0.45), transparent 50%),
        repeating-linear-gradient(
            -12deg,
            transparent,
            transparent 48px,
            rgba(255, 255, 255, 0.015) 48px,
            rgba(255, 255, 255, 0.015) 49px
        );
    animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

@keyframes atmosphere-drift {
    from {
        transform: scale(1) translate(0, 0);
    }
    to {
        transform: scale(1.05) translate(-1.5%, 1%);
    }
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.hero__logo-ring {
    width: min(280px, 58vw);
    height: min(280px, 58vw);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.18), transparent 55%),
        rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 12px rgba(178, 211, 214, 0.08),
        0 25px 60px rgba(0, 0, 0, 0.25);
    animation: logo-float 6s ease-in-out infinite;
}

@keyframes logo-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero__logo {
    width: 78%;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

.hero__brand {
    margin: 0 0 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.hero__brand-script {
    font-family: var(--font-script);
    font-size: clamp(3.2rem, 10vw, 5.5rem);
    font-weight: 400;
    color: var(--white);
}

.hero__brand-display {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
    letter-spacing: 0.35em;
    margin-left: 0.35em;
    color: var(--mint);
}

.hero__lead {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    margin: 0 0 0.5rem;
    color: var(--white);
}

.hero__sub {
    margin: 0 auto 1.75rem;
    max-width: 28rem;
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    width: 100%;
}

.hero__copy {
    width: 100%;
    max-width: 36rem;
}

.hero__proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    width: 100%;
    max-width: 32rem;
    margin: 0 auto 1rem;
    padding: 0;
    list-style: none;
}

.hero__proof li {
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

.hero__proof strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 3.5vw, 1.45rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.1;
    color: var(--white);
}

.hero__proof span {
    display: block;
    margin-top: 0.35rem;
    font-size: clamp(0.65rem, 2vw, 0.75rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.hero__formats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin: 0 auto 1.25rem;
    max-width: 32rem;
}

.hero__formats span {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 992px) {
    .hero__formats {
        display: none;
    }
}

/* ---------- Sections shared ---------- */

.section-header {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 3rem;
}

.section-kicker {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    margin: 0 0 0.5rem;
}

.section-kicker--light {
    color: var(--mint);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: 0.02em;
    color: var(--navy);
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

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

.section-lead {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.section-lead--light {
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- About ---------- */

.about {
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    padding: 4.5rem 0;
}

.about__inner {
    max-width: 40rem;
    text-align: center;
}

.about__text {
    margin: 0;
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.75;
}

/* ---------- Services ---------- */

.services {
    background:
        radial-gradient(ellipse 70% 50% at 10% 0%, rgba(178, 211, 214, 0.35), transparent 55%),
        linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
    padding: 4.5rem 0 5rem;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.service-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    background: var(--white);
    border: 1px solid rgba(1, 60, 86, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.85rem 1.65rem;
    box-shadow: 0 12px 36px rgba(1, 60, 86, 0.07);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(69, 132, 150, 0.35);
    box-shadow: 0 22px 48px rgba(1, 60, 86, 0.14);
}

.service-card__top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.service-card__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--mint) 0%, rgba(178, 211, 214, 0.4) 100%);
    color: var(--navy);
    font-size: 1.25rem;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card:hover .service-card__icon {
    transform: scale(1.06);
    box-shadow: 0 10px 24px rgba(1, 60, 86, 0.12);
}

.service-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 0.03em;
    color: var(--navy);
    margin: 0;
    line-height: 1.2;
}

.service-card__text {
    color: var(--muted);
    margin: 0 0 1.15rem;
    font-size: 0.98rem;
    line-height: 1.65;
    flex-grow: 1;
}

.service-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.service-card__list li {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--cream);
    border: 1px solid rgba(1, 60, 86, 0.06);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
}

.service-card__link {
    margin-top: auto;
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--teal);
    text-decoration: none;
    align-self: flex-start;
    transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.service-card__link:hover {
    color: var(--navy);
    transform: translateX(3px);
}

/* ---------- Pricing ---------- */

.pricing {
    background: linear-gradient(160deg, var(--navy) 0%, var(--teal) 100%);
    padding: 4.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 90% 10%, rgba(178, 211, 214, 0.18), transparent 60%);
    pointer-events: none;
}

.pricing__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.price-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.2);
}

.price-card--featured {
    background: var(--white);
    transform: scale(1.03);
    border: 2px solid var(--mint);
}

.price-card--featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.price-card__badge,
.price-card__badge-slot {
    align-self: center;
    min-height: 1.7rem;
    margin: 0 0 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.price-card__badge {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--navy);
    color: var(--white);
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
}

.price-card__badge-slot {
    visibility: hidden;
    pointer-events: none;
}

.price-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--navy);
    margin: 0 0 1rem;
}

.price-card__price {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--muted);
    margin: 0 0 0.35rem;
}

.price-card__price span {
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.price-card__price--text {
    font-size: 2rem;
    font-weight: 600;
    color: var(--navy);
}

.price-card__pack {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

/* ---------- How it works ---------- */

.how {
    background: var(--cream);
    padding: 4.5rem 0 5rem;
}

.how__steps {
    --how-step-gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: var(--how-step-gap);
    counter-reset: none;
}

.how__step {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 28px rgba(1, 60, 86, 0.06);
    position: relative;
    min-height: 200px;
}

.how__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: var(--how-step-gap);
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--mint));
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}

.how__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how__label {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--navy);
    margin: 0;
    letter-spacing: 0.02em;
    flex-grow: 1;
}

.how__icon {
    color: var(--teal);
    font-size: 1.75rem;
}

/* ---------- Contact ---------- */

.contact {
    background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 50%, var(--teal) 100%);
    padding: 4.5rem 0 5rem;
}

.contact__form {
    max-width: 640px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(8px);
}

.contact-form .form-group {
    margin-bottom: 1.15rem;
}

.contact-form label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: var(--ink);
    width: 100%;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact-form .form-control::placeholder {
    color: rgba(26, 47, 56, 0.42);
    font-weight: 300;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--mint);
    box-shadow: 0 0 0 3px rgba(178, 211, 214, 0.45);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.contact-form__hint {
    margin: 0 0 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

.contact-form .form-error,
.contact-form .invalid-feedback,
.contact-form ul {
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
    color: #ffc9c9;
    font-size: 0.85rem;
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--footer);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.75rem 0;
    flex-shrink: 0;
    margin-top: auto;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1.25rem;
}

.site-footer__brand {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    line-height: 1;
}

.site-footer__brand .site-brand__name {
    color: var(--white);
    font-size: 1.15rem;
}

.site-footer__brand .site-brand__tag {
    display: inline;
    color: var(--mint);
    font-size: 0.65rem;
    margin-top: 0;
}

.site-footer__social {
    display: flex;
    gap: 0.85rem;
}

.site-footer__social a {
    color: var(--white);
    font-size: 1.05rem;
    opacity: 0.8;
    text-decoration: none;
}

.site-footer__social a:hover {
    opacity: 1;
    color: var(--mint);
}

.site-footer__copy {
    margin: 0;
    font-size: 0.78rem;
    opacity: 0.65;
}

#services,
#about,
#seances,
#fonctionnement,
#contact,
#reseau {
    scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

/* ---------- Reveal animations ---------- */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay {
    transition-delay: 0.12s;
}

.reveal--delay-2 {
    transition-delay: 0.24s;
}

.reveal--delay-3 {
    transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .hero__logo-ring,
    .hero__atmosphere {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ---------- Inner pages (calendar, login…) ---------- */

#navigation {
    /* legacy id kept for compatibility if any page still uses it */
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
}

body > .container,
.site-shell > .container {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

#logo-register {
    width: min(400px, 90vw);
}

/* ---------- Calendar ---------- */

.calendar-page {
    position: relative;
    flex: 1 0 auto;
    padding: 2.25rem 0 3rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 42%, var(--mint-light) 100%);
}

.calendar-page__atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 40% at 95% 0%, rgba(69, 132, 150, 0.16), transparent 55%),
        radial-gradient(ellipse 40% 35% at 0% 80%, rgba(178, 211, 214, 0.4), transparent 50%);
}

.calendar-page > .container {
    position: relative;
    z-index: 1;
}

.calendar-page__header {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.calendar-page__header .section-lead a {
    color: var(--teal);
    font-weight: 500;
    text-decoration: none;
}

.calendar-page__header .section-lead a:hover {
    color: var(--navy);
    text-decoration: underline;
}

.calendar-shell {
    background: var(--white);
    border: 1px solid rgba(1, 60, 86, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.35rem 1.5rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.calendar-shell__board {
    min-height: 560px;
}

/* FullCalendar theme */
.calendar-shell .fc {
    --fc-border-color: rgba(1, 60, 86, 0.1);
    --fc-page-bg-color: transparent;
    --fc-neutral-bg-color: var(--cream);
    --fc-today-bg-color: rgba(178, 211, 214, 0.28);
    --fc-now-indicator-color: var(--teal);
    --fc-button-bg-color: var(--navy);
    --fc-button-border-color: var(--navy);
    --fc-button-hover-bg-color: var(--teal);
    --fc-button-hover-border-color: var(--teal);
    --fc-button-active-bg-color: var(--navy-deep);
    --fc-button-active-border-color: var(--navy-deep);
    --fc-event-border-color: transparent;
    font-family: var(--font-body);
}

.calendar-shell .fc .fc-toolbar {
    gap: 0.75rem;
    margin-bottom: 1.25rem !important;
    flex-wrap: wrap;
}

.calendar-shell .fc .fc-toolbar-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    color: var(--navy);
    letter-spacing: 0.02em;
    text-transform: capitalize;
}

.calendar-shell .fc .fc-button {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px !important;
    padding: 0.45rem 0.95rem !important;
    box-shadow: none !important;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.calendar-shell .fc .fc-button:hover {
    transform: translateY(-1px);
}

.calendar-shell .fc .fc-button-primary:not(:disabled).fc-button-active,
.calendar-shell .fc .fc-button-primary:not(:disabled):active {
    background: var(--navy-deep);
    border-color: var(--navy-deep);
}

.calendar-shell .fc .fc-col-header-cell {
    background: linear-gradient(180deg, rgba(178, 211, 214, 0.35), rgba(178, 211, 214, 0.12));
    padding: 0.65rem 0.25rem;
}

.calendar-shell .fc .fc-col-header-cell-cushion {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none !important;
}

.calendar-shell .fc .fc-timegrid-slot-label-cushion {
    font-size: 0.8rem;
    color: var(--muted);
    font-family: var(--font-display);
    letter-spacing: 0.03em;
}

.calendar-shell .fc .fc-timegrid-event {
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(1, 60, 86, 0.12);
    border: none;
}

.calendar-shell .fc .fc-event-main {
    padding: 0.2rem 0.35rem;
}

.calendar-shell .fc .fc-event-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.calendar-shell .fc .fc-timegrid-now-indicator-line {
    border-width: 2px;
}

.calendar-shell .fc .fc-scrollgrid,
.calendar-shell .fc .fc-scrollgrid td,
.calendar-shell .fc .fc-scrollgrid th {
    border-radius: 0;
}

.calendar-shell .fc .fc-scrollgrid {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(1, 60, 86, 0.08) !important;
}

/* ---------- Auth (login / register) ---------- */

.auth-page {
    position: relative;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 0 3rem;
    overflow: hidden;
    background: linear-gradient(165deg, var(--cream) 0%, var(--white) 45%, var(--mint-light) 100%);
}

.auth-page__atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 90% 10%, rgba(69, 132, 150, 0.18), transparent 55%),
        radial-gradient(ellipse 45% 40% at 5% 90%, rgba(178, 211, 214, 0.45), transparent 50%);
}

.auth-page > .container {
    position: relative;
    z-index: 1;
}

.auth-flash {
    max-width: 640px;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius);
}

.auth-already {
    max-width: 640px;
    margin: 0 auto 1.5rem;
    padding: 0.85rem 1.25rem;
    background: rgba(1, 60, 86, 0.06);
    border-radius: var(--radius);
    text-align: center;
    color: var(--ink);
}

.auth-already a {
    color: var(--teal);
    font-weight: 500;
}

.auth-layout {
    display: flex;
    justify-content: center;
    max-width: 520px;
    margin: 0 auto;
}

.auth-layout--wide {
    max-width: 640px;
}

.auth-card {
    width: 100%;
    background: var(--white);
    border: 1px solid rgba(1, 60, 86, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.auth-card__logo {
    display: flex;
    justify-content: center;
    margin: 0 0 1.25rem;
}

.auth-card__logo img {
    width: 110px;
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(1, 60, 86, 0.15));
}

.auth-card .section-kicker {
    margin-bottom: 0.35rem;
}

.auth-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    color: var(--navy);
    margin: 0 0 0.4rem;
    letter-spacing: 0.02em;
}

.auth-card__lead {
    margin: 0 auto 1.75rem;
    max-width: 28rem;
    color: var(--muted);
    font-size: 1.02rem;
}

.auth-form {
    text-align: left;
}

.auth-form .form-group {
    margin-bottom: 1.1rem;
}

.auth-form label {
    display: block;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.auth-form .form-control {
    background: var(--cream);
    border: 1.5px solid rgba(1, 60, 86, 0.1);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: var(--ink);
    width: 100%;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.auth-form .form-control::placeholder {
    color: rgba(26, 47, 56, 0.4);
    font-weight: 300;
}

.auth-form .form-control:focus {
    outline: none;
    background: var(--white);
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(69, 132, 150, 0.2);
}

.auth-form__check {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0.5rem 0 1.25rem;
}

.auth-form__check label {
    margin: 0;
    text-transform: none;
    letter-spacing: 0.01em;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ink);
    cursor: pointer;
}

.auth-form__check .form-check-input {
    margin: 0;
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    accent-color: var(--navy);
}

.auth-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
    justify-content: center;
}

.auth-form__submit {
    background: var(--navy) !important;
    color: var(--white) !important;
    box-shadow: 0 10px 28px rgba(1, 60, 86, 0.25);
    border: none;
    cursor: pointer;
}

.auth-form__submit:hover {
    background: var(--teal) !important;
    color: var(--white) !important;
}

.auth-form__secondary {
    background: transparent !important;
    color: var(--navy) !important;
    border-color: rgba(1, 60, 86, 0.28) !important;
    box-shadow: none;
}

.auth-form__secondary:hover {
    background: rgba(1, 60, 86, 0.06) !important;
    border-color: var(--navy) !important;
    color: var(--navy) !important;
}

.auth-form__footer {
    margin: 1.35rem 0 0;
    text-align: center;
    font-size: 0.95rem;
}

.auth-form__footer a {
    color: var(--teal);
    text-decoration: none;
    font-weight: 500;
}

.auth-form__footer a:hover {
    color: var(--navy);
    text-decoration: underline;
}

.auth-form ul {
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
    color: #b42318;
    font-size: 0.85rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
    .site-header,
    .site-header--hero,
    .site-header--hero.is-scrolled,
    .site-header.is-scrolled {
        width: 100%;
        left: 0;
        right: 0;
    }

    .site-header--hero .navbar-collapse.show,
    .site-header--hero .navbar-collapse.collapsing {
        background: rgba(1, 60, 86, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        margin: 0.5rem -0.75rem 0;
        padding: 0.75rem 1.25rem 0.5rem;
        border-radius: var(--radius);
        border: 1px solid rgba(255, 255, 255, 0.12);
        width: calc(100% + 1.5rem);
    }

    .site-nav__inner {
        flex-wrap: wrap;
    }

    .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
    }

    .site-nav__links {
        padding: 1rem 0 0.5rem;
        width: 100%;
    }

    .site-brand {
        gap: 0.5rem;
        min-width: 0;
        padding-left: 0.35rem;
        margin-left: 0.15rem;
    }

    .site-brand__mark {
        width: 40px;
        height: 40px;
    }

    .site-brand__text {
        display: flex;
    }

    .site-brand__name {
        font-size: 2rem;
        line-height: 0.9;
    }

    .site-brand__tag {
        font-size: 0.68rem;
        letter-spacing: 0.28em;
        color: var(--mint);
        opacity: 1;
        margin-top: 1px;
    }

    .site-nav__toggler.navbar-toggler {
        display: inline-flex;
        padding: 1rem 0.25rem;
        min-height: 52px;
    }

    .site-nav__burger,
    .site-nav__burger::before,
    .site-nav__burger::after {
        width: 30px;
        height: 3px;
    }

    .site-nav__burger::before {
        top: -10px;
    }

    .site-nav__burger::after {
        top: 10px;
    }

    .site-nav__links .nav-link {
        padding: 0.65rem 0 !important;
    }

    .site-nav__links .nav-link::after {
        left: 0;
        right: auto;
        width: 2rem;
        bottom: 0.35rem;
    }

    .site-nav__actions {
        margin: 0.75rem 0 1rem;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .site-nav__actions .btn-nav {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0.7rem 1.1rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .price-card--featured {
        transform: none;
        order: -1;
    }

    .price-card--featured:hover {
        transform: translateY(-6px);
    }

    .how__steps {
        grid-template-columns: 1fr 1fr;
    }

    .how__step:not(:last-child)::after {
        display: none;
    }

    .auth-layout,
    .auth-layout--wide {
        max-width: 520px;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding-top: calc(var(--header-h) + 1.5rem);
        padding-bottom: 3.5rem;
    }

    .hero__copy {
        max-width: none;
        padding-inline: 0.25rem;
    }

    .hero__cta {
        flex-direction: column;
        width: 100%;
        max-width: none;
    }

    .btn-hero {
        width: 100%;
        max-width: none;
    }

    .hero__proof {
        gap: 0.45rem;
    }

    .hero__proof li {
        padding: 0.55rem 0.35rem;
    }

    .hero__proof strong {
        font-size: 1rem;
    }

    .hero__proof span {
        font-size: 0.58rem;
    }

    .hero__formats span {
        font-size: 0.65rem;
        padding: 0.28rem 0.55rem;
    }

    .how__steps {
        grid-template-columns: 1fr;
    }

    .contact__form {
        padding: 1.5rem 1.15rem;
    }

    .site-brand__mark {
        display: none;
    }

    .site-brand {
        padding-left: 0.5rem;
    }

    .site-brand__name {
        font-size: 2.15rem;
    }

    .site-brand__tag {
        font-size: 0.72rem;
        letter-spacing: 0.3em;
    }

    .auth-page {
        padding: 1.5rem 0 2.5rem;
    }

    .auth-card {
        padding: 1.65rem 1.25rem;
    }

    .auth-form__actions {
        flex-direction: column;
    }

    .auth-form__actions .btn-hero {
        width: 100%;
    }

    .site-footer__inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 0.45rem;
    }

    .calendar-page {
        padding: 1.5rem 0 2.25rem;
    }

    .calendar-shell {
        padding: 0.85rem 0.65rem 1rem;
        border-radius: var(--radius);
    }

    .calendar-shell__board {
        min-height: 480px;
    }

    .calendar-shell .fc .fc-toolbar-title {
        font-size: 1.25rem;
        width: 100%;
        text-align: center;
    }
}
