/* =====================================================
   TO THE BOX - Institutional Website Styles
   ===================================================== */

/* === FONT FACES === */
@font-face {
    font-family: 'Glacial Indifference';
    src: url('assets/fonts/GlacialIndifference-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Glacial Indifference';
    src: url('assets/fonts/GlacialIndifference-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aristotelica';
    src: url('assets/fonts/Aristotelica-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aristotelica';
    src: url('assets/fonts/Aristotelica-DemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background: #fff;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
ul, ol {
    list-style: none;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Aristotelica', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}
.green {
    color: #18DB70;
}

/* === CONTAINER === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* =====================================================
   HEADER (87px height, 16px fonts)
   ===================================================== */
.header {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 87px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header .logo img {
    height: 40px;
    width: auto;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: #18DB70;
}
.btn-client {
    background: #18DB70;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-family: 'Aristotelica', sans-serif;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}
.btn-client:hover {
    background: #14c462;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}
.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: 0.3s;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    margin-top: 87px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 80px 0 80px 80px;
}
.hero-content h1 {
    font-size: 54px;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.12;
}
.hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    line-height: 1.7;
}
.btn-green {
    display: inline-block;
    background: #18DB70;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 18px 40px;
    border-radius: 6px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-green:hover {
    background: #14c462;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24,219,112,0.35);
}

/* =====================================================
   ABOUT / "Capture a ação" SECTION
   - Dark bg, icon.svg large on right side
   ===================================================== */
.about-section {
    background: #3a3a3a;
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}
.about-section .icon-bg {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 550px;
    height: 550px;
    opacity: 0.12;
}
.about-content {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.about-content h2 {
    font-size: 56px;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.15;
}
.about-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 18px;
    line-height: 1.8;
}
.btn-green-large {
    display: inline-block;
    background: #18DB70;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 20px 50px;
    border-radius: 6px;
    margin-top: 24px;
    transition: all 0.3s;
}
.btn-green-large:hover {
    background: #14c462;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24,219,112,0.35);
}

/* =====================================================
   MAGIA / "A magia do esporte na palma da sua mão!"
   - Larger phone, larger badges, larger fonts
   ===================================================== */
.magia-section {
    background: #fff;
    padding: 100px 0;
}
.magia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.magia-text h2 {
    font-size: 52px;
    margin-bottom: 28px;
    color: #333;
    line-height: 1.1;
}
.magia-text > p {
    font-size: 17px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}
.app-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 30px;
}
.app-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 16px 14px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}
.app-download {
    margin-top: 32px;
}
.app-download h3 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #333;
}
.app-badges {
    display: flex;
    gap: 20px;
}
.app-badges img {
    height: 56px;
    width: auto;
}
.magia-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.magia-image img {
    max-width: 500px;
    width: 100%;
}

/* =====================================================
   STEPS / "É assim que a jogada se desenrola!"
   - Grey bg, bordered cards, big icons, YouTube embed
   ===================================================== */
.steps-section {
    background: #e8ede8;
    padding: 80px 0 100px;
}
.steps-section .section-title {
    text-align: center;
    font-size: 50px;
    margin-bottom: 50px;
    color: #222;
    line-height: 1.15;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
    margin-bottom: 60px;
}
.step-card {
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 30px 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
}
.step-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}
.step-card h4 {
    font-size: 16px;
    color: #333;
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 700;
}
.youtube-embed {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.youtube-embed iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: none;
}

/* =====================================================
   VANTAGENS / "Vantagens de ser To The Box"
   - Dark green/olive bg (#222923), grey cards 3x2, icon+title at bottom-left
   ===================================================== */
.vantagens-section {
    background: #222923;
    padding: 100px 0;
}
.vantagens-section .section-title {
    text-align: center;
    font-size: 50px;
    margin-bottom: 60px;
    color: #fff;
    line-height: 1.15;
}
.vantagens-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.vantagem-card {
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}
.vantagem-card:hover {
    background: rgba(255,255,255,0.18);
}
.vantagem-card .card-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s ease;
    position: relative;
    top: 0;
}
.vantagem-card:hover .card-bottom {
    top: -20px;
}
.vantagem-card img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}
.vantagem-card h4 {
    font-size: 18px;
    color: #fff;
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 700;
}
.vantagem-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-top: 12px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    text-align: center;
}
.vantagem-card:hover p {
    max-height: 200px;
    opacity: 1;
}

/* =====================================================
   POR QUE / "Por que ser To The Box?"
   - Light bg, centered green title, 4 vertical cards in a row
   ===================================================== */
.porque-section {
    background: #f0f0f0;
    padding: 100px 0;
}
.porque-section .section-title {
    text-align: center;
    font-size: 50px;
    margin-bottom: 60px;
    color: #222;
    line-height: 1.15;
}
.porque-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.porque-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.porque-card .card-icon {
    width: 55px;
    height: 55px;
    background: #e8e8e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.porque-card .card-icon img {
    width: 28px;
    height: 28px;
}
.porque-card h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 8px;
    font-weight: 700;
}
.porque-card h4 {
    font-size: 16px;
    color: #18DB70;
    margin-bottom: 16px;
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 700;
}
.porque-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* =====================================================
   BENEFICIOS / "Benefícios de ser To The Box"
   - Dark bg, image overlay cards (3x2), CTA button
   ===================================================== */
.beneficios-section {
    background: #222923;
    padding: 100px 0;
}
.beneficios-section .section-title {
    text-align: center;
    font-size: 50px;
    margin-bottom: 60px;
    color: #fff;
    line-height: 1.15;
}
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}
.beneficio-img-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}
.beneficio-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.beneficio-img-card:hover img {
    transform: scale(1.1);
}
.beneficio-img-card .card-label {
    position: absolute;
    bottom: 20px;
    left: 24px;
    font-size: 22px;
    color: #fff;
    font-family: 'Aristotelica', sans-serif;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 3;
    transition: all 0.4s ease;
}
.beneficio-img-card:hover .card-label {
    bottom: auto;
    top: 24px;
}
.beneficio-img-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 30%, rgba(0,0,0,0.5));
    pointer-events: none;
    transition: background 0.4s;
}
.beneficio-img-card:hover::after {
    background: rgba(0,0,0,0.6);
}
.beneficio-img-card .card-desc {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
.beneficio-img-card:hover .card-desc {
    opacity: 1;
    transform: translateY(0);
}
.beneficios-cta {
    text-align: center;
}

/* mais-vantagens section removed */

/* =====================================================
   CTA SECTION - Green gradient bg
   ===================================================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3a2a 0%, #18DB70 50%, #1a5a35 100%);
}
.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.25;
    mix-blend-mode: overlay;
}
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
}
.cta-content h2 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 36px;
    line-height: 1.15;
}
.btn-white {
    display: inline-block;
    background: #fff;
    color: #222;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 18px 44px;
    border-radius: 30px;
    transition: all 0.3s;
}
.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* =====================================================
   FAQ SECTION - Dark bg, left title
   ===================================================== */
.faq-section {
    background: #3a3a3a;
    padding: 80px 0;
}
.faq-section .section-title {
    font-size: 40px;
    margin-bottom: 40px;
    color: #fff;
    text-align: left;
}
.faq-list {
    max-width: 100%;
}
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    transition: color 0.3s;
}
.faq-question:hover {
    color: #18DB70;
}
.faq-question .arrow {
    width: 22px;
    height: 22px;
    transition: transform 0.3s;
    filter: brightness(0) invert(1);
}
.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}
.faq-answer p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* =====================================================
   FOOTER IMAGE - Full width, proper proportions
   ===================================================== */
.footer-image {
    width: 100%;
    min-height: 500px;
    overflow: hidden;
}
.footer-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: #2d2d2d;
    padding: 60px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.footer-logo img {
    height: 60px;
    width: auto;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ccc;
    font-size: 16px;
}
.footer-contact-item img {
    width: 24px;
    height: 24px;
}
.footer-contact-item a {
    color: #ccc;
    transition: color 0.3s;
}
.footer-contact-item a:hover {
    color: #18DB70;
}
.footer-address {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer-address-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
}
.footer-address-item img {
    width: 24px;
    height: 24px;
    margin-top: 3px;
}

/* =====================================================
   WHATSAPP FLOATING BUTTON
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    z-index: 999;
    transition: transform 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .hero-content { padding-left: 40px; }
    .hero-content h1 { font-size: 42px; }
    .magia-grid { grid-template-columns: 1fr; }
    .magia-image { order: -1; }
    .porque-grid { grid-template-columns: repeat(2, 1fr); }
    .vantagens-grid { grid-template-columns: repeat(2, 1fr); }
    .beneficios-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .app-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 87px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        gap: 16px;
    }
    .nav-links.active { display: flex; }
    .menu-toggle { display: flex; }
    .hero-content { padding: 40px 20px; }
    .hero-content h1 { font-size: 36px; }
    .about-content h2 { font-size: 38px; }
    .magia-text h2 { font-size: 36px; }
    .vantagens-grid { grid-template-columns: 1fr; }
    .porque-grid { grid-template-columns: 1fr; }
    .beneficios-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo { display: flex; justify-content: center; }
    .footer-contact-item, .footer-address-item { justify-content: center; }
    .section-title { font-size: 36px !important; }
    .app-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .steps-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 30px; }
    .hero { min-height: 70vh; }
    .app-cards { grid-template-columns: 1fr; }
}
