/* Estilos Globais */
:root {
    --primary-color: #1E1D3F;
    --secondary-color: #00b4d4;
    --accent-color: #00b4d4;
    --dark-color: #333333;
    --light-color: #f8f8f8;
    --text-color: #444444;
    --white: #ffffff;
      --light-cyan:     #E8F9FC;     /* 5 % secondary para fundos      */
    --mid-cyan:       #B6EEF7;     /* 25 % secondary (borda/detalhe) */
    --dark-cyan:      #018AA4;     /* 70 % secondary (hover, linha)  */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Urbanist', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}


.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Header / Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #00b4d4);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.logo-container {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.logo img {
    height: 60px;
}

.partner-logo img {
    height: 50px;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 3rem;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Section */
.benefits {
    background-color: var(--white);
}

.benefits h2 {
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card img {
    height: 80px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: var(--primary-color);
}

/* Premium Highlight Section */
.premium-highlight {
    background: linear-gradient(to right, var(--dark-color), #222222);
    color: var(--white);
}

.premium-highlight .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.premium-content h2 {
    color: var(--white);
    text-align: left;
}

.premium-content h2:after {
    left: 0;
    transform: none;
}

.premium-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.premium-benefits {
    margin-bottom: 30px;
    list-style-type: none;
}

.premium-benefits li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.premium-benefits li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.premium-price {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.premium-price span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.premium-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* How It Works Section */
.how-it-works {
    background-color: var(--light-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
}

.testimonial-slider {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(0, 166, 81, 0.1);
    font-family: Georgia, serif;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color), #00b4d4);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    color: var(--white);
}

.final-cta h2:after {
    background-color: var(--white);
}

.final-cta p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.final-cta .cta-button {
    background-color: var(--white);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.final-cta .cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.cta-subtext {
    font-size: 1rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

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

.footer .partner-logo img {
    height: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .premium-highlight .container {
        grid-template-columns: 1fr;
    }
    
    .premium-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .benefit-card, .step, .testimonial {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}



/* Barra branca de logos */
.top-bar {
    width: 100%;
    background: var(--white);          /* fundo branco */
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
    padding: 12px 0;
    z-index: 10;
    position: relative;                /* para o shadow aparecer sobre o hero */
}

/* Centraliza as duas logos horizontalmente
   – ajuste para 'flex-start' se quiser alinhadas à esquerda */
.top-bar .logo-container {
    justify-content: center;
    margin: 0;                         /* remove o margin-bottom original */
    gap: 24px;
}

/* Ajusta tamanhos, se necessário */
.top-bar .logo img       { height: 48px; }
.top-bar .partner-logo img { height: 40px; }

/* Compensa a altura da top‑bar no hero */
.hero {
    padding: 140px 0 100px; /* era 100px 0; aumente ~40px ou o valor que preferir */
}

.top-bar,
.top-bar * {                      /* garante Urbanist na barra e em todos os filhos */
    font-family: 'Urbanist', sans-serif !important;
}

/* Hero – aumenta o padding inferior */
.hero{
    /* antes: padding: 140px 0 100px;            */
    padding: 140px 0 140px;   /* +40 px de espaço no fundo */
}

/* (opcional) ou só no botão */
.hero .cta-button{
    margin-top: 30px;         /* afasta o botão do texto      */
    margin-bottom: 30px;      /* afasta o botão da borda azul */
}

.benefit-card p{ color: var(--text-color); }

/* Texto escuro nos blocos claros ------------------------------- */
.benefit-card,
.step,
.invite-bonus,
.testimonial,
section:not(.hero):not(.premium-highlight):not(.final-cta) {
    color: var(--text-color);           /* #444 */
}

/* garante também nos filhos que herdaram branco */
.benefit-card *,
.step *,
.invite-bonus *,
.testimonial * {
    color: inherit;                     /* herda #444 do pai acima */
}


/* ------------------- EXCEÇÕES PARA ITENS ESCUROS ------------------- */

/* 1, 2, 3 dos passos */
.step-number{
    color:#fff;                  /* volta a ser branco */
}

/* Botões de fundo escuro que ficam fora do hero                */
/* (o botão branco do .final-cta já tem regra própria)          */
.cta-button{
    color:#fff;                  /* texto branco por padrão   */
}

/* Caso tenha outros botões claros, mantenha a lógica local     */
/* exemplo:                                                     */
.final-cta .cta-button{          /* botão branco da última seção */
    color: var(--primary-color); /* já existia na sua folha       */
}



:root{
    /* tons derivados do secondary-color (#00B4D4) */
    --light-cyan: #E8F9FC;   /* fundo bem claro, 5 % */
    --mid-cyan:   #B6EEF7;   /* 25 %                 */
    --dark-cyan:  #018AA4;   /* 70 %                 */
}

/* ──────────────────────────────────────────────────────────────
   CARTÃO “CONVIDE AMIGOS”                                  (claro)
   ──────────────────────────────────────────────────────────────*/
.invite-bonus{
    background: var(--light-cyan);        /* troca amarelo por ciano claro */
    border-left: 6px solid var(--secondary-color);
    padding: 50px 30px;
    border-radius: 6px;
}

/* título já estava em var(--secondary-color) – mantido */

/* botão escuro + hover ciano                                */
.invite-bonus .cta-button{
    background: var(--primary-color);
    color:#fff;
    box-shadow:none;
}
.invite-bonus .cta-button:hover{
    background: var(--dark-cyan);
    color:#fff;
}

/* ──────────────────────────────────────────────────────────────
   FAIXA “highlight-premium”                               (escuro)
   ──────────────────────────────────────────────────────────────*/
.highlight-premium{
    background: rgba(0,180,212,.12);      /* ciano translúcido */
    border-left: 6px solid var(--secondary-color);
    padding: 20px;
    border-radius: 6px;
}

/* ──────────────────────────────────────────────────────────────
   AJUSTE DE CONTRASTE PARA TEXTOS DENTRO DESSAS CAIXAS
   (garante texto visível caso alguma regra externa sobrescreva)
   ──────────────────────────────────────────────────────────────*/
.invite-bonus,
.invite-bonus *{
    color: var(--text-color);             /* cinza #444 */
}
.invite-bonus h3{
    color: var(--secondary-color);        /* título mantém ciano vivo */
}
.highlight-premium{
    color:#fff;                           /* caixa dentro do fundo escuro */
}
.highlight-premium strong{
    color: var(--secondary-color);        /* destaca “3x mais Cashback” */
}

/* ──────────────────────────────────────────────────────────────
   FIM DOS AJUSTES DE COR
   ──────────────────────────────────────────────────────────────*/
   
   /* ============================================
   Força as cores definitivas dos 2 destaques
   ============================================ */
.invite-bonus{
    background: var(--light-cyan) !important;          /* ciano claro */
    border-left: 6px solid var(--secondary-color);
}

.highlight-premium{
    background: rgba(0,180,212,.12) !important;        /* ciano translúcido */
    border-left: 6px solid var(--secondary-color);
}


/* layout em coluna de altura total --------------------------- */
html, body{
    height: 100%;                 /* toma 100 % da viewport */
}

body{
    display: flex;
    flex-direction: column;       /* empilha topo → rodapé */
    min-height: 100vh;            /* garante altura mínima */
}

/* empurra o rodapé para o fim -------------------------------- */
footer{
    margin-top: auto;             /* ocupa o espaço restante */
}

/* ajuste fino só para o logo ponte360 ----------------------- */
.top-bar .logo img{
    max-height: 36px;   /* experimente 32–40 px até achar o ponto ideal */
    height: auto;       /* mantém proporção */
}


/* =============================================================
   HERO COM FOTO + GRADIENTE
   =============================================================*/
.hero{
    position: relative;          /* necessário p/ pseudo‑elemento */
    background: none;            /* remove o gradiente antigo     */
    color:#fff;                  /* texto branco                   */
}

/* foto */
.hero::before{
    content:'';
    position:absolute; inset:0;          /* cobre toda a seção   */
    background:url('images/background.png') center/cover no-repeat;
    z-index:-2;                          /* fica atrás de tudo   */
}

/* gradiente por cima da foto (80 % opacity) */
.hero::after{
    content:'';
    position:absolute; inset:0;
    background:linear-gradient(135deg,
               rgba(30,29,63,.85),       /* navy 85 %            */
               rgba(0,180,212,.85));     /* cyan 85 %            */
    z-index:-1;                          /* entre foto e texto   */
}



