/* --- CONFIGURAÇÕES GLOBAIS E VARIÁVEIS (Atlântica Telecom - Final) --- */
:root {
    --primary-color: #FF8B35;
    --primary-gradient-start: #FF7E5F;
    --primary-gradient-end: #FF3F01;
    --secondary-color: #48CAE4;
    --dark-bg: #03045E;
    --dark-bg-card: #054A91;
    --light-text: #FFFFFC;
    --text-on-primary: #FFFFFC;
    --secondary-text-light: rgba(255, 255, 252, 0.8);
    --border-color: rgba(72, 202, 228, 0.2);
    --card-bg: rgba(5, 74, 145, 0.5);
    --font-family: 'Poppins', sans-serif;
    --shadow-primary: 0 8px 20px rgba(255, 139, 53, 0.3);
}

/* --- ESTILOS GERAIS --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    color: var(--light-text);
    background-color: var(--dark-bg);
    background-image: linear-gradient(rgba(5, 74, 145, 0.9), rgba(3, 4, 94, 0.98)), url('imagens/fundo.jpg');
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; display: block; }

/* --- HEADER --- */
.header {
    width: 100%; padding: 15px 0;
    position: fixed; top: 0; z-index: 1000;
    background-image: linear-gradient(to right, var(--dark-bg-card), var(--dark-bg));
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 40px; width: auto; }
.header-right { display: none; align-items: center; gap: 20px; }
.nav-menu { display: flex; gap: 30px; }
.nav-menu a { color: var(--light-text); text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.nav-menu a:hover { color: var(--primary-color); }

/* --- BOTÕES --- */
.cta-button-primary, .cta-button-secondary, .cta-button-hero {
    padding: 12px 28px; border-radius: 8px; text-decoration: none; font-weight: 600;
    transition: all 0.3s ease; font-size: 0.95rem; white-space: nowrap; border: 2px solid;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
}
.cta-button-primary, .cta-button-hero {
    background-image: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
    color: var(--text-on-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.cta-button-primary:hover, .cta-button-hero:hover {
    background-image: none;
    background-color: var(--light-text);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}
.cta-button-secondary { background-color: transparent; color: var(--light-text); border-color: var(--border-color); }
.cta-button-secondary:hover { background-color: var(--primary-color); background-image: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end)); color: var(--text-on-primary); border-color: var(--primary-color); }

/* --- CORPO PRINCIPAL --- */
main { padding-top: 79px; }

/* --- SEÇÕES PADRÃO --- */
.plans-section, .why-us-section, .stats-section, .testimonials-section, .faq-section, .about-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.section-header { text-align: center; max-width: 700px; margin: 0 auto; margin-bottom: 60px; }
.section-title {
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    background: linear-gradient(to right, #ffaf7e, #FF8B35);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section-description { font-size: 1.1rem; color: var(--secondary-text-light); }

/* --- HERO SECTION --- */
.hero { padding: 120px 0; position: relative; overflow: hidden; }
.hero-container { display: flex; align-items: center; justify-content: center; text-align: center; position: relative; z-index: 1; }
.hero-content { max-width: 800px; }
.hero-subtitle { font-weight: 600; color: var(--secondary-color); margin-bottom: 20px; display: block; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1.5px; }
.hero-title { font-size: 3.5rem; margin-bottom: 25px; color: var(--light-text); font-weight: 700; line-height: 1.3; }
.hero-paragraph { font-size: 1.2rem; color: var(--secondary-text-light); margin-bottom: 40px; font-weight: 300; line-height: 1.7; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-button-hero { padding: 18px 40px; font-size: 1.2rem; }

/* --- BARRA DE DESTAQUES --- */
.highlights-bar { padding: 30px 0; background-color: rgba(3, 4, 94, 0.5); border-bottom: 1px solid var(--border-color); }
.highlights-container { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 20px; }
.highlight-item { display: flex; align-items: center; gap: 15px; font-size: 1.1rem; font-weight: 400; color: var(--light-text); }
.highlight-item i {
    font-size: 2rem;
    background: linear-gradient(to right, #ffaf7e, #FF8B35);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.highlight-item strong { font-weight: 700; color: var(--light-text); }

/* --- SEÇÃO NOSSA HISTÓRIA --- */
.about-section { background-color: rgba(0,0,0,0.15); }
.about-text { max-width: 800px; margin: 0 auto; text-align: center; font-size: 1.1rem; line-height: 1.8; color: var(--secondary-text-light); }

/* --- CALCULADORA --- */
.calculator-container {
    display: grid; grid-template-columns: 2fr 1fr; gap: 40px;
    background: var(--card-bg); border: 1px solid var(--border-color);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: 20px; padding: 40px;
}
.option-group { margin-bottom: 30px; }
.option-group:last-child { margin-bottom: 0; }
.option-group h4 { font-size: 1.3rem; margin-bottom: 20px; color: var(--light-text); border-bottom: 1px solid var(--border-color); padding-bottom: 10px; font-weight: 600; }
.option-group h4 i { color: var(--secondary-color); margin-right: 10px; }
.options-grid { display: flex; flex-wrap: wrap; gap: 15px; }
.options-grid label { position: relative; }
.options-grid input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.options-grid input[type="radio"] + span {
    display: block; padding: 12px 25px; border: 2px solid var(--border-color);
    border-radius: 10px; cursor: pointer; transition: all 0.3s ease; font-weight: 500;
}
.options-grid input[type="radio"]:hover + span { border-color: var(--secondary-color); }
.options-grid input[type="radio"]:checked + span {
    background-image: linear-gradient(to right, #ffaf7e, #FF8B35);
    border-color: var(--primary-color);
    color: var(--text-on-primary); font-weight: 600;
}
.calculator-total { background-color: rgba(0, 0, 0, 0.2); border-radius: 15px; padding: 30px; display: flex; flex-direction: column; }
.calculator-total h5 { font-size: 1.4rem; text-align: center; margin-bottom: 20px; font-weight: 600; }
#summary-list { flex-grow: 1; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 20px 0; margin-bottom: 20px; display: flex; flex-direction: column; gap: 15px; color: var(--secondary-text-light); }
.summary-item { display: flex; justify-content: space-between; }
.summary-item strong { color: var(--light-text); font-weight: 500; }
.total-price-display { text-align: center; margin-bottom: 25px; }
.total-price-display span { font-size: 1rem; color: var(--secondary-text-light); }
.total-price-display strong {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(to right, #ffaf7e, #FF8B35);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
}

/* --- PLANOS PRONTOS (INTERNET E TV) --- */
.plans-grid, .tv-plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.plan-card {
    background: var(--card-bg); border: 1px solid var(--border-color); backdrop-filter: blur(12px);
    border-radius: 20px; padding: 40px; text-align: center; transition: all 0.3s ease;
    display: flex; flex-direction: column; position: relative;
}
.plan-card:hover { transform: translateY(-10px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }
.plan-card.popular { border-color: var(--primary-color); }
.popular-badge {
    position: absolute; top: -15px; left: 50%;
    background-image: linear-gradient(to right, #ffaf7e, #FF8B35);
    color: var(--text-on-primary); padding: 8px 20px;
    border-radius: 50px; font-size: 0.8rem; font-weight: 700;
    animation: pulse 2s infinite;
    transform: translateX(-50%);
}
@keyframes pulse {
    0% { transform: scale(1) translateX(-50%); box-shadow: 0 0 0 0 rgba(255, 139, 53, 0.7); }
    70% { transform: scale(1.05) translateX(-50%); box-shadow: 0 0 10px 15px rgba(255, 139, 53, 0); }
    100% { transform: scale(1) translateX(-50%); box-shadow: 0 0 0 0 rgba(255, 139, 53, 0); }
}
.plan-details { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.plan-name { font-size: 1.2rem; font-weight: 600; color: var(--secondary-color); text-transform: uppercase; letter-spacing: 1px; }
.plan-speed { font-size: 1.5rem; margin: 10px 0; font-weight: 300; }
.plan-speed strong { font-size: 4rem; font-weight: 800; color: var(--light-text); }
.plan-features-list { list-style: none; padding: 0; margin: 20px auto; display: flex; flex-direction: column; gap: 10px; max-width: 200px; }
.plan-features-list li { color: var(--secondary-text-light); }
.plan-features-list .fa-check { color: var(--secondary-color); margin-right: 10px; }
.plan-price { font-size: 2.5rem; font-weight: 700; color: var(--light-text); margin-top: 20px; }
.price-cents { font-size: 1.5rem; }

/* Estilos Específicos Planos de TV */
.tv-plans-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.plan-card.tv-plan .plan-details { justify-content: center; }
.plan-card.tv-plan .plan-features { font-size: 1.5rem; margin: 15px 0; color: var(--light-text); }
.plan-card.tv-plan .plan-features strong { font-size: 2.5rem; font-weight: 700; display: block; }
.plan-card.tv-plan .plan-features span { font-size: 0.9rem; color: var(--secondary-color); text-transform: uppercase; }

/* --- VALORES (WHY US) & DEMAIS SERVIÇOS --- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background: var(--card-bg); border: 1px solid var(--border-color); padding: 40px; border-radius: 16px; text-align: center; transition: all 0.3s ease; display: flex; flex-direction: column; }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); border-color: var(--secondary-color); }
.feature-card i { font-size: 2.5rem; margin-bottom: 20px; color: var(--secondary-color); transition: transform 0.3s ease; }
.feature-card:hover i { transform: scale(1.1) rotate(-5deg); }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--light-text); font-weight: 600; }
.feature-card p { color: var(--secondary-text-light); font-weight: 300; flex-grow: 1; margin-bottom: 25px; }
.feature-card .cta-button-secondary { margin-top: auto; }

/* --- NÚMEROS (STATS) --- */
.stats-section { background: rgba(0,0,0,0.2); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; }
.stat-number {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(to right, #ffaf7e, #FF8B35);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-description { font-size: 1.2rem; color: var(--light-text); font-weight: 400; margin-top: 10px; }

/* --- DEPOIMENTOS (TESTIMONIALS) --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--card-bg); border: 1px solid var(--border-color); padding: 40px; border-radius: 20px; }
.testimonial-text { font-size: 1.1rem; color: var(--secondary-text-light); line-height: 1.7; font-style: italic; margin-bottom: 25px; }
.testimonial-author { text-align: left; font-size: 1rem; border-left: 3px solid var(--primary-color); padding-left: 15px; }
.testimonial-author strong { display: block; color: var(--light-text); font-weight: 600; }
.testimonial-author span { color: var(--secondary-text-light); font-size: 0.9rem; }

/* --- FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; transition: all 0.3s ease; }
.faq-item[open], .faq-item:hover { border-color: var(--primary-color); }
.faq-summary { font-size: 1.2rem; font-weight: 600; padding: 25px; cursor: pointer; list-style: none; position: relative; display: block; }
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::after { content: '\f067'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); color: var(--primary-color); transition: transform 0.3s ease; }
.faq-item[open] .faq-summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { padding: 0 25px 25px 25px; color: var(--secondary-text-light); line-height: 1.7; }

/* --- BOTÃO WHATSAPP FLUTUANTE --- */
.sticky-cta-mobile { display: block; position: fixed; bottom: 20px; right: 20px; z-index: 1000; }
.sticky-cta-mobile a { 
    background-image: linear-gradient(45deg, #25D366, #128C7E); color: white; display: flex; align-items: center; gap: 10px;
    padding: 15px 20px; border-radius: 50px; text-decoration: none; font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: all 0.3s ease;
}
.sticky-cta-mobile a:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); }
.sticky-cta-mobile a i { font-size: 1.5rem; }
.sticky-cta-mobile a span { font-size: 1rem; }

/* --- RODAPÉ (FOOTER) --- */
.footer { padding: 80px 0 0 0; background-color: #02061a; text-align: left; }
.footer-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; padding-bottom: 60px; }
.footer-column .logo-img { height: 45px; margin-bottom: 20px; }
.footer-tagline { font-size: 0.95rem; color: var(--secondary-text-light); line-height: 1.6; margin-bottom: 20px; }
.footer-contact-info a { display: block; color: var(--secondary-text-light); text-decoration: none; margin-bottom: 10px; transition: color 0.3s ease; }
.footer-contact-info a:hover { color: var(--primary-color); }
.footer-title { font-size: 1.3rem; font-weight: 600; color: var(--light-text); margin-bottom: 25px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: var(--secondary-text-light); text-decoration: none; transition: all 0.3s ease; }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }
.footer-social-icons { display: flex; gap: 20px; }
.footer-social-icons a { color: var(--secondary-text-light); font-size: 1.8rem; transition: all 0.3s ease; }
.footer-social-icons a:hover { color: var(--primary-color); transform: translateY(-3px); }
.footer-bottom-bar { padding: 25px 0; margin-top: 40px; background-color: rgba(0, 0, 0, 0.2); border-top: 1px solid var(--border-color); }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-legal-text, .footer-copyright { font-size: 0.9rem; color: var(--secondary-text-light); }
.footer-copyright { text-align: right; }
.footer-sub-links { display: flex; gap: 20px; margin-top: 5px; justify-content: flex-end; }
.footer-sub-links a { color: var(--secondary-text-light); text-decoration: none; transition: color 0.3s ease; }
.footer-sub-links a:hover { color: var(--primary-color); }

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .calculator-container { grid-template-columns: 1fr; }
    .hero-container { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
}
@media (max-width: 768px) {
    .footer-bottom-content { flex-direction: column; justify-content: center; text-align: center; }
    .footer-copyright { text-align: center; }
    .footer-sub-links { justify-content: center; }
    .header-right { display: none; }
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
}
@media (min-width: 992px) {
    .header-right { display: flex; }
}