/* ===========================
   H3 Telecom — Main Stylesheet
   =========================== */

:root {
    --primary: #f15a24;
    --primary-dark: #d94e1a;
    --primary-light: #ff7a45;
    --dark: #1a1a1a;
    --dark-2: #2d2d2d;
    --gray: #6b7280;
    --gray-light: #f3f4f6;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 48px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(241,90,36,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* ===========================
   HEADER
   =========================== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow); }

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 72px;
}
.logo img { display: block; }
.logo { margin-right: auto; }

.nav ul {
    display: flex;
    gap: 8px;
    list-style: none;
}
.nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--primary); background: rgba(241,90,36,0.06); }

.header-cta { flex-shrink: 0; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===========================
   HERO
   =========================== */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff8f5 0%, #fff 60%, #fff5f0 100%);
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(241,90,36,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -150px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(241,90,36,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: rgba(241,90,36,0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.hero-text h1 {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark);
}
.highlight { color: var(--primary); }

.hero-text p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}
.stat { text-align: center; }
.stat strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}
.stat span { font-size: 12px; color: var(--gray); font-weight: 500; }
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero visual */
.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 380px;
}
.hero-circle {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 900;
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 20px 60px rgba(241,90,36,0.35);
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-card {
    position: absolute;
    background: white;
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    left: 0;
    top: 50px;
    min-width: 180px;
}
.hero-card-2 {
    left: auto;
    right: 0;
    top: auto;
    bottom: 50px;
}
.hero-card-icon {
    font-size: 28px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(241,90,36,0.1);
    border-radius: 10px;
    flex-shrink: 0;
}
.hero-card strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); }
.hero-card p { font-size: 12px; color: var(--gray); margin: 0; }

/* ===========================
   SECTION HEADERS
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-badge {
    display: inline-block;
    background: rgba(241,90,36,0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}
.section-badge-white {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}
.section-header h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 16px;
}
.section-header p {
    font-size: 17px;
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto;
}

/* ===========================
   FEATURES
   =========================== */
.features {
    padding: 96px 0;
    background: var(--white);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-card {
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.feature-icon {
    font-size: 36px;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}
.feature-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* ===========================
   PLANS
   =========================== */
.plans {
    padding: 96px 0;
    background: linear-gradient(180deg, #fff8f5 0%, var(--white) 100%);
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}
.plan-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.plan-featured {
    border-color: var(--primary);
    box-shadow: 0 8px 40px rgba(241,90,36,0.15);
    transform: scale(1.03);
}
.plan-featured:hover { transform: scale(1.03) translateY(-6px); }

.plan-ultra { border-color: #1a1a1a; }

.plan-badge-top {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}
.plan-badge-ultra { background: var(--dark); }

.plan-speed {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}
.plan-speed span { font-size: 20px; font-weight: 600; }

.plan-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}
.plan-currency { font-size: 18px; font-weight: 700; color: var(--dark); }
.plan-value { font-size: 44px; font-weight: 900; color: var(--dark); line-height: 1; }
.plan-cents { font-size: 15px; color: var(--gray); font-weight: 500; }

.plan-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.plan-features li {
    font-size: 14px;
    color: var(--dark-2);
}

/* ===========================
   BUSINESS
   =========================== */
.business {
    padding: 96px 0;
    background: linear-gradient(135deg, var(--dark) 0%, #2d1a0e 100%);
    color: var(--white);
}
.business-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.business-text h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}
.business-text > p {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    line-height: 1.7;
}

.business-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
.business-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.business-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(241,90,36,0.15);
    border-radius: 10px;
    flex-shrink: 0;
}
.business-list li strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}
.business-list li p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* Business card */
.business-visual { display: flex; justify-content: center; }
.business-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 100%;
    max-width: 360px;
}
.business-card-header {
    background: var(--primary);
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 20px 28px;
    text-align: center;
}
.business-stats {
    display: flex;
    justify-content: space-around;
    padding: 36px 20px;
    gap: 16px;
}
.b-stat { text-align: center; }
.b-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 4px;
}
.b-stat span { font-size: 13px; color: rgba(255,255,255,0.6); }

.business-card-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 28px;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
    padding: 96px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
}
.cta-inner h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    margin-bottom: 16px;
}
.cta-inner p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding: 64px 24px 48px;
}
.footer-brand img { margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}
.footer-cnpj { font-size: 13px; opacity: 0.5; }

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-links ul, .footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a, .footer-contact a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--primary); }
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-contact svg { opacity: 0.5; flex-shrink: 0; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 24px;
    text-align: center;
}
.footer-bottom p { font-size: 13px; }

/* ===========================
   WHATSAPP FLOAT
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .plan-featured { transform: none; }
    .plan-featured:hover { transform: translateY(-6px); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: white; flex-direction: column; padding: 24px; }
    .nav.open { display: flex; }
    .nav ul { flex-direction: column; gap: 4px; }
    .nav a { font-size: 18px; padding: 12px 16px; }
    .header-cta { display: none; }
    .hamburger { display: flex; }

    .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image { height: 280px; }
    .hero-circle { width: 200px; height: 200px; font-size: 18px; }
    .hero-card { min-width: 150px; font-size: 13px; }

    .features-grid { grid-template-columns: 1fr; }
    .plans-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
    .business-inner { grid-template-columns: 1fr; gap: 48px; }
    .footer-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero { padding: 100px 0 60px; }
    .features, .plans, .business, .cta-section { padding: 64px 0; }
}

@media (max-width: 480px) {
    .hero-image { display: none; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .hero-actions { flex-direction: column; align-items: center; }
}
