/**
 * CRAQUE RAIZ ACADEMY - Landing Page Styles
 * Complementa brand-tokens.css
 */

/* ===== GLOBAL ===== */
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--cr-z-sticky);
    background: rgba(13, 59, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all var(--cr-ease-normal);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: var(--cr-font-display);
    font-weight: 900;
    font-size: 20px;
    color: var(--cr-white);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.nav-logo .accent { color: var(--cr-gold); }
.nav-cta {
    font-family: var(--cr-font-display);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 24px;
    background: var(--cr-gradient-gold);
    color: var(--cr-white);
    border-radius: var(--cr-radius-md);
    transition: all var(--cr-ease-normal);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--cr-shadow-glow); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--cr-bg-dark);
    position: relative;
    overflow: hidden;
    padding: 100px 24px 60px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(76,175,80,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(249,168,37,0.05) 0%, transparent 50%);
    z-index: 0;
}
/* Campo de futebol visto de cima — linhas sutis como overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800' preserveAspectRatio='xMidYMid slice'><g fill='none' stroke='%23ffffff' stroke-width='1.5' opacity='0.09'><rect x='40' y='40' width='1120' height='720' rx='4'/><line x1='600' y1='40' x2='600' y2='760'/><circle cx='600' cy='400' r='90'/><circle cx='600' cy='400' r='2' fill='%23ffffff'/><rect x='40' y='220' width='150' height='360'/><rect x='40' y='310' width='60' height='180'/><rect x='1010' y='220' width='150' height='360'/><rect x='1100' y='310' width='60' height='180'/><path d='M 190 340 A 90 90 0 0 1 190 460'/><path d='M 1010 340 A 90 90 0 0 0 1010 460'/><circle cx='120' cy='400' r='2' fill='%23ffffff'/><circle cx='1080' cy='400' r='2' fill='%23ffffff'/><path d='M 40 60 A 20 20 0 0 1 60 40'/><path d='M 1160 60 A 20 20 0 0 0 1140 40'/><path d='M 40 740 A 20 20 0 0 0 60 760'/><path d='M 1160 740 A 20 20 0 0 1 1140 760'/></g></svg>");
    background-size: cover;
    background-position: center;
    mix-blend-mode: screen;
    opacity: 0.55;
    z-index: 0;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content { max-width: 560px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(249,168,37,0.15);
    border: 1px solid rgba(249,168,37,0.3);
    border-radius: var(--cr-radius-full);
    font-family: var(--cr-font-display);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cr-gold);
    margin-bottom: 24px;
}
.hero-title {
    font-family: var(--cr-font-display);
    font-weight: 900;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.05;
    color: var(--cr-white);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-title .highlight { color: var(--cr-gold); }
.hero-sub {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
    margin-bottom: 32px;
}
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat { text-align: center; }
.hero-stat .stat-number {
    font-family: var(--cr-font-display);
    font-weight: 900;
    font-size: 32px;
    color: var(--cr-gold);
    line-height: 1;
}
.hero-stat .stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-img-wrapper {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/3;
    border-radius: var(--cr-radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    position: relative;
}
.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,59,18,0.6) 0%, transparent 50%);
}

/* ===== SECTIONS ===== */
.section { padding: 80px 24px; position: relative; }
.section-dark { background: var(--cr-bg-dark); color: var(--cr-white); position: relative; overflow: hidden; }
.section-alt { background: var(--cr-bg-alt); position: relative; overflow: hidden; }
.section-green { background: var(--cr-green-surface-light); position: relative; overflow: hidden; }
.container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }

/* ===== FOOTBALL PITCH STRIPES (divider between sections) ===== */
.pitch-stripes {
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        rgba(76,175,80,0.12) 0 60px,
        rgba(76,175,80,0.22) 60px 120px
    );
    position: relative;
}
.pitch-stripes::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), transparent);
}

/* ===== FOOTBALL FIELD BG DECORATIONS (per-section subtle) ===== */
.section-dark::before {
    content: '';
    position: absolute;
    right: -120px;
    top: 50%;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(255,255,255,0.04);
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.section-dark::after {
    content: '';
    position: absolute;
    left: -80px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border: 2px solid rgba(249,168,37,0.06);
    border-radius: 50%;
    pointer-events: none;
}
.section-alt::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%234CAF50' stroke-width='1' opacity='0.05'><circle cx='100' cy='100' r='60'/><circle cx='100' cy='100' r='2' fill='%234CAF50'/></g></svg>");
    background-repeat: no-repeat;
    background-position: calc(100% + 80px) -80px;
    background-size: 360px 360px;
    pointer-events: none;
}

/* ===== CORNER FLAG DECORATION ===== */
.corner-flag {
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: none;
    opacity: 0.12;
}
.corner-flag.top-left { top: 20px; left: 20px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; border-top-left-radius: 40px; }
.corner-flag.top-right { top: 20px; right: 20px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; border-top-right-radius: 40px; }
.corner-flag.bottom-left { bottom: 20px; left: 20px; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; border-bottom-left-radius: 40px; }
.corner-flag.bottom-right { bottom: 20px; right: 20px; border-bottom: 2px solid currentColor; border-right: 2px solid currentColor; border-bottom-right-radius: 40px; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}
.section-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: var(--cr-radius-full);
    font-family: var(--cr-font-display);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.section-dark .section-badge { background: rgba(249,168,37,0.15); color: var(--cr-gold); }
.section-badge { background: var(--cr-green-surface); color: var(--cr-green); }
.section-header .section-title {
    font-family: var(--cr-font-display);
    font-weight: 900;
    font-size: clamp(28px, 4vw, 40px);
    text-transform: uppercase;
    margin-bottom: 16px;
    line-height: 1.1;
}
.section-dark .section-title { color: var(--cr-white); }
.section-header .section-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--cr-text-light);
}
.section-dark .section-desc { color: rgba(255,255,255,0.5); }

/* ===== PROBLEM SECTION ===== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.problem-card {
    padding: 28px;
    border-radius: var(--cr-radius-lg);
    border: 1px solid var(--cr-border);
    background: var(--cr-white);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.problem-card .problem-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--cr-error-light);
    color: var(--cr-error);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.problem-card .problem-text h4 {
    font-family: var(--cr-font-display);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--cr-text);
}
.problem-card .problem-text p {
    font-size: 14px;
    color: var(--cr-text-light);
    line-height: 1.5;
}

/* ===== POSITIONS GRID ===== */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.position-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--cr-radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--cr-ease-normal);
    cursor: default;
}
.position-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--cr-gold);
    transform: translateY(-4px);
}
.position-card .pos-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: rgba(249,168,37,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cr-gold);
}
.position-card .pos-name {
    font-family: var(--cr-font-display);
    font-weight: 800;
    font-size: 16px;
    color: var(--cr-white);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.position-card .pos-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    line-height: 1.4;
}

/* ===== FEATURES LIST ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--cr-radius-lg);
    background: var(--cr-white);
    border: 1px solid var(--cr-border);
    transition: all var(--cr-ease-normal);
}
.feature-item:hover {
    box-shadow: var(--cr-shadow-md);
    border-color: var(--cr-green);
}
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--cr-green-surface);
    color: var(--cr-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-content h4 {
    font-family: var(--cr-font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--cr-text);
    margin-bottom: 4px;
}
.feature-content p {
    font-size: 14px;
    color: var(--cr-text-light);
    line-height: 1.5;
}

/* ===== SOCIAL PROOF ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--cr-radius-lg);
    padding: 28px;
}
.testimonial-card .stars {
    color: var(--cr-gold);
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    gap: 2px;
}
.testimonial-card .quote {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    font-style: italic;
    margin-bottom: 16px;
}
.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-card .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(249,168,37,0.2);
    color: var(--cr-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--cr-font-display);
    font-weight: 800;
    font-size: 16px;
}
.testimonial-card .author-name {
    font-family: var(--cr-font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--cr-white);
}
.testimonial-card .author-role {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.pricing-card {
    border-radius: var(--cr-radius-xl);
    overflow: hidden;
    position: relative;
}
.pricing-card.featured {
    border: 2px solid var(--cr-gold);
    transform: scale(1.03);
}
.pricing-card .pricing-header {
    padding: 32px 28px 24px;
    text-align: center;
}
.pricing-card.featured .pricing-header {
    background: var(--cr-gradient-dark);
    color: var(--cr-white);
}
.pricing-card .pricing-header .plan-name {
    font-family: var(--cr-font-display);
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.pricing-card .pricing-header .plan-desc {
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 20px;
}
.pricing-card .pricing-header .plan-price {
    font-family: var(--cr-font-display);
    font-weight: 900;
    font-size: 48px;
    line-height: 1;
}
.pricing-card.featured .plan-price { color: var(--cr-gold); }
.pricing-card .pricing-header .plan-period {
    font-size: 14px;
    opacity: 0.5;
    margin-top: 4px;
}
.pricing-card .pricing-body {
    padding: 24px 28px 32px;
    background: var(--cr-white);
}
.pricing-card .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.pricing-card .pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--cr-border);
    font-size: 14px;
    color: var(--cr-text);
}
.pricing-card .pricing-features li:last-child { border-bottom: none; }
.pricing-card .pricing-features li i { flex-shrink: 0; color: var(--cr-green); }

/* ===== GUARANTEE ===== */
.guarantee {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 700px;
    margin: 48px auto 0;
    padding: 32px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--cr-radius-xl);
}
.guarantee-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(249,168,37,0.1);
    color: var(--cr-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.guarantee-text h4 {
    font-family: var(--cr-font-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--cr-white);
    margin-bottom: 6px;
    text-transform: uppercase;
}
.guarantee-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

/* ===== FAQ ===== */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--cr-border);
    padding: 20px 0;
}
.faq-question {
    font-family: var(--cr-font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--cr-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.faq-question i { flex-shrink: 0; color: var(--cr-green); transition: transform var(--cr-ease-normal); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
    font-size: 14px;
    color: var(--cr-text-light);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding-top: 0;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding-top: 12px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--cr-bg-dark);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 48px 24px 24px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand .footer-logo {
    font-family: var(--cr-font-display);
    font-weight: 900;
    font-size: 22px;
    color: var(--cr-white);
    margin-bottom: 8px;
}
.footer-brand .footer-logo .accent { color: var(--cr-gold); }
.footer-brand .footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    line-height: 1.5;
    margin-bottom: 16px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: all var(--cr-ease-normal);
}
.footer-social a:hover { background: var(--cr-gold); color: var(--cr-white); }
.footer-col h4 {
    font-family: var(--cr-font-display);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    padding: 4px 0;
    transition: color var(--cr-ease-fast);
}
.footer-col a:hover { color: var(--cr-gold); }
.footer-bottom {
    max-width: 1200px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-visual { order: -1; }
    .hero-stats { justify-content: center; }
    .hero-img-wrapper { max-width: 360px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .guarantee { flex-direction: column; text-align: center; }
    .pricing-card.featured { transform: none; }
}
@media (max-width: 480px) {
    .hero-stats { flex-direction: column; gap: 16px; }
    .footer-inner { grid-template-columns: 1fr; }
    .nav-cta { display: none; }
}
