 /* ==========================================
   1. RESET E VARIÁVEIS BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

:root {
    --bg-dark: #050c14;
    --primary-blue: #1d68e3;
    --primary-blue-hover: #154eb3;
    --accent-green: #2ecc71;
    --text-muted: #cbd5e1;
    --white: #ffffff;
    --top-bar-bg: #090f19;
    --danger-red: #b31d1d;
    --footer-bg: #ffffff;
    --footer-text: #4a5568;
    --footer-heading: #1a202c;
    --content-bg: #ffffff;
}

body {
    background-color: var(--bg-dark);
    color: #333;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* ==========================================
   2. BARRA DE CONTACTOS SUPERIOR (TOP BAR)
   ========================================== */
.top-bar {
    background-color: var(--top-bar-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.top-contacts {
    display: flex;
    gap: 20px;
}

.top-contacts a {
    color: #a0aec0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.top-contacts a:hover {
    color: var(--accent-green);
}

.top-contacts i {
    font-size: 14px;
}

.top-right {
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.cart-icon {
    color: var(--white);
    cursor: pointer;
    font-size: 15px;
    transition: opacity 0.2s;
}

.cart-icon:hover {
    opacity: 0.8;
}

/* ==========================================
   3. MENU DE NAVEGAÇÃO (NAVBAR)
   ========================================== */
.navbar {
    background-color: rgba(9, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    position: relative;
    width: 32px;
    height: 32px;
    border: 4px solid var(--white);
    border-radius: 50%;
    border-bottom-color: transparent;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.logo-icon::after {
    content: '';
    width: 5px;
    height: 14px;
    background-color: #ef4444;
    position: absolute;
    bottom: -1px;
    border-radius: 2px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: #a0aec0;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-green);
}

.nav-buttons {
    display: none;
    align-items: center;
    gap: 12px;
}

.btn-help {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-help:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-login {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 9px 22px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-login:hover {
    background-color: var(--primary-blue-hover);
}

.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
}

/* Classe auxiliar para os botões dentro do menu mobile */
.mobile-only-buttons {
    display: none;
    width: 100%;
    gap: 10px;
    margin-top: 15px;
}

/* ==========================================
   4. BARRA DE CAMPANHA (PROMO BANNER)
   ========================================== */
.promo-banner {
    background-color: var(--danger-red);
    color: var(--white);
    padding: 12px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.countdown span {
    background-color: rgba(0, 0, 0, 0.25);
    padding: 3px 6px;
    border-radius: 3px;
    font-variant-numeric: tabular-nums;
}

/* ==========================================
   5. CAIXA DE PESQUISA DE DOMÍNIOS
   ========================================== */
.domain-search-container {
    background-color: var(--white);
    padding: 24px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.domain-prices {
    display: flex;
    gap: 20px;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #4a5568;
}

.price-box strong {
    border: 1px solid #cbd5e0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    color: #1a202c;
    background-color: #f7fafc;
}

.search-box {
    display: flex;
    flex-grow: 1;
    max-width: 650px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 16px;
}

.search-box input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid #cbd5e0;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 15px;
    color: #2d3748;
}

.search-box input:focus {
    border-color: var(--primary-blue);
}

.btn-register {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0 28px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
}

.btn-register:hover {
    background-color: var(--primary-blue-hover);
}

.btn-transfer {
    background-color: var(--white);
    color: #4a5568;
    border: 1px solid #cbd5e0;
    border-left: none;
    padding: 0 22px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
    font-size: 14px;
}

.btn-transfer:hover {
    background-color: #f7fafc;
}

/* ==========================================
   6. SECÇÃO HERO (PRINCIPAL)
   ========================================== */
.hero {
    position: relative;
    background: radial-gradient(circle at 85% 50%, rgba(20, 40, 65, 0.4) 0%, rgba(5, 12, 20, 1) 70%);
    color: var(--white);
    padding: 100px 10% 160px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    z-index: 10;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-text h1 .text-green {
    color: var(--accent-green);
}

.hero-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.btn-trial {
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s, transform 0.2s;
}

.btn-trial:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
}

.hero-graphics-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 28px;
    opacity: 0.85;
}

.shape-green-top { width: 120px; height: 120px; background: #209968; top: 12%; right: 48%; }
.shape-grey-small { width: 45px; height: 45px; background: #2b3541; top: 38%; right: 56%; border-radius: 10px; }
.shape-blue { width: 170px; height: 170px; background: #1e56c9; bottom: 20%; right: 38%; border-radius: 32px; }
.shape-red { width: 120px; height: 120px; background: #a63232; top: 28%; right: 14%; }
.shape-green-large { width: 210px; height: 210px; background: #1cb55c; bottom: 24%; right: 10%; border-radius: 42px; }
.shape-pink { width: 140px; height: 140px; background: #b53c7c; bottom: 10%; right: 2%; opacity: 0.6; }

/* ==========================================
   7. CARTÕES DE SERVIÇO (GRID)
   ========================================== */
.services-section {
    padding: 0 10% 40px 10%;
    margin-top: -80px;
    position: relative;
    z-index: 20;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 35px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.ribbon {
    position: absolute;
    top: 15px;
    right: -35px;
    background-color: #ffd700;
    color: #1a202c;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    width: 130px;
    transform: rotate(45deg);
    padding: 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-icon-area {
    height: 50px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.ms-logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card h2 {
    font-size: 20px;
    color: #1a202c;
    margin-bottom: 12px;
    font-weight: 700;
}

.badge-gratis {
    background-color: #ffd700;
    color: #1a202c;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 14px;
}

.card p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.55;
    margin-bottom: 24px;
    flex-grow: 1;
}

.price-area {
    margin-top: auto;
    margin-bottom: 24px;
    border-top: 1px solid #edf2f7;
    padding-top: 20px;
}

.price-label {
    font-size: 12px;
    color: #718096;
    margin-bottom: 4px;
}

.price-value {
    font-size: 28px;
    font-weight: 700;
    color: #e53e3e;
    line-height: 1;
}

.price-period {
    font-size: 12px;
    color: #718096;
    margin-top: 4px;
}

.btn-card {
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    text-align: center;
    padding: 13px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s;
    display: block;
}

.btn-card:hover {
    background-color: var(--primary-blue-hover);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active {
    background-color: #e53e3e;
}

/* ==========================================
   8. NOVA: ÁREA DE CONTEÚDO (CONSTRUTOR DE SITES)
   ========================================== */
.content-section {
    background-color: var(--content-bg);
    padding: 80px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.content-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.laptop-mockup {
    width: 100%;
    max-width: 520px;
    position: relative;
}

.laptop-screen {
    background-color: #1a202c;
    border: 12px solid #2d3748;
    border-radius: 12px 12px 0 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    position: relative;
}

.builder-interface {
    width: 100%;
    height: 100%;
    display: flex;
    background-color: #f7fafc;
    font-size: 8px;
}

.builder-sidebar {
    width: 25%;
    background-color: #ffffff;
    border-right: 1px solid #e2e8f0;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-brand { font-weight: 800; color: #1a202c; margin-bottom: 4px; font-size: 9px; }
.sidebar-item { background-color: #edf2f7; padding: 4px; border-radius: 2px; color: #4a5568; }

.builder-canvas {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle, #ffffff 0%, #edf2f7 100%);
}

.canvas-badge { background-color: #e2e8f0; padding: 2px 6px; border-radius: 8px; margin-bottom: 6px; font-weight: 600; }
.canvas-title { font-size: 16px; font-weight: 800; color: #1a202c; margin-bottom: 6px; line-height: 1.2; }
.canvas-btn { background-color: #3182ce; color: white; padding: 4px 10px; border-radius: 2px; font-weight: 600; }

.laptop-base {
    height: 10px;
    background-color: #cbd5e0;
    border-radius: 0 0 16px 16px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.laptop-base::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #a0aec0;
    border-radius: 0 0 4px 4px;
}

.content-info {
    flex: 1;
    max-width: 580px;
}

.content-tag {
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.content-info h2 {
    font-size: 38px;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.15;
    margin-bottom: 20px;
}

.content-info p {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 14px;
    color: #718096;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ==========================================
   9. RODAPÉ DO SITE (FOOTER)
   ========================================== */
.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 10% 30px 10%;
    border-top: 1px solid #e2e8f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--footer-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
}

.footer-col ul li a i {
    font-size: 14px;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #edf2f7;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e2e8f0;
    padding: 6px 16px;
    border-radius: 6px;
    background-color: #f7fafc;
}

.payment-card {
    font-weight: 800;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.payment-card.multicaixa { background: linear-gradient(135deg, #ff7b00, #ff5100); color: white; }
.payment-card.express { background: #ffaa00; color: white; }
.payment-card.bfa { background: #e30613; color: white; }
.payment-card.paypal { background: #003087; color: white; }

.footer-legal-links {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
}

.footer-legal-links a {
    color: #718096;
    text-decoration: none;
    font-size: 13px;
}

.footer-legal-links a:hover {
    color: var(--primary-blue);
}

.footer-copyright-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: #718096;
    font-size: 13px;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background-color: #edf2f7;
    color: #4a5568;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s;
}

.social-btn:hover {
    background-color: var(--primary-blue);
    color: white;
}

.trustpilot-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
}
.trustpilot-stars {
    color: #00b67a;
}

/* ==========================================
   10. WIDGET DO WHATSAPP
   ========================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.2s;
}

.whatsapp-widget:hover {
    transform: scale(1.08);
}

.whatsapp-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #e53e3e;
    color: var(--white);
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 700;
    border: 2px solid #25d366;
}

/* ==========================================
   11. MEDIA QUERIES (RESPONSIVIDADE TOTAL)
   ========================================== */
@media (max-width: 992px) {
    .top-bar, .navbar, .promo-banner, .domain-search-container, .hero, .services-section, .content-section, .main-footer {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--top-bar-bg);
        padding: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    /* Ativa os botões internos do menu no mobile */
    .mobile-only-buttons {
        display: flex;
        flex-direction: column;
    }

    .mobile-only-buttons button {
        width: 100%;
        text-align: center;
    }

    /* Esconde os botões originais externos */
    .nav-buttons {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 80px;
        padding-bottom: 140px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-graphics-container {
        width: 100%;
        opacity: 0.15;
        transform: scale(1);
        top: 0;
        right: 0;
    }
    
    .domain-search-container {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .domain-prices {
        justify-content: center;
    }

    .content-section {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .top-bar {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between;
        align-items: center;
        padding: 10px 4%;
        font-size: 12px;
    }

    .top-contacts {
        flex-direction: row !important;
        gap: 15px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch; 
    }
    
    .top-contacts::-webkit-scrollbar {
        display: none;
    }

    .top-contacts a {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: #cbd5e1;
    }

    .promo-banner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 28px;
        text-align: left;
    }
    
    .info-dizes{
        text-align: left;
    }

    .content-info h2 {
        font-size: 28px;
    }

    .domain-prices {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .price-box {
        flex: 1 1 40%;
        justify-content: center;
    }

    .search-box {
        flex-direction: column;
        gap: 8px;
    }

    .search-box input {
        border-radius: 4px;
    }

    .btn-register, .btn-transfer {
        padding: 14px;
        border-radius: 4px;
        border: none;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-copyright-row {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}