/*
 * ============================================================
 * E81 — Suemar Silveira | Senior Software Engineer
 * Design System — Built from scratch
 * Inspired by the e81mail dark minimal aesthetic
 * ============================================================
 */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* === DESIGN TOKENS === */
:root {
    --bg:           #161616;
    --bg-2:         #1c1c1c;
    --surface:      #222222;
    --surface-2:    #2a2a2a;
    --surface-3:    rgba(255,255,255,0.03);
    --border:       rgba(255,255,255,0.07);
    --border-hover: rgba(255,255,255,0.14);
    --border-focus: rgba(255,255,255,0.22);

    --white:        #f0f0f0;
    --text:         #c8c8c8;
    --text-2:       #8a8a8e;
    --text-3:       #555558;

    --accent:       #4F8EF7;
    --accent-soft:  rgba(79,142,247,0.12);
    --accent-glow:  rgba(79,142,247,0.25);
    --green:        #10b981;
    --green-soft:   rgba(16,185,129,0.12);
    --red:          #ef4444;

    --font:         'Inter', system-ui, -apple-system, sans-serif;
    --radius:       10px;
    --radius-lg:    16px;
    --radius-xl:    20px;
    --max-w:        1120px;
    --header-h:     64px;

    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --duration:     0.25s;

    --shadow-sm:    0 1px 3px rgba(0,0,0,0.3);
    --shadow-md:    0 4px 16px rgba(0,0,0,0.35);
    --shadow-lg:    0 12px 40px rgba(0,0,0,0.45);
    --shadow-glow:  0 0 60px rgba(79,142,247,0.06);
}

/* === GLOBAL === */
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle ambient background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 25% 10%, rgba(79,142,247,0.04) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 75% 90%, rgba(79,142,247,0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    font-family: var(--font);
    color: var(--white);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p  { color: var(--text); }
a  { text-decoration: none; color: inherit; }

::selection {
    background: var(--accent);
    color: #fff;
}

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* === SECTION === */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-alt {
    background: var(--bg-2);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent);
    opacity: 0.5;
}

.section-header h2 {
    margin-bottom: 14px;
}

.section-header p {
    color: var(--text-2);
    max-width: 520px;
    margin: 0 auto;
    font-size: 0.95rem;
}

/* === HEADER === */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--header-h);
    background: rgba(22,22,22,0.82);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border);
    transition: background var(--duration) var(--ease);
}

header.scrolled {
    background: rgba(22,22,22,0.96);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

/* Logo */
.logo {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
}

.logo .dot {
    color: var(--accent);
    font-size: 1.4em;
    line-height: 1;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-2);
    transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: var(--surface-3);
}

/* Nav actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    transition: all var(--duration) var(--ease);
}

.btn-icon:hover {
    border-color: var(--border-hover);
    color: var(--white);
    background: var(--surface-3);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: #d4d4d4;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: var(--surface-3);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-accent:hover {
    background: #3d7de5;
    transform: translateY(-1px);
    box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-whatsapp {
    background: var(--green);
    color: #fff;
}

.btn-whatsapp:hover {
    background: #0ea572;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

/* === HERO === */
.hero {
    padding: 160px 0 100px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Decorative orb */
.hero::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79,142,247,0.06) 0%, transparent 65%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 24px;
}

.hero-badge .pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hero h1 {
    margin-bottom: 22px;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--accent), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-2);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Avatar */
.hero-photo {
    position: relative;
    flex-shrink: 0;
}

.avatar-ring {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--accent), #a78bfa, var(--green));
    box-shadow: 0 0 60px var(--accent-glow);
    animation: ringRotate 8s linear infinite;
}

@keyframes ringRotate {
    to { filter: hue-rotate(30deg); }
}

.avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.avatar-inner i {
    font-size: 4rem;
    color: var(--text-3);
}

.avatar-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating tags */
.hero-float {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 14px;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
}

.hero-float i { color: var(--accent); font-size: 0.8rem; }

.hero-float:nth-child(2) { top: 5px; right: -30px; animation-delay: 0s; }
.hero-float:nth-child(3) { bottom: 30px; left: -40px; animation-delay: -1.5s; }
.hero-float:nth-child(4) { top: 50%; right: -50px; animation-delay: -3s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* === STATS === */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 64px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: all var(--duration) var(--ease);
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}

.stat-text {
    font-size: 0.78rem;
    color: var(--text-2);
    font-weight: 500;
    line-height: 1.4;
}

/* Divider */
.divider {
    height: 1px;
    background: var(--border);
    border: none;
}

/* === ABOUT === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-intro h2 {
    margin-bottom: 18px;
}

.about-intro p {
    font-size: 0.92rem;
    color: var(--text-2);
    line-height: 1.75;
}

/* Education list */
.edu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
}

.edu-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
}

.edu-item:hover {
    border-color: var(--border-hover);
}

.edu-item .edu-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    font-size: 0.85rem;
}

.edu-item strong {
    display: block;
    font-size: 0.84rem;
    color: var(--white);
    font-weight: 600;
}

.edu-item small {
    font-size: 0.74rem;
    color: var(--text-3);
}

/* Countries */
.countries-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.country-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.76rem;
    color: var(--text-2);
    transition: border-color var(--duration) var(--ease);
}

.country-tag:hover { border-color: var(--border-hover); }

/* Skills */
.skills-wrap {
    margin-bottom: 40px;
}

.skills-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill {
    margin-bottom: 16px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.8rem;
}

.skill-name { color: var(--text); font-weight: 500; }
.skill-percent { color: var(--accent); font-weight: 600; }

.skill-bar {
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #a78bfa);
    border-radius: 2px;
    width: 0;
    transition: width 1.4s var(--ease);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.timeline-year {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.timeline-item h4 {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.timeline-item p {
    font-size: 0.78rem;
    color: var(--text-2);
}

/* === SERVICES === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--duration) var(--ease);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::after { opacity: 1; }

.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--accent);
    transition: all var(--duration) var(--ease);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.05);
}

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

.service-card p {
    font-size: 0.82rem;
    color: var(--text-2);
    line-height: 1.6;
}

.service-card.hidden-card {
    display: none;
}

/* Load more button */
.load-more-wrap {
    text-align: center;
    margin-top: 32px;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-2);
    transition: all var(--duration) var(--ease);
}

.btn-load-more:hover {
    border-color: var(--border-hover);
    color: var(--white);
    background: var(--surface-3);
}

.btn-load-more i {
    transition: transform 0.3s var(--ease);
}

.btn-load-more.expanded i {
    transform: rotate(180deg);
}

.services-cta {
    text-align: center;
    margin-top: 28px;
    display: none;
}

.services-cta p {
    color: var(--text-2);
    margin-bottom: 16px;
    font-size: 0.88rem;
}

/* === TECH STACK === */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.tech-category h3 {
    margin-bottom: 6px;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-category h3 i {
    color: var(--accent);
    font-size: 0.85rem;
}

.tech-desc {
    font-size: 0.8rem;
    color: var(--text-2);
    margin-bottom: 14px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-2);
    transition: all 0.2s var(--ease);
}

.tech-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.tech-tag .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* === CONTACT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.contact-grid > .reveal {
    display: flex;
}

.contact-grid > .reveal > .form-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-grid .form-card .form-grid {
    flex: 1;
}

.contact-methods-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--surface-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    border-color: var(--border-hover);
    background: var(--surface-2);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    font-size: 0.9rem;
}

.contact-icon.whatsapp {
    background: var(--green-soft);
    color: var(--green);
}

.contact-label {
    font-size: 0.72rem;
    color: var(--text-3);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.contact-value {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--white);
}

/* Form */
.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-2);
    margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 11px 14px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font);
    font-size: 0.86rem;
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
    outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--text-3);
}

.field input:focus,
.field textarea:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.03);
}

.field textarea {
    resize: vertical;
    min-height: 120px;
    flex: 1;
}

.contact-grid .form-card .field:has(textarea) {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-grid .form-card .field:has(textarea) textarea {
    flex: 1;
    min-height: 180px;
}

/* Honeypot */
.honeypot { display: none !important; }

/* Form feedback */
.form-feedback {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.84rem;
    display: none;
    font-weight: 500;
}

.form-feedback.success {
    background: var(--green-soft);
    border: 1px solid rgba(16,185,129,0.25);
    color: var(--green);
}

.form-feedback.error {
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.25);
    color: #f87171;
}

.form-footer {
    font-size: 0.72rem;
    color: var(--text-3);
    text-align: center;
    margin-top: 4px;
}

/* === PARTNERS & PLATFORMS === */
.partners-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.partners-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
}

.partner-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.partner-item:first-child {
    border-color: rgba(79,142,247,0.2);
    background: linear-gradient(135deg, rgba(79,142,247,0.06), transparent);
}

.partner-item:first-child:hover {
    border-color: rgba(79,142,247,0.35);
}

.partner-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--text-2);
    flex-shrink: 0;
    transition: color var(--duration) var(--ease);
}

.partner-item:hover .partner-icon {
    color: var(--white);
}

.partner-item:first-child .partner-icon {
    color: var(--accent);
    background: var(--accent-soft);
}

.partner-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.partner-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.partner-sub {
    font-size: 0.7rem;
    color: var(--text-3);
    font-weight: 500;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--green);
}

.partner-badge i {
    font-size: 0.6rem;
}

/* === FOOTER === */
footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand .logo {
    font-size: 1.1rem;
    margin-bottom: 14px;
    display: block;
}

.footer-brand p {
    font-size: 0.82rem;
    color: var(--text-2);
    max-width: 260px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    font-size: 0.84rem;
    transition: all var(--duration) var(--ease);
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: 0;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.8rem;
    color: var(--text-2);
    transition: color var(--duration) var(--ease);
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-3);
}

.footer-bottom a { color: var(--accent); }

/* === WHATSAPP FLOAT === */
.wpp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 100;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 20px rgba(16,185,129,0.35);
    transition: all var(--duration) var(--ease);
    text-decoration: none;
}

.wpp-float:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 8px 30px rgba(16,185,129,0.45);
}

.wpp-float .tooltip {
    position: absolute;
    right: 62px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.2s var(--ease);
    pointer-events: none;
}

.wpp-float:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* === REVEAL ANIMATION === */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-desc { margin: 0 auto 36px; }
    .hero-actions { justify-content: center; }
    .hero-photo { margin: 0 auto; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .tech-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.3s var(--ease);
        z-index: 199;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        display: block;
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .hamburger { display: flex; }

    .hero { padding: 120px 0 60px; }
    .section { padding: 64px 0; }
    .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-card { padding: 18px 14px; }
    .stat-number { font-size: 1.6rem; }
    .services-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
    .form-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .stats-row { grid-template-columns: 1fr; }
    h1 { font-size: 2rem; }
    .hero-badge { font-size: 0.7rem; }
    .avatar-ring { width: 160px; height: 160px; }
    .hero-float { display: none; }
}
