/* ==========================================================================
            FONTS (@font-face)
            ========================================================================== */
@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter-300.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter-500.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter-600.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('./fonts/PlayfairDisplay-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('./fonts/PlayfairDisplay-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('./fonts/PlayfairDisplay-600.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('./fonts/PlayfairDisplay-700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
           VARIABLES (Design Tokens)
           ========================================================================== */
:root {
    /* Colors */
    --color-bg-base: #fdfaf6;
    --color-bg-white: #ffffff;
    --color-bg-purple-light: #faf5ff;
    --color-bg-purple-darker: #f3e8ff;

    --color-text-dark: #1e293b;
    --color-text-muted: #475569;
    --color-text-light: #64748b;

    --color-purple-primary: #9333ea;
    --color-purple-secondary: #a855f7;
    --color-purple-dark: #6b21a8;

    --color-pink-primary: #ec4899;
    --color-pink-light: #fbcfe8;

    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #128C7E;

    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Spacing */
    --spacing-section: 4rem;
    --container-width: 1200px;
    --container-width-small: 800px;
}

/* ==========================================================================
           RESET & BASE
           ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    background-color: var(--color-bg-base);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--color-pink-light);
    color: var(--color-text-dark);
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

strong {
    font-weight: 600;
}

/* ==========================================================================
           LAYOUT / UTILITIES
           ========================================================================== */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.container--small {
    max-width: var(--container-width-small);
}

.section {
    padding: var(--spacing-section) 0;
    content-visibility: auto;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
           COMPONENTS
           ========================================================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    width: 100%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (min-width: 640px) {
    .btn {
        width: auto;
    }
}

.btn__icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    transition: transform 0.3s ease;
}

.btn--whatsapp {
    background-color: var(--color-whatsapp);
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: scale(1.05);
}

.btn--whatsapp:hover .btn__icon {
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25%);
    }
}

/* CTA Wrapper */
.hero__cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    text-align: center;
}

.hero__cta-note {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px -10px rgba(107, 33, 168, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.glass-card:hover {
    transform: translateY(-0.5rem);
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
}

.section-header__title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header__title {
        font-size: 3rem;
    }
}

.section-header__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

.section-header__divider {
    width: 6rem;
    height: 4px;
    background: linear-gradient(to right, var(--color-purple-secondary), var(--color-pink-primary));
    margin: 1.5rem auto;
    border-radius: 2px;
}

.section-header__desc {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

/* ==========================================================================
           BLOCKS
           ========================================================================== */

/* Hero Block moved to hero.css */

/* Intro Block */
.intro {
    background-color: var(--color-bg-white);
    border-bottom: 1px solid var(--color-bg-purple-darker);
}

.intro__title {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .intro__title {
        font-size: 2.25rem;
    }
}

.intro__title-highlight {
    color: var(--color-purple-primary);
}

.intro__text {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 2rem;
}

.intro__quote {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-purple-dark);
    border-left: 4px solid var(--color-pink-light);
    padding: 1rem 1rem 1rem 1.5rem;
    text-align: left;
    background: linear-gradient(to right, #fdf2f8, transparent);
    border-radius: 0 1rem 1rem 0;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .intro__quote {
        font-size: 1.5rem;
    }
}

.intro__quote-bold {
    font-weight: 600;
    color: var(--color-pink-primary);
}

/* Pillars Block */
.pillars {
    background-color: var(--color-bg-purple-light);
    position: relative;
}

.pillars__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 2rem;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pillars__grid::-webkit-scrollbar {
    display: none;
}

.pillars__grid .glass-card {
    width: 85vw;
    max-width: 350px;
    height: auto;
    scroll-snap-align: center;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .pillars__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
        scroll-snap-type: none;
        gap: 2.5rem;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .pillars__grid .glass-card {
        min-width: 0;
    }
}

.card__icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.card--purple .card__icon-wrapper {
    background-color: #f3e8ff;
    color: #a855f7;
}

.card--purple:hover .card__icon-wrapper {
    background-color: #a855f7;
    color: white;
}

.card--pink .card__icon-wrapper {
    background-color: #fce7f3;
    color: #ec4899;
}

.card--pink:hover .card__icon-wrapper {
    background-color: #ec4899;
    color: white;
}

.card--rose .card__icon-wrapper {
    background-color: #ffe4e6;
    color: #f43f5e;
}

.card--rose:hover .card__icon-wrapper {
    background-color: #fb7185;
    color: white;
}

.card__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card__desc {
    color: var(--color-text-muted);
    font-weight: 300;
}

/* Dynamics Block */
.dynamics {
    background-color: var(--color-bg-white);
}

.dynamics__icon-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #f3e8ff;
    color: #a855f7;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.dynamics__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .dynamics__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-box {
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.feature-box--purple {
    background: linear-gradient(to bottom right, rgba(250, 245, 255, 0.8), rgba(253, 242, 248, 0.8));
    border: 1px solid #f3e8ff;
    box-shadow: 0 20px 25px -5px rgba(88, 28, 135, 0.05);
}

.feature-box--green {
    background: linear-gradient(to bottom right, rgba(240, 253, 244, 0.8), rgba(236, 253, 245, 0.8));
    border: 1px solid #bbf7d0;
    box-shadow: 0 20px 25px -5px rgba(20, 83, 45, 0.05);
}

.feature-box__bg-icon {
    position: absolute;
    bottom: -2.5rem;
    right: -2.5rem;
    font-size: 8rem;
    color: rgba(34, 197, 94, 0.1);
    transform: rotate(12deg);
    pointer-events: none;
}

.feature-box__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.feature-box--purple .feature-box__header {
    border-bottom: 1px solid rgba(233, 213, 255, 0.5);
}

.feature-box--green .feature-box__header {
    border-bottom: 1px solid rgba(187, 247, 208, 0.5);
}

.feature-box__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-box__icon--purple {
    background-color: var(--color-purple-secondary);
    box-shadow: 0 10px 15px -3px rgba(168, 85, 247, 0.3);
}

.feature-box__icon--green {
    background-color: var(--color-whatsapp);
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
}

.feature-box__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-box__text {
    color: var(--color-text-muted);
    font-weight: 300;
    position: relative;
    z-index: 10;
}

.feature-box__text-highlight {
    color: var(--color-purple-dark);
    font-weight: 500;
}

.feature-list {
    margin-top: 1.5rem;
    position: relative;
    z-index: 10;
}

.feature-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-list__icon {
    color: var(--color-whatsapp);
    margin-top: 0.25rem;
}

.feature-list__title {
    color: var(--color-text-dark);
    font-weight: 600;
    display: block;
}

.feature-list__desc {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Final CTA Block */
.cta-section {
    background-color: var(--color-bg-purple-light);
    background-image:
        radial-gradient(at 0% 0%, hsla(320, 80%, 90%, 0.8) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(280, 80%, 90%, 0.8) 0px, transparent 50%);
    position: relative;
    border-top: 1px solid var(--color-bg-purple-darker);
}

.cta-section__glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-pink-light), transparent);
    opacity: 0.5;
}

.cta-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
    text-align: center;
}

@media (min-width: 1024px) {
    .cta-section__grid {
        grid-template-columns: 0.8fr 1.2fr;
        text-align: left;
    }
}

.cta-section__image {
    width: 100%;
    height: auto;
    display: block;
}

.cta-section__title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .cta-section__title {
        font-size: 3.75rem;
    }
}

.cta-section__quote {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-purple-dark);
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .cta-section__quote {
        font-size: 1.5rem;
    }
}

.cta-section__text {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.cta-section__cta-wrapper {
    align-items: center;
}

@media (min-width: 1024px) {
    .cta-section__cta-wrapper {
        align-items: flex-start;
    }
}

.cta-section__btn {
    border: 4px solid #dcfce7;
}

.cta-section__btn:hover .btn__icon {
    transform: rotate(12deg);
    animation: none;
}

.cta-section__lock {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 500;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 1023px) {
    .cta-section__lock {
        justify-content: center;
    }
}

.cta-section__lock-icon {
    color: var(--color-purple-secondary);
    font-size: 0.75rem;
}

/* Footer Block */
.footer {
    background-color: var(--color-bg-white);
    padding: 2rem 0;
    border-top: 1px solid var(--color-bg-purple-darker);
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer__content {
        flex-direction: row;
    }
}

.footer__brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--color-purple-primary), var(--color-pink-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer__copyright {
    font-size: 0.875rem;
    color: var(--color-purple-secondary);
    font-weight: 500;
}