/* ============================
   PALETA NOVA
   ============================ */
:root {
    --cor-principal: #731411;
    --cor-secundaria: #e4504b;
    --cor-secundaria-clara: black;
    --cinza-escuro: #747c7e;
    --cinza-claro: #bcc0c1;
    --fundo: #f5f5f5;
    --texto: #1A1A1A;
}

/* Fundo */
body {
    background: var(--fundo);
    font-family: 'Inter', sans-serif;
    color: var(--texto);
    line-height: 1.6;
}

/* ============================
   TOPBAR
   ============================ */
.topbar {
    background: var(--cor-principal);
    color: white;
    padding: 6px 0;
    font-size: 14px;
}

/* ============================
   NOVA NAVBAR SIGMACARDIO
   ============================ */

.navbar-sigma .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.logo-sigma {
    height: 85px;
    width: auto;
}

/* MENU CENTRAL — NÃO QUEBRAR LINHA E MELHOR DISTRIBUIÇÃO */
.menu-center {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 20px;      /* AQUI aumenta o espaçamento e evita quebra */
    margin: 0;
    padding: 0;
    white-space: nowrap;   /* impede qualquer quebra de linha */
}

.menu-center .nav-link {
    font-weight: 600;
    font-size: 17px;
    color: var(--texto);
    text-decoration: none;
    padding-bottom: 4px;
    transition: .3s;
}

.menu-center .nav-link:hover,
.menu-center .nav-link.active {
    color: var(--cor-principal);
    border-bottom: 3px solid var(--cor-secundaria);
}

/* BOTÕES À DIREITA */
.menu-buttons {
    display: flex;
    gap: 14px;
}

.btn-sigma {
    background: var(--cor-principal);
    padding: 10px 18px;
    color: white;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: .3s;
}

.btn-sigma:hover {
    background: var(--cor-secundaria);
    transform: scale(1.05);
}

/* RESPONSIVO */
@media (max-width: 991px) {
    .navbar-sigma .container {
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
        gap: 22px;
    }

    .menu-center {
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* HERO ajustado com logo visível */
.hero {
    height: 480px;
    position: relative;
    border-radius: 0 0 45px 45px;

    background-position: center 20% !important; /* Ajuste da posição vertical */
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(228, 80, 75, 0.38); /* overlay suave #e4504b */
    transition: .3s;
    border-radius: 0 0 45px 45px;
}

.hero-text {
    position: relative;
    z-index: 10;
    text-align: center;
    top: 80%;
    transform: translateY(-50%);
}

.hero-text h1 {
    font-size: 2em;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}



/* ============================
   SERVICE CARDS
   ============================ */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    border: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: .3s;
    border-top: 6px solid var(--cor-principal);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

/* ============================
   SERVICE CARDS — TAMANHO DAS IMAGENS
   ============================ */
.service-card img {
    width: 160px;          /* Aumente aqui — 160px fica ótimo */
    height: auto;
    margin-bottom: 18px;
    border-radius: 12px;   /* deixa mais elegante */
    object-fit: cover;
}

/* ============================
   BOTÕES
   ============================ */
.btn-prime {
    background: var(--cor-principal);
    border-radius: 50px;
    padding: 14px 28px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(115, 20, 17, .4);
    transition: .3s;
}
.btn-prime:hover {
    background: var(--cor-secundaria);
    transform: scale(1.03);
}

/* ============================
   FORMULÁRIOS / CARD
   ============================ */
.card {
    border-radius: 20px !important;
    border-top: 6px solid var(--cor-secundaria);
}
.card input {
    border: 1px solid var(--cinza-claro);
}
.card input:focus {
    border-color: var(--cor-principal);
    box-shadow: 0 0 0 2px rgba(115, 20, 17, .25);
}

/* ============================
   RESULTADOS
   ============================ */
.result-ok {
    color: var(--cor-principal);
    font-weight: 700;
}
.result-error {
    color: var(--cor-secundaria);
    font-weight: 700;
}

/* ============================
   CONVÊNIOS
   ============================ */
.convenios img {
    height: 70px;
    width: auto;
    margin: 15px 25px;
    filter: grayscale(1%);
    opacity: .8;
    transition: .3s;
}
.convenios img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

/* FOOTER */
.footer-sigma {
    background: var(--cor-principal);
    color: #fff;
    border-radius: 45px 45px 0 0;
}

.footer-line {
    border-color: rgba(255, 255, 255, 0.25);
}

.footer-link {
    color: #ffeaea;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}
.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* WHATSAPP FLOAT BUTTON */
.whatsapp-btn {
    position: fixed;
    bottom: 22px;
    right: 22px;
    background: #25d366;
    padding: 16px;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 999;
    transition: .3s;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* ============================
   BOTÃO WHATSAPP
   ============================ */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    padding: 17px;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    transition: .3s;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* ============================
   CORREÇÃO: CENTRALIZAR SEÇÃO SOBRE A SIGMACARDIO
   ============================ */

.sobre-sigma-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.sobre-sigma-section .row {
    align-items: center;
}

.sobre-sigma-section img {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* MOBILE */
@media (max-width: 768px) {

    .sobre-sigma-section {
        padding: 40px 30px;     /* Evita corte nas laterais */
    }

    .sobre-sigma-section h2,
    .sobre-sigma-section p {
        text-align: center;    /* Melhor leitura no mobile */
    }

    .sobre-sigma-section .btn-prime {
        display: block;
        margin: 20px auto 0;   /* Centraliza botão */
    }
}

