/* ================================================
   PERFIL ANDAIMES — style.css
   ================================================ */

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

/* ================================================
   VARIÁVEIS — MODO CLARO
================================================ */
:root {
  --laranja:       #F47C20;
  --laranja-esc:   #D4650A;
  --azul:          #0F2D5E;
  --azul-medio:    #1A4080;
  --azul-claro:    #1E5AA8;
  --nav-h:         70px;
  --tr:            0.3s ease;

  --bg:            #ffffff;
  --bg-alt:        #F5F6F8;
  --bg-card:       #ffffff;
  --txt:           #222222;
  --txt-sec:       #555555;
  --borda:         rgba(0,0,0,0.08);
  --sombra:        0 2px 16px rgba(15,45,94,0.08);
  --sombra-hover:  0 16px 36px rgba(15,45,94,0.18);
  --footer-bg:     #081d3e;
}

/* ================================================
   MODO ESCURO
================================================ */
[data-theme="dark"] {
  --bg:            #0d1117;
  --bg-alt:        #161b22;
  --bg-card:       #1c2333;
  --txt:           #e6edf3;
  --txt-sec:       #8b949e;
  --borda:         rgba(255,255,255,0.08);
  --sombra:        0 2px 16px rgba(0,0,0,0.4);
  --sombra-hover:  0 16px 36px rgba(0,0,0,0.5);
  --footer-bg:     #010409;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--txt);
  transition: background .4s ease, color .4s ease;
  /* SEM overflow-x hidden aqui — quebra position:fixed no iOS */
}

/* ================================================
   BARRA DE PROGRESSO
================================================ */
#barra-progresso {
  position: fixed; top: 0; left: 0;
  width: 0%; height: 4px;
  background: var(--laranja);
  z-index: 9999;
  transition: width .15s ease;
  pointer-events: none;
}

/* ================================================
   BOTÃO TOPO
================================================ */
#btn-topo {
  position: fixed; right: 28px; bottom: 105px;
  width: 50px; height: 50px;
  border: none; border-radius: 50%;
  background: var(--azul); color: #fff;
  font-size: 22px; font-weight: bold;
  cursor: pointer; z-index: 998;
  box-shadow: 0 4px 16px rgba(15,45,94,.35);
  transition: transform var(--tr), background var(--tr), opacity var(--tr);
  /* começa escondido */
  opacity: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
#btn-topo.visivel { opacity: 1; pointer-events: auto; }
#btn-topo:hover   { transform: translateY(-4px); background: var(--laranja); }

/* ================================================
   TOGGLE DARK MODE — pill switch
================================================ */
#toggle-dark,
#toggle-dark-mobile {
  width: 50px; height: 26px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.35);
  background: transparent;
  position: relative; cursor: pointer;
  flex-shrink: 0; transition: border-color var(--tr), background var(--tr);
  /* icone sol no claro, lua no escuro — via pseudo */
}

#toggle-dark::before,
#toggle-dark-mobile::before {
  content: '☀';
  position: absolute;
  top: 50%; left: 4px;
  transform: translateY(-50%);
  font-size: 14px; line-height: 1;
  transition: left .35s ease, content .1s;
}

[data-theme="dark"] #toggle-dark,
[data-theme="dark"] #toggle-dark-mobile {
  border-color: var(--laranja);
  background: rgba(244,124,32,.18);
}

[data-theme="dark"] #toggle-dark::before,
[data-theme="dark"] #toggle-dark-mobile::before {
  content: '🌙';
  left: 22px;
}

/* ================================================
   NAVBAR
================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--azul);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: var(--nav-h);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
  transition: background var(--tr);
}
nav.scrolled { background: #081d3e; }
[data-theme="dark"] nav         { background: #010d1f; }
[data-theme="dark"] nav.scrolled{ background: #000509; }

.logo-img {
  width: 46px; height: 46px;
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
}

.logo-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 1.6rem;
  color: #fff; text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  transition: opacity var(--tr);
}
.logo-link:hover { opacity: .85; }
.logo-link span  { color: var(--laranja); }

/* nav menu desktop */
#nav-menu {
  list-style: none;
  display: flex; align-items: center; gap: 1.6rem;
}
#nav-menu a {
  color: rgba(255,255,255,.85);
  text-decoration: none; font-size: .95rem; font-weight: 500;
  letter-spacing: .03em; transition: color var(--tr);
}
#nav-menu a:hover { color: var(--laranja); }

.nav-orcamento {
  background: var(--laranja) !important;
  color: #fff !important;
  padding: .5rem 1.2rem;
  border-radius: 4px; font-weight: 600 !important;
}
.nav-orcamento:hover { background: var(--laranja-esc) !important; }

/* hamburguer */
#btn-menu {
  display: none; flex-direction: column;
  justify-content: center; gap: 5px;
  cursor: pointer; background: none; border: none;
  padding: 6px; z-index: 101;
}
#btn-menu span {
  display: block; width: 26px; height: 2px;
  background: #fff; border-radius: 10px;
  transition: transform .35s ease, opacity .25s ease;
  transform-origin: center;
}
#btn-menu.ativo span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#btn-menu.ativo span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#btn-menu.ativo span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* overlay mobile */
#menu-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 98;
  opacity: 0; transition: opacity .35s ease;
  /* touch-action:none impede scroll por baixo sem quebrar cliques */
  touch-action: none;
}
#menu-overlay.visivel {
  opacity: 1;
  display: block; /* garante que está visível e interceptando toques */
}

/* linha dark no menu mobile */
.menu-dark-row {
  display: none; /* aparece só no mobile via media query */
}

/* ================================================
   HERO
   IMPORTANTE: sem overflow:hidden aqui —
   bloqueava cliques em iOS
================================================ */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg,rgba(15,45,94,.93) 0%,rgba(15,45,94,.7) 60%,rgba(244,124,32,.6) 100%),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80') center/cover no-repeat;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 50px) 5% 100px;
  position: relative;
}
[data-theme="dark"] .hero {
  background:
    linear-gradient(135deg,rgba(1,13,31,.96) 0%,rgba(1,13,31,.82) 60%,rgba(212,101,10,.55) 100%),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80') center/cover no-repeat;
}

/* curva embaixo do hero — z-index:0 garante que NÃO fique sobre os botões */
.hero::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 0;                  /* ← abaixo do conteúdo */
  pointer-events: none;        /* ← nunca bloqueia cliques */
  transition: background .4s ease;
}

.hero-conteudo {
  max-width: 660px;
  position: relative; z-index: 1; /* ← acima da curva */
  animation: entradaHero 1s ease both;
}

.hero-badge {
  display: inline-block;
  background: var(--laranja); color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: clamp(2.8rem,6vw,5rem);
  line-height: 1; color: #fff;
  text-transform: uppercase; letter-spacing: .01em;
  margin-bottom: 1.2rem;
  animation: flutuar 4s ease-in-out 1.5s infinite;
}
.hero h1 span { color: var(--laranja); }

.hero p {
  font-size: 1.1rem; color: rgba(255,255,255,.88);
  line-height: 1.7; max-width: 520px; margin-bottom: 2.5rem;
}

.hero-botoes {
  display: flex; gap: 1rem; flex-wrap: wrap;
  position: relative; z-index: 2; /* ← garante que fique acima de tudo */
}

.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap;
}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 2.2rem;
  color: var(--laranja); line-height: 1;
}
.stat-label { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: .2rem; }

/* ================================================
   BOTÕES
================================================ */
.btn-laranja, .btn-contorno, .btn-branco, .btn-card {
  position: relative; overflow: hidden;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; border-radius: 4px;
  text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
  /* área de toque mínima */
  min-height: 44px; padding: .75rem 1.8rem; font-size: 1rem;
  -webkit-tap-highlight-color: transparent;
}

/* brilho ao hover */
.btn-laranja::after, .btn-branco::after, .btn-card::after {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,.2);
  transform: skewX(-25deg);
  transition: left .6s ease;
  pointer-events: none;
}
.btn-laranja:hover::after,
.btn-branco:hover::after,
.btn-card:hover::after { left: 120%; }

.btn-laranja {
  background: var(--laranja); color: #fff;
}
.btn-laranja:hover { background: var(--laranja-esc); transform: translateY(-2px); }

.btn-contorno {
  border: 2px solid rgba(255,255,255,.5); color: #fff;
}
.btn-contorno:hover { border-color: var(--laranja); background: rgba(244,124,32,.1); }

.btn-branco {
  background: #fff; color: var(--laranja-esc);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.btn-branco:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,.25); }

.btn-card {
  background: var(--azul); color: #fff;
  text-align: center; justify-content: center;
  width: 100%; margin-top: auto;
  font-size: .92rem;
}
[data-theme="dark"] .btn-card { background: var(--laranja); }
.btn-card:hover { background: var(--azul-claro); }
[data-theme="dark"] .btn-card:hover { background: var(--laranja-esc); }

/* ================================================
   SEÇÕES — BASE
================================================ */
section { padding: 90px 5%; }

.secao-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--laranja); margin-bottom: .6rem; display: block;
}

.secao-titulo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: clamp(2rem,4vw,3rem);
  text-transform: uppercase; color: var(--azul);
  line-height: 1.05; margin-bottom: 1.2rem;
  transition: color .4s ease;
}
[data-theme="dark"] .secao-titulo { color: var(--txt); }
.secao-titulo span { color: var(--laranja); }

.secao-texto {
  font-size: 1.05rem; color: var(--txt-sec); line-height: 1.8; max-width: 580px;
}

.secao-header {
  text-align: center; max-width: 700px;
  margin: 0 auto 4rem;
}
.secao-header .secao-texto { margin: 0 auto; }

/* ================================================
   SOBRE
================================================ */
.sobre { background: var(--bg); }
.sobre-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.sobre-foto-wrap { position: relative; }
.sobre-foto-wrap img {
  width: 100%; border-radius: 8px;
  object-fit: cover; height: 480px; display: block;
}
.sobre-detalhe {
  position: absolute; bottom: -20px; right: -20px;
  width: 180px; height: 180px;
  background: var(--laranja); border-radius: 8px; z-index: -1;
}
.sobre-badge {
  position: absolute; top: 20px; left: -20px;
  background: var(--azul); color: #fff;
  padding: 1rem 1.4rem; border-radius: 6px;
  text-align: center; box-shadow: 0 4px 24px rgba(15,45,94,.12);
}
[data-theme="dark"] .sobre-badge { background: #0d1f3c; }
.sobre-badge strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 900;
  color: var(--laranja); display: block; line-height: 1;
}
.sobre-badge span { font-size: .78rem; color: rgba(255,255,255,.8); }

.diferenciais-grid {
  margin-top: 2.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.dif-item { display: flex; align-items: flex-start; gap: .75rem; }
.dif-icone {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(244,124,32,.1); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.dif-icone svg { width: 20px; height: 20px; fill: var(--laranja); }
.dif-item strong {
  font-weight: 600; font-size: .95rem; color: var(--azul); display: block;
  transition: color .4s ease;
}
[data-theme="dark"] .dif-item strong { color: var(--txt); }
.dif-item span { font-size: .85rem; color: var(--txt-sec); }

/* ================================================
   PRODUTOS
================================================ */
.produtos { background: var(--bg-alt); }
.produtos-grade {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 1.5rem; max-width: 1200px; margin: 0 auto;
}
.card-produto {
  background: var(--bg-card); border-radius: 10px;
  overflow: hidden; box-shadow: var(--sombra);
  border: 1px solid var(--borda);
  transition: transform .25s ease, box-shadow .25s ease, background .4s ease;
  display: flex; flex-direction: column;
}
.card-produto:hover { transform: translateY(-8px); box-shadow: var(--sombra-hover); }
.card-foto {
  height: 200px; position: relative; overflow: hidden; flex-shrink: 0;
}
.card-foto img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; top: 0; left: 0;
  transition: transform .4s ease;
}
.card-produto:hover .card-foto img { transform: scale(1.06); }
.card-corpo {
  padding: 1.4rem 1.5rem;
  display: flex; flex-direction: column; flex: 1;
}
.card-corpo h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 1.3rem;
  text-transform: uppercase; color: var(--azul);
  margin-bottom: .6rem; transition: color .4s ease;
}
[data-theme="dark"] .card-corpo h3 { color: var(--laranja); }
.card-corpo > p {
  font-size: .9rem; color: var(--txt-sec);
  line-height: 1.65; margin-bottom: 1.2rem;
}
.card-lista {
  list-style: none; flex: 1;
  display: flex; flex-direction: column; gap: .35rem;
  margin-bottom: 1.4rem;
}
.card-lista li {
  font-size: .85rem; color: var(--txt-sec);
  display: flex; align-items: center; gap: .5rem;
}
.card-lista li::before {
  content: ''; width: 7px; height: 7px; flex-shrink: 0;
  background: var(--laranja); border-radius: 50%;
}

/* ================================================
   GALERIA
================================================ */
.galeria { background: var(--bg); }
.galeria-grade {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 20px;
}
.galeria-grade img {
  width: 100%; height: 260px; object-fit: cover;
  border-radius: 12px; box-shadow: var(--sombra);
  transition: transform .4s ease, box-shadow .4s ease; cursor: pointer;
}
.galeria-grade img:hover { transform: scale(1.04); box-shadow: var(--sombra-hover); }

/* ================================================
   POR QUÊ NÓS
================================================ */
.porque { background: var(--azul); position: relative; overflow: hidden; }
[data-theme="dark"] .porque { background: #0a1628; }
.porque::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  border: 60px solid rgba(244,124,32,.08); pointer-events: none;
}
.porque-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.porque .secao-titulo { color: #fff; }
.porque .secao-texto  { color: rgba(255,255,255,.75); }

.motivos-lista { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.motivo { display: flex; gap: 1.2rem; align-items: flex-start; }
.motivo-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 2.5rem;
  color: rgba(244,124,32,.25); line-height: 1; min-width: 48px;
}
.motivo strong { font-weight: 600; color: #fff; font-size: 1rem; display: block; margin-bottom: .2rem; }
.motivo p { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.6; }

.numeros-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.numero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 1.5rem;
  transition: background var(--tr);
}
.numero-card:hover { background: rgba(255,255,255,.1); }
.numero-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 2rem; color: var(--laranja); margin-bottom: .3rem;
}
.numero-label { font-size: .85rem; color: rgba(255,255,255,.7); }

/* ================================================
   AVALIAÇÕES
================================================ */
.avaliacoes { background: var(--bg-alt); }
.avaliacoes-grade {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 25px; align-items: stretch;
}
.avaliacao-card {
  background: var(--bg-card); padding: 30px;
  border-radius: 15px; box-shadow: var(--sombra);
  border: 1px solid var(--borda);
  transition: transform .35s ease, box-shadow .35s ease, background .4s ease;
  display: flex; flex-direction: column; position: relative;
}
.avaliacao-card::before {
  content: "❝"; position: absolute; top: 15px; right: 20px;
  font-size: 4rem; color: rgba(244,124,32,.08); font-family: serif; line-height: 1;
}
.avaliacao-card:hover { transform: translateY(-8px); box-shadow: var(--sombra-hover); }
.estrelas { color: var(--laranja); font-size: 1.3rem; margin-bottom: 15px; letter-spacing: 2px; }
.avaliacao-card p { color: var(--txt-sec); line-height: 1.8; margin-bottom: 25px; flex: 1; }
.cliente-info { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.cliente-info img {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--laranja);
  transition: transform var(--tr);
}
.avaliacao-card:hover .cliente-info img { transform: scale(1.08); }
.cliente-info h4 { color: var(--azul); font-weight: 700; transition: color .4s ease; }
[data-theme="dark"] .cliente-info h4 { color: var(--laranja); }

/* ================================================
   CTA
================================================ */
.cta-secao {
  background: var(--laranja); padding: 70px 5%; text-align: center;
}
[data-theme="dark"] .cta-secao { background: #a0520e; }
.cta-secao h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: clamp(2rem,4vw,3.2rem);
  text-transform: uppercase; color: #fff; margin-bottom: 1rem;
}
.cta-secao p { color: rgba(255,255,255,.88); font-size: 1.05rem; margin-bottom: 2rem; }

/* ================================================
   FAQ
================================================ */
.faq { background: var(--bg-alt); }
.faq-lista {
  max-width: 900px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: var(--bg-card); border-radius: 10px;
  overflow: hidden; box-shadow: var(--sombra); border: 1px solid var(--borda);
}
.faq-pergunta {
  width: 100%; padding: 18px 20px;
  background: var(--azul); color: #fff;
  border: none; outline: none; text-align: left;
  font-size: 1rem; font-weight: 600; font-family: 'Barlow', sans-serif;
  cursor: pointer; transition: background var(--tr);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
[data-theme="dark"] .faq-pergunta { background: #0d1f3c; }
.faq-pergunta span {
  font-size: 1.4rem; font-weight: 300; flex-shrink: 0;
  transition: transform .3s ease; display: inline-block;
}
.faq-item.ativo .faq-pergunta span { transform: rotate(45deg); }
.faq-pergunta:hover { background: var(--azul-medio); }
[data-theme="dark"] .faq-pergunta:hover { background: #1a3260; }
.faq-resposta {
  display: none; padding: 18px 20px;
  color: var(--txt-sec); line-height: 1.7; font-size: .95rem;
  border-top: 1px solid var(--borda); background: var(--bg-card);
}
.faq-item.ativo .faq-resposta { display: block; }

/* ================================================
   FOOTER
================================================ */
footer {
  background: var(--footer-bg); color: rgba(255,255,255,.65);
  padding: 60px 5% 30px; transition: background .4s ease;
}
.footer-grade {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; max-width: 1200px; margin: 0 auto;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-marca {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 1.5rem; color: #fff;
  margin-bottom: 1rem; display: block;
}
.footer-marca span { color: var(--laranja); }
footer p { font-size: .9rem; line-height: 1.7; }

.footer-titulo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: .8rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--laranja); margin-bottom: 1rem; display: block;
}
.footer-nav {
  list-style: none; display: flex; flex-direction: column; gap: .4rem;
}
.footer-nav a {
  color: rgba(255,255,255,.65); text-decoration: none;
  font-size: .9rem; transition: color var(--tr);
  /* área de toque adequada */
  display: flex; align-items: center;
  min-height: 44px; padding: 4px 0;
}
.footer-nav a:hover { color: var(--laranja); }

.footer-contato { display: flex; flex-direction: column; gap: .4rem; }
.footer-contato a,
.footer-contato span {
  color: rgba(255,255,255,.65); text-decoration: none;
  font-size: .9rem; display: flex; align-items: center; gap: .5rem;
  min-height: 44px; transition: color var(--tr);
}
.footer-contato a:hover { color: var(--laranja); }

.footer-rodape {
  max-width: 1200px; margin: 25px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; flex-wrap: wrap; gap: .5rem;
}

/* ================================================
   WHATSAPP FLUTUANTE
================================================ */
.wa-flutuante {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  background: #25D366; color: #fff;
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--tr), box-shadow var(--tr);
  animation: pulseWa 2.5s infinite;
}
.wa-flutuante:hover {
  transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); animation: none;
}
.wa-flutuante svg { width: 30px; height: 30px; fill: #fff; }
.wa-dica {
  position: absolute; right: 72px;
  background: var(--azul); color: #fff;
  font-size: .82rem; font-weight: 600;
  padding: .4rem .8rem; border-radius: 4px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity var(--tr);
}
.wa-flutuante:hover .wa-dica { opacity: 1; }

/* ================================================
   ANIMAÇÕES DE ENTRADA
================================================ */
.vai-aparecer {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.apareceu { opacity: 1; transform: translateY(0); }

/* ================================================
   KEYFRAMES
================================================ */
@keyframes entradaHero {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes flutuar {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes pulseWa {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,.75), 0 0 0 8px rgba(37,211,102,.1); }
}

/* ================================================
   RESPONSIVO — TABLET ≤ 900px
================================================ */
@media (max-width: 900px) {

  #btn-menu { display: flex; }

  /* toggle dark desktop some, reaparece no menu mobile */
  #toggle-dark { display: none; }

  /* linha dark no menu mobile aparece */
  .menu-dark-row {
    display: flex !important;
    align-items: center; justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    width: 100%;
  }
  .menu-dark-row span { font-size: .9rem; color: rgba(255,255,255,.7); }

  /* gaveta lateral */
  #nav-menu {
    position: fixed; top: 0; right: -100%;
    width: min(300px,80vw); height: 100dvh;
    background: #081d3e;
    flex-direction: column; align-items: flex-start;
    padding: calc(var(--nav-h) + 20px) 28px 40px;
    gap: 0;
    transition: right .4s ease;
    z-index: 99; overflow-y: auto;
    box-shadow: -8px 0 30px rgba(0,0,0,.3);
  }
  [data-theme="dark"] #nav-menu { background: #010d1f; }

  #nav-menu.aberto { right: 0; }
  #menu-overlay    { display: block; }

  #nav-menu li { width: 100%; }

  #nav-menu a {
    display: flex; align-items: center;
    min-height: 48px; padding: 10px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  .nav-orcamento {
    display: flex !important; justify-content: center;
    margin-top: 10px; padding: 14px !important;
    border-bottom: none !important; border-radius: 4px;
  }

  /* layouts */
  .sobre-inner, .porque-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grade  { grid-template-columns: 1fr; gap: 2rem; }
  .sobre-foto-wrap { order: -1; }
  .sobre-badge   { left: 10px; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .numeros-grade { grid-template-columns: 1fr 1fr; }
  .footer-rodape { flex-direction: column; text-align: center; }
}

/* ================================================
   RESPONSIVO — MOBILE ≤ 600px
================================================ */
@media (max-width: 600px) {
  section { padding: 60px 5%; }
  .hero   { padding: calc(var(--nav-h) + 30px) 5% 60px; }

  .hero-botoes   { flex-direction: column; }
  .btn-laranja,
  .btn-contorno  { justify-content: center; text-align: center; width: 100%; }

  .numeros-grade { grid-template-columns: 1fr; }
  .galeria-grade { grid-template-columns: 1fr 1fr; }
  .galeria-grade img { height: 180px; }
  .avaliacoes-grade  { grid-template-columns: 1fr; }
  .sobre-foto-wrap img { height: 300px; }
  .sobre-detalhe { display: none; }
  .sobre-badge   { left: 10px; top: 10px; }

  #btn-topo {
    right: 16px; bottom: 100px; width: 44px; height: 44px; font-size: 18px;
  }
  .wa-flutuante  { width: 54px; height: 54px; bottom: 20px; right: 16px; }
  .wa-flutuante svg { width: 26px; height: 26px; }

  /* footer links mobile */
  .footer-nav a { min-height: 48px; }
  .footer-contato a,
  .footer-contato span { min-height: 48px; }
}



/* ==========================================
   MOBILE
========================================== */

#btn-menu{
  display:none;
}

.menu-dark-row{
  display:none;
}

@media (max-width: 991px){

  nav{
    padding:0 20px;
    justify-content:space-between;
  }

  .logo-link{
    font-size:1.2rem;
  }

  .logo-img{
    width:45px;
    height:45px;
  }

  #toggle-dark{
    display:none;
  }

  #btn-menu{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    width:45px;
    height:45px;
    border:none;
    background:none;
    cursor:pointer;
    z-index:1001;
  }

  #btn-menu span{
    width:24px;
    height:2px;
    background:white;
    transition:.3s;
  }

  #nav-menu{
    position:fixed;
    top:0;
    right:-100%;
    width:280px;
    height:100vh;
    background:var(--azul);
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    padding:90px 25px 30px;
    gap:20px;
    transition:.35s;
    z-index:1000;
    overflow-y:auto;
  }

  #nav-menu.active{
    right:0;
  }

  #nav-menu li{
    width:100%;
    list-style:none;
  }

  #nav-menu a{
    display:block;
    width:100%;
    font-size:1rem;
  }

  .menu-dark-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    margin-bottom:15px;
    padding-bottom:15px;
    border-bottom:1px solid rgba(255,255,255,.1);
  }

  #menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:999;
  }

  #menu-overlay.active{
    opacity:1;
    visibility:visible;
  }

  .hero{
    min-height:auto;
    padding:120px 20px 70px;
  }

  .hero h1{
    font-size:2.8rem;
    line-height:1.05;
  }

  .hero p{
    font-size:1rem;
  }

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

  .hero-botoes a{
    width:100%;
    justify-content:center;
  }

  .hero-stats{
    grid-template-columns:1fr;
    gap:15px;
  }

  .sobre-inner{
    grid-template-columns:1fr;
    gap:40px;
  }

  .produtos-grade{
    grid-template-columns:1fr;
  }

  .galeria-grade{
    grid-template-columns:1fr;
  }

  .porque-inner{
    grid-template-columns:1fr;
  }

  .numeros-grade{
    grid-template-columns:1fr 1fr;
  }

  .avaliacoes-grade{
    grid-template-columns:1fr;
  }

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

  .secao-titulo{
    font-size:2rem;
  }

  .cta-secao h2{
    font-size:2rem;
  }

}