/* ============================================================
   SOS PORTAS DE AÇO SP - Landing Page
   Mobile-first. Paleta aprovada pelo cliente.
   ============================================================ */

:root {
    --preto: #0D0D0D;
    --chumbo: #1F1F1F;
    --dourado: #F2B705;
    --vermelho: #C1272D;
    --branco: #FFFFFF;
    --cinza-texto: #C9C9C9;
    --cinza-borda: #333333;
    --verde-wpp: #25D366;
    --radius: 12px;
    --sombra: 0 10px 30px rgba(0, 0, 0, .45);
    --max: 1200px;
}

/* ---------- RESET ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', system-ui, sans-serif;
    background: var(--preto);
    color: var(--branco);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}
.container--estreito { max-width: 760px; }

.destaque { color: var(--dourado); }
.destaque-vermelho { color: var(--vermelho); }

/* ---------- BOTÕES ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: .95rem;
    text-align: center;
    padding: 16px 24px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
    line-height: 1.2;
}
.btn:active { transform: scale(.98); }
.btn--whatsapp {
    background: var(--vermelho);
    color: var(--branco);
    box-shadow: 0 8px 20px rgba(193, 39, 45, .4);
}
.btn--whatsapp:hover { background: #a81f24; box-shadow: 0 10px 26px rgba(193, 39, 45, .55); }
.btn--ligar {
    background: transparent;
    color: var(--dourado);
    border: 2px solid var(--dourado);
}
.btn--ligar:hover { background: var(--dourado); color: var(--preto); }
.btn--grande { font-size: 1.05rem; padding: 20px 28px; width: 100%; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--vermelho);
    color: var(--branco);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .3px;
    text-align: center;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pulse-dot {
    width: 9px; height: 9px;
    background: var(--branco);
    border-radius: 50%;
    animation: pulse 1.4s infinite;
    flex-shrink: 0;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
    70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    background: var(--preto);
    border-bottom: 1px solid var(--cinza-borda);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
}
.header__logo img { height: 52px; width: auto; }
.header__tel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dourado);
    font-weight: 700;
    font-size: .9rem;
}
.header__tel span { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 48px 0 56px;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) brightness(.5);
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(242,183,5,.18), transparent 60%),
        linear-gradient(180deg, rgba(13,13,13,.75) 0%, var(--preto) 90%);
    pointer-events: none;
}
.hero__inner { position: relative; text-align: center; }
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--dourado);
    color: var(--preto);
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .5px;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.hero__title {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 16px;
}
.hero__subtitle {
    font-size: 1rem;
    color: var(--cinza-texto);
    max-width: 620px;
    margin: 0 auto 28px;
}
.hero__subtitle strong { color: var(--branco); }
.hero__cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 22px;
}
.hero__microcopy {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    font-size: .82rem;
    color: var(--cinza-texto);
}
.hero__microcopy li { position: relative; padding-left: 20px; }
.hero__microcopy li::before {
    content: "\2713";
    position: absolute; left: 0;
    color: var(--dourado);
    font-weight: 700;
}

/* ============================================================
   SEÇÕES GENÉRICAS
   ============================================================ */
.secao { padding: 56px 0; }
.secao:nth-of-type(even) { background: var(--chumbo); }
.secao__titulo {
    font-size: 1.55rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 12px;
}
.secao__sub {
    text-align: center;
    color: var(--cinza-texto);
    margin-bottom: 36px;
}

/* Animação fade-in ao rolar */
[data-anim] { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
[data-anim].visivel { opacity: 1; transform: none; }

/* ============================================================
   SEÇÃO 2 - DOR
   ============================================================ */
.dor__grid {
    display: grid;
    gap: 14px;
    margin: 32px 0;
}
.dor__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--chumbo);
    border: 1px solid var(--cinza-borda);
    border-left: 4px solid var(--vermelho);
    padding: 16px 18px;
    border-radius: var(--radius);
}
.secao:nth-of-type(even) .dor__item { background: var(--preto); }
.dor__icone { color: var(--dourado); flex-shrink: 0; display: flex; }
.dor__item p { font-size: .95rem; }
.dor__ponte {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(242,183,5,.12), rgba(242,183,5,.04));
    border: 1px solid var(--dourado);
    border-radius: var(--radius);
    padding: 20px;
}
.dor__ponte strong { color: var(--dourado); }

/* ============================================================
   SEÇÃO 3 - SOLUÇÃO / PASSOS
   ============================================================ */
.passos {
    display: grid;
    gap: 18px;
    margin-bottom: 36px;
}
.passo {
    background: var(--preto);
    border: 1px solid var(--cinza-borda);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    position: relative;
}
.passo__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    background: var(--dourado);
    color: var(--preto);
    font-weight: 800;
    font-size: 1.3rem;
    border-radius: 50%;
    margin-bottom: 14px;
}
.passo h3 { font-size: 1.1rem; margin-bottom: 8px; }
.passo p { color: var(--cinza-texto); font-size: .92rem; }
.diferenciais {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.diferenciais li {
    background: rgba(242,183,5,.1);
    border: 1px solid rgba(242,183,5,.4);
    color: var(--branco);
    padding: 10px 16px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 500;
}

/* ============================================================
   SEÇÃO 4 - PROVA SOCIAL / NÚMEROS / DEPOIMENTOS
   ============================================================ */
.numeros {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.numero {
    text-align: center;
    background: var(--chumbo);
    border: 1px solid var(--cinza-borda);
    border-radius: var(--radius);
    padding: 22px 12px;
}
.numero__valor { font-size: 2.4rem; font-weight: 900; color: var(--dourado); }
.numero__suf { font-size: 1.4rem; font-weight: 800; color: var(--dourado); }
.numero p { font-size: .8rem; color: var(--cinza-texto); margin-top: 4px; }

.depoimentos {
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
}
.depoimento {
    background: var(--chumbo);
    border: 1px solid var(--cinza-borda);
    border-top: 3px solid var(--dourado);
    border-radius: var(--radius);
    padding: 24px;
}
.depoimento__estrelas { color: var(--dourado); letter-spacing: 2px; margin-bottom: 10px; }
.depoimento__texto { font-style: italic; margin-bottom: 18px; }
.depoimento__autor { display: flex; align-items: center; gap: 12px; }
.depoimento__foto {
    width: 46px; height: 46px;
    background: var(--vermelho);
    color: var(--branco);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}
.depoimento__autor strong { display: block; font-size: .9rem; color: var(--dourado); }
.depoimento__autor small { color: var(--cinza-texto); font-size: .8rem; }

.google-box {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    background: var(--branco);
    color: var(--preto);
    border-radius: var(--radius);
    padding: 16px 22px;
    max-width: 420px;
    margin: 0 auto;
}
.google-box strong { display: block; font-size: .95rem; }
.google-box small { color: #666; font-size: .8rem; }

/* ============================================================
   SEÇÃO 5 - SERVIÇOS
   ============================================================ */
.servicos__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.servico {
    background: var(--preto);
    border: 1px solid var(--cinza-borda);
    border-radius: var(--radius);
    padding: 24px 22px;
    transition: transform .2s ease, border-color .2s ease;
}
.servico:hover { transform: translateY(-4px); border-color: var(--dourado); }
.servico__icone {
    color: var(--dourado);
    display: inline-flex;
    margin-bottom: 12px;
}
.servico h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--dourado); }
.servico p { color: var(--cinza-texto); font-size: .9rem; }

/* ============================================================
   SEÇÃO PRODUTOS
   ============================================================ */
.produtos__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
}
.produto {
    background: var(--preto);
    border: 1px solid var(--cinza-borda);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    transition: transform .2s ease, border-color .2s ease;
}
.secao:nth-of-type(even) .produto { background: var(--chumbo); }
.produto:hover { transform: translateY(-4px); border-color: var(--dourado); }
.produto__foto {
    background: var(--branco);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 16px;
}
.produto__foto img { max-height: 160px; width: auto; object-fit: contain; }
.produto h3 { font-size: 1.05rem; color: var(--dourado); padding: 16px 18px 4px; }
.produto p { color: var(--cinza-texto); font-size: .88rem; padding: 0 18px 20px; }
.produtos__cta {
    text-align: center;
    color: var(--cinza-texto);
    font-size: .92rem;
}
.produtos__cta a { color: var(--dourado); font-weight: 700; text-decoration: underline; }

/* ============================================================
   SEÇÃO 6 - OFERTA + GARANTIA
   ============================================================ */
.oferta__inner { display: grid; gap: 32px; align-items: center; }
.oferta__tag {
    display: inline-block;
    background: var(--vermelho);
    color: var(--branco);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .5px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.oferta__inner .secao__titulo { text-align: left; }
.oferta__desc { color: var(--cinza-texto); margin-bottom: 24px; }
.garantia {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(242,183,5,.1);
    border: 1px solid var(--dourado);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}
.garantia__selo { color: var(--dourado); flex-shrink: 0; }
.garantia strong { color: var(--dourado); display: block; margin-bottom: 4px; }
.garantia p { font-size: .88rem; color: var(--cinza-texto); }
.oferta__urgencia {
    text-align: center;
    font-size: .85rem;
    color: var(--dourado);
    font-weight: 600;
    margin-top: 14px;
}

/* Foto real (banco de imagens ou foto do cliente) */
.foto-real {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--cinza-borda);
    position: relative;
}
.foto-real img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}
.foto-real figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
    color: var(--branco);
    font-size: .75rem;
    padding: 24px 14px 10px;
}

/* ============================================================
   SEÇÃO 7 - AUTORIDADE / GALERIA / SELOS
   ============================================================ */
.galeria__aviso {
    text-align: center;
    color: var(--cinza-texto);
    font-size: .8rem;
    font-style: italic;
    margin-bottom: 16px;
}
.galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 36px;
}
.galeria__item img { min-height: 150px; cursor: zoom-in; transition: transform .3s ease; }
.galeria__item:hover img { transform: scale(1.06); }
.galeria__tag {
    display: inline-block;
    background: var(--vermelho);
    color: var(--branco);
    font-size: .7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: .5px;
    margin-right: 6px;
}
.galeria__tag--depois { background: var(--dourado); color: var(--preto); }

.selos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.selo {
    background: var(--preto);
    border: 1px solid var(--cinza-borda);
    border-radius: var(--radius);
    padding: 18px 14px;
    text-align: center;
}
.selo strong { display: block; font-size: 1rem; color: var(--branco); }
.selo span { font-size: .78rem; color: var(--cinza-texto); }
.selo--destaque { background: var(--dourado); border-color: var(--dourado); }
.selo--destaque strong,
.selo--destaque span { color: var(--preto); }

/* ============================================================
   SEÇÃO 8 - FAQ
   ============================================================ */
.faq__lista { display: grid; gap: 12px; }
.faq__item {
    background: var(--chumbo);
    border: 1px solid var(--cinza-borda);
    border-radius: var(--radius);
    overflow: hidden;
}
.secao:nth-of-type(even) .faq__item { background: var(--preto); }
.faq__item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 18px 46px 18px 20px;
    position: relative;
    list-style: none;
    font-size: .98rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "+";
    position: absolute;
    right: 20px; top: 50%;
    transform: translateY(-50%);
    color: var(--dourado);
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform .2s ease;
}
.faq__item[open] summary::after { content: "\2013"; }
.faq__item p {
    padding: 0 20px 20px;
    color: var(--cinza-texto);
    font-size: .92rem;
}

/* ============================================================
   SEÇÃO 9 - CTA FINAL
   ============================================================ */
.cta-final {
    background:
        radial-gradient(circle at 50% 0%, rgba(193,39,45,.25), transparent 60%),
        var(--preto);
    text-align: center;
    border-top: 3px solid var(--dourado);
}
.cta-final__titulo { font-size: 1.6rem; font-weight: 800; margin-bottom: 22px; }
.cta-final__reforco {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin-bottom: 28px;
}
.cta-final__reforco li {
    background: var(--chumbo);
    border: 1px solid var(--dourado);
    color: var(--dourado);
    font-weight: 600;
    font-size: .82rem;
    padding: 8px 16px;
    border-radius: 50px;
}
.cta-final .btn--grande { max-width: 480px; margin: 0 auto; }
.cta-final__micro { margin-top: 16px; color: var(--cinza-texto); font-size: .88rem; }

/* ============================================================
   RODAPÉ
   ============================================================ */
.footer { background: var(--chumbo); border-top: 1px solid var(--cinza-borda); padding: 44px 0 0; }
.footer__inner { display: grid; gap: 28px; }
.footer__logo { height: 56px; width: auto; margin-bottom: 14px; }
.footer__col p { color: var(--cinza-texto); font-size: .88rem; }
.footer__col h4 { color: var(--dourado); margin-bottom: 12px; font-size: 1rem; }
.footer__col a { transition: color .2s ease; }
.footer__col a:hover { color: var(--dourado); }
.footer__base {
    border-top: 1px solid var(--cinza-borda);
    margin-top: 32px;
    padding: 18px 20px;
    text-align: center;
}
.footer__base p { color: #7a7a7a; font-size: .78rem; }

/* ============================================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================================ */
.whatsapp-flutuante {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    background: var(--verde-wpp);
    color: var(--branco);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
    animation: flutua 2.4s ease-in-out infinite;
}
.whatsapp-flutuante__label { display: none; font-weight: 700; }
@keyframes flutua {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ============================================================
   LIGHTBOX DA GALERIA
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: var(--sombra);
}
.lightbox__fechar {
    position: absolute;
    top: 16px; right: 20px;
    background: none;
    border: none;
    color: var(--branco);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
}

/* ============================================================
   BREAKPOINTS
   ============================================================ */
@media (min-width: 480px) {
    .hero__title { font-size: 2.2rem; }
    .whatsapp-flutuante { padding: 14px 22px; }
    .whatsapp-flutuante__label { display: inline; }
}

@media (min-width: 768px) {
    .top-bar { font-size: .82rem; }
    .header__tel span { display: inline; }
    .header__logo img { height: 60px; }
    .hero { padding: 72px 0 80px; }
    .hero__title { font-size: 2.9rem; }
    .hero__subtitle { font-size: 1.12rem; }
    .hero__cta { flex-direction: row; max-width: none; justify-content: center; }
    .hero__cta .btn { flex: 0 1 auto; }

    .secao { padding: 72px 0; }
    .secao__titulo { font-size: 2rem; }

    .dor__grid { grid-template-columns: 1fr 1fr; }
    .dor__grid .dor__item:last-child { grid-column: 1 / -1; }
    .passos { grid-template-columns: repeat(3, 1fr); }
    .numeros { grid-template-columns: repeat(4, 1fr); }
    .depoimentos { grid-template-columns: repeat(3, 1fr); }
    .servicos__grid { grid-template-columns: repeat(2, 1fr); }
    .produtos__grid { grid-template-columns: repeat(2, 1fr); }
    .oferta__inner { grid-template-columns: 1.1fr .9fr; }
    .galeria { grid-template-columns: repeat(3, 1fr); }
    .selos { grid-template-columns: repeat(3, 1fr); }
    .footer__inner { grid-template-columns: 2fr 1.3fr 1fr; }
    .cta-final__titulo { font-size: 2.1rem; }
}

@media (min-width: 1024px) {
    .servicos__grid { grid-template-columns: repeat(3, 1fr); }
    .produtos__grid { grid-template-columns: repeat(4, 1fr); }
    .hero__title { font-size: 3.2rem; }
}

@media (min-width: 1280px) {
    .hero__title { font-size: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    [data-anim] { opacity: 1; transform: none; }
}
