/*
 Theme Name: Neve Child
 Theme URI: https://example.com/
 Description: Tema filho do Neve para a landing AjudaOn.
 Author: Edir Fonseca
 Template: neve
 Version: 1.0
*/

/* ===========================
   Fontes locais (Inter + Poppins)
   =========================== */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/poppins-v24-latin-700.woff2') format('woff2');
}

/* Fonte padrão do site */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
        sans-serif;
    font-weight: 400;
}

/* Títulos principais */
h1,
h2,
.hero-title {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
}

/* Subtítulos / destaques */
h3,
h4,
.section-title,
.feature-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* ==== AQUI COMEÇA O CSS DA LANDING ==== */

:root {
    /* Colors */
    --primary: #336A87;
    --secondary: #5FA1C7;
    --highlight: #4CC3E6;
    --highlight-hover: #3bb0d1;
    --text-dark: #3A3A3A;
    --text-light: #666666;
    --bg-light: #F2F5F7;
    --bg-white: #FFFFFF;
    --white: #FFFFFF;

    /* Spacing */
    --container-width: 1100px;
    --section-padding: 100px 0;
    --section-padding-mobile: 60px 0;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Para borda animada */
    --angle: 0deg;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(51, 106, 135, 0.25);
}

.btn-primary:hover {
    background-color: #26526b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(51, 106, 135, 0.35);
}

.btn-highlight {
    background-color: var(--highlight);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(76, 195, 230, 0.3);
}

.btn-highlight:hover {
    background-color: var(--highlight-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 195, 230, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 14px 56px;
    font-size: 1.05rem;
}

.btn i {
    font-size: 1.25em;
}

.btn-xl {
    padding: 16px 40px;
    font-size: 1.15rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-highlight {
    color: var(--highlight);
}

.logo-img {
    max-height: 36px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--highlight);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

/* ===========================
   HERO
   =========================== */

.hero {
    padding: 100px 0 120px;
    background: radial-gradient(circle at top right, #F2F5F7 0%, #FFFFFF 60%);
}

/* Grid principal do hero: título + texto + imagem */
.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    column-gap: 60px;
    row-gap: 40px;
    align-items: center;
}

/* Título principal ocupando as duas colunas */
.hero-title-main {
    grid-column: 1 / -1;
    font-size: 3.1rem;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--primary);
}

/* (mantido caso use futuramente um span de destaque no título) */
.hero-title-main .hero-highlight {
    color: var(--highlight);
    font-size: 0.82em;
    font-weight: 500;
    line-height: 1.05;
    display: inline-block;
    margin-top: 10px;
}

/* Subtítulo "Eu estou aqui pra resolver com você." */
.hero-subheading {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--highlight);
    margin-bottom: 12px;
    line-height: 1;
}

/* Texto de apoio */
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-trust {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-trust::before {
    content: "";
    display: block;
    width: 20px;
    height: 1px;
    background-color: var(--secondary);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img,
.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(51, 106, 135, 0.15);
    object-fit: cover;
}

/* Sections */
.section {
    padding: var(--section-padding);
}

.section-grey {
    background-color: var(--bg-light);
}

/* Cards */
.card {
    background-color: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: rgba(76, 195, 230, 0.2);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card .card-icon {
    font-size: 3rem;
    color: var(--highlight);
    margin-bottom: 24px;
    background-color: rgba(76, 195, 230, 0.1);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.service-card ul {
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-card ul li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    font-size: 1rem;
    color: var(--text-light);
}

.service-card ul li::before {
    content: "✓";
    color: var(--highlight);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 0.9em;
}

.card-footer-text {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    padding: 10px;
}

.feature-icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 16px;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    color: var(--highlight);
}

.feature-item h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-light);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

/* Wrapper da foto com borda animada */
.about-image {
    position: relative;
    display: inline-block;
    max-width: 400px;
}

/* Foto (400x400, borda reta) */
.about-image .helper-photo {
    display: block;
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 0;
    object-fit: cover;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Borda animada levemente maior que a foto */
.about-image::before {
    content: "";
    position: absolute;
    inset: -8px;             /* 2px maior em cada lado, bem coladinha */
    border-radius: 0;
    border: 7px solid #4CC3E6;  /* fallback visível */
    pointer-events: none;
    z-index: 0;

    border-image: conic-gradient(
        from var(--angle),
        #336A87 0deg,
        #4CC3E6 120deg,
        #336A87 240deg,
        #4CC3E6 360deg
    ) 1 stretch;

    animation: rotate-border 6s linear infinite;
}

.about-content h2 {
    font-size: 2.4rem;
    margin-bottom: 24px;
}

.about-intro {
    font-size: 1.15rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.about-list {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--primary);
    font-size: 1.05rem;
}

.about-list li i {
    color: var(--highlight);
    font-size: 1.4rem;
}

/* Correção do layout "Quem vai te ajudar" no mobile */
@media (max-width: 768px) {
    /* força a seção a ficar em uma coluna só, sem grid apertando */
    .about-container {
        display: block !important;
    }

    .about-image {
        display: block !important;
        max-width: 260px;
        width: 100%;
        margin: 0 auto 24px !important; /* centraliza a foto */
    }

    .about-content {
        text-align: center;  /* título e texto centralizados */
    }
    .about-intro {
        font-size: 1.15rem;
        margin-bottom: 24px;
        line-height: 1.7;
        text-align: left;
    }

    .about-list {
        grid-template-columns: 1fr !important;
        justify-items: left !important;
    }
}


/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    position: relative;
    padding: 40px;
    background-color: #F8FAFC;
    border: none;
}

.quote-icon {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--highlight);
    opacity: 0.3;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 24px;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-author::before {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #2c5a73 100%);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.cta-container {
    position: relative;
    z-index: 1;
}

.cta-container h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.cta-container p {
    font-size: 1.25rem;
    max-width: 640px;
    margin: 0 auto 48px;
    opacity: 0.95;
    font-weight: 300;
}

.cta-small {
    font-size: 0.95rem !important;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
    opacity: 0.7 !important;
}

/* Footer */
.footer {
    background-color: #E8EDF0;
    padding: 80px 0 40px;
    color: var(--text-dark);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.footer-logo-img {
    max-height: 40px;
    width: auto;
    display: block;
    margin-bottom: 10px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin: 16px 0;
}

.footer-social a {
    font-size: 1.8rem;
    color: var(--primary);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--highlight);
    opacity: 1;
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
    width: 100%;
}

/* ===========================
   RESPONSIVO
   =========================== */

@media (max-width: 960px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title-main {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subheading {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-title-main {
        font-size: 2.4rem;
    }

    .hero-subheading {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .cta-container h2 {
        font-size: 2.2rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 40px 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
        height: auto;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        width: 100%;
        gap: 24px;
        margin-bottom: 32px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .btn-header {
        width: 100%;
        max-width: 300px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn-lg,
    .btn-xl {
        width: 100%;
        max-width: 320px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-list {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .about-content h2 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-image {
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-image img,
    .hero-img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 24px;
    }

    .hero-title-main {
        font-size: 2rem;
    }

    .hero-buttons .btn-lg {
        font-size: 0.95rem;
        padding: 14px 24px;
        white-space: nowrap;
        min-width: 260px;
    }

    .logo-img {
        max-height: 26px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Ícones azul claro padrão */
.feature-item i,
.ph,
.hero-content i {
    color: #4CC3E6 !important;
}

/* Ícone dentro do quadradinho dos cards de serviço */
.card-icon i {
    color: #4CC3E6;
    font-size: 2.4rem;
}

/* Ícone WhatsApp (SVG dentro do botão do hero) */
.icon-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.icon-whatsapp svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

/* Ícone WhatsApp na CTA (classe ph) – forçado pra branco */
.cta-section .ph-whatsapp-logo {
    color: #ffffff !important;
}

/* Ícone de menu mobile (hambúrguer) */
.mobile-menu-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 22px;
    height: 18px;
}

.mobile-menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background-color: #336A87;
}

/* Permite animar variável CSS da borda */
@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* Animação da borda girando */
@keyframes rotate-border {
    to {
        --angle: 360deg;
    }
}
