/*  ==========================================================================
    Table of Contets
    ==========================================================================
    
    1.0 Common Styles
    2.0 Header Section
    3.0 Hero
    4.0 Beneficios
    5.0 Gains
    6.0 Cta
    7.0 Footer
    */

/*  ==========================================================================
    Common Styles
    ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --bg-overlay: rgba(3, 10, 23, 0.45);
    --accent: #443968;
    --accent-c: #614f95;
    --accent-t: #453a6bbe;
    --glass: rgba(255, 255, 255, 0.06);
    --max-width: 1200px;
    --primary-color: #000;
    --text-color: #fff;
    --second-text: #e5e7eb;
    --gray: #9ca3af;
}

body {
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    background-color: var(--primary-color);
    color: var(--text-color);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: var(--accent-t);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.container-header {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo-header img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 18px;
}

.nav-links a {
    margin-top: 3vh;
    margin-bottom: 3vh;
    font-size: 15px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 920px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--accent);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 12px 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        display: flex;
    }
}

/* ==========================================================================
  Cookies
   ========================================================================== */
#cookie-banner {
    z-index: 1000;
    position: fixed;
    bottom: 2vh;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    background: #3838388e;
    backdrop-filter: blur(12px);
    color: var(--text-color);
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    border-radius: 10px;
}

#cookie-banner span {
    margin-right: 20px;
}

#cookie-banner div {
    display: flex;
    gap: 10px;
}

#cookie-banner button {
    padding: 12px 25px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

#cookie-banner .aceptar {
    border: none;
    background: var(--accent-c);
    color: var(--second-text);
}

#cookie-banner .btn-outline-success {
    border-color: var(--second-text);
    color: var(--second-text);
    background-color: var(--glass);
}

#cookie-banner .btn-outline-success:hover {
    background-color: transparent;
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
    #cookie-banner {
        width: 90vw;
        flex-direction: column;
        text-align: center;
    }

    #cookie-banner span {
        margin-bottom: 15px;
        margin-right: 0;
    }

    #cookie-banner div {
        justify-content: center;
        gap: 10px;
    }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: block;
    z-index: 1;
    color: var(--text-color);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.6));
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 15vh;
}

.hero-left {
    flex: 1;
    max-width: 60%;
}

.hero-title {
    font-size: clamp(28px, 5vw, 56px);
    line-height: 1.02;
    margin-bottom: 12px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 18px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-color);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-color);
}


.hero-features {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    list-style: none;
}

.hero-features li {
    background: var(--glass);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px;
}


.hero-right {
    width: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 300px;
    backdrop-filter: blur(6px);
}

.phone {
    width: 260px;
    height: 520px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.phone img {
    width: 86%;
    height: auto;
    border-radius: 20px;
}

@media (max-width:900px) {

    .hero__content {
        flex-direction: column;
        gap: 20px;
    }

    .hero__left {
        max-width: 100%;
    }

    .hero__right {
        width: 220px;
    }
}

/* ==========================================================================
   Beneficios
   ========================================================================== */

.beneficios-section.dark {
    margin-top: 10vh;
    background-color: var(--primary-color);
    padding: 110px 20px;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    max-width: 1200px;
    margin: 0 auto;
}

.beneficios-text h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.beneficios-text p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 28px;
}

.beneficios-list {
    list-style: none;
    margin-bottom: 38px;
}

.beneficios-list li {
    font-size: 16px;
    color: var(--second-text);
    margin-bottom: 14px;
}

.beneficios-image img {
    max-width: 100%;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.8));
}

@media (max-width: 900px) {
    .beneficios-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .beneficios-text h2 {
        font-size: 32px;
    }

    .beneficios-list {
        display: inline-block;
        text-align: left;
    }
}

/* ==========================================================================
   Gains
   ========================================================================== */

.gains-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 120px;
}

.gain-card {
    background-color: #111;
    border-radius: 20px;
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gain-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.gain-card h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 16px;
}

.gain-card p {
    color: #9ca3af;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.gain-card img {
    width: 100%;
    max-width: 260px;
}

@media (max-width: 1000px) {
    .gains-cards {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Cta
   ========================================================================== */

.cta {
    position: relative;
    width: 100%;
    min-height: 90vh;
    background-image: url("/caminhoneiro.avif");
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    margin-top: 15vh;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.cta-text p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 32px;
    color: var(--second-text);
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background: var(--accent);
    color: var(--text-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
}

.cta-button:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.cta-features ul {
    list-style: none;
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 18px;
}

.cta-features span {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

@media (max-width: 900px) {
    .cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-text h1 {
        font-size: 36px;
    }
}

/* ==========================================================================
   Premium
   ========================================================================== */

.premium-benefits {
    background-color: var(--primary-color);
    padding: 100px 20px;
    margin-top: 10vh;
    margin-bottom: 17vh;
}

.premium-container {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.premium-title {
    font-size: 45px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 60px;
}

.premium-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.premium-card {
    background: #111;
    border-radius: 14px;
    padding: 30px 20px;
    text-align: left;
    transition: transform 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-6px);
}

.premium-card .icon {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.icon-points {
    background-image: url("/icon.png");
}

.icon-vip {
    background-image: url("/icon.png");
}

.icon-cashback {
    background-image: url("/icon.png");
}

.icon-support {
    background-image: url("/icon.png");
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.card-text {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .premium-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .premium-cards {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer-section {
    background-color: var(--accent);
    padding: 1rem 0;
    font-family: Arial, sans-serif;
}

.footer-section .container {
  display: block;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
}

.first-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.first-col a {
  display: block;
}

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

.right-social {
  text-align: right;
  align-items: flex-end;
}

.contact-button {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background-color: var(--accent-c);
    color: var(--text-color);
    border-radius: 20px;
    font-size: 0.75rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icon i {
    font-size: 1.7rem;
    color: var(--second-text);
    transition: transform 0.2s ease;
}

.social-icon i:hover {
    transform: scale(1.1);
}

.footer-content a,
.footer-content p {
    font-size: 1rem;
    color: var(--second-text);
    margin: 4px 0;
    text-decoration: none;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: var(--second-text);
    margin: 20px 0;
}

.footer-bottom {
    text-align: center;
    font-size: 0.7rem;
    color: var(--second-text);
}

@media only screen and (min-width: 300px) and (max-width: 750px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .first-col,
    .middle-col {
        width: 100%;
        margin: 0;
        align-items: center;
    }

    .middle-col {
        padding: 1rem 0;
    }
}

@media only screen and (min-width: 751px) and (max-width: 1200px) {
    .footer-content {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
    }

    .first-col {
        flex: 1;
        align-items: flex-start;
    }

    .middle-col {
        flex: 2;
        text-align: center;
        align-items: center;
        margin-left: 0;
    }
}