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

html {
    scroll-behavior: smooth;
}

body.public-body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at center, var(--bg-light) 0%, var(--bg-deep) 100%);
    background-attachment: fixed;
}

.public-grain {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.22;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.public-shell {
    position: relative;
    z-index: 1;
}

.public-wrap {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.public-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0 8px;
    gap: 16px;
}

.public-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: var(--text);
    text-decoration: none;
}

.public-logo span {
    color: #c9a227;
    margin-left: 6px;
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.public-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 400;
}

.public-nav a.is-active,
.public-nav a:hover {
    color: var(--text);
}

.public-nav a.btn-pill {
    color: #f7f1e6;
}

.public-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--glass);
    color: var(--text);
    cursor: pointer;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border: none;
    border-radius: 999px;
    background: var(--accent-grad);
    color: #f7f1e6;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(93, 64, 55, 0.18);
}

.btn-pill-ghost {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border);
    box-shadow: none;
}

.btn-pill-inverse {
    background: #f2ece0;
    color: #3e2723;
    box-shadow: none;
}

.public-hero {
    text-align: center;
    padding: 72px 0 40px;
}

.public-hero h1 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: clamp(2.4rem, 7vw, 4.6rem);
    letter-spacing: 0.08em;
    line-height: 1.05;
    color: var(--text);
}

.public-hero h1 em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--accent);
}

.hero-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 18px 0 10px;
}

.hero-rule span {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    letter-spacing: 0.28em;
}

.hero-rule::before,
.hero-rule::after {
    content: '';
    width: min(140px, 18vw);
    height: 1px;
    background: var(--border);
}

.public-kicker {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 0 0 28px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding: 28px 0 64px;
}

.pillar-card {
    text-decoration: none;
    color: inherit;
}

.pillar-visual {
    height: 320px;
    border-radius: 42px;
    margin-bottom: 16px;
    box-shadow: 0 12px 30px rgba(93, 64, 55, 0.12);
}

.cover-learn { background: linear-gradient(160deg, #8d6e63, #3e2723 70%); }
.cover-journal { background: linear-gradient(160deg, #cbb79a, #6d5a48 75%); }
.cover-sanctuary { background: linear-gradient(160deg, #5d4037, #1f1410 80%); }
.cover-moon { background: radial-gradient(circle at 35% 30%, #efe6d4, #6b5a4a 55%, #2b221c); }
.cover-houses { background: linear-gradient(135deg, #d7c6ad, #7a6454); }
.cover-planets { background: radial-gradient(circle at 70% 20%, #f0e2b2, #5d4037 60%); }
.cover-aspects { background: linear-gradient(200deg, #b9a48a, #3e2723); }

.pillar-card h3,
.blog-card h3 {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    margin: 0 0 8px;
    color: var(--text);
}

.pillar-card p,
.blog-card p {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: var(--text-dim);
}

/* --- HERO ARTWORK FRAME --- */
.hero-visual-frame {
    margin: 32px auto 0;
    max-width: 980px;
    border-radius: 24px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.35), rgba(93, 64, 55, 0.2) 50%, rgba(201, 162, 39, 0.1));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.hero-visual-inner {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #1a120c;
}

.hero-visual-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-visual-inner:hover img {
    transform: scale(1.02);
}

.hero-visual-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 28px 16px;
    background: linear-gradient(to top, rgba(15, 10, 8, 0.92) 0%, rgba(15, 10, 8, 0.6) 60%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.85rem;
    color: #f7f1e6;
}

.hero-caption-title {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.08em;
    color: #ffd700;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

/* --- LE NOUVEAU MANIFESTE ARCHITECTURAL --- */
.manifesto-band {
    background: radial-gradient(circle at 50% 30%, #4a342c, #1f1410 85%);
    color: #f7f1e6;
    border-radius: 28px;
    padding: 56px 48px;
    margin: 40px auto 72px;
    border: 1px solid rgba(201, 162, 39, 0.35);
    box-shadow: 0 16px 40px rgba(31, 20, 16, 0.4);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.manifesto-band::before {
    content: '✦';
    font-size: 2rem;
    color: #ffd700;
    opacity: 0.4;
    display: block;
    margin-bottom: 16px;
}

.manifesto-kicker {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #ffd700;
    margin-bottom: 16px;
    display: block;
}

.manifesto-band h2 {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    font-size: clamp(1.8rem, 3.8vw, 2.7rem);
    line-height: 1.25;
    letter-spacing: 0.04em;
    color: #fff9e6;
    margin: 0 auto 24px;
    max-width: 860px;
}

.manifesto-band p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    line-height: 1.65;
    color: rgba(247, 241, 230, 0.9);
    margin: 0 auto 32px;
    max-width: 820px;
}

.manifesto-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- SECTION & CARROUSEL DES FONCTIONNALITÉS PHARES --- */
.section-title {
    text-align: center;
    margin-bottom: 32px;
}

.section-title h2 {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    letter-spacing: 0.06em;
    margin: 0 0 10px;
}

.section-title p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: var(--text-dim);
    margin: 0;
}

.feature-carousel-container {
    position: relative;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 32px 36px 40px;
    margin-bottom: 72px;
    box-shadow: 0 16px 36px rgba(93, 64, 55, 0.08);
}

/* Onglets de navigation au-dessus du carrousel */
.feature-nav-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 20px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
    scrollbar-width: thin;
}

.feature-nav-tab {
    background: transparent;
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 999px;
    font-family: 'Cinzel', serif;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
    color: var(--text-dim);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.feature-nav-tab:hover {
    color: var(--text);
    border-color: var(--accent);
    background: rgba(201, 162, 39, 0.08);
}

.feature-nav-tab.is-active {
    background: var(--accent-grad);
    color: #f7f1e6;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(93, 64, 55, 0.2);
}

/* Slides */
.feature-slides-wrapper {
    position: relative;
    min-height: 480px;
}

.feature-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-slide.is-active {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    opacity: 1;
}

/* Visual Frame pour capture d'écran */
.feature-slide-visual {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #18100c;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.feature-slide-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
    aspect-ratio: 16 / 10;
}

.feature-slide-visual-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(30, 20, 16, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(201, 162, 39, 0.45);
    color: #ffd700;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Infos descriptives du slide */
.feature-slide-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-badge-pill {
    align-self: flex-start;
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 10px;
}

.feature-slide-info h3 {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    margin: 0 0 14px;
    color: var(--text);
    line-height: 1.2;
}

.feature-slide-info p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.22rem;
    line-height: 1.6;
    color: var(--text-dim);
    margin: 0 0 20px;
}

.feature-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 12px;
}

.feature-bullets li {
    position: relative;
    padding-left: 28px;
    font-size: 0.98rem;
    line-height: 1.45;
    color: var(--text);
}

.feature-bullets li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0;
    color: #c9a227;
    font-size: 0.95rem;
}

/* Contrôles du carrousel */
.feature-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.feature-carousel-arrows {
    display: flex;
    gap: 10px;
}

.feature-prev-btn,
.feature-next-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 1.1rem;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
}

.feature-prev-btn:hover,
.feature-next-btn:hover {
    border-color: var(--accent);
    background: rgba(201, 162, 39, 0.12);
    color: var(--accent);
}

.feature-carousel-dots {
    display: flex;
    gap: 8px;
}

.feature-carousel-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(93, 64, 55, 0.25);
    cursor: pointer;
    transition: all 0.2s;
}

.feature-carousel-dots button.is-active {
    background: var(--accent);
    transform: scale(1.25);
}

/* --- SECTION DOUBLE SAGESSE : ASTROLOGIE & NUMÉROLOGIE --- */
.dual-wisdom-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 72px;
}

.wisdom-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px 32px;
    background: rgba(255, 255, 255, 0.35);
    display: flex;
    flex-direction: column;
}

.wisdom-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.wisdom-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    margin: 0 0 12px;
    font-weight: 500;
}

.wisdom-card p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-dim);
    margin: 0 0 20px;
    flex: 1;
}

.wisdom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.wisdom-tag {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(93, 64, 55, 0.08);
    border: 1px solid var(--border);
    color: var(--text);
}

.carousel-wrap {
    position: relative;
    padding: 8px 0 56px;
}

.carousel-track {
    display: grid;
    grid-template-columns: 1fr;
}

.testimonial {
    display: none;
    background: rgba(93, 64, 55, 0.18);
    color: #f7f1e6;
    border-radius: 28px;
    padding: 36px 40px 28px;
    min-height: 220px;
}

.testimonial.is-active {
    display: block;
}

.stars {
    color: transparent;
    -webkit-text-stroke: 1px #f7f1e6;
    letter-spacing: 6px;
    margin-bottom: 16px;
}

.testimonial p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    line-height: 1.55;
    margin: 0 0 22px;
}

.testimonial cite {
    font-style: normal;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-70%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #3e2723;
    color: #f7f1e6;
    cursor: pointer;
}

.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 2px;
    background: rgba(93, 64, 55, 0.28);
    cursor: pointer;
}

.carousel-dots button.is-active {
    background: #3e2723;
}

.cta-banner {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: 280px;
    display: grid;
    place-items: center;
    text-align: center;
    margin-bottom: 72px;
    background: linear-gradient(180deg, rgba(30, 20, 16, 0.35), rgba(30, 20, 16, 0.72)),
        radial-gradient(circle at 50% 20%, #8d6e63, #1f1410 70%);
    color: #f7f1e6;
    padding: 48px 24px;
}

.cta-banner h2 {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    letter-spacing: 0.12em;
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    margin: 0 0 22px;
}

.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-bottom: 80px;
}

.price-card {
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px 24px 24px;
    background: rgba(255, 255, 255, 0.35);
    display: flex;
    flex-direction: column;
    min-height: 360px;
}

.price-card h3 {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    margin: 0 0 10px;
}

.price-card .tagline {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-dim);
    margin: 0 0 18px;
}

.price-card .amount {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    margin: 0 0 18px;
}

.price-card ul {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    flex: 1;
}

.price-card li {
    position: relative;
    padding: 8px 0 8px 28px;
    font-size: 0.92rem;
}

.price-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--accent);
}

.price-card .btn-pill,
.price-card .btn-soon {
    width: 100%;
}

.btn-soon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-family: 'Cinzel', serif;
}

.public-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0 40px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.public-footer a {
    color: var(--text-dim);
    text-decoration: none;
}

.page-title {
    padding: 36px 0 28px;
}

.page-title h1 {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    margin: 0 0 8px;
}

.page-title p {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: var(--text-dim);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    padding-bottom: 72px;
}

.blog-card {
    text-decoration: none;
    color: inherit;
}

.blog-cover {
    height: 240px;
    border-radius: 28px;
    margin-bottom: 14px;
}

.blog-date {
    color: #7a6a60;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.read-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent);
    font-size: 0.92rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 48px;
}

.article-cover {
    min-height: 420px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.article-body h1 {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    margin: 0 0 12px;
}

.article-body h1 em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.article-body p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0 0 16px;
}

.lesson-path {
    display: grid;
    gap: 16px;
    padding-bottom: 72px;
}

.lesson-card {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 22px 24px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.32);
    text-decoration: none;
    color: inherit;
}

.lesson-card strong {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
}

.lesson-num {
    font-family: 'Cinzel', serif;
    color: var(--text-dim);
}

.lesson-layout {
    display: grid;
    gap: 28px;
    padding-bottom: 48px;
}

.lesson-layout h1 {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    margin: 0;
}

.sanctuary-note {
    border: 1px solid var(--border);
    background: rgba(93, 64, 55, 0.08);
    border-radius: 18px;
    padding: 20px 22px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
}

.item-list {
    display: grid;
    gap: 14px;
}

.item-list article {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.item-list h3 {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    margin: 0 0 6px;
}

.item-list p {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.12rem;
    color: var(--text-dim);
}

.lesson-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .public-menu-btn { display: grid; place-items: center; }
    .public-nav {
        display: none;
        position: absolute;
        top: 74px;
        right: 24px;
        left: 24px;
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        border-radius: 16px;
        background: var(--bg-light);
        border: 1px solid var(--border);
        box-shadow: 0 12px 30px rgba(93, 64, 55, 0.12);
    }
    .public-nav.is-open { display: flex; }
    .public-header { position: relative; }
    .pillars,
    .blog-grid,
    .pricing,
    .feature-grid,
    .espresso-band,
    .article-layout,
    .feature-slide.is-active,
    .dual-wisdom-section {
        grid-template-columns: 1fr;
    }
    .feature-carousel-container { padding: 20px 16px; }
    .manifesto-band { padding: 36px 20px; }
    .pillar-visual { height: 220px; }
    .lesson-card { grid-template-columns: 48px 1fr; }
    .lesson-card .btn-pill { display: none; }
}
