/* ========================================
   DESIGN PHILOSOPHY: Elegant Minimalism
   - Paleta de março: violeta + amarelo
   - Headings centralizados
   - Textos corridos justificados
   - Melhor ritmo mobile e legibilidade
   ======================================== */

:root {
    /* PALETA MARÇO (VIOLETA + AMARELO) */
    --primary-color: #6F42C1;      /* violeta principal */
    --primary-dark: #542E9E;       /* violeta escuro */
    --primary-light: #D8C9F3;      /* lavanda clara */

    --accent-color: #F7E07A;       /* amarelo suave */
    --accent-dark: #E2C44D;        /* amarelo mais fechado */

    --text-dark: #2A2338;
    --text-light: #4F4563;
    --text-muted: #7A6E95;

    --bg-light: #F8F5FF;           /* fundo lavanda bem claro */
    --bg-white: #FFFFFF;
    --border-color: #E8DFF8;

    --success-color: #4DAA77;

    /* SPACING */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.25rem;
    --spacing-lg: 1.75rem;
    --spacing-xl: 2.5rem;
    --spacing-2xl: 3.5rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 14px;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 clamp(16px, 2.5vw, 28px);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.18;
    color: var(--text-dark);
    text-align: center; /* TÍTULOS CENTRALIZADOS */
}

h1 {
    font-size: clamp(1.95rem, 4.2vw, 3.35rem);
    margin-bottom: var(--spacing-md);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 3.2vw, 2.35rem);
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: clamp(1.1rem, 2.4vw, 1.4rem);
    margin-bottom: var(--spacing-md);
}

p {
    font-size: clamp(0.98rem, 1.5vw, 1.05rem);
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    text-align: justify;           /* TEXTOS JUSTIFICADOS */
    text-justify: inter-word;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    border: none;
    padding: 0.95rem 1.7rem;
    border-radius: var(--radius-sm);
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 16px rgba(111, 66, 193, 0.28);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    min-height: 48px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(111, 66, 193, 0.35);
    filter: saturate(1.05);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:focus-visible {
    outline: 2px solid rgba(111, 66, 193, 0.45);
    outline-offset: 2px;
}

.btn-large {
    padding: 1rem 2.2rem;
    font-size: 1.02rem;
}

.btn-cta {
    width: 100%;
    margin-top: var(--spacing-sm);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, #F8F5FF 0%, #EFE7FF 55%, #FFF9E1 100%);
    padding: clamp(32px, 6vw, 72px) 0;
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -42%;
    right: -16%;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(247, 224, 122, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(20px, 4vw, 52px);
    align-items: center;
}

.hero-text {
    max-width: 620px;
    margin-inline: auto;
}

.hero-headline {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.14;
    text-align: center; /* headline centralizada */
}

.hero-subheadline {
    font-size: clamp(1.15rem, 2.3vw, 1.45rem);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-family: 'Playfair Display', serif;
    text-align: center; /* subheadline centralizada */
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.75;
    text-align: justify;
}

.hero-highlight {
    background: var(--bg-white);
    border-left: 4px solid var(--primary-color);
    padding: clamp(14px, 2vw, 22px);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 6px 22px rgba(50, 34, 87, 0.09);
    display: flex;
    gap: var(--spacing-md);
}

.highlight-icon {
    font-size: 2.25rem;
    flex-shrink: 0;
    line-height: 1;
}

.highlight-text {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
    text-align: left;
}

.highlight-date,
.highlight-info {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    line-height: 1.45;
    text-align: left;
}

/* ========================================
   FORM SECTION
   ======================================== */

.hero-form {
    background: var(--bg-white);
    padding: clamp(18px, 3.5vw, 34px);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 36px rgba(42, 35, 56, 0.12);
    height: fit-content;
    position: sticky;
    top: 18px;
    border: 1px solid rgba(232, 223, 248, 0.85);
}

.form-title {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    text-align: center;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input {
    padding: 0.9rem 0.95rem;
    border: 1.8px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.98rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background-color: #FCFAFF;
    min-height: 46px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.12);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.65rem;
    line-height: 1.45;
}

/* ========================================
   RECOGNITION SECTION
   ======================================== */

.recognition {
    background: var(--bg-white);
    padding: clamp(34px, 6vw, 64px) 0;
}

.section-title {
    text-align: center;
    margin-bottom: clamp(20px, 3.8vw, 46px);
    font-size: clamp(1.5rem, 3.1vw, 2.3rem);
}

.recognition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: clamp(12px, 2.2vw, 24px);
    margin-bottom: var(--spacing-lg);
}

.recognition-item {
    background: #FBF9FF;
    padding: clamp(14px, 2.5vw, 24px);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.recognition-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(111, 66, 193, 0.12);
}

.recognition-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.65rem;
}

.recognition-item p {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
    text-align: center; /* cards pequenos ficam melhores centralizados */
}

.connection-phrase {
    text-align: center;
    padding: clamp(14px, 2.6vw, 22px);
    background: linear-gradient(135deg, #F6F0FF 0%, #FFF6CF 100%);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.connection-phrase p {
    font-size: clamp(1rem, 2vw, 1.16rem);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
}

/* ========================================
   GUILT BREAK SECTION
   ======================================== */

.guilt-break {
    background: linear-gradient(135deg, #F8F5FF 0%, #FFF9E8 100%);
    padding: clamp(34px, 6vw, 68px) 0;
}

.guilt-content {
    max-width: 840px;
    margin: 0 auto;
}

.guilt-title {
    text-align: center;
    font-size: clamp(1.65rem, 3.4vw, 2.6rem);
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.guilt-text {
    font-size: clamp(1rem, 1.8vw, 1.08rem);
    line-height: 1.85;
    text-align: justify;
    color: var(--text-light);
}

/* ========================================
   CTA SECTIONS
   ======================================== */

.cta-section {
    padding: clamp(28px, 5.2vw, 58px) 0;
    background: var(--bg-white);
}

.cta-section-alt {
    background: linear-gradient(135deg, #F4ECFF 0%, #FFF4BE 100%);
}

.cta-section-final {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.cta-box {
    max-width: 660px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(18px, 3.5vw, 34px);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(42, 35, 56, 0.1);
}

.cta-section-final .cta-box {
    background: transparent;
    box-shadow: none;
}

.cta-text {
    font-size: clamp(1.06rem, 2.1vw, 1.25rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    text-align: center; /* CTA sempre central */
}

.cta-section-final .cta-text {
    color: var(--bg-white);
}

.cta-title {
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.cta-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.08rem);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.cta-box-large {
    padding: clamp(18px, 3.5vw, 36px);
}

/* ========================================
   WHAT YOU'LL FIND SECTION
   ======================================== */

.what-youll-find {
    background: var(--bg-light);
    padding: clamp(34px, 6vw, 64px) 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: clamp(12px, 2vw, 20px);
    margin-bottom: var(--spacing-lg);
}

.content-item {
    background: var(--bg-white);
    padding: clamp(14px, 2.4vw, 22px);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.content-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(111, 66, 193, 0.14);
}

.content-number {
    display: inline-block;
    font-size: clamp(1.45rem, 2.8vw, 1.9rem);
    font-weight: 800;
    color: var(--accent-dark);
    margin-bottom: 0.55rem;
    font-family: 'Playfair Display', serif;
}

.content-item h3 {
    font-size: clamp(1rem, 2vw, 1.16rem);
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

.disclaimer {
    text-align: center;
    background: var(--bg-white);
    padding: clamp(14px, 2.5vw, 22px);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.disclaimer p {
    margin-bottom: 0.35rem;
    font-size: 0.98rem;
    text-align: center;
}

.disclaimer p:last-child {
    margin-bottom: 0;
}

/* ========================================
   FOR WHOM SECTION
   ======================================== */

.for-whom {
    background: var(--bg-white);
    padding: clamp(34px, 6vw, 64px) 0;
}

.for-whom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(14px, 2.5vw, 32px);
}

.for-whom-card {
    padding: clamp(16px, 3vw, 30px);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.for-whom-yes {
    background: linear-gradient(135deg, rgba(77, 170, 119, 0.11) 0%, rgba(77, 170, 119, 0.05) 100%);
    border: 1.5px solid rgba(77, 170, 119, 0.34);
}

.for-whom-no {
    background: linear-gradient(135deg, rgba(226, 196, 77, 0.2) 0%, rgba(226, 196, 77, 0.08) 100%);
    border: 1.5px solid rgba(226, 196, 77, 0.45);
}

.for-whom-card h3 {
    margin-bottom: var(--spacing-md);
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    text-align: center;
}

.for-whom-card ul {
    list-style: none;
}

.for-whom-card li {
    padding: 0.48rem 0;
    font-size: clamp(0.96rem, 1.7vw, 1.04rem);
    color: var(--text-dark);
    line-height: 1.7;
    text-align: justify;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    background: linear-gradient(135deg, #F8F5FF 0%, #FFF9E8 100%);
    padding: clamp(34px, 6vw, 64px) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 3.5vw, 40px);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 18px 40px rgba(42, 35, 56, 0.16);
    object-fit: cover;
}

.about-text {
    max-width: 540px;
}

.about-name {
    font-size: clamp(1.4rem, 2.8vw, 1.95rem);
    margin-bottom: 0.3rem;
    color: var(--text-dark);
    text-align: center;
}

.about-title {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.about-bio {
    font-size: clamp(0.98rem, 1.75vw, 1.05rem);
    line-height: 1.82;
    color: var(--text-light);
    text-align: justify;
}

/* ========================================
   PRACTICAL INFO SECTION
   ======================================== */

.practical-info {
    background: var(--bg-white);
    padding: clamp(34px, 6vw, 64px) 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: clamp(12px, 2vw, 22px);
}

.info-item {
    background: #FCFAFF;
    padding: clamp(14px, 2.4vw, 22px);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(232, 223, 248, 0.9);
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(42, 35, 56, 0.08);
}

.info-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 0.45rem;
}

.info-item p {
    margin: 0;
    font-size: 0.98rem;
    color: var(--text-dark);
    text-align: center;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: clamp(24px, 5vw, 48px) 0;
    text-align: center;
}

.final-cta .btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: #3B2D0C;
    box-shadow: 0 6px 14px rgba(226, 196, 77, 0.35);
}

.final-cta .btn-primary:hover {
    filter: brightness(0.98);
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .for-whom-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-form {
        position: static;
        top: auto;
        max-width: 680px;
        margin: 0 auto;
    }

    .hero-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-2xl: 2.2rem;
        --spacing-xl: 1.8rem;
        --spacing-lg: 1.35rem;
        --spacing-md: 1rem;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 28px 0 24px;
    }

    .hero::before {
        display: none;
    }

    .hero-content {
        gap: 16px;
    }

    .hero-headline {
        font-size: clamp(1.62rem, 7.1vw, 2rem);
        margin-bottom: 0.6rem;
        text-align: center;
    }

    .hero-subheadline {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }

    .hero-description {
        margin-bottom: 0.9rem;
        line-height: 1.65;
        text-align: justify;
    }

    .hero-highlight {
        gap: 0.75rem;
        padding: 12px;
        margin-bottom: 0.8rem;
    }

    .highlight-icon {
        font-size: 1.7rem;
    }

    .hero-form {
        padding: 14px;
        border-radius: 12px;
    }

    .form-title {
        font-size: 1.22rem;
        margin-bottom: 0.7rem;
    }

    .signup-form {
        gap: 0.68rem;
    }

    .form-group input {
        padding: 0.78rem 0.85rem;
        min-height: 44px;
        font-size: 0.96rem;
    }

    .btn-primary,
    .btn-large {
        width: 100%;
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    .section-title {
        margin-bottom: 1rem;
        text-align: center;
    }

    .recognition,
    .guilt-break,
    .cta-section,
    .what-youll-find,
    .for-whom,
    .about,
    .practical-info,
    .final-cta {
        padding: 28px 0;
    }

    .recognition-grid,
    .content-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cta-box,
    .cta-box-large,
    .for-whom-card {
        padding: 14px;
    }

    .connection-phrase {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.68;
    }

    .hero {
        padding: 22px 0 20px;
    }

    .hero-content {
        gap: 12px;
    }

    .hero-headline {
        font-size: clamp(1.5rem, 8vw, 1.75rem);
        text-align: center;
    }

    .hero-subheadline {
        font-size: 1.02rem;
        text-align: center;
    }

    .hero-description {
        font-size: 0.96rem;
    }

    .hero-highlight {
        padding: 10px;
        border-left-width: 3px;
    }

    .highlight-date,
    .highlight-info {
        font-size: 0.9rem;
    }

    .hero-form {
        padding: 12px;
    }

    .form-title {
        font-size: 1.14rem;
    }

    .form-group input {
        font-size: 0.95rem;
        min-height: 43px;
    }

    .form-note {
        font-size: 0.78rem;
    }

    .recognition-item,
    .content-item,
    .info-item {
        padding: 12px;
    }

    .about-name {
        font-size: 1.28rem;
    }

    .about-title {
        font-size: 0.97rem;
    }

    .for-whom-card li {
        font-size: 0.94rem;
    }

    .cta-text {
        font-size: 1.03rem;
    }
}

/* ========================================
   ACCESSIBILITY / REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text {
    animation: slideInLeft 0.7s ease-out;
}

.hero-form {
    animation: fadeInUp 0.7s ease-out 0.16s both;
}

.recognition-item,
.content-item {
    animation: fadeInUp 0.55s ease-out;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
    text-align: center !important;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.hidden {
    display: none !important;
}

.success-message {
    background-color: var(--success-color);
    color: #fff;
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
    animation: slideInLeft 0.25s ease-out;
    text-align: center;
}

.error-message {
    background-color: #C4685C;
    color: #fff;
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
    animation: slideInLeft 0.25s ease-out;
    text-align: center;
}
