/* =========================================================
   SIGMA — SHELL (BASE + HEADER + MENU MOBILE + FOOTER)
   Arquivo: style-shell.css
   ========================================================= */

/* ---------- Tokens ---------- */
:root{
  --sigma-green:#00dea7;
  --sigma-green-hover:#00b98a;
  --sigma-brown:#826d6a;
  --sigma-brown-hover:#6f5a57;
  --sigma-black:#111111;
  --sigma-black-hover:#0f172a;
  --sigma-white:#ffffff;
  --sigma-white-hover:#e5e7eb;
  --sigma-white-border:#d1d5db;

  --bg:#f4f5f9;
  --text:#0f172a;
  --muted:#64748b;

  --radius:16px;
  --radius-lg:22px;

  --shadow-sm:0 8px 20px rgba(15,23,42,.08);
  --shadow-md:0 18px 45px rgba(15,23,42,.12);

  --container:1180px;
}

/* ---------- Reset/Base ---------- */
*,
*::before,
*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: "Poppins", sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.2;
}

h1 {
  font-size: 44px;
  font-weight: 700;
  margin: 0;
}
h2 {
  font-size: 42px;
  font-weight: 600;
  margin: 0;
}
h3 {
  font-size:26px;
  font-weight: 500;
  margin: 0;
}

p, a, li {
  font-weight: 300;
  font-size: 16px;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 34px;
  }
  h3 {
    font-size: 22px;
  }
  p, a, li {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
  p, a, li {
    font-size: 14px;
  }
}


/*img{ max-width:100%; display:block; }*/

a{
  color:inherit;
  text-decoration:none;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 16px;
}

/* Evita “pulo” quando abre o menu (scroll lock sem mudar largura) */
html.menu-open{ overflow:hidden; }

/* ---------- Botões (reutilizáveis) ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

/*  height:44px;*/
  padding: 8px 18px;

  border-radius:999px;
  border:1px solid transparent;

  font-weight:600;
  font-size:14px;
  cursor:pointer;
  white-space:nowrap;

  transition: background .2s ease, border-color .2s ease, box-shadow .18s ease, transform .12s ease;
}

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

.btn-primary{
  background:var(--sigma-green);
  color:var(--sigma-black);
  border-color:var(--sigma-green);
}
.btn-primary:hover{
  background:var(--sigma-green-hover);
  border-color:var(--sigma-green-hover);
  box-shadow:0 14px 26px rgba(15,23,42,.12);
  color:var(--sigma-white);
}

.btn-verde{
  background:var(--sigma-green);
  color:var(--sigma-black);
  border-color:var(--sigma-green);
}
.btn-verde:hover{
  background:var(--sigma-green-hover);
  color:var(--sigma-black-hover);
  border-color:var(--sigma-green-hover);
  box-shadow:0 14px 26px rgba(15,23,42,.12);
}

.btn-marrom{
  background:var(--sigma-brown);
  color:var(--sigma-white);
  border-color:var(--sigma-brown);
}
.btn-marrom:hover{
  background:var(--sigma-brown-hover);
  color:var(--sigma-white-hover);
  border-color:var(--sigma-brown-hover);
  box-shadow:0 14px 26px rgba(15,23,42,.12);
}

.btn-branco{
  background:var(--sigma-white);
  color:var(--sigma-black);
  border-color:var(--sigma-white);
}
.btn-branco:hover{
  background:var(--sigma-white-hover);
  color:var(--sigma-black-hover);
  border-color:var(--sigma-white-border);
  box-shadow:0 14px 26px rgba(15,23,42,.12);
}

.btn-outline {
  background:transparent;
  color:var(--sigma-white);
  border-color:var(--sigma-white);
}
.btn-outline:hover{
  background:#f1f2fd;
  color:var(--sigma-green);
}

/*.btn i{ font-size:1rem; }*/

/* =========================================================
   HEADER
   ========================================================= */
header{
  position:sticky;
  top:0;
  z-index:999;

  backdrop-filter:blur(10px);
  background:rgba(255,255,255,.92);
  border-bottom:1px solid rgba(148,163,184,.35);
}

/* Navegação principal */
.nav-main{
  background:#0b0f17;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.nav-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 0;
}

.nav-logo{
  display:flex;
  align-items:center;
  margin-right:auto;
}
.nav-logo img{
  height:36px;
  width:auto;
  margin-bottom: -18px
}

.nav-links{
  display:none;
  align-items:center;
  gap:6px;
}
.nav-links a{
  color:#fff;
  padding:8px 10px;
  border-radius:10px;
/*  font-weight:700;*/
/*  font-size:.95rem;*/
  transition:background .18s ease, color .18s ease;
  font-size: 14px;
}
.nav-links a:hover{
  background:rgba(255,255,255,.06);
  color:var(--sigma-green);
}

.nav-cta{
  display:none;
  align-items:center;
  gap:10px;
}

/* Burger */
.nav-burger{
  border:none;
  background:transparent;
  color:var(--sigma-green);
  font-size: 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:12px;
  cursor:pointer;
  transition:background .18s ease, transform .12s ease;
}
.nav-burger:hover{ background:rgba(255,255,255,.06); }
.nav-burger:active{ transform:scale(.99); }

/* Desktop */
@media (min-width:992px){
  .nav-links{ display:flex; }
  .nav-cta{ display:flex; }
  .nav-burger{ display:none; }
  .nav-logo img{ height:42px;}
  .nav-row{
    padding:28px 0;
  }
}

/* =========================================================
   MENU MOBILE — DARK (alinhado ao desktop)
   ========================================================= */

.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 2000;

  display: none;
  pointer-events: none;
}

/* overlay */
.mobile-menu-overlay{
  position:absolute;
  inset:0;
  border:0;
  background: rgba(2,6,23,.75);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .22s ease;
  cursor: pointer;
}

/* painel */
.mobile-menu-panel{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(86vw, 360px);

  display:flex;
  flex-direction: column;

  background: #0b0f17; /* igual ao desktop */
  color: #e5e7eb;

  box-shadow: 12px 0 40px rgba(0,0,0,.6);
  transform: translateX(-100%);
  transition: transform .24s ease;
  border-radius: 0 22px 22px 0;
  overflow: hidden;
}

/* estado aberto */
.mobile-menu.is-open{
  display:block;
  pointer-events:auto;
}

.mobile-menu.is-open .mobile-menu-overlay{
  opacity: 1;
}

.mobile-menu.is-open .mobile-menu-panel{
  transform: translateX(0);
}

/* header */
.mobile-menu-header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;

  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #0b0f17;
}

.mobile-menu-logo img{
  height: 36px;
  width:auto;
}

.mobile-menu-close{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;

/*  font-size: 1.6rem;*/
/*  line-height: 1;*/
  color: #e5e7eb;

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

  cursor:pointer;
  transition: background .18s ease, transform .12s ease;
}

.mobile-menu-close:hover{
  background: rgba(255,255,255,.08);
}
.mobile-menu-close:active{
  transform: scale(.98);
}

/* nav */
.mobile-menu-nav{
  padding: 12px 12px 0;
  display:flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-link{
  padding: 12px 14px;
  border-radius: 14px;

/*  font-weight: 500;*/
/*  font-size: 0.95rem;*/
  letter-spacing: .2px;

  color: #e5e7eb;
  transition: background .18s ease, color .18s ease, transform .12s ease;
}

.mobile-menu-link:hover{
  background: rgba(255,255,255,.08);
  color: var(--sigma-green);
}

.mobile-menu-link:active{
  transform: scale(.995);
}

/* destaque (CTA interno) */
.mobile-menu-link-strong{
  background: rgba(0,222,167,.18);
  color: #eafff9;
/*  font-weight: 600;*/
}

/* footer */
.mobile-menu-footer{
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #0b0f17;

  display:grid;
  gap: 10px;
}

/* botões no menu */
.mobile-menu-footer .btn{
  width: 100%;
  justify-content: center;
/*  font-weight: 600;*/
}

/* foco acessível */
.mobile-menu a:focus-visible,
.mobile-menu button:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 222, 167, .35);
}


/* =========================================================
   FOOTER
   ========================================================= */
footer{
  background:#020617;
  color:#9ca3af;
  padding:28px 0 18px;
/*  font-size:.9rem;*/
}

.footer-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

@media (min-width:860px){
  .footer-grid{
    grid-template-columns: 1.1fr 1fr 1fr;
    gap:22px;
  }
}

.footer-logo img {
  height: 42px;
}

.footer-meta i {
  font-size: 24px;
  margin-right: 5px;
}

footer h3{
  color:#e5e7eb;
  margin:0 0 10px;
  font-size: 14px;
  font-weight: 500;
}

footer ul{ margin:0; padding:0; }
footer li{ list-style:none; margin:0 0 6px; }

footer a{
  color:#9ca3af;
  transition:color .18s ease;
}
footer a:hover{ color:#e5e7eb; }

.footer-contact-block{
  margin-bottom:14px;
}

.footer-contact-block h4{
  margin:0 0 4px;
  font-size: 14px;
  font-weight: 300;
  color:#e5e7eb;
}
.footer-contact-map{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:6px;
}

.footer-forecastweb{
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
}

.footer-forecastweb img{
  display: block;
  height: 24px;
  width: auto;
}

.footer-bottom{
  margin-top:18px;
  padding-top:12px;
  border-top:1px solid rgba(0,222,167,.35);
/*  font-size:.78rem;*/
  color:#6b7280;
}

/* =========================================================
   WhatsApp flutuante
   ========================================================= */
.floating-whatsapp{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:9999;
}
.floating-whatsapp a{
  width:48px;
  height:48px;
  border-radius:48px;

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

  background:#22c55e;
  color:#fff;
  font-size: 24px !important;
  box-shadow:0 16px 34px rgba(22,163,74,.55);

  transition:transform .12s ease, background .18s ease;
}
.floating-whatsapp a:hover{ background:#16a34a; }
.floating-whatsapp a:active{ transform:scale(.99); }


/* =========================================================
   COOKIE BANNER — RECRIADO (compacto, claro, sem confusão)
   ========================================================= */

.cookie-banner{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 24px));
  z-index: 9999;

  background: #0b0f17;            /* neutro escuro */
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0,0,0,.55);

  display: none; /* você já mostra via JS */
}

.cookie-banner-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 16px 12px;
}

.cookie-banner-main{
  min-width: 0;
}

.cookie-banner-title{
  margin: 0 0 6px;
/*  font-weight: 800;*/
/*  font-size: 0.98rem;*/
  color: #ffffff;
}

.cookie-banner-text{
  margin: 0;
/*  font-size: 0.9rem;*/
/*  line-height: 1.45;*/
  color: rgba(229,231,235,.92);
  max-width: 64ch;
}

.cookie-banner-main .btn{
  margin-top: 10px;
  padding: 0;
  height: auto;
  border: 0;
  background: transparent;
  color: var(--sigma-green);
/*  font-weight: 800;*/
/*  font-size: 0.85rem;*/
  text-decoration: underline;
}

/* Ações (botões à direita) */
.cookie-banner-actions{
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
}

/* Botões menores só no banner */
.cookie-banner .btn.btn-xs{
  height: 36px;
  padding: 0 14px;
/*  font-size: 0.85rem;*/
/*  font-weight: 800;*/
  border-radius: 999px;
}

/* Preferências (painel) */
.cookie-banner-preferences{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 12px 16px 16px;
  background: rgba(2,6,23,.55);
  border-radius: 0 0 16px 16px;
}

.cookie-banner-subtitle{
  margin: 6px 0 12px;
/*  font-weight: 800;*/
/*  font-size: 0.9rem;*/
  color: #ffffff;
}

/* Itens */
.cookie-pref-item{
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;

  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.cookie-pref-item:last-child{
  border-bottom: none;
}

.cookie-pref-item strong{
  display: block;
/*  font-size: 0.9rem;*/
  color: #ffffff;
}

.cookie-pref-item p{
  margin: 3px 0 0;
/*  font-size: 0.85rem;*/
  color: rgba(229,231,235,.85);
/*  line-height: 1.35;*/
  max-width: 60ch;
}

/* Badge "Sempre ativos" */
.cookie-pref-badge{
/*  font-size: 0.78rem;*/
/*  font-weight: 800;*/
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(229,231,235,.92);
}

/* Toggle alinhado, claro e NÃO centralizado */
.cookie-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.cookie-toggle input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-toggle-slider{
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(148,163,184,.35);
  border: 1px solid rgba(255,255,255,.12);
  position: relative;
  transition: background .18s ease, border-color .18s ease;
}

.cookie-toggle-slider::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s ease;
}

.cookie-toggle input:checked + .cookie-toggle-slider{
  background: rgba(0,222,167,.55);
  border-color: rgba(0,222,167,.55);
}

.cookie-toggle input:checked + .cookie-toggle-slider::after{
  transform: translateY(-50%) translateX(20px);
}

/* Rodapé preferências */
.cookie-pref-footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.cookie-banner-link-sm{
/*  font-size: 0.85rem;*/
  color: rgba(229,231,235,.85);
  text-decoration: underline;
}

.cookie-banner-link-sm:hover{
  color: #ffffff;
}

/* Mobile: vira coluna e botões ficam full width */
@media (max-width: 640px){
  .cookie-banner-inner{
    flex-direction: column;
  }
  .cookie-banner-actions{
    width: 100%;
    justify-content: stretch;
  }
  .cookie-banner-actions .btn{
    width: 100%;
  }
  .cookie-pref-footer{
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-pref-footer .btn{
    width: 100%;
  }
}


/*botão de configuração*/
.cookie-banner-main button {
  border-radius: 15px;
  padding: 5px 15px;
  text-decoration: none;
  border: solid 1px var(--sigma-white-border);
  background:var(--sigma-black);
  color:var(--sigma-white);
}
.cookie-banner-main button:hover {
  background:var(--sigma-black-hover);
  color:var(--sigma-white-hover);
  border-color:var(--sigma-white-border);
  box-shadow:0 14px 26px rgba(15,23,42,.12);
}



/* ========== FOOTER ========== */
footer li, footer a, footer p, .footer-bottom {
  font-size: 14px;
}

.floating-whatsapp a {
  font-size: 32px;
}