/* ========================================
   VERAS SITE - CSS Premium
   Baseado na identidade visual oficial
======================================== */

:root {
    /* Cores da identidade visual */
    --green: #2D8C3C;
    --green-dark: #1a5c26;
    --blue: #1A3A5C;
    --blue-dark: #0f2338;
    --orange: #F5821F;
    --magenta: #C41E8E;
    --cyan: #00B5E2;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--green) 0%, var(--blue) 50%, var(--magenta) 100%);
    --gradient-green: linear-gradient(135deg, var(--green), var(--green-dark));
    --gradient-blue: linear-gradient(135deg, var(--blue), var(--blue-dark));

    /* Typography */
    --font-main: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   TOP BAR
======================================== */
.top-bar {
    background: var(--gray-900);
    color: var(--white);
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-links a {
    color: var(--gray-200);
    text-decoration: none;
    transition: var(--transition);
}

.contact-links a:hover {
    color: var(--cyan);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    color: var(--gray-200);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--gray-200);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: baseline;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--gray-900);
    position: relative;
}

.logo-v {
    color: var(--green);
    font-size: 2rem;
}

.logo-subtitle {
    position: absolute;
    bottom: -0.10rem;
    left: 0;
    font-size: 0.5rem;
    background: var(--green);
    color: var(--white);
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
    font-weight: 600;
    letter-spacing: 0.05em;
    width: 99px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    padding: 0.75rem 1.25rem;
    color: var(--gray-800);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--green);
    color: var(--white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    background: var(--gradient-hero);
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(45, 140, 60, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(196, 30, 142, 0.15) 0%, transparent 50%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge-icon {
    font-size: 1.25rem;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.text-gradient {
    background: linear-gradient(90deg, var(--cyan), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--cyan);
    color: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--green), var(--blue));
    padding: 0px;
}

.hero-image-frame img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ========================================
   SECTIONS
======================================== */
.section {
    padding: 5rem 0;
}

.section-white {
    background: var(--white);
}

.section-gray {
    background: var(--gray-50);
}

.section-dark {
    background: var(--gray-900);
    color: var(--white);
}

.section-gradient {
    background: var(--gradient-hero);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header-light * {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-header-light h2 {
    color: var(--white);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-800);
    opacity: 0.8;
}

/* ========================================
   BIOGRAPHY
======================================== */
.bio-content {
    display: grid;
    gap: 3rem;
}

.bio-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.bio-quote {
    background: linear-gradient(135deg, var(--green), var(--blue));
    color: var(--white);
    padding: 2rem 3rem;
    border-radius: 16px;
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    text-align: center;
    max-width: 700px;
    margin: 2rem auto;
    position: relative;
}

.bio-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    opacity: 0.2;
    font-style: normal;
}

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

.bio-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.bio-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.bio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.bio-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.bio-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.bio-card ul {
    list-style: none;
}

.bio-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.95rem;
}

.bio-card li:last-child {
    border-bottom: none;
}

/* ========================================
   PILLARS
======================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.pillar-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    color: var(--white);
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.pillar-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.pillar-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.pillar-green {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.pillar-blue {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.pillar-orange {
    background: linear-gradient(135deg, var(--orange), #d96a0f);
}

.pillar-magenta {
    background: linear-gradient(135deg, var(--magenta), #9a1770);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pillar-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pillar-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ========================================
   ACHIEVEMENTS
======================================== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    text-align: center;
}

.achievement-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

.achievement-label {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* ========================================
   TIMELINE
======================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--green), var(--blue), var(--magenta));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateX(-20px);
}

.timeline-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--green);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transform: translateX(-6.5px);
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.timeline-year {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--gray-800);
    opacity: 0.85;
}

/* ========================================
   CONTACT
======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.contact-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.7;
}

.contact-card a {
    color: var(--cyan);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Email menor para caber no card */
.email-small {
    font-size: 0.8rem !important;
    word-break: break-all;
}

/* Ícone WhatsApp no card */
.whatsapp-icon {
    font-size: 1rem;
}

/* Links de redes sociais com ícones */
.social-contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.social-contact-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-contact-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
    text-decoration: none;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.footer-brand p {
    color: var(--gray-200);
    margin-bottom: 0.5rem;
}

.footer-slogan {
    font-style: italic;
    color: var(--cyan);
    margin-top: 1rem;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-200);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--cyan);
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-buttons a {
    color: var(--gray-200);
    text-decoration: none;
    transition: var(--transition);
}

.social-buttons a:hover {
    color: var(--cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-200);
    font-size: 0.875rem;
}

/* ========================================
   WHATSAPP FLOAT
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8);
    }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        justify-content: center;
    }

    .contact-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

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

    .nav-menu a {
        display: block;
        text-align: center;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: auto;
        padding: 3rem 0 5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .bio-quote {
        padding: 1.5rem;
        font-size: 1.25rem;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-marker {
        left: -2rem;
    }
}