/* ========================================
   COGNITIVE MARKETING & INSIGHTS
   CSS Global - Identidade Visual
   ======================================== */

/* Importar fontes */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&family=Playfair+Display:wght@700;900&family=Jakarta:wght@400;600;700&display=swap');

/* ========================================
   VARIÁVEIS DE COR
   ======================================== */
:root {
    --azul-primario: #2F80ED;
    --azul-escuro: #1F3C88;
    --roxo: #6C5CE7;
    --rosa: #E84393;
    --branco: #F7F9FC;
    --cinza-claro: #F0F2F5;
    --cinza-medio: #E8EAED;
    --cinza-escuro: #666666;
    --preto: #1A1A1A;
}

/* ========================================
   RESET E ESTILOS BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sora', sans-serif;
    color: var(--preto);
    line-height: 1.6;
    background-color: #ffffff;
}

/* ========================================
   TIPOGRAFIA
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    color: var(--azul-escuro);
}

h2 {
    font-size: 2.5rem;
    color: var(--azul-escuro);
}

h3 {
    font-size: 1.5rem;
    color: var(--azul-primario);
}

p {
    font-size: 1.1rem;
    color: var(--cinza-escuro);
    line-height: 1.8;
}

a {
    color: var(--azul-primario);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--roxo);
}

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

/* ========================================
   HEADER / NAVEGAÇÃO
   ======================================== */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--azul-escuro);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    font-weight: 600;
    color: var(--preto);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--azul-primario);
}

.btn-contato {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--azul-primario), var(--roxo));
    color: white !important;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contato:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(47, 128, 237, 0.3);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--roxo) 50%, var(--rosa) 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(232, 67, 147, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: white;
    margin-bottom: 20px;
    font-size: 3.5rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: 600;
    background-color: white;
    color: var(--azul-primario);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-primary:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
}

/* ========================================
   SEÇÕES
   ======================================== */
section {
    padding: 80px 0;
}

.section-cinza {
    background-color: var(--cinza-claro);
}

.section-gradiente {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--roxo) 50%, var(--rosa) 100%);
    color: white;
}

.section-gradiente h2,
.section-gradiente h3 {
    color: white;
}

.section-gradiente p {
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--azul-primario);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card.roxo {
    border-left-color: var(--roxo);
}

.card.rosa {
    border-left-color: var(--rosa);
}

.card h3 {
    margin-top: 0;
}

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

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

/* ========================================
   LISTAS
   ======================================== */
.lista-check {
    list-style: none;
    padding: 0;
}

.lista-check li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: var(--cinza-escuro);
}

.lista-check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--rosa);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: var(--azul-escuro);
    color: white;
    padding: 60px 0 20px;
}

footer h4 {
    color: white;
    margin-bottom: 20px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    nav ul {
        gap: 15px;
        font-size: 0.85rem;
    }

    section {
        padding: 40px 0;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    p {
        font-size: 0.95rem;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}


/* ========================================
   RESPONSIVIDADE OTIMIZADA - MOBILE
   ======================================== */

/* Tablet (768px e abaixo) */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .logo img {
        height: 70px;
    }

    nav ul {
        gap: 12px;
        font-size: 0.9rem;
    }

    section {
        padding: 50px 20px;
    }

    .grid-2, .grid-3 {
        gap: 20px;
    }

    .card {
        padding: 20px;
    }
}

/* Mobile (480px e abaixo) - Android & iOS */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    body {
        line-height: 1.5;
    }

    h1 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .container {
        padding: 0 12px;
    }

    /* Header Mobile */
    header {
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }

    .header-content {
        flex-direction: column;
        gap: 3px;
        padding: 0px 0;
        margin: -20px 0;
    }

    .logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 2px;
    }

    .logo img {
        height: 35px;
    }

    nav ul {
        flex-direction: column;
        gap: 2px;
        width: 100%;
        font-size: 0.85rem;
    }

    nav a {
        font-size: 0.8rem;
        padding: 4px 0;
        line-height: 1.2;
    }

    .btn-contato {
        padding: 8px 16px;
        font-size: 0.8rem;
        width: 100%;
        max-width: 180px;
        margin-top: 2px;
    }

    /* Hero Mobile */
    .hero {
        padding: 40px 15px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 15px;
        max-width: 100%;
    }

    .hero::before {
        width: 250px;
        height: 250px;
        top: -40%;
        right: -30%;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }

    /* Seções Mobile */
    section {
        padding: 30px 15px;
    }

    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Cards Mobile */
    .card {
        padding: 15px;
        border-left: 3px solid var(--azul-primario);
    }

    .card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .card p {
        font-size: 0.9rem;
    }

    /* Listas Mobile */
    .lista-check li {
        padding: 10px 0;
        padding-left: 28px;
        font-size: 0.9rem;
    }

    .lista-check li::before {
        font-size: 1rem;
        left: 0;
    }

    /* Footer Mobile */
    footer {
        padding: 40px 0 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
    }

    footer h4 {
        margin-bottom: 12px;
        font-size: 1rem;
    }

    footer p {
        font-size: 0.9rem;
    }

    footer ul li {
        margin-bottom: 8px;
    }

    .footer-bottom {
        padding-top: 15px;
        font-size: 0.85rem;
    }
}

/* Extra pequeno (320px e abaixo) */
@media (max-width: 320px) {
    html {
        font-size: 12px;
    }

    h1 {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .logo img {
        height: 40px;
    }

    nav ul {
        gap: 5px;
        font-size: 0.75rem;
    }

    .btn-primary {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .container {
        padding: 0 10px;
    }
}

/* Otimizações para Touch (Mobile) */
@media (hover: none) and (pointer: coarse) {
    a, button, .btn-primary, .btn-contato {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 16px;
    }

    .card {
        cursor: pointer;
    }

    nav a {
        padding: 10px 8px;
    }
}

/* Orientação Landscape */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 30px 20px;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    section {
        padding: 30px 20px;
    }
}
