/* ============================================================================= */
/* ===== GERAL & FONTES ===== */
/* ============================================================================= */
:root {
    /* Marca */
    --brand-blue-dark:   #303a59; /* Navbar, Footer, Títulos H1/H2 */
    --brand-blue-medium: #32536b; /* Bordas, Subtítulos, Ícones */
    --brand-blue-light:  #1d6880; /* Links, Detalhes, Hovers */
    --brand-orange:      #faa500; /* Botões de Conversão (CTA), Destaques */
    
    /* Neutros */
    --brand-gray-dark:   #647a8a; /* Texto corrido (Body) */
    --brand-gray-light:  #909ea7; /* Ícones desativados, bordas sutis */
    --bg-light:          #f8f9fa; /* Fundo de seções claras */
    --bg-white:          #ffffff;
    
    /* Dimensões Layout */
    --header-height: 48px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--brand-gray-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

h1, h2, h3, h4, .eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

p {
    font-size: 18px; /* Não tinha... acrescentei para deixar o texto um pouco maior */
}

.brand-summit {
    font-weight: 700;
    color: var(--brand-blue-dark);
}

.brand-group {
    font-weight: 700;
    color: var(--brand-blue-light);
}

.eyebrow {
    color: var(--brand-blue-light);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--brand-blue-dark);
}

:target {
    scroll-margin-top: 90px;
}

/* ============================================================================= */
/* ===== COMPONENTES ===== */
/* ============================================================================= */

/* Botões */
.btn-brand-orange {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #fff;
}

.btn-brand-orange:hover,
.btn-brand-orange:focus {
    background-color: var(--brand-blue-light);
    border-color: var(--brand-blue-light);
    color: #fff;
}

/* Seções Padrão */
.section-white {
    background-color: var(--bg-white);
    color: var(--brand-gray-dark);
    padding: 60px 30px;
}

.section-light {
    background-color: var(--bg-light);
    color: var(--brand-gray-dark);
    padding: 60px 30px;
}

.section-white .container,
.section-light .container {
    text-align: center;
}

.section-dark {
    background-color: var(--brand-blue-dark);
    color: #fff;
}

/* ============================================================================= */
/* ===== COMPONENTE QUADRO DE IMAGEM (4.5) ===== */
/* ============================================================================= */
.img-quadro {
    overflow: hidden;
    border-radius: 0px; /* Mantendo consistência com outros quadros, opcional mas recomendado */
    background-color: var(--bg-white); /* Para cobrir o padding se necessário */
}

.img-quadro img {
    width: 100%;
    height: auto;
    display: block;
    padding: 10px 0;
    transition: transform 0.3s ease;
}

.img-quadro:hover img {
    transform: scale(1.1);
}

/* ============================================================================= */
/* ===== NAVBAR ===== */
/* ============================================================================= */
.top-navbar {
    background: #ffffff;
    transition: all 0.3s ease;
    z-index: 1100;
    min-height: 64px;
    box-shadow: none;
}

.top-navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px) saturate(120%);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.nav-logo {
    height: 42px;
    width: auto;
}

@media (max-width: 575.98px) {
    .nav-logo {
        height: 32px;
    }
}

.navbar-light .navbar-nav .nav-link {
    color: var(--brand-blue-dark);
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--brand-orange);
    text-decoration: none;
}

.navbar-light .navbar-nav .nav-link.active {
    color: var(--brand-blue-light);
}

@media (max-width: 991.98px) {
    .top-navbar .navbar-collapse {
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid rgba(48, 58, 89, 0.12);
        padding: 12px;
    }
}

/* ============================================================================= */
/* ===== HERO SECTION ===== */
/* ============================================================================= */
.hero-section {
    position: relative;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue-light) 100%);
    overflow: hidden;
    /* Cálculo dinâmico para centralização visual considerando a navbar fixa */
    padding-top: calc(80px + var(--header-height));
    padding-bottom: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('../img/rede.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
}

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

.hero-title {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(12px);
    animation: heroFadeUp 500ms ease-out 0ms forwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 760px;
    margin: 0 auto 24px;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(12px);
    animation: heroFadeUp 500ms ease-out 120ms forwards;
}

.hero-cta {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    animation: heroFadeUp 500ms ease-out 240ms forwards;

}

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

/* Animations */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-subtitle,
    .hero-cta {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ============================================================================= */
/* ===== CLIENTS & OTHERS (4.6) ===== */
/* ============================================================================= */
.clients-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 16px;
}

@media (max-width: 1199.98px) {
    .clients-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 991.98px) {
    .clients-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767.98px) {
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
}

.client-logo {
    background: #fff;
    border: 1px solid rgba(48, 58, 89, 0.08);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.05);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.icon-brand {
    font-size: 2rem;
    color: var(--brand-blue-light);
}

.illustration-container {
    min-height: 180px;
    background-color: #f8f9fa;
    border: 1px dashed rgba(48, 58, 89, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gray-dark);
}

/* ============================================================================= */
/* ===== SECTION 2 COLUNAS (3.5) ===== */
/* ============================================================================= */
.section-2col {
    padding: 80px 100px0;
}

.section-2col .img-col img {
    width: 100%; 
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(48, 58, 89, 0.15);
    object-fit: cover;
}

.section-2col .text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .section-2col .text-col {
        margin-bottom: 40px;
        text-align: center;
    }
}

/* ============================================================================= */
/* ===== SECTION CONTENT (3.4) ===== */
/* ============================================================================= */
.quadros {
    padding: 60px 30px;
    text-align: center;
}

.quadros-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991.98px) {
    .quadros-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
    .quadros-grid { grid-template-columns: 1fr; }
}

.quadro {
    background: var(--bg-white);
    border: 1px solid rgba(48,58,89,0.12);
    border-top: 4px solid var(--brand-blue-medium);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, border-top-color 0.3s ease, transform 0.3s ease;
}

.quadro:hover {
    box-shadow: 0 12px 24px rgba(48, 58, 89, 0.15);
    border-top-color: var(--brand-orange);
    transform: translateY(-5px);
}

.quadro-icon {
    font-size: 2rem;
    color: var(--brand-blue-light);
    margin-bottom: 24px;
    /* Fallback: Garante espaço reservado caso a fonte não carregue */
    min-height: 1em;
    min-width: 1em;
    display: inline-block;
    line-height: 1;
}

.quadro-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 16px;
}

.quadro-desc {
    font-size: 18px;
    color: var(--brand-gray-dark);
    margin-bottom: 24px;
}

.section-lista {
    padding: 60px 30px;
    text-align: center;
}

.lista {
    max-width: 820px;
    margin: 0 auto;
    text-align: left;
}

.lista-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 18px;
    color: var(--brand-gray-dark);
}

.lista-icon {
    font-size: 0.9rem;
    color: var(--brand-blue-light);
    margin-top: 4px;
}

.section-collapse {
    padding: 60px 30px;
}

.collapse-block {
    border: 1px solid rgba(48,58,89,0.12);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--bg-white);
}

.collapse-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
}

.collapse-title {
    font-weight: 700;
    color: var(--brand-blue-dark);
}

.icon-arrow {
    transition: transform .2s ease;
    color: var(--brand-blue-light);
}

.collapse-header[aria-expanded="true"] .icon-arrow {
    transform: rotate(90deg);
}

.collapse-header[aria-expanded="true"] .icon-arrow {
    transform: rotate(90deg);
}

.collapse-content {
    padding: 14px 18px;
    font-size: 18px;
    color: var(--brand-gray-dark);
}

.section-quote {
    padding: 60px 30px;
    text-align: center;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991.98px) {
    .quote-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
    .quote-grid { grid-template-columns: 1fr; }
}

.quote-card {
    background: var(--bg-white);
    border: none;
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.quote-icon {
    font-size: 4rem;
    color: rgba(0,0,0,0.05);
    position: absolute;
    top: 20px;
    left: 20px;
    margin: 0;
    z-index: 0;
}

.quote-text {
    font-size: 18px;
    color: var(--brand-gray-dark);
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.6;
}

.quote-author {
    position: relative;
    z-index: 1;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
}

.quote-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 4px;
}

.quote-role {
    font-size: 0.9rem;
    color: var(--brand-blue-light);
    display: block;
    line-height: 1.4;
}

/* ============================================================================= */
/* ===== VERTICAL TIMELINE (4.7) ===== */
/* ============================================================================= */
.timeline-wrapper {
    position: relative;
    padding: 20px 0;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-step {
    display: flex;
    position: relative;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 32px;
    width: 60px;
    flex-shrink: 0;
}

.timeline-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white);
    border: 2px solid var(--brand-blue-light);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.timeline-step:hover .timeline-icon-box {
    background-color: var(--brand-blue-light);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(29, 104, 128, 0.25);
}

.timeline-icon {
    font-size: 1.5rem;
    color: var(--brand-blue-medium);
    transition: all 0.3s ease;
}

.timeline-step:hover .timeline-icon {
    color: #fff;
}

.timeline-connector {
    width: 2px;
    background-color: rgba(100, 122, 138, 0.2);
    flex-grow: 1;
    min-height: 40px;
}

.timeline-step:last-child .timeline-connector {
    display: none;
}

.timeline-content {
    padding-top: 0;
    padding-bottom: 48px;
    text-align: left;
}

.timeline-step:last-child .timeline-content {
    padding-bottom: 0;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.2;
}

.timeline-text {
    font-size: 18px;
    color: var(--brand-gray-dark);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .timeline-marker {
        margin-right: 20px;
        width: 48px;
    }
    
    .timeline-icon-box {
        width: 48px;
        height: 48px;
    }
    
    .timeline-icon {
        font-size: 1.25rem;
    }
    
    .timeline-title {
        font-size: 1.25rem;
    }
}

/* ============================================================================= */
/* ===== VERTICAL ACCORDION (4.8) ===== */
/* ============================================================================= */
.accordion-vertical {
    display: flex;
    height: 450px;
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.accordion-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: flex 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    background-color: var(--brand-blue-dark);
}

.accordion-item.active {
    flex: 3;
}

.accordion-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease-in-out;
    opacity: 0.3;
}

.accordion-item:hover .accordion-bg,
.accordion-item.active .accordion-bg {
    transform: scale(1.05);
    opacity: 0.5;
}

.accordion-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(48,58,89,0.9), rgba(48,58,89,0.3));
    z-index: 1;
    transition: background 0.3s ease;
}

.accordion-item.active .accordion-overlay {
    background: linear-gradient(to bottom, rgba(48,58,89,0.8), rgba(48,58,89,0.6));
}

.accordion-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: #fff;
    transition: all 0.3s ease;
}

.accordion-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(90deg);
}

.accordion-text {
    font-size: 1rem;
    margin-top: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    /* Transição de SAÍDA (fechando) */
    /* Opacidade some rápido (0.2s), altura e margem diminuem suavemente (0.3s) */
    transition: opacity 0.2s ease-in-out, max-height 0.3s ease-in-out, margin-top 0.3s ease-in-out;
    line-height: 1.6;
}

/* Collapsed State Styles */
.accordion-item:not(.active) .accordion-content {
    align-items: center;
    justify-content: center;
    padding: 0;
}

.accordion-item:not(.active) .accordion-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 400px; /* Fixed width to prevent wrapping when rotated */
    text-align: center;
    letter-spacing: 1px;
}

/* Expanded State Styles */
.accordion-item.active .accordion-text {
    opacity: 1;
    max-height: 200px;
    margin-top: 15px;
    /* Transição de ENTRADA (abrindo) */
    /* Altura e margem expandem (0.3s), Opacidade entra com delay (0.1s) para suavidade */
    transition: max-height 0.3s ease-in-out, margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out 0.1s;
}

/* Accessibility Focus */
.accordion-item:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(250, 163, 60, 0.5);
    z-index: 3;
}

/* Responsive */
@media (max-width: 991.98px) {
    .accordion-vertical {
        height: 400px;
    }
    
    .accordion-item.active {
        flex: 2;
    }
}

@media (max-width: 767.98px) {
    .accordion-vertical {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }
    
    .accordion-item {
        flex: none;
        height: 60px;
        transition: height 0.3s ease-in-out;
    }
    
    .accordion-item.active {
        flex: none;
        height: 350px;
    }
    
    .accordion-item:not(.active) .accordion-title {
        transform: none;
        position: static;
        width: auto;
        text-align: left;
    }
    
    .accordion-content {
        justify-content: center;
        align-items: flex-start;
        padding: 0 24px;
    }
    
    .accordion-item.active .accordion-content {
        justify-content: flex-end;
        padding: 24px;
    }
}

/* ============================================================================= */
/* ===== FORMULÁRIO (4.9) ===== */
/* ============================================================================= */
#contato {
    position: relative;
    background-color: var(--brand-blue-dark);
    overflow: hidden;
    color: var(--brand-white);
}

#contato::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/contato.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
}

#contato .container {
    position: relative;
    z-index: 1;
}

#contato h2, 
#contato h3,
#contato h4,
#contato p, 
#contato .eyebrow,
#contato .section-title {
    color: #fff;
}

#contato .form-label {
    color: var(--brand-blue-dark);
}

.section-form .mb-3 {
    margin-bottom: 20px !important;
}

.form-label {
    text-align: left;
    font-weight: 600;
    color: var(--brand-blue-dark);
    margin-bottom: 5px;
    display: block;
}

.form-control {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--brand-gray-dark);
    font-family: 'Roboto', sans-serif;
    width: 100%;
}

.form-control:focus {
    border-color: var(--brand-blue-light);
    box-shadow: 0 0 0 4px rgba(29, 104, 128, 0.1);
    outline: none;
}

.form-control:hover {
    border-color: var(--brand-blue-medium);
}

.btn-submit {
    background-color: var(--brand-orange);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background-color: #e69500; /* Darker orange */
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    color: #fff;
}

/* ============================================================================= */
/* ===== TRUST BADGES (NEW) ===== */
/* ============================================================================= */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: default;
}

.trust-badge:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.trust-badge .badge-icon {
    color: var(--brand-orange);
    font-size: 1.1rem;
}

.trust-badge .badge-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .trust-badge {
        width: auto;
    }
}

/* ============================================================================= */
/* ===== FLASH MESSAGES ===== */
/* ============================================================================= */
.flash-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin-top: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 100%;
    z-index: 100;
}

.flash-message.visible {
    opacity: 1;
    transform: translateY(0);
}

.flash-message.success {
    background-color: #28a745; /* Bootstrap Success Green */
    color: #fff;
    border: 1px solid #218838;
}

.flash-message.error {
    background-color: #dc3545; /* Bootstrap Danger Red */
    color: #fff;
    border: 1px solid #c82333;
}

.flash-message .message-content {
    flex-grow: 1;
    margin-right: 10px;
}

.flash-message .close-btn {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    padding: 0 4px;
    line-height: 1;
    transition: opacity 0.2s;
}

.flash-message .close-btn:hover {
    opacity: 1;
}

/* ============================================================================= */
/* ===== MOBILE OPTIMIZATION (CONTACT FORM) ===== */
/* ============================================================================= */
@media (max-width: 768px) {
    /* Adjust Container Width to use 90-95% of viewport */
    #contato .container {
        max-width: 95%;
        padding-left: 15px;  /* Increased to 15px to offset Bootstrap row negative margins (-12px) */
        padding-right: 15px; /* Prevents horizontal scroll */
        overflow-x: hidden;  /* Safety net */
    }

    /* Form Container Overrides */
    /* Overriding Bootstrap .p-5 which is 3rem (48px) */
    #contactForm {
        padding: 20px 15px !important; 
        margin-top: 20px;
        width: 100%;
    }

    /* Input Fields Optimization */
    /* 16px prevents iOS automatic zoom on focus */
    .form-control {
        font-size: 16px !important; 
        width: 100%;
    }

    /* Select specific optimization */
    select.form-control {
        background-color: #fff; /* Ensure contrast */
    }

    /* Submit Button Optimization */
    .btn-submit {
        width: 100%;
        min-width: 200px; /* As requested */
        min-height: 44px; /* Minimum touch target size */
        font-size: 16px;
        margin-top: 10px;
    }

    /* Text Adjustments for Mobile */
    .section-title {
        font-size: 28px; /* Slightly smaller on mobile */
    }
    
    .section-subtitle {
        font-size: 18px;
    }
}
