/* ===========================================================
   VARIÁVEIS GLOBAIS
   -----------------------------------------------------------
   Centraliza as cores usadas em várias partes do site.
   Precisa vir ANTES do reset/body, pois eles já usam var(--light).
=========================================================== */

:root {
    --primary: #123a63;
    --primary-light: #124c7f;
    --primary-dark: #0b2239;
    --secondary: #2b2d2f;
    --light: #F7F9FC;
    --white: #ffffff;
    --text: #5e6673;
    --whatsapp: #25D366;

    /* Cor de destaque (chama): usada nos CTAs de conversão e em
       elementos que precisam "chamar a atenção" — referência
       direta ao universo da empresa (aquecedores a gás/solar). */
    --accent: #ff7a1a;
    --accent-dark: #e05e00;

    --surface-alt: #f7f8fa;
    --border: #e7ebf1;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 4px 14px rgba(18, 58, 99, .08);
    --shadow-md: 0 12px 30px rgba(18, 58, 99, .12);
    --shadow-lg: 0 20px 48px rgba(18, 58, 99, .16);
}

/* ===========================================================
   RESET
=========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Respeita a preferência do usuário por menos animações
   (acessibilidade: evita desconforto em quem ativou essa
   opção no sistema operacional). */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

body {

    font-family: 'Manrope', sans-serif;

    background-color: var(--light);

    line-height: 1.7;

}

/* Link "pular para o conteúdo": fica invisível até receber foco
   pelo teclado, ajudando quem navega com Tab a pular o menu. */
.skip-link {
    position: absolute;
    top: -50px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 0 0 8px 8px;
    z-index: 1100;
    transition: top .3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Contorno de foco visível para navegação por teclado em
   qualquer elemento interativo do site. */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 3px;
}

/* ===========================================================
   CONTAINER
=========================================================== */

.container {

    width: 90%;

    max-width: 1200px;

    margin: auto;

}

/* ===========================================================
   HEADER
=========================================================== */

header {

    position: sticky;

    top: 0;

    left: 0;

    width: 100%;

    /* Correção: usar "opacity" no header deixava o TEXTO e o
       LOGO transparentes junto com o fundo (problema de
       contraste/acessibilidade). Usar rgba() no background
       mantém o mesmo efeito visual translúcido, mas preserva
       a legibilidade do conteúdo. */
    background: rgba(43, 45, 47, 0.90);

    box-shadow: 0 2px 20px rgba(0, 0, 0, .08);

    z-index: 999;

    padding: 0;

    /* Transição suave do padding/sombra ao rolar a página,
       controlada por classe (ver .header-scrolled) em vez de
       estilo inline via JS — evita reflows repetidos. */
    transition: padding .3s ease, box-shadow .3s ease;

}

/* Aplicada via JS quando a página é rolada além de 80px. */
header.header-scrolled {
    padding: 5px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

header .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    height: 85px;

}

.logo img {

    height: 80px;

    /* Correção do bug de logo "achatada": sem isso, o atributo
       width definido no HTML (usado para evitar layout shift)
       força uma largura fixa e distorce a imagem sempre que a
       proporção real do arquivo for diferente. width:auto
       garante que a proporção original seja sempre respeitada. */
    width: auto;

    max-width: 100%;

    object-fit: contain;

}

nav ul {

    display: flex;

    gap: 26px;

    list-style: none;

}

/* Agrupa o menu, o CTA de orçamento e o botão hambúrguer do
   lado direito do header. */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

/* CTA fixo na navbar: reforça a chamada para orçamento em
   qualquer ponto de rolagem da página (o header é sticky). */
.btn-header {
    background: var(--accent);
    color: var(--white);
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    transition: transform .3s ease, background .3s ease;
}

.btn-header:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

nav a {

    position: relative;

    text-decoration: none;

    color: #fdfeff;

    font-weight: 600;

    padding: 10px 0;

    transition: .3s;

}

nav a:hover {

    color: #123A63;

}

nav a:hover::after {

    width: 100%;

}

nav a::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: -6px;

    width: 0;

    height: 2px;

    background: #123A63;

    border-radius: 0px;

    transform: translateX(-50%);

    transition: width .35s ease;

}

/* Indica visualmente o link da seção atual (adicionado via
   classe "active" no HTML). Reaproveita o mesmo padrão visual
   do estado hover para manter consistência. */
nav a.active {
    color: #123A63;
}

nav a.active::after {
    width: 100%;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    white-space: nowrap;
}

.header-phone:hover {
    text-decoration: underline;
}

/* No mobile, esconde o texto e deixa só o ícone,
   para não estourar o espaço do header */
@media (max-width: 768px) {
    .header-phone span {
        display: none;
    }
}


/* ===========================================================
   BOTÃO HAMBÚRGUER (MENU MOBILE)
   -----------------------------------------------------------
   Antes inexistente no CSS: o botão só ganhava "display:block"
   dentro do media query, mas nunca tinha aparência de ícone,
   ficando invisível para o usuário no celular.
=========================================================== */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;

    width: 28px;
    height: 20px;

    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fdfeff;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}

/* Transforma as 3 linhas em um "X" quando o menu está aberto. */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}


/* ===========================================================
   HERO
=========================================================== */

.hero {
    /* Correção: faltava "position: relative" para que o
       pseudo-elemento ::before (posicionado como "absolute")
       fosse calculado em relação a esta seção, e não à página
       inteira. */
    position: relative;

    min-height: 650px;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("../img/Fundo-hero.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}

.hero::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;


    background: #fff;


    border-radius: 30px;

    z-index: -1;

}


/* Correção: o seletor original era ".hero-text span", mas o
   HTML não possui nenhum elemento com a classe "hero-text" —
   o texto de destaque ("Especialistas em...") nunca recebia
   esta cor. Ajustado para o elemento real (".hero-tag") e
   corrigido o valor inválido "600px" em font-weight (que não
   aceita unidade). */
.hero-tag {

    color: #146da7;

    font-weight: 600;

}



.hero-buttons {

    display: flex;

    gap: 20px;

    margin-top: 40px;

}

.hero-content {
    width: min(70%, 1200px);
    margin: 0 auto;
    color: white;

}

.btn-primary {

    /* Antes o botão principal era azul-marinho (#124c7f), quase
       a mesma cor do overlay do Hero — pouco contraste, pouco
       "chamativo". A cor de destaque cria um CTA muito mais
       visível e reforça a hierarquia: laranja = ação principal. */
    background: var(--accent);

    color: var(--white);

    padding: 18px 36px;

    border-radius: var(--radius-sm);

    text-decoration: none;

    font-weight: 700;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    box-shadow: 0 10px 25px rgba(255, 122, 26, .35);

    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;

}

.btn-primary:hover {

    transform: translateY(-4px);

    background: var(--accent-dark);

    box-shadow: 0 14px 32px rgba(255, 122, 26, .45);

}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Botão pequeno usado dentro de cards (serviços, produtos). */
.btn-primary.btn-small {
    padding: 12px 22px;
    font-size: 14px;
    box-shadow: none;
}

.btn-primary.btn-small:hover {
    box-shadow: 0 8px 18px rgba(255, 122, 26, .35);
}

.btn-secondary {

    border: 2px solid var(--white);

    padding: 16px 34px;

    border-radius: var(--radius-sm);

    text-decoration: none;

    font-weight: 600;

    transition: .35s;

    color: white;

}

.btn-secondary:hover {

    background: var(--white);

    color: var(--primary);

}

/* Variante para uso sobre fundos claros (cards de produtos e
   serviços) — o .btn-secondary original só funciona bem sobre
   o fundo escuro do Hero. */
.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}



.mini-card {

    background: white;

    padding: 20px;

    border-radius: 10px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .10);

    min-width: 170px;

    transition: .2s;

}

.mini-card:hover {

    transform: translateY(-5px);

}

.mini-card h3 {

    color: #124c7f;

    font-size: 28px;

}

.mini-card span {

    color: #666;

    font-size: 14px;

}


/* ===========================================================
   TÍTULOS
=========================================================== */

section {

    padding: 90px 0;

}

section h2 {

    text-align: center;

    font-size: 40px;

    color: #10223b;

    margin-bottom: 15px;

}

/* ==========================================================
   SERVIÇOS
========================================================== */

.services {
    padding: 110px 0;
    background: #f7f8fa;
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title span {
    color: #123a63;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2 {
    margin: 15px 0;
    font-size: 42px;
    color: #0b2239;
}

.section-title h2 strong {
    color: #123a63;
}

.section-title p {
    color: #5e6673;
    line-height: 1.8;
    font-size: 17px;
}


/* GRID */

.services-grid {
    width: 90%;
    max-width: 1250px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}


/* CARD */

.service-card {
    background: #ffffff;

    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .07);

    /* transition definida em conjunto com a animação de
       entrada (reveal-on-scroll), na seção "ANIMAÇÕES". */
}

.service-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, .12);
}


/* IMAGEM */

.service-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}


/* CONTEÚDO */

.service-content {
    padding: 28px;
}


/* TÍTULO */

.service-title {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-bottom: 25px;
}

.service-title h3 {
    color: #0b2239;

    font-size: 24px;
    line-height: 1.2;
}


/* ÍCONE */

.service-icon {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #1267d6;

    color: white;

    font-size: 25px;
}


/* LISTA */

.service-list {
    list-style: none;

    display: flex;
    flex-direction: column;

    gap: 13px;

    margin-bottom: 28px;
}

.service-list li {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    color: #26384d;

    font-size: 16px;
    line-height: 1.5;
}

.service-list li i {
    color: #159447;

    margin-top: 4px;

    font-size: 14px;

    flex-shrink: 0;
}


/* BADGES */

.service-badges {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.service-badges span {
    padding: 7px 11px;

    border-radius: 7px;

    color: white;

    font-size: 13px;
    font-weight: 700;
}

.badge-green {
    background: #159447;
}

.badge-blue {
    background: #1267d6;
}





/* ===========================================================
   SOBRE A EMPRESA
=========================================================== */



.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
}


/* IMAGENS */

.about-images {
    position: relative;
    min-height: 500px;
}

.about-image {
    position: absolute;
    overflow: hidden;
    border-radius: 10px;

}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* IMAGEM PRINCIPAL */

.about-image-main {
    width: 78%;
    height: 430px;
    left: 0;
    top: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}


/* SEGUNDA IMAGEM */

.about-image-secondary {
    width: 52%;

    right: 0;
    bottom: 0;

}


/* TEXTO */

.about-text {
    max-width: 550px;
    color: #123A63;
}

.about-text span {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text h2 {
    margin: 12px 0 25px;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 18px;
}

/* ===========================================================
   DIFERENCIAIS
=========================================================== */

.features {

    background: #2b2d2f;
    color: #123A63;

}

.features h2 {
    color: #efefef;
}

.feature-grid {

    width: 90%;

    max-width: 1200px;

    margin: 50px auto 0;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 25px;

    /* A lista agora usa <ul>/<li> semântico (era <div> antes),
       então é preciso remover o marcador e o espaçamento padrão. */
    list-style: none;

}

.feature-item {

    background: #f8fbff;

    padding: 25px;

    border-radius: 15px;

    font-size: 17px;

    font-weight: 500;

    transition: transform .3s, box-shadow .3s, opacity .8s ease;

    border-left: 5px solid #123A63;

}



.feature-item:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

}






/* ==========================================================
   MISSÃO
========================================================== */

.mission {
    background: #0d6efd;
    color: #ffffff;
    padding: 110px 40px;
    overflow: hidden;
}

.mission-content {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}


/* TEXTO */

.mission-text {
    max-width: 600px;
}

.mission-text span {
    display: block;
    margin-bottom: 15px;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mission-text h2 {
    color: #ffffff;
    text-align: left;

    font-size: 44px;
    line-height: 1.2;

    margin-bottom: 30px;
}

.mission-text p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 22px;
}


/* IMAGENS */

.mission-images {
    position: relative;
    min-height: 550px;
}

.mission-image {
    position: absolute;

    overflow: hidden;
    border-radius: 18px;

    box-shadow: 0 20px 45px rgba(0, 0, 0, .25);

    opacity: 1;

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.mission-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* IMAGEM 1 */

.mission-image-1 {
    width: 58%;
    height: 330px;

    left: 0;
    top: 0;

    transform: translateY(70px);
}


/* IMAGEM 2 */

.mission-image-2 {
    width: 48%;
    height: 270px;

    right: 0;
    top: 100px;

    transform: translateX(70px);
}


/* IMAGEM 3 */

.mission-image-3 {
    width: 55%;
    height: 230px;

    left: 25%;
    bottom: 0;

    transform: translateY(70px);
}


/* QUANDO APARECER */

.mission.visible .mission-image {
    opacity: 1;
    transform: translate(0);
}


/* ENTRADA EM SEQUÊNCIA */

.mission.visible .mission-image-1 {
    transition-delay: .1s;
}

.mission.visible .mission-image-2 {
    transition-delay: .3s;
}

.mission.visible .mission-image-3 {
    transition-delay: .5s;
}




/* ===========================================================
   COMO FUNCIONA (PROCESSO DE ATENDIMENTO)
=========================================================== */

.process {
    background: var(--white);
}

.process-steps {
    max-width: 1200px;
    margin: 60px auto 0;
    width: 90%;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;

    position: relative;
}

/* Linha conectando os passos: só faz sentido em telas largas,
   onde os 4 cartões ficam lado a lado numa sequência visual. */
.process-steps::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg,
            var(--border) 0,
            var(--border) 8px,
            transparent 8px,
            transparent 16px);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 10px;
}

.process-number {
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);
    color: var(--white);

    border-radius: 50%;
    font-size: 22px;
    font-weight: 800;

    box-shadow: var(--shadow-md);
    border: 5px solid var(--white);
}

.process-step h3 {
    color: var(--primary-dark);
    font-size: 19px;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
}


/* ===========================================================
   LOJA ATLAS (PRODUTOS)
=========================================================== */

.store {
    background: var(--surface-alt);
}

.store-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;

    max-width: 1250px;
    width: 90%;
    margin: 0 auto 15px;
}

.store-header .section-title {
    text-align: left;
    margin: 0;
    max-width: 620px;
}

/* Filtros por categoria: pílulas clicáveis que mostram/escondem
   produtos via JS (data-category), sem precisar recarregar
   nada nem depender de um back-end de e-commerce real. */
.store-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1250px;
    width: 90%;
    margin: 0 auto 45px;
}

.filter-btn {
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: .25s;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.store-grid {
    width: 90%;
    max-width: 1250px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);

    display: flex;
    flex-direction: column;

    /* transition definida em conjunto com a animação de entrada
       (reveal-on-scroll), na seção "ANIMAÇÃO REVEAL ON SCROLL". */
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Ao esconder um produto pelo filtro, o JS aplica esta classe
   em vez de "display:none" direto no HTML, isolando a regra
   de exibição dentro do CSS. */
.product-card.is-hidden {
    display: none;
}

.product-image {
    position: relative;
    height: 190px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: rgba(255, 255, 255, .92);
}

.product-image i {
    font-size: 46px;
}

/* Selo de destaque (ex: "Mais vendido", "Novidade"). */
.product-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 5px 10px;
    border-radius: 999px;
}

.product-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.product-content h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-content p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-price {
    font-size: 13px;
    color: var(--text);
    margin-bottom: 16px;
}

.product-price strong {
    display: block;
    font-size: 21px;
    color: var(--primary-dark);
}

.product-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.product-actions .btn-primary,
.product-actions .btn-outline {
    flex: 1;
}

.store-note {
    max-width: 1250px;
    width: 90%;
    margin: 30px auto 0;
    text-align: center;
    color: var(--text);
    font-size: 13px;
}

/* ---------------------------------------------------------
   MODAL "SAIBA MAIS"
   -----------------------------------------------------------
   Um único modal reutilizado por todos os produtos: o JS
   preenche o conteúdo dinamicamente a partir dos atributos
   "data-*" do card clicado, evitando 12 blocos de HTML
   escondidos duplicados.
--------------------------------------------------------- */

.product-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.product-modal.active {
    display: flex;
}

.product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 34, 57, .55);
}

.product-modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 520px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 34px;
    box-shadow: var(--shadow-lg);
}

.product-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--surface-alt);
    color: var(--primary-dark);
    font-size: 16px;
    cursor: pointer;
    transition: .25s;
}

.product-modal-close:hover {
    background: var(--border);
}

.product-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.product-modal-content .product-category {
    margin-bottom: 6px;
}

.product-modal-content h3 {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.product-modal-content p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 18px;
}

.product-modal-highlights {
    list-style: none;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-modal-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--primary-dark);
    font-size: 14px;
}

.product-modal-highlights i {
    color: #159447;
    margin-top: 3px;
}


/* ===========================================================
   DEPOIMENTOS
=========================================================== */

.testimonials {
    background: var(--white);
}

.testimonials-grid {
    max-width: 1200px;
    width: 90%;
    margin: 60px auto 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px;
}

.testimonial-stars {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: var(--primary-dark);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-dark);
    font-size: 14px;
}

.testimonial-author span {
    color: var(--text);
    font-size: 13px;
}


/* ===========================================================
   FAQ
   -----------------------------------------------------------
   Implementado com <details>/<summary> nativos: acessível e
   navegável por teclado sem depender de JavaScript extra.
=========================================================== */

.faq {
    background: var(--surface-alt);
}

.faq-list {
    max-width: 820px;
    width: 90%;
    margin: 50px auto 0;

    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 6px 26px;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    font-weight: 700;
    color: var(--primary-dark);
    font-size: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--surface-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease, background .3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: var(--white);
}

.faq-item p {
    color: var(--text);
    line-height: 1.8;
    padding-bottom: 22px;
    font-size: 15px;
}


/* ===========================================================
   FORMULÁRIO DE CONTATO
   -----------------------------------------------------------
   Como o site é estático (sem back-end/servidor de e-mail), o
   formulário monta a mensagem com os dados preenchidos e abre
   o WhatsApp já com o texto pronto — mantém a mesma estratégia
   de conversão usada no restante do site, sem prometer um
   envio por e-mail que o projeto não tem como cumprir.
=========================================================== */

.contact-form-section {
    background: var(--white);
}

.contact-form-wrapper {
    max-width: 720px;
    width: 90%;
    margin: 50px auto 0;

    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--primary-dark);
    background: var(--white);
    transition: border-color .25s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-light);
}

.form-note {
    font-size: 13px;
    color: var(--text);
    margin-top: 14px;
    text-align: center;
}

.form-note a {
    color: var(--primary);
    font-weight: 700;
}


/* ===========================================================
   CHAMADA PARA ORÇAMENTO
=========================================================== */

.cta {

    text-align: center;

    /* Fundo sólido e escuro para fechar a página com impacto —
       contrasta com a seção clara do FAQ logo acima e faz o
       botão de destaque (laranja) se sobressair ainda mais. */
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);

    padding: 100px 20px;

}

.cta h2 {

    color: var(--white);

    margin-bottom: 20px;

}

.cta p {

    max-width: 700px;

    margin: 0 auto 40px;

    color: rgba(255, 255, 255, .82);

    font-size: 18px;

}


/* ==========================================================
   RODAPÉ
========================================================== */

.footer {

    background: #202427;

    color: #ffffff;

    padding: 65px 0 0;

}


/* CONTAINER */

.footer-container {

    width: 90%;

    max-width: 1350px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        2fr 1fr 1.3fr 1.2fr;

    gap: 70px;

    padding-bottom: 55px;

}


/* COLUNAS */

.footer-column {

    display: flex;

    flex-direction: column;

}


/* LOGO */

.footer-logo {

    width: 155px;

    height: auto;

    margin-bottom: 25px;

}


/* DESCRIÇÃO */

.footer-company p {

    max-width: 500px;

    color: #d0d3d6;

    font-size: 16px;

    line-height: 1.8;

}


/* TÍTULOS */

.footer-column h3 {

    color: #ffffff;

    font-size: 19px;

    margin-bottom: 22px;

    font-weight: 700;

}


/* LISTAS */

.footer-column ul {

    list-style: none;

    padding: 0;

    margin: 0;

    display: flex;

    flex-direction: column;

    gap: 13px;

}


/* LINKS */

.footer-column li {

    color: #aeb3b8;

    font-size: 16px;

    line-height: 1.5;

}


.footer-column a {

    color: #aeb3b8;

    text-decoration: none;

    transition: .3s;

}


.footer-column a:hover {

    color: #ffffff;

}


/* CONTATO */

.footer-contact li {

    display: flex;

    align-items: center;

    gap: 13px;

}


.footer-contact i {

    width: 18px;

    color: #146da7;

    font-size: 17px;

}


/* ==========================================================
   PARTE INFERIOR (rodapé)
========================================================== */

.footer-bottom {

    width: 90%;

    max-width: 1350px;

    margin: 0 auto;

    padding: 30px 0;

    border-top: 1px solid rgba(255, 255, 255, .18);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

}


.footer-bottom p {

    margin: 0;

    color: #92979c;

    font-size: 14px;

}



/* ==========================================================
   BOTÃO WHATSAPP
========================================================== */

.whatsapp {
    position: fixed;

    right: 30px;
    bottom: 30px;

    width: 70px;
    height: 70px;

    border-radius: 50%;

    background: #25D366;
    color: #ffffff;

    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;

    font-size: 34px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .30);

    transition: .3s;

    z-index: 999;
}

.whatsapp:hover {
    transform: scale(1.1);
    background: #20b955;
}

.whatsapp-callout {
    position: fixed;

    right: 115px;
    bottom: 42px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;

    background: #ffffff;
    color: #123A63;

    border-radius: 12px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);

    font-size: 14px;
    font-weight: 700;

    z-index: 998;

    animation:
        callout-entry .7s ease forwards,
        callout-pulse 3s ease-in-out 2s infinite;
}


/* SETA */

.whatsapp-arrow {
    font-size: 22px;
    font-weight: 700;

    animation: arrow-move 1.5s ease-in-out infinite;
}

/* ==========================================
JANELA WHATSAPP
========================================== */

.whatsapp-box {

    position: fixed;

    bottom: 115px;

    right: 30px;

    width: 340px;

    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 10px 35px rgba(0, 0, 0, .25);

    display: none;

    z-index: 9999;

}

.whatsapp-header {

    background: #25D366;

    color: white;

    padding: 18px;

    display: flex;

    align-items: center;

    gap: 15px;

}

.whatsapp-header i {

    font-size: 35px;

}

.whatsapp-header h3 {

    font-size: 17px;

}

.whatsapp-header p {

    font-size: 12px;

}

#fecharWhatsapp {

    margin-left: auto;

    background: none;

    border: none;

    color: white;

    cursor: pointer;

    font-size: 22px;

}

.atendente {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px;

    cursor: pointer;

    transition: .3s;

}

.atendente:hover {

    background: #f5f5f5;

}

.atendente img {

    width: 60px;

    height: 60px;

    border-radius: 50%;

    object-fit: cover;

}

.atendente h4 {

    margin: 5px 0;

    color: #222;

}

.atendente span {

    color: #777;

    font-size: 14px;

}

.whatsapp-box.active {

    display: block;

}

/* ENTRADA */

@keyframes callout-entry {

    from {
        opacity: 0;
        transform: translateX(25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* PULSO LEVE */

@keyframes callout-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

}


/* SETA SE MOVENDO */

@keyframes arrow-move {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }

}





/* ===========================================================
   ANIMAÇÕES
=========================================================== */

/* ===========================================================
   ANIMAÇÕES-HERO
=========================================================== */


/* ===========================================================
   ANIMAÇÃO "REVEAL ON SCROLL"
   -----------------------------------------------------------
   Estado inicial (oculto/deslocado) + estado final ".is-visible"
   aplicado pelo JS via IntersectionObserver quando o elemento
   entra na viewport. Substitui a antiga manipulação de estilo
   inline feita pelo JavaScript (que usava seletores inexistentes
   como ".card" e ".hero-image").
=========================================================== */

.service-card,
.feature-item,
.cta,
.product-card,
.testimonial-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .35s ease,
        box-shadow .35s ease;
}

.service-card.is-visible,
.feature-item.is-visible,
.cta.is-visible,
.product-card.is-visible,
.testimonial-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-image img:hover {

    transform: scale(1.02);

}

.hero-info {

    display: flex;

    gap: 20px;

    margin-top: 35px;

    flex-wrap: wrap;

}

/* ==========================================================
   ANIMAÇÃO SOBRE A EMPRESA (QUEM SOMOS)
========================================================== */

.about-images,
.about-text {
    opacity: 1;
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.about-images {
    transform: translateX(-60px);
}

.about-text {
    transform: translateX(60px);
    color: #123A63;
}


/* QUANDO A SEÇÃO APARECER */

.about.visible .about-images,
.about.visible .about-text {
    opacity: 1;
    transform: translateX(0);
}






/* ==========================================================
   RESPONSIVIDADE - TABLETS/NOTEBOOKS PEQUENOS (até 1024px)
   -----------------------------------------------------------
   Breakpoint intermediário que faltava no arquivo original:
   sem ele, telas entre ~769px e 1024px (tablets em modo
   paisagem, notebooks pequenos) herdavam o layout de desktop
   completo, deixando grids de 3-4 colunas apertados demais.
========================================================== */

@media (max-width: 1024px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        gap: 40px;
        padding: 90px 30px;
    }

    .mission-content {
        gap: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero-content {
        width: 85%;
    }

    /* Novos componentes */

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

    .process-steps::before {
        display: none;
    }

    .store-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .gallery-item:nth-child(1),
    .gallery-item:nth-child(6) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-actions .btn-header {
        display: none;
    }
}

/* ==========================================================
   RESPONSIVIDADE - TABLETS
========================================================== */

@media (max-width: 768px) {

    /* HEADER */

    header .container {
        height: 70px;
    }

    .logo img {
        height: 58px;
        width: auto;
    }

    nav ul {
        gap: 12px;
    }

    nav a {
        font-size: 13px;
    }

    /* MENU */

    .menu-toggle {
        display: flex;
    }

    #mainNav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #2b2d2f;
        padding: 25px 0;
    }

    #mainNav.active {
        display: block;
    }

    #mainNav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* HERO */

    .hero {
        min-height: 650px;
        padding: 80px 0;
        background-position: center;
    }

    .hero-content {
        width: 90%;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.15;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 30px;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }

    .hero-info {
        gap: 12px;
        margin-top: 30px;
    }

    .mini-card {
        flex: 1 1 100%;
        min-width: 0;
        padding: 15px;
    }

    /* SEÇÕES */

    section {
        padding: 70px 0;
    }

    /* SERVIÇOS */

    .services {
        padding: 75px 0;
    }

    .section-title {
        width: 90%;
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* QUEM SOMOS */

    .about {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 70px 25px;
    }

    .about-images {
        min-height: 420px;
    }

    .about-image-main {
        width: 80%;
        height: 350px;
    }

    .about-image-secondary {
        width: 55%;
        height: 210px;
    }

    .about-text {
        max-width: 100%;
    }

    /* DIFERENCIAIS */

    .feature-grid {
        grid-template-columns: 1fr;
        width: 90%;
        gap: 15px;
    }

    .features h2 {
        font-size: 32px;
    }

    /* MISSÃO */

    .mission {
        padding: 80px 25px;
    }

    .mission-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .mission-text {
        max-width: 100%;
    }

    .mission-text h2 {
        font-size: 34px;
    }

    .mission-text p {
        font-size: 16px;
    }

    .mission-images {
        min-height: 450px;
    }

    .mission-image-1 {
        width: 65%;
        height: 280px;
    }

    .mission-image-2 {
        width: 50%;
        height: 220px;
        top: 80px;
    }

    .mission-image-3 {
        width: 58%;
        height: 190px;
        left: 20%;
    }

    /* RODAPÉ */

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    /* WHATSAPP */

    .whatsapp {
        width: 58px;
        height: 58px;
        right: 18px;
        bottom: 18px;
        font-size: 28px;
    }

    .whatsapp-box {
        width: calc(100% - 36px);
        right: 18px;
        bottom: 90px;
    }

    .whatsapp-callout {
        right: 90px;
        bottom: 25px;
        padding: 9px 13px;
        font-size: 12px;
    }

    .whatsapp-arrow {
        font-size: 18px;
    }

    /* NOVOS COMPONENTES EM COLUNA ÚNICA */

    .process-steps {
        grid-template-columns: 1fr;
        gap: 34px;
        max-width: 380px;
    }

    .store-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .store-header .section-title {
        text-align: left;
    }

    .store-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .contact-form-wrapper {
        padding: 30px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

}

/* ==========================================================
   RESPONSIVIDADE - CELULARES
========================================================== */

@media (max-width: 480px) {

    .hero {
        min-height: 680px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-info {
        flex-direction: column;
    }

    .mini-card {
        width: 100%;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .about-text h2 {
        font-size: 28px;
    }

    section h2 {
        font-size: 30px;
    }
    .service-card img{
        height: 220px;
    }

    .features h2 {
        font-size: 28px;
    }

    .cta h2 {
        font-size: 27px;
    }

    footer h3 {
        font-size: 24px;
    }

    .mission-images {
        min-height: 380px;
    }

    .mission-image-1 {
        height: 230px;
    }

    .mission-image-2 {
        height: 180px;
    }

    .mission-image-3 {
        height: 160px;
    }

    .mission-text h2 {
        font-size: 29px;
    }

    /* NOVOS COMPONENTES */

  

    .process-number {
        width: 56px;
        height: 56px;
        font-size: 18px;
    }

    .store-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .filter-btn {
        flex-shrink: 0;
    }

    .product-actions {
        flex-direction: column;
    }

    .faq-item summary {
        font-size: 15px;
    }

}

