/* 
 * ATRITELECOM - Website Design 2024
 * Fonte de inspiração: Imagem fornecida
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Cores Institucionais */
    --primary-blue: #0056b3;
    /* Azul principal (botões, destaques) */
    --hero-bg-start: #2a3b55;
    /* Azul escuro do Hero (topo) */
    --hero-bg-end: #1a2639;
    /* Azul mais escuro (fundo) */
    --hero-overlay: rgba(18, 34, 74, 0.95);
    /* Camada de cor sobre imagem */

    --text-dark: #1F2937;
    --text-light: #6B7280;
    --text-white: #FFFFFF;

    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;

    --accent-cyan: #00A3FF;
    /* Detalhes em azul claro */

    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius-card: 8px;

    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 
   ----------------
   HEADER / NAVBAR 
   ----------------
*/
.header {
    background-color: var(--bg-white);
    padding: 2px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* overflow: hidden;  Removido para não cortar logo com zoom */
    padding: 0;
    /* Reduzido ao máximo */
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transform: scale(2.0);
    margin-left: 30px;
    mix-blend-mode: multiply;
    clip-path: inset(15% 0 25% 0);
}

/* Removido estilos antigos de texto/icone (.logo-icon) pois agora é imagem */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu .btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.nav-menu .btn-primary:hover {
    background-color: #004494;
    color: white;
    transform: translateY(-2px);
}

.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin-left: 20px;
}

/* 
   ----------------
   HERO SECTION 
   ----------------
*/
.hero {
    /* Fundo Azul Escuro com textura sutil */
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 40px 0 100px;
    /* Padding bottom maior para dar espaço aos cards */
    color: white;
    position: relative;
    overflow: hidden;
    text-align: left;
}

/* Efeito de background pattern opcional */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 142, 204, 0.3);
    animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 142, 204, 0.4);
    }

    100% {
        transform: scale(1.02);
        box-shadow: 0 0 50px rgba(0, 142, 204, 0.8), 0 0 20px rgba(255, 255, 255, 0.2);
    }
}

/* Responsividade para Hero */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }
}



.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #a5c9ff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero h1 .highlight {
    color: var(--accent-cyan);
    /* display: block;  Removido block para nao quebrar linha forçadamente se nao precisar */
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 550px;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero .btn-primary {
    background-color: var(--accent-cyan);
    color: white;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    text-transform: uppercase;
}

.hero .btn-secondary {
    background-color: transparent;
    color: white;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

.hero .btn-primary:hover {
    background-color: #008ecc;
    transform: translateY(-2px);
}

.hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* 
   ----------------
   SERVICES CARDS (Overlap)
   ----------------
*/
.services-section {
    margin-top: -50px;
    /* Negative margin to pull up */
    position: relative;
    z-index: 20;
    padding-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: white;
    padding: 30px 25px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Ícone */
.service-icon {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-card h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
    text-transform: uppercase;
}

.service-card p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.service-card a {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

.service-card a:hover {
    gap: 8px;
    /* Animação setinha */
}

/* Carta com fundo escuro (exemplo o último card na img) */
/* Efeitos de Hover para todos os cards */
.service-card:hover {
    background-color: #1a2639;
    transform: translateY(-5px);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-icon {
    color: white;
}

.service-card:hover a {
    color: var(--accent-cyan);
}


/* 
   ----------------
   SOLUTIONS SECTION 
   ----------------
*/
.solutions-section {
    padding: 20px 0 80px;
    text-align: center;
    background-color: white;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.solutions-intro {
    color: var(--text-light);
    margin-bottom: 60px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.solution-image {
    height: 180px;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    position: relative;
}

/* Overlays para simular imagens se nao tiver */
.solution-image::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
}


.solution-content {
    padding: 25px;
}

.solution-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 700;
}

.solution-list li {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.solution-list li::before {
    content: '✓';
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 
   ----------------
   SUPPORT SECTION (Blue Footer Area) 
   ----------------
*/
.support-contact-section {
    background: linear-gradient(135deg, #1a44c2 0%, #1e3c72 100%);
    color: white;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.support-contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 5;
}

/* Background shapes */
.support-contact-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.support-info h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.support-info p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
    max-width: 400px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* AnyDesk Download Button */
.stat-anydesk .stat-number {
    font-size: 20px;
}

.anydesk-download {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 16px;
    background: var(--accent-cyan);
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.anydesk-download:hover {
    background: #008ecc;
    transform: translateY(-2px);
}

/* Company Info Grid */
.company-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.info-text {
    flex: 1;
}

.info-text strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--accent-cyan);
}

.info-text p {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
}

/* WhatsApp CTA Button */
.whatsapp-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #25D366;
    padding: 15px 20px;
    border-radius: 12px;
    margin: 25px 0;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: #20BA5A;
}

.whatsapp-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-icon-left {
    font-size: 32px;
}

.whatsapp-icon-right {
    font-size: 40px;
}

.whatsapp-text {
    display: flex;
    flex-direction: column;
}

.whatsapp-label {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whatsapp-number {
    font-size: 18px;
    font-weight: 700;
}

/* Large Social Links */
.social-links-large {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 25px;
}

.social-link-large {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link-large:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Flex Container */
.contact-flex {
    display: flex;
    gap: 20px;
    align-items: stretch;
    /* Garante mesma altura */
    justify-content: center;
    margin-top: 15px;
    max-width: 900px;
    /* Limitando largura total para não ficar muito esticado */
    margin-left: auto;
    /* Centralizando o bloco todo */
}

/* Form */
.contact-form-mini {
    display: block;
    background: white;
    padding: 15px;
    /* Reduzido um pouco */
    border-radius: 12px;
    color: var(--text-dark);
    flex: 1;
    max-width: 380px;
    /* Um pouco menor */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.contact-form-mini form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-form-mini input,
.contact-form-mini textarea {
    display: block;
    width: 100%;
    padding: 8px;
    /* Reduzido */
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
}

.contact-form-mini textarea {
    resize: none;
    flex-grow: 1;
    /* Ocupa espaço restante */
    min-height: 60px;
}

.contact-form-mini button {
    width: 100%;
    padding: 10px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: auto;
    /* Mola para o fundo se sobrar espaço */
}

.contact-form-mini button:hover {
    background: #004494;
}

/* Map */
.contact-map-mini {
    display: block;
    flex: 1;
    height: auto;
    /* Remove altura fixa para seguir o stretch */
    min-height: 300px;
    /* Altura minima garantida */
    border-radius: 12px;
    overflow: hidden;
    background: #ccc;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 380px;
}

.contact-map-mini iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge circular removido */
.circle-badge {
    display: none;
}

/* Contact Content - New Layout */
.contact-content {
    text-align: center;
}

.contact-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

/* Full-width Form */
.contact-form-full {
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-full form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.contact-form-full input,
.contact-form-full textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
}

.contact-form-full textarea {
    grid-column: 1 / -1;
    resize: none;
    min-height: 80px;
}

.contact-form-full button {
    grid-column: 1 / -1;
    padding: 12px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form-full button:hover {
    background: #004494;
}

/* Full-width Map */
.contact-map-full {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* 
   ----------------
   FOOTER 
   ----------------
*/
.footer {
    background-color: #10151d;
    color: #6d7684;
    padding: 30px 0;
    font-size: 13px;
    border-top: 1px solid #1F2937;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #9CA3AF;
}

.footer-links a:hover {
    color: white;
}

.footer p {
    text-align: center;
}

/* 
   ----------------
   RESPONSIVE 
   ----------------
*/
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        padding-top: 60px;
        text-align: center;
    }

    .hero h1 {
        font-size: 32px;
        margin: 0 auto 20px;
    }

    .services-section {
        margin-top: -50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .support-contact-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .phone-number,
    .social-links,
    .contact-flex {
        justify-content: center;
    }

    .contact-flex {
        flex-direction: column;
        align-items: center;
    }

    .contact-map-mini {
        width: 100%;
        min-height: 250px;
    }
}