/* ============================================
   TPR TELECOM - Corporativo Elegante
   Design: Teal (#0D7A7A) + Branco + Laranja (#FF9F43)
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #2C3E50;
    background-color: #FFFFFF;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Buttons */
.btn-primary {
    padding: 0.75rem 1.5rem;
    background-color: #0D7A7A;
    color: #FFFFFF;
    border-radius: 0.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(13, 122, 122, 0.1);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 12px 20px rgba(13, 122, 122, 0.2);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background-color: #F5F7FA;
    color: #2C3E50;
    border: 2px solid #0D7A7A;
    border-radius: 0.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #0D7A7A;
    color: #FFFFFF;
}

.btn-accent {
    padding: 0.75rem 1.5rem;
    background-color: #FF9F43;
    color: #FFFFFF;
    border-radius: 0.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(255, 159, 67, 0.1);
    transition: all 0.3s ease;
}

.btn-accent:hover {
    box-shadow: 0 12px 20px rgba(255, 159, 67, 0.2);
    transform: translateY(-2px);
}

.btn-accent:active {
    transform: scale(0.95);
}

/* Section Divider */
.section-divider {
    width: 4rem;
    height: 0.25rem;
    background: linear-gradient(to right, #0D7A7A, #FF9F43);
    border-radius: 9999px;
    margin: 0 auto 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-2rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(2rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeInUp 1s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0s; }
.fade-in:nth-child(2) { animation-delay: 0.1s; }
.fade-in:nth-child(3) { animation-delay: 0.2s; }
.fade-in:nth-child(4) { animation-delay: 0.3s; }
.fade-in:nth-child(5) { animation-delay: 0.4s; }

.scroll-fade {
    opacity: 0;
    transform: translateY(2rem);
    transition: all 1s ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: #FFFFFF;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #0D7A7A, #FF9F43);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.875rem;
}

.logo-text {
    display: none;
}

.logo-text h1 {
    font-size: 1.25rem;
    margin: 0;
}

.logo-text p {
    font-size: 0.75rem;
    color: #7F8C8D;
    margin: 0;
}

@media (min-width: 640px) {
    .logo-text {
        display: block;
    }
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: #2C3E50;
    font-weight: 500;
    background: none;
    padding: 0;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0D7A7A;
}

/* Mobile Navigation */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #0D7A7A;
    padding: 0;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-top: 1px solid #E8EAED;
    margin-top: 1rem;
}

.nav-mobile.active {
    display: flex;
}

.nav-link-mobile {
    display: block;
    padding: 0.5rem 1rem;
    color: #2C3E50;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.nav-link-mobile:hover {
    background-color: #F5F7FA;
}

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

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 24rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(to bottom, #FFFFFF, #F5F7FA);
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-internet.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7), transparent);
    z-index: 1;
}

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

.hero-content {
    max-width: 42rem;
}

.hero-title {
    font-size: 2.25rem;
    color: #0D7A7A;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: #2C3E50;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 32rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #E8EAED;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: #FF9F43;
}

.stat-label {
    font-size: 0.875rem;
    color: #7F8C8D;
    margin-top: 0.25rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.about-image:hover img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-decoration {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 6rem;
    height: 6rem;
    background-color: #FF9F43;
    border-radius: 0.5rem;
    opacity: 0.2;
}

.about-text h2 {
    color: #0D7A7A;
    margin-bottom: 1rem;
}

.about-text p {
    color: #2C3E50;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text p:last-of-type {
    color: #7F8C8D;
    font-size: 0.95rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.feature:hover {
    background-color: #F5F7FA;
}

.feature-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    color: #FF9F43;
    margin-top: 0.25rem;
}

.feature h3 {
    font-size: 1rem;
    color: #0D7A7A;
    margin-bottom: 0.25rem;
}

.feature p {
    font-size: 0.875rem;
    color: #7F8C8D;
    margin: 0;
}

/* ============================================
   PLANS SECTION
   ============================================ */

.plans {
    padding: 5rem 0;
    background-color: #F5F7FA;
}

.plans-header {
    text-align: center;
    margin-bottom: 4rem;
}

.plans-header h2 {
    color: #0D7A7A;
    margin-bottom: 1rem;
}

.plans-header p {
    font-size: 1.125rem;
    color: #7F8C8D;
    max-width: 42rem;
    margin: 0 auto;
}

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

@media (min-width: 768px) {
    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.plan-card {
    background-color: #FFFFFF;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.plan-highlighted {
    border: 2px solid #FF9F43;
    box-shadow: 0 20px 40px rgba(255, 159, 67, 0.15);
}

@media (min-width: 768px) {
    .plan-highlighted {
        transform: scale(1.05);
    }
}

.plan-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FF9F43;
    color: #FFFFFF;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(13, 122, 122, 0.1);
    color: #0D7A7A;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.plan-icon.highlighted {
    background-color: #FF9F43;
    color: #FFFFFF;
}

.plan-card h3 {
    font-size: 1.5rem;
    color: #0D7A7A;
    text-align: center;
    margin-bottom: 0.5rem;
}

.plan-speed {
    text-align: center;
    color: #FF9F43;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.plan-description {
    text-align: center;
    color: #7F8C8D;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.plan-price {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E8EAED;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0D7A7A;
    margin: 0;
}

.period {
    font-size: 0.875rem;
    color: #7F8C8D;
    margin: 0;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    space-y: 0.75rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #2C3E50;
    font-size: 0.95rem;
}

.plan-features svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: #0D7A7A;
    margin-top: 0.125rem;
}

.plans-footer {
    text-align: center;
}

.plans-footer p {
    color: #7F8C8D;
    margin-bottom: 1rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    color: #0D7A7A;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.125rem;
    color: #7F8C8D;
    max-width: 42rem;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background-color: #F5F7FA;
}

.contact-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background-color: rgba(13, 122, 122, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0D7A7A;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background-color: #FF9F43;
    color: #FFFFFF;
}

.contact-label {
    font-size: 0.875rem;
    color: #7F8C8D;
    font-weight: 500;
    margin: 0;
}

.contact-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2C3E50;
    margin: 0;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-value {
    color: #0D7A7A;
}

.contact-hours {
    padding: 1.5rem;
    background-color: #F5F7FA;
    border-radius: 0.5rem;
}

.contact-hours h3 {
    color: #0D7A7A;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.contact-hours p {
    color: #2C3E50;
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

.contact-hours span {
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    background-color: #FFFFFF;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E8EAED;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    color: #2C3E50;
    background-color: #F5F7FA;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0D7A7A;
    box-shadow: 0 0 0 3px rgba(13, 122, 122, 0.1);
    background-color: #FFFFFF;
}

.form-group textarea {
    resize: none;
}

.success-message {
    padding: 1rem;
    background-color: #D4EDDA;
    border: 1px solid #C3E6CB;
    border-radius: 0.5rem;
    color: #155724;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #0D7A7A;
    color: #FFFFFF;
    padding: 4rem 0 2rem;
}

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

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h4 {
    color: #FFFFFF;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-section p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    background-color: #FF9F43;
}

.footer-logo h3 {
    font-size: 1.125rem;
    margin: 0;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FF9F43;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-links {
        justify-content: flex-end;
    }
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF9F43;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 9999;
    cursor: pointer;
    text-decoration: none;
}

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

.whatsapp-button svg {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}

@media (max-width: 640px) {
    .whatsapp-button {
        bottom: 1rem;
        right: 1rem;
        width: 3rem;
        height: 3rem;
    }
    
    .whatsapp-button svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .plan-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-content {
        gap: 1.5rem;
    }
}
