/* ============================================================
   VARIÁVEIS E RESET
   ============================================================ */
:root {
    --azul-escuro:   #1a2f5a;
    --azul-nav:      #1e3a6e;
    --azul-titulo:   #1a3a7a;
    --azul-hidro:    #1a5fa0;
    --verde:         #27ae27;
    --verde-hover:   #1f9120;
    --cinza-claro:   #EEF1F4;
    --cinza-borda:   #d0d0d0;
    --texto-escuro:  #333333;
    --texto-medio:   #687374;
    --branco:        #ffffff;
    --font-base:     'Ubuntu', sans-serif;
    --shadow:        0 2px 12px rgba(0,0,0,.10);
    --radius:        4px;
    --transicao:     .3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-base);
    font-size: 15px;
    color: var(--texto-escuro);
    line-height: 1.6;
    background: #F0F0F0;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

.section-title-white {
    font-size: 26px;
    font-weight: 700;
    color: var(--branco);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 28px;
}

.section-title-blue {
    font-size: 28px;
    font-weight: 700;
    color: var(--azul-titulo);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--texto-medio);
    margin-bottom: 32px;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-family: var(--font-base);
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: background var(--transicao), transform .15s, opacity var(--transicao);
}

.btn:active { transform: scale(.97); }

.btn-whatsapp {
    background: linear-gradient(180deg, #30B32D 0%, #1e8c1b 100%);
    color: var(--branco);
}

.btn-whatsapp:hover {
    opacity: .9;
}

.btn-full { width: 100%; justify-content: center; }

.btn-hero {
    margin-top: 10px;
    font-size: 22px;
    padding: 14px 32px;
}

.btn-outline-banner {
    background: linear-gradient(180deg, #30B32D 0%, #1e8c1b 100%);
    color: var(--branco);
    font-size: 22px;
}

.btn-outline-banner:hover { opacity: .9; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--branco);
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header-logo img { height: 48px; width: auto; }

/* Desktop nav */
.nav-desktop ul {
    display: flex;
    gap: 0;
}

.nav-desktop ul li a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    color: var(--azul-escuro);
    transition: color var(--transicao);
    white-space: nowrap;
}

.nav-desktop ul li a:hover { color: var(--verde); }

/* Hambúrguer */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--azul-escuro);
    border-radius: 2px;
    transition: transform var(--transicao), opacity var(--transicao);
}

/* Animação hambúrguer → X */
.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav */
.nav-mobile {
    display: none;
    flex-direction: column;
    background: var(--azul-escuro);
    padding: 16px 20px 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.nav-mobile.open {
    display: flex;
    max-height: 500px;
}

.nav-mobile ul { display: flex; flex-direction: column; gap: 0; }

.nav-mobile-link {
    display: block;
    padding: 13px 0;
    color: var(--branco);
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,.15);
    transition: color var(--transicao);
}

.nav-mobile-link:hover { color: var(--verde); }

.nav-whatsapp {
    margin-top: 20px;
    justify-content: center;
}

/* ============================================================
   HERO  — fundo real do site
   ============================================================ */
.hero-section {
    background-image: url('../images/hero-bg.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 50px;
    overflow: hidden;
    min-height: 520px;
}

.hero-inner {
    display: flex;
    align-items: flex-end;
    gap: 32px;
    max-width: 1140px;
    margin: 0 auto;
}

.hero-content {
    flex: 1 1 0;
    padding: 60px 0 60px;
}

/* Tagline itálico */
.hero-tagline {
    font-style: italic;
    font-size: 17px;
    font-weight: 700;
    color: #0e0d0b;
    margin-bottom: 6px;
}

/* H1 grande — exatamente como o original: 55px weight 800 */
.hero-title {
    font-size: 55px;
    font-weight: 800;
    color: var(--azul-titulo);
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Subtítulo em negrito */
.hero-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--azul-titulo);
    margin-bottom: 10px;
}

.hero-desc {
    font-size: 18px;
    font-weight: 500;
    color: var(--texto-medio);
    margin-bottom: 22px;
    max-width: 480px;
}

.hero-pagamentos {
    border: 1px solid #ccc;
    background: var(--branco);
    border-radius: var(--radius);
    padding: 10px 14px;
    display: inline-block;
    margin-bottom: 16px;
    position: relative;
}

.hero-pagamentos::before {
    content: 'FORMAS DE PAGAMENTO';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--branco);
    padding: 0 8px;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
    border: 1px solid #ccc;
    border-radius: 2px;
}

.hero-pagamentos img { height: 50px; width: auto; }

.hero-urgencia {
    font-size: 15px;
    font-weight: 600;
    color: var(--azul-titulo);
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: .3px;
}

/* Imagem da mulher — alinhada à base */
.hero-image {
    flex: 0 0 auto;
    width: 38%;
    max-width: 380px;
    align-self: flex-end;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   COBERTURA SP
   ============================================================ */
.cobertura-section {
    background: var(--azul-escuro);
    padding: 56px 0;
}

.cobertura-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.cobertura-col p {
    color: rgba(255,255,255,.88);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.cobertura-col p:last-child { margin-bottom: 0; }

/* ============================================================
   QUEM SOMOS
   ============================================================ */
.sobre-section {
    background: var(--branco);
    padding: 80px;
}

.sobre-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.sobre-content { flex: 1; }

.sobre-title {
    font-size: 55px;
    font-weight: 700;
    color: var(--azul-titulo);
    margin-bottom: 20px;
    line-height: 1.3;
}

.sobre-bold {
    font-size: 18px;
    font-weight: 600;
    color: var(--texto-medio);
    line-height: 1.65;
    margin-bottom: 14px;
}

.sobre-destaque {
    font-size: 20px;
    color: var(--azul-titulo);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
    padding-right: 80px;
}

.sobre-image {
    flex: 0 0 45%;
    max-width: 45%;
    padding-left: 30px;
}

/* ============================================================
   NOSSOS SERVIÇOS
   ============================================================ */
.servicos-section {
    background: var(--branco);
    padding: 80px 80px 0;
}

.servicos-section .container {
    max-width: 100%;
    padding: 0;
}

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

.servico-card {
    background: var(--cinza-claro);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.servico-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.servico-lista {
    padding: 20px;
    flex: 1;
}

.servico-lista li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    padding: 5px 0;
    line-height: 1.5;
}

.servico-lista li i {
    color: #30B32D;
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 14px;
}

.servico-card .btn-full {
    margin: 0 16px 16px;
    width: calc(100% - 32px);
    font-size: 22px;
}

/* ============================================================
   HIDROJATEAMENTO
   ============================================================ */
.hidrojato-section {
    background: var(--branco);
    padding: 64px 0;
}

.hidrojato-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hidrojato-image {
    flex: 0 0 45%;
    max-width: 45%;
}

.hidrojato-content { flex: 1; }

.hidrojato-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--azul-hidro);
    text-transform: uppercase;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hidrojato-content p {
    font-size: 18px;
    font-weight: 600;
    color: var(--texto-medio);
    line-height: 1.75;
}

/* ============================================================
   CTA BANNER — imagem real do site
   ============================================================ */
.cta-banner-section {
    position: relative;
    background-image: url('../images/cta-bg.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 150px 0;
    text-align: center;
    overflow: hidden;
}

.cta-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(40, 40, 40, .53);
}

.cta-banner-inner {
    position: relative;
    z-index: 1;
}

.cta-banner-sub {
    font-size: 30px;
    font-weight: 400;
    color: var(--branco);
    margin-bottom: 10px;
}

.cta-banner-title {
    font-size: 45px;
    font-weight: 700;
    color: var(--branco);
    text-transform: uppercase;
    margin-bottom: 28px;
    line-height: 1.1;
}

/* ============================================================
   DIFERENCIAIS / VANTAGENS
   ============================================================ */
.diferenciais-section {
    background: var(--branco);
    padding: 100px 25px;
}

.diferenciais-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 40px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: var(--azul-titulo);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 0;
    margin-top: 20px;
}

.diferencial-card {
    background: var(--branco);
    border: 2px dashed var(--azul-escuro);
    border-radius: var(--radius);
    padding: 20px 20px;
    margin: 10px;
}

.diferencial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.diferencial-header img {
    width: 38%;
    max-width: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.diferencial-header h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--azul-titulo);
    line-height: 1.4;
}

.diferencial-card p {
    font-size: 14px;
    color: #000;
    line-height: 1.65;
}

/* ============================================================
   CLIENTES – AVALIAÇÕES GOOGLE
   ============================================================ */
.clientes-section {
    background: var(--cinza-claro);
    padding: 56px 0 64px;
    overflow: hidden;
}

.clientes-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.clientes-header .section-title-blue {
    margin-bottom: 0;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
    color: var(--azul-titulo);
}

.clientes-arrow {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--azul-titulo);
    font-size: 20px;
    padding: 6px 10px;
    border-radius: 50%;
    transition: background var(--transicao);
    line-height: 1;
}

.clientes-arrow:hover { background: rgba(26,58,122,.12); }

/* Carrossel */
.reviews-carousel-wrap {
    overflow: hidden;
    width: 100%;
}

.reviews-track {
    display: flex;
    gap: 20px;
    transition: transform .4s ease;
    will-change: transform;
}

/* Review card */
.review-card {
    flex: 0 0 calc((100% - 40px) / 3);
    background: var(--branco);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
    min-width: 0;
}

.review-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

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

.review-meta { flex: 1; }

.review-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--texto-escuro);
    margin-bottom: 3px;
}

.review-google {
    display: flex;
    align-items: center;
    gap: 4px;
}

.google-icon { flex-shrink: 0; }

.review-via {
    font-size: 11px;
    color: #888;
}

.review-stars-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.review-stars i {
    color: #fbbc04;
    font-size: 14px;
}

.review-stars .star-empty { color: #ddd; }

.review-date {
    font-size: 12px;
    color: #999;
}

.review-text {
    font-size: 13.5px;
    color: var(--texto-medio);
    line-height: 1.65;
}

/* Dots */
.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.reviews-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cinza-borda);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--transicao);
}

.reviews-dots .dot.active { background: var(--azul-titulo); }

/* ============================================================
   ORÇAMENTO CTA
   ============================================================ */
.orcamento-section {
    background: linear-gradient(180deg, var(--azul-escuro) 0%, #555 100%);
    padding: 70px 50px;
}

.orcamento-text {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.orcamento-section .btn-whatsapp {
    border: 2px dashed var(--azul-escuro);
    font-size: 18px;
    font-weight: 500;
    background: transparent;
    color: #fff;
}

.orcamento-section .btn-whatsapp:hover {
    background: rgba(255,255,255,.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #111111;
    padding: 0;
}

.footer-bar {
    padding: 20px 0;
}

.footer-line {
    border: none;
    border-top: 1px solid rgba(213,213,213,.55);
    margin-bottom: 16px;
}

.footer-copy {
    text-align: center;
    font-size: 12px;
    color: #fff;
}

/* ============================================================
   BOTÃO WHATSAPP FLUTUANTE
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,.5), 0 2px 6px rgba(0,0,0,.2);
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
}

.whatsapp-float i {
    font-size: 32px;
    color: #fff;
    line-height: 1;
}

.whatsapp-float:hover {
    transform: scale(1.10);
    box-shadow: 0 6px 24px rgba(37,211,102,.6), 0 4px 10px rgba(0,0,0,.25);
}

/* Tooltip */
.whatsapp-float-tooltip {
    position: absolute;
    right: 70px;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-base);
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity .25s ease, transform .25s ease;
}

.whatsapp-float-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right: none;
    border-left-color: #fff;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Animação de pulso */
@keyframes pulse-green {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
    70%  { box-shadow: 0 0 0 14px rgba(37,211,102,.0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,.0); }
}

.whatsapp-float {
    animation: pulse-green 2s ease-out infinite;
}

.whatsapp-float:hover {
    animation: none;
}

/* ============================================================
   ANIMAÇÕES
   ============================================================ */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

.animate-fadeInLeft {
    animation: fadeInLeft .7s ease both;
}

/* ============================================================
   RESPONSIVO – TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    /* Hero */
    .hero-title { font-size: 30px; }
    .hero-section { padding: 0 20px; }

    /* Serviços */
    .servicos-section { padding: 40px 20px 0; }

    /* Diferenciais */
    .diferenciais-section { padding: 50px 15px; }

    /* Orcamento */
    .orcamento-section { padding: 50px 20px; }
}

/* ============================================================
   RESPONSIVO – TABLET/MOBILE (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
    /* Nav */
    .nav-desktop { display: none; }
    .nav-toggle   { display: flex; }

    /* Hero */
    .hero-inner { flex-direction: column; align-items: center; gap: 0; }
    .hero-content { padding: 32px 0 24px; text-align: center; }
    .hero-title { font-size: 35px; }
    .hero-subtitle { font-size: 16px; }
    .hero-desc { max-width: 100%; margin: 0 auto 20px; font-size: 16px; }
    .hero-pagamentos { display: block; max-width: 340px; margin: 0 auto 16px; }
    .hero-image { width: 220px; margin-top: 8px; }

    /* Cobertura */
    .cobertura-grid { grid-template-columns: 1fr; gap: 0; }

    /* Sobre */
    .sobre-section { padding: 30px 15px 0; }
    .sobre-inner { flex-direction: column; gap: 32px; }
    .sobre-image { max-width: 380px; width: 100%; margin: 0 auto; padding: 50px 0 0 0; }
    .sobre-content { text-align: center; }
    .sobre-title { font-size: 32px; text-align: center; }
    .sobre-destaque { padding-right: 0; text-align: center; line-height: 1.1; }

    /* Serviços */
    .servicos-section { padding: 30px 15px 0; }
    .servicos-grid { grid-template-columns: 1fr; max-width: 480px; margin: 24px auto 0; }

    /* Hidrojato */
    .hidrojato-inner { flex-direction: column; gap: 32px; }
    .hidrojato-image { max-width: 380px; width: 100%; margin: 0 auto; flex: none; }
    .hidrojato-content { text-align: center; }

    /* CTA Banner */
    .cta-banner-title { font-size: 30px; }
    .cta-banner-section { padding: 80px 20px; }

    /* Diferenciais */
    .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
    .diferenciais-section { padding: 50px 15px; }

    /* Reviews */
    .review-card { flex: 0 0 calc(100% - 20px); }
}

/* ============================================================
   RESPONSIVO – MOBILE (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
    /* Header */
    .header-inner { height: 60px; }
    .header-logo img { height: 40px; }

    /* Hero */
    .hero-section { padding: 0 0; min-height: auto; }
    .hero-title { font-size: 35px; text-align: center; }
    .hero-urgencia { text-align: center; }
    .hero-tagline { text-align: center; }
    .btn-hero { width: 100%; justify-content: center; }
    .hero-image { max-width: 220px; }

    /* Section titles */
    .section-title-white { font-size: 22px; }
    .section-title-blue  { font-size: 22px; }
    .sobre-title { font-size: 32px; }

    /* CTA Banner */
    .cta-banner-section { padding: 56px 15px; background-attachment: scroll; }
    .cta-banner-title { font-size: 30px; line-height: 1.1; }
    .cta-banner-sub { font-size: 20px; }

    /* Diferenciais */
    .diferenciais-grid { grid-template-columns: 1fr; }
    .diferenciais-title { font-size: 18px; }
    .diferencial-header h3 { font-size: 16px; }

    /* Clientes */
    .clientes-header .section-title-blue { font-size: 18px; }

    /* Orcamento */
    .orcamento-section { padding: 10px 10px; }
    .orcamento-text { font-size: 40px; text-align: center; }

    /* Floating button smaller on mobile */
    .whatsapp-float { width: 52px; height: 52px; right: 12px; bottom: 12px; }
    .whatsapp-float i { font-size: 26px; }
    .whatsapp-float-tooltip { display: none; }
}
