/* ==========================================================================
   index.css — Estilos exclusivos da página principal (index.html)
   ========================================================================== */

body {
    background: var(--surface-bg);
}

/* Hero Principal
   ========================================================================== */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px 40px;
    background:
        radial-gradient(circle at top, rgba(212, 255, 0, 0.12), transparent 30%),
        linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

.hero-content {
    width: 100%;
    max-width: 980px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-copy {
    text-align: center;
    justify-self: center;
    max-width: 760px;
    margin: 0 auto;
    padding-top: 42px;
}

.hero-placeholder {
    display: none;
}

.hero h1 {
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.8;
    letter-spacing: 0;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.neon-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 10px;
    background: rgba(212, 255, 0, 0.18);
    color: var(--accent-color);
    border: 1px solid rgba(212, 255, 0, 0.7);
    box-shadow: 0 0 16px rgba(212, 255, 0, 0.55);
    font-size: clamp(18px, 3.2vw, 26px);
    letter-spacing: 1px;
}

.desktop-line,
.hero-title-line,
.mobile-only,
.desktop-only {
    display: inline;
}

.hero .subtitle {
    font-size: clamp(34px, 6.8vw, 54px);
    color: #fcfc78;
    margin-bottom: 30px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
}

.hero .support-text {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 700px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Sections Layout
   ========================================================================== */
.benefits,
.target-audience,
.challenges,
.testimonials,
.faq {
    background: var(--surface-bg);
}

.benefits,
.target-audience,
.challenges,
.authority,
.testimonials {
    padding: 100px 20px;
}

.faq {
    padding: 100px 20px 30px; /* Redução do espaçamento inferior em direção ao contacto */
}

.faq-decision-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.7;
}

/* Evita salto visual antes do AdSense carregar */
.ad-slot-wrapper {
    display: none; /* Esconde este bloco para não criar espaço vazio gigante */
}

.section-title {
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--brand-purple);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Benefits
   ========================================================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px 34px;
    margin: 0 auto 60px;
    max-width: 1120px;
}

.benefit-card {
    padding: 18px 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    animation: fadeInUp 0.6s ease-out forwards;
    width: 100%;
    max-width: 320px;
    justify-self: center;
    border: 1px solid var(--brand-purple);
    border-radius: 14px;
}

.benefit-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 40px rgba(47, 35, 122, 0.2);
}

.benefit-icon,
.list-item-icon i,
.challenge-icon {
    color: var(--brand-purple);
}

.benefit-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 0;
}

.benefit-text,
.list-item,
.challenge-item,
.authority-desc {
    font-size: 16px;
    line-height: 1.7;
}

.benefit-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
}

.benefit-text {
    color: var(--text-secondary);
    max-width: 320px;
}

.benefits-cta,
.target-cta,
.challenges-cta {
    text-align: center;
}

.hero-copy .cta-btn {
    margin: 0 auto;
}

/* Target Audience
   ========================================================================== */
.list-container {
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    justify-items: center;
    position: relative;
    padding-top: 10px;
    margin: 0 auto;
}

.list-container::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 16%;
    right: 16%;
    height: 4px;
    background-image: repeating-linear-gradient(
        to right,
        var(--brand-purple) 0 16px,
        transparent 16px 26px
    );
    opacity: 0.95;
    z-index: 0;
}

.list-item-icon {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 30px rgba(15, 11, 62, 0.16);
    margin: 0 auto 22px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.list-item-icon i {
    color: #ffffff;
    font-size: 28px;
}

.list-item,
.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.list-item {
    display: block;
    text-align: center;
    margin-bottom: 0;
    padding: 10px 14px 0;
    max-width: 320px;
    position: relative;
    z-index: 1;
}

.list-item:hover .list-item-icon {
    transform: scale(1.08);
    box-shadow: 0 24px 46px rgba(15, 11, 62, 0.24);
}

.list-item-text,
.challenge-text {
    flex: 1;
}

.list-item-text {
    color: var(--text-primary);
    max-width: 290px;
    margin: 0 auto;
    line-height: 1.75;
}

.target-cta,
.challenges-cta {
    margin-top: 60px;
}

/* Challenges
   ========================================================================== */
.challenges .section-title {
    font-size: clamp(26px, 6vw, 44px);
}

.challenges-list {
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    justify-items: center;
    margin: 0 auto;
}

.challenge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 0;
    padding: 38px 28px;
    background: #ffffff;
    border: 1px solid rgba(79, 70, 229, 0.10);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 11, 62, 0.08);
    transition: var(--transition);
    width: 100%;
    max-width: 340px;
}

.challenge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 50px rgba(15, 11, 62, 0.12);
}

.challenge-item.featured {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

.challenge-item.featured .challenge-icon,
.challenge-item.featured .challenge-text {
    color: #ffffff;
}

.challenge-icon {
    flex-shrink: 0;
    font-size: 34px;
    margin-top: 4px;
}

.challenge-text {
    color: var(--text-secondary);
    max-width: 280px;
    line-height: 1.75;
}

/* Authority
   ========================================================================== */
.authority {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    position: relative;
    overflow: hidden;
}

.authority::before,
.authority::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(212, 255, 0, 0.95);
    box-shadow: 0 0 14px rgba(212, 255, 0, 0.55);
    z-index: 0;
}

.authority::before { top: 0; }
.authority::after  { bottom: 0; }

.authority-content {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

.authority-heading {
    text-align: center;
    max-width: 780px;
}

.authority-body {
    text-align: center;
    max-width: 760px;
    position: relative;
    z-index: 3;
}

.authority-kicker {
    font-size: clamp(26px, 4.8vw, 46px);
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.12;
    color: #ffffff;
    margin-bottom: 0;
    text-align: center;
    text-transform: uppercase;
}

.authority-name {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 22px;
    line-height: 1.02;
    text-align: center;
}

.authority-desc,
.authority-closing {
    color: #ffffff;
    text-align: center;
}

.authority-desc {
    margin-bottom: 24px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.authority-closing {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

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

.authority-card {
    position: relative;
    width: min(100%, 420px);
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.authority-image-placeholder {
    width: min(100%, 380px);
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.26);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 50px 90px rgba(5, 3, 24, 0.6);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.authority-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.authority-image-mobile {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Testimonials
   ========================================================================== */
.testimonials,
.faq {
    text-align: center;
}

.testimonials-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.testimonial-card {
    position: relative;
    background: #ffffff;
    border-radius: 22px;
    padding: 28px 24px 54px;
    border: 1px solid rgba(212, 255, 0, 0.5);
    box-shadow: 0 18px 40px rgba(15, 11, 62, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 26px 50px rgba(15, 11, 62, 0.18);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-purple);
}

.testimonial-avatar i {
    font-size: 26px;
}

.testimonial-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-purple);
    text-align: left;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: left;
}

.testimonial-stars {
    position: absolute;
    left: 22px;
    bottom: 18px;
    display: inline-flex;
    gap: 6px;
    color: var(--brand-purple);
    z-index: 1;
}

/* FAQ
   ========================================================================== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
    text-align: left;
}

.faq-item {
    border: 1px solid var(--brand-purple);
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: transparent;
    border: none;
    font: inherit;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    color: var(--brand-purple);
    font-size: 18px;
    transition: transform 0.6s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 22px;
    color: var(--text-secondary);
    line-height: 1.75;
    transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
}

.faq-item.open {
    box-shadow: 0 18px 40px rgba(47, 35, 122, 0.14);
}

.faq-item.open .faq-icon {
    transform: rotate(90deg);
}

.faq-item.open .faq-answer {
    opacity: 1;
    padding: 10px 22px 42px;
}

/* Footer (index)
   ========================================================================== */
footer {
    padding: 60px 20px 24px;
}

.contact-wrap {
    max-width: 980px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    text-align: center;
}

.contact-copy {
    color: #ffffff;
    padding-top: 12px;
}

.contact-cta-block {
    margin-top: -12px;
}

.contact-title {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.contact-highlight {
    color: var(--accent-color);
    font-size: clamp(20px, 2.8vw, 28px);
    font-weight: 600;
    line-height: 1.5;
}

.contact-copy .cta-btn {
    margin-top: 18px;
    padding: 20px 48px;
    font-size: 16px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Cookie Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(calc(100% - 32px), 1080px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(15, 11, 62, 0.96);
    border: 1px solid rgba(212, 255, 0, 0.24);
    box-shadow: 0 20px 44px rgba(5, 3, 24, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
}

.cookie-banner.is-hidden {
    display: none !important;
}

.cookie-copy {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.cookie-actions .cta-btn {
    flex: 1 1 0;
    min-width: 140px;
    width: 100%;
    justify-content: center;
}

.cookie-copy a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.cookie-copy a:hover {
    color: #ffffff;
}

/* Responsive — index.html específico
   ========================================================================== */
@media (max-width: 768px) {
    .hero {
        padding: 16px 20px 28px;
        min-height: auto;
        align-items: flex-start;
        background:
            radial-gradient(circle at top, rgba(212, 255, 0, 0.14), transparent 32%),
            linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    }

    .hero-content,
    .authority-content {
        gap: 30px;
    }

    .hero-content {
        max-width: 360px;
    }

    .hero-placeholder {
        display: none;
    }

    .hero h1 {
        font-size: 14px;
        margin-bottom: 14px;
        line-height: 1.22;
        max-width: 320px;
    }

    .hero-copy {
        padding-top: 0;
        margin-top: 28px;
        text-align: center;
        max-width: 340px;
    }

    .hero h1 .neon-badge {
        margin-bottom: 22px;
    }

    .hero .subtitle {
        font-size: 30px;
        margin-bottom: 18px;
        line-height: 1.08;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .list-container {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .list-container::before {
        display: none;
    }

    .challenges-list {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        gap: 10px;
    }

    .cta-btn {
        padding: 18px 36px;
        font-size: 14px;
    }

    .hero .support-text {
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .benefits,
    .target-audience,
    .challenges,
    .authority,
    .testimonials,
    .faq {
        padding: 60px 20px;
    }

    .authority-card {
        width: min(100%, 360px);
        height: auto;
        min-height: 0;
        margin: 0 auto;
    }

    .authority-image-placeholder {
        width: min(100%, 320px);
        height: auto;
        min-height: 0;
        margin: 0;
    }

    .authority-image {
        display: none;
    }

    .authority-image-mobile {
        display: block;
    }

    .hero-copy,
    .hero h1,
    .hero .subtitle,
    .hero .support-text {
        text-align: center;
    }

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

    .authority-heading,
    .authority-body,
    .authority-desc,
    .authority-closing {
        text-align: center;
        max-width: 100%;
    }

    .authority-kicker,
    .authority-name {
        text-align: center;
    }

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

    .contact-copy,
    .contact-title,
    .contact-highlight {
        text-align: center;
    }

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

    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 16px;
        bottom: 12px;
    }

    .cookie-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 13px;
        line-height: 1.18;
        max-width: 300px;
    }

    .hero .subtitle {
        font-size: 28px;
        line-height: 1.08;
    }

    .hero .support-text {
        font-size: 14px;
    }

    .authority-name {
        font-size: 40px;
    }

    .section-title {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .benefit-icon {
        font-size: 24px;
    }

    .list-item {
        font-size: 14px;
        margin-bottom: 0;
    }

    .list-item-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 18px;
    }

    .list-item-icon i {
        font-size: 24px;
    }

    .cta-btn {
        padding: 12px 24px;
        font-size: 11px;
    }

    .contact-copy .cta-btn {
        white-space: nowrap;
        font-size: 12px;
        padding: 14px 20px;
    }

    .footer-line {
        display: block;
    }
}

@media (min-width: 769px) {
    .hero {
        align-items: flex-start;
        padding-top: 30px;
    }

    .hero-content {
        max-width: 1320px;
    }

    .hero-copy {
        max-width: 1220px;
        padding-top: 20px;
    }

    .hero .subtitle {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero .support-text {
        font-size: 20px;
        max-width: 920px;
    }

    .neon-badge {
        position: relative;
        top: -6px;
    }
}

/* Animations
   ========================================================================== */
@keyframes fadeInUp {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }
