/* Configurações Gerais */
:root {
    --primary-color: #2563eb;
    --dark-bg: #0f172a;
    --light-text: #64748b;
    --section-padding: 80px 20px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #334155;
    scroll-behavior: smooth;
}

header .nav-links li:not(.nav-li-contato) { padding: 5px 10px; cursor: pointer; border-radius: 2px; }
header .nav-links li:hover { background-color: lightblue; }

.imgGifCarregando { width:50px; position: absolute; display: none; }
.btnGifCarregando { opacity:0.8; }

.img-success, .img-danger { display: none; }

#modal-alerta .modal-body { display: flex; align-items: center; justify-content: space-between; }
#modal-alerta .modal-body p { margin: 0px; margin-left: 20px; font-size: 18px }

.modal-success .modal-header { background-color: greenyellow; }
.modal-danger .modal-header { background-color: indianred; }

.contato-float{
	position: fixed;
	bottom: 10px;
	right: 10px;	
	z-index: 9999;
}
.contato-float img{
	width: 50px;
	transition: all 0.5s;
}
.contato-float:hover img{
	width: 80px;
}

.container { max-width: 1100px; margin: 0 auto; }

/* Header */
.main-header {
    /*background: rgba(255, 255, 255, 0.9);*/
    background-color: steelblue;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.3rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.main-header .logo img{
	width: 200px;
}

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.nav-wrapper .logo img { border-radius: 10px; }
.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; padding: 0px; margin: 0px }
.nav-links a { text-decoration: none; color: #1e293b; font-weight: 500; }

#menu-mobile { display: none; width:50px; height:50px; cursor:pointer; }

/* Hero Section */
.hero { padding: 120px 20px 80px; text-align: center; background: #f8fafc; }
.hero h1 { font-size: 3rem; color: #0f172a; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: var(--light-text); max-width: 700px; margin: 0 auto 30px; }

header{
    background-image: url('../img/fundo_hero_2_30.webp');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100px;
    display: flex;
    align-items: center;
}

.img-tecnologies { margin-top:50px; }

/* Container dos botões na Hero */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Para não quebrar em celulares */
}

/* Estilo Base dos Botões */
.btn {
    padding: 15px 35px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
}
/* Botão Principal: Quero um site profissional */
.btn-main {
    background-color: var(--primary-color);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}
.btn-main:hover {
    background-color: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.3s;
}
/* Botão Secundário: Ver Serviços */
.btn-secondary {
    background-color: transparent;
    color: var(--dark-bg) !important;
    border-color: #cbd5e1;
}
.btn-secondary:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
    transform: translateY(-3px);
}

/* Serviço ou Site */
.info-extra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 15px;
    margin-top: 40px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8fafc;
    box-shadow: 0px 0px 2px 0px #000;
    border-radius: 5px;
}

.info-icon { font-size: 1.5rem; line-height: 1; }

.info-text h3 { margin: 0 0 8px 0; font-size: 1.25rem; color: var(--dark-bg); }

.info-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

/* Grid de Serviços */
#servicos{ /* section de serviços  */ background-color: cadetblue; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 20px;
    margin-top: 50px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 2px 0px rgba(0,0,0,1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}
.card h3 { font-size: 1.5rem; color: var(--dark-bg); margin: 0; }

.card p { color: var(--light-text); line-height: 1.6; margin: 0; }

/* Section processo */
#processo{ background-color: lightblue; }

/* Seção Técnica (Estilo Dark) */
.tech-section { background: var(--dark-bg); color: white; padding: var(--section-padding); }
.tech-box {
    background: #1e293b;
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    font-family: 'Courier New', Courier, monospace;
}
.ul-tech-section{ padding-top: 15px; padding-left: 15px; }

.tech-box ul { list-style: none; padding-left: 0; }
.tech-box li::before { content: "➜ "; color: #4ade80; }

/* Seção de Contato/Orçamento */
.contact-section { padding: var(--section-padding); background-color: #ffffff; }

.contact-wrapper { display: flex; flex-wrap: wrap; gap: 60px; align-items: flex-start; }

.contact-info { flex: 1; min-width: 300px; }
.contact-info h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--dark-bg); }

.direct-contact { margin-top: 30px; }
.contact-item{ color: #334155; }
.contact-item { margin-bottom: 15px; font-size: 1.1rem; }
.contact-item img{ width:18px;  }
.contact-item-email { display:block; cursor:pointer; }

.contact-form-box {
    flex: 1;
    min-width: 300px;
    background: #f8fafc;
    padding: 40px;
    padding-top: 0px;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

/* Container do Campo */
.campo { position: relative; margin-bottom: 25px; background: #fff; border-radius: 3px; }
.campo-required{ color: indianred; }

/* O Input propriamente dito */
.input-field {
    width: 100%;
    padding: 15px 15px;
    font-size: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    outline: none;
    background: transparent;
    transition: border-color 0.2s;
    display: block;
}
/* O Label que vai flutuar */
.campo .label {
    position: absolute;
    left: 15px;
    top: 8px; /* Alinhado com o padding do input */
    color: #94a3b8;
    pointer-events: none; /* Permite clicar através do label no input */
    transition: all 0.2s ease;
    background-color: white; /* Para cobrir a borda do input ao subir */
    padding: 0 5px;
}
/* Mágica do CSS: 
   Quando o input ganha foco OU quando não está vazio (placeholder não está aparecendo) 
*/
.input-field:focus + .label,
.input-field:not(:placeholder-shown) + .label {
    top: -12px;
    left: 10px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Destaque da borda no foco */
.input-field:focus {
    /*border: 2px solid var(--primary-color);
    /*padding: 14px 14px; /* Ajuste compensando a borda de 2px */
}

/* Estilo para o Textarea (ajuste de altura do label) */
textarea.input-field { resize: none; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #475569; }

.form-control {
    width: 100%;
    padding: 8px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus { border-color: var(--primary-color); }

.btn-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-submit:hover { background: #1d4ed8; transform: translateY(-2px); }

/* timeline  */
.py-20 { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; font-size: 2.2rem; color: var(--dark-bg); }

.timeline { max-width: 800px; margin: 0 auto; position: relative; padding-left: 50px; }

/* A linha vertical da timeline */
/* Workflow Grid */
.workflow-grid { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 60px; 
    flex-wrap: wrap;
}
.workflow-card-int {
    width: 50%;
    display: flex;
}
.workflow-card {
    width: 100%;
    background: #fff;
    border-radius: 50px;
    padding: 20px;
    margin: 20px;
    border: 1px solid #e2e8f0;
    text-align: center;    
    transition: all 0.3s ease;
}

.workflow-card:hover { transform: translateY(-10px); border-color: var(--primary-color); }

.icon-circle {
    width: 50px;
    height: 50px;
    background: var(--primary-color); /* SteelBlue */
    color: white;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.workflow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    /*align-self: center;*/
    margin-top: 85px;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}


/* Tabela de Hospedagem */
.hosting-comparison { display: flex; gap: 30px; justify-content: center; margin-top: 40px; }

.hosting-option {
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 350px;
    border: 2px solid #e2e8f0;
    position: relative;
    transition: 0.3s;
}

.hosting-option.primary { border-color: var(--primary-color); box-shadow: 0 10px 30px rgba(70, 130, 180, 0.15); }

.hosting-option.primary .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price { font-size: 1.8rem; font-weight: bold; margin: 20px 0; color: var(--dark-bg); }
.price-secondary{ font-size: 1.5rem; }

.price span { font-size: 0.9rem; color: #64748b; }

.hosting-option ul { list-style: none; padding: 0; }
.hosting-option li { margin-bottom: 12px; color: #475569; }
.hosting-option li::before { content: "✓ "; color: var(--primary-color); }

.security-note { text-align: center; margin-top: 40px; color: #64748b; font-size: 0.95rem; }

/* Responsivo para celulares */
@media (max-width: 768px) {
    #menu-mobile { display: block; }

    .nav-links {     
        flex-direction: column;
        position: absolute;
        background-color: steelblue;
        margin-top: 388px;
        right: 0px;
        padding: 20px 10px;
    }

    .info-extra-grid { grid-template-columns: 1fr; }

    .workflow-card { padding: 5px; margin: 5px; }

    .contact-form-box { padding: 0px }

    .hosting-comparison { flex-direction: column; }
    .hosting-comparison .hosting-option { width: 100%; padding: 10px; text-align: center; }
    .hosting-comparison .hosting-option .price { margin: 0px;  }
}

@media (max-width: 719px) {
    .tech-box{
        border-right: 4px solid var(--primary-color);
    }
}

/* Ajuste para mobile */
@media (max-width: 480px) {
    .btn {
        width: 100%; /* Botões ocupam a largura toda no celular */
        text-align: center;
    }
}