:root {
  --petroleo: #014141;
  --petroleo-escuro: #012c2c;
  --petroleo-claro: #0a5c5a;
  --verde: #6cc024;
  --verde-escuro: #4f9416;
  --verde-claro: #eef6e6;
  --creme: #f7f5ef;
  --sol: #fbb03b;
  --texto: #1c2b2a;
  --texto-suave: #5b6b69;
  --branco: #ffffff;
  --raio: 22px;
  --sombra: 0 18px 40px rgba(1, 44, 44, .12);
  --serif: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; }
h2 { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 600; color: var(--petroleo); margin-bottom: 1.1rem; letter-spacing: -.01em; }
h2 em, h1 em { font-style: italic; font-weight: 500; color: var(--verde-escuro); }
h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; color: var(--petroleo); }
p + p { margin-top: 1rem; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: inherit; font-weight: 600; font-size: .95rem;
  padding: .85rem 1.6rem; border-radius: 14px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--verde { background: var(--verde); color: var(--petroleo-escuro); box-shadow: 0 8px 20px rgba(108, 192, 36, .35); }
.btn--verde:hover { background: #7fd333; }
.btn--vazado { color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.btn--vazado:hover { background: #fff; color: var(--petroleo); }
.btn--branco { background: #fff; color: var(--petroleo); }
.btn--branco:hover { box-shadow: 0 10px 24px rgba(0,0,0,.18); }

/* ---------- TOPO ---------- */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s; }
.topo__inner { display: flex; align-items: center; justify-content: space-between; height: 104px; transition: height .35s; }
.logo { position: relative; display: block; height: 82px; transition: height .35s; }
.logo img { height: 100%; width: auto; transition: opacity .35s ease; }
.logo__escuro { position: absolute; inset: 0; opacity: 0; }
.topo.rolado { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(1,44,44,.1); }
.topo.rolado .topo__inner { height: 74px; }
.topo.rolado .logo { height: 58px; }
.topo.rolado .logo__claro { opacity: 0; }
.topo.rolado .logo__escuro { opacity: 1; }

.menu { display: flex; align-items: center; gap: .4rem; }
.menu a:not(.btn) {
  position: relative; color: #fff; text-decoration: none; font-weight: 500; font-size: .93rem;
  padding: .45rem .85rem; border-radius: 10px; transition: color .2s, background .2s;
}
.menu a:not(.btn):hover { background: rgba(255,255,255,.12); }
.menu a.ativo::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--verde); }
.topo.rolado .menu a:not(.btn) { color: var(--petroleo); }
.topo.rolado .menu a:not(.btn):hover { background: var(--verde-claro); }
.menu .btn { margin-left: .8rem; padding: .7rem 1.2rem; font-size: .9rem; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 26px; height: 2.5px; border-radius: 2px; background: #fff; margin: 6px 0; transition: .3s; }
.topo.rolado .menu-btn span { background: var(--petroleo); }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; background: var(--petroleo-escuro); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.hero__fundos, .fundo { position: absolute; inset: 0; }
.fundo { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.fundo.ativo { opacity: 1; animation: zoom-lento 12s ease-out both; }
.hero__fundos::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(1,44,44,.85) 0%, rgba(1,44,44,.5) 50%, rgba(1,44,44,.15) 100%), linear-gradient(180deg, rgba(1,44,44,.5), transparent 30%);
}
.fundo--1 { background-image: url("assets/img/slide-1.jpg"), radial-gradient(circle at 78% 30%, rgba(251,176,59,.55), transparent 28%), radial-gradient(circle at 70% 45%, #4f7a2a, transparent 55%), linear-gradient(160deg, #2d4a1c, #173016 60%, #0b1a10); }
.fundo--2 { background-image: url("assets/img/slide-2.jpg"), radial-gradient(circle at 30% 30%, #6a9a3a, transparent 55%), linear-gradient(160deg, #36602a, #1e3a18 60%, #0f2010); }
.fundo--3 { background-image: url("assets/img/slide-3.jpg"), radial-gradient(circle at 60% 60%, #2f7d86, transparent 55%), linear-gradient(160deg, #1d5355, #0f3a3a 60%, #062222); }
@keyframes zoom-lento { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero__conteudo { position: relative; z-index: 2; padding-top: 60px; }
.hero__local { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 500; letter-spacing: .04em; padding: .4rem 1rem .4rem .7rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.hero__local svg { width: 16px; height: 16px; color: var(--verde); }
.hero__textos { display: grid; margin: 1.4rem 0 2rem; max-width: 720px; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.slide.ativo { opacity: 1; visibility: visible; }
.slide h1, .slide h2 { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 600; line-height: 1.04; color: #fff; letter-spacing: -.02em; margin: 0; }
.slide em { color: var(--verde); }
.slide p { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 540px; margin-top: 1.2rem; color: rgba(255,255,255,.88); }
.slide.ativo h1, .slide.ativo h2, .slide.ativo p { animation: subir .9s ease both; }
.slide.ativo p { animation-delay: .15s; }
@keyframes subir { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero__acoes { display: flex; flex-wrap: wrap; gap: .8rem; }

.selo { position: absolute; right: 16px; bottom: 30px; display: flex; align-items: center; gap: .9rem; padding: .9rem 1.2rem; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); text-decoration: none; transition: background .2s; }
.selo:hover { background: rgba(255,255,255,.2); }
.selo__nota { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1; }
.selo small { display: block; font-size: .78rem; color: rgba(255,255,255,.8); }
.estrelas { color: var(--sol); font-size: 1.15rem; letter-spacing: 2px; }
.estrelas__meia { background: linear-gradient(90deg, var(--sol) 60%, rgba(255,255,255,.3) 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero__controles { position: absolute; left: 0; right: 0; bottom: 120px; z-index: 2; display: flex; align-items: center; gap: 1rem; }
.hero__contador { font-size: .85rem; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.hero__contador strong { color: #fff; font-size: 1.1rem; }
.hero__pontos { display: flex; gap: .4rem; }
.hero__pontos button { position: relative; width: 44px; height: 3px; border: 0; padding: 0; border-radius: 2px; background: rgba(255,255,255,.3); cursor: pointer; overflow: hidden; }
.hero__pontos button::before { content: ""; position: absolute; inset: 0; background: var(--verde); transform: scaleX(0); transform-origin: left; }
.hero__pontos button[aria-selected="true"]::before { animation: progresso var(--dur, 6s) linear forwards; }
.hero__pontos.parado button[aria-selected="true"]::before { animation: none; transform: none; }
@keyframes progresso { to { transform: scaleX(1); } }
.hero__seta { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.hero__seta svg { width: 20px; height: 20px; }
.hero__seta:hover { background: #fff; color: var(--petroleo); }
.hero__seta--ant { margin-left: .4rem; }
.hero__onda { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; z-index: 1; }

/* ---------- SEÇÕES ---------- */
.secao { padding: clamp(70px, 10vw, 120px) 0; }
.secao--escura { background: var(--petroleo); color: rgba(255,255,255,.85); position: relative; overflow: hidden; }
.secao--escura::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(108,192,36,.22), transparent 70%); }
.secao--escura h2 { color: #fff; }
.secao--escura h2 em { color: var(--verde); }
.etiqueta { display: inline-flex; align-items: center; gap: .6rem; color: var(--verde-escuro); font-weight: 600; text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; margin-bottom: .8rem; }
.etiqueta::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.secao--escura .etiqueta { color: var(--verde); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.titulo-linha { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.titulo-linha > p { max-width: 380px; color: var(--texto-suave); margin-bottom: 1.4rem; }
.secao--escura .titulo-linha > p { color: rgba(255,255,255,.7); }

.sobre__midia { position: relative; }
.sobre__img {
  aspect-ratio: 4/5; border-radius: 200px 200px var(--raio) var(--raio); box-shadow: var(--sombra);
  background: url("assets/img/sobre.jpg") center 60%/cover no-repeat, linear-gradient(160deg, #8cc760, #4f8a2a 55%, #014141);
}
.sobre__midia::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--verde); border-radius: 200px 200px var(--raio) var(--raio); z-index: -1; }
.sobre__badge { position: absolute; left: -24px; bottom: 40px; display: flex; align-items: center; gap: .8rem; background: #fff; padding: 1rem 1.3rem; border-radius: 18px; box-shadow: var(--sombra); }
.sobre__badge strong { font-family: var(--serif); font-size: 2rem; color: var(--petroleo); line-height: 1; }
.sobre__badge span { font-size: .8rem; line-height: 1.35; color: var(--texto-suave); }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.2rem; margin-top: 2rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; font-weight: 500; color: var(--petroleo); line-height: 1.4; }
.checks li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--verde-claro); color: var(--verde-escuro); display: grid; place-items: center; font-size: .75rem; font-weight: 700; }

.cards { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.2rem; }
.card { position: relative; padding: 2rem 1.6rem; border-radius: var(--raio); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: transform .3s, background .3s, border-color .3s; }
.card:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); border-color: rgba(108,192,36,.6); }
.card__num { position: absolute; top: 1.4rem; right: 1.5rem; font-family: var(--serif); font-size: 1.4rem; color: rgba(255,255,255,.25); }
.card__icone { width: 56px; height: 56px; border-radius: 16px; background: var(--verde); color: var(--petroleo-escuro); display: grid; place-items: center; margin-bottom: 1.4rem; }
.card__icone svg { width: 28px; height: 28px; }
.card h3 { color: #fff; }
.card p { font-size: .9rem; color: rgba(255,255,255,.7); }

.noticias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.2rem; }
.noticia { border-radius: var(--raio); overflow: hidden; background: var(--creme); transition: transform .3s, box-shadow .3s; }
.noticia:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.noticia__img { position: relative; aspect-ratio: 16/10; background-size: cover; background-position: center; }
.noticia__img--1 { background-image: url("assets/img/noticia-1.jpg"), linear-gradient(135deg, #014141, #0a7b74); }
.noticia__img--2 { background-image: url("assets/img/noticia-2.jpg"), linear-gradient(135deg, #4f9416, #a6dc6e); }
.noticia__img--3 { background-image: url("assets/img/noticia-3.jpg"), linear-gradient(135deg, #f26b3a, #fbb03b); }
.noticia__tag { position: absolute; left: 1rem; top: 1rem; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; background: #fff; color: var(--petroleo); padding: .3rem .8rem; border-radius: 999px; }
.noticia__corpo { padding: 1.5rem 1.6rem 1.9rem; }
.noticia p { color: var(--texto-suave); font-size: .92rem; }

/* Área do Associado: faixa com o pôr do sol da abertura */
.associado { padding: 0 0 clamp(70px, 10vw, 110px); }
.associado__inner {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: clamp(2rem, 5vw, 3.2rem); border-radius: 28px; color: #fff;
  background: linear-gradient(110deg, var(--petroleo) 0%, var(--petroleo-claro) 45%, #c2456b 80%, #f26b3a 100%);
}
.associado__inner > * { position: relative; }
.associado__sol { position: absolute !important; right: 18%; bottom: -120px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #ffe27a, #fbb03b 55%, #f7931e); box-shadow: 0 0 80px 20px rgba(251,176,59,.45); opacity: .9; }
.associado h2 { color: #fff; margin-bottom: .3rem; }
.associado p { color: rgba(255,255,255,.85); }

.contato { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 70px); align-items: start; }
.contato__info > p { color: var(--texto-suave); }
.canais { list-style: none; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.canais li { display: flex; gap: 1rem; align-items: flex-start; line-height: 1.5; }
.canais__icone { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--verde-claro); color: var(--verde-escuro); display: grid; place-items: center; }
.canais__icone svg { width: 20px; height: 20px; }
.canais strong { display: block; color: var(--petroleo); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.canais a { text-decoration: none; }
.canais a:hover { color: var(--verde-escuro); }
.mapa { margin-top: clamp(40px, 6vw, 64px); border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); height: 380px; }
.mapa iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

.form { background: var(--creme); padding: clamp(1.5rem, 4vw, 2.4rem); border-radius: var(--raio); display: grid; gap: 1rem; border: 1px solid #ebe7dc; }
.form h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.form__linha { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 500; font-size: .85rem; color: var(--petroleo); }
.form input, .form textarea { font: inherit; padding: .8rem 1rem; border: 1.5px solid #e2ddd0; background: #fff; border-radius: 12px; color: var(--texto); transition: border-color .2s; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--verde); box-shadow: 0 0 0 4px rgba(108,192,36,.18); }
.form .btn { justify-self: start; }
.form__status { font-size: .9rem; color: var(--verde-escuro); min-height: 1.2em; }

.rodape { position: relative; background: var(--petroleo-escuro); color: rgba(255,255,255,.75); padding-top: 120px; font-size: .9rem; }
.rodape__onda { position: absolute; top: -1px; left: 0; width: 100%; height: 70px; }
.rodape__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; }
.rodape__logo { width: 170px; height: auto; margin-bottom: 1rem; }
.rodape h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 1rem; }
.rodape ul { list-style: none; display: grid; gap: .5rem; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--verde); }
.rodape__copy { text-align: center; padding: 1.2rem 16px; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }

.subir {
  position: fixed; right: 30px; bottom: 100px; z-index: 40;
  width: 44px; height: 44px; border-radius: 14px;
  background: #fff; color: var(--petroleo); display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s;
}
.subir.visivel { opacity: 1; pointer-events: auto; transform: none; }
.subir svg { width: 22px; height: 22px; }

/* ---------- ASSISTENTE VIRTUAL ---------- */
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 60; }
.com-abertura .chat { display: none; }
.chat__abrir {
  position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--verde); color: var(--petroleo); display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(1,44,44,.35); transition: transform .2s;
}
.chat__abrir:hover { transform: scale(1.06); }
.chat__abrir::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--verde); animation: pulso 2.4s ease-out infinite; }
.chat.aberto .chat__abrir::after, .chat.visto .chat__abrir::after { display: none; }
@keyframes pulso { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.chat__abrir svg { width: 28px; height: 28px; grid-area: 1 / 1; transition: transform .25s, opacity .25s; }
.chat__ic-fechar { opacity: 0; transform: rotate(-90deg); }
.chat.aberto .chat__ic-balao { opacity: 0; transform: rotate(90deg); }
.chat.aberto .chat__ic-fechar { opacity: 1; transform: none; }
.chat__dica {
  position: absolute; right: 72px; bottom: 12px; white-space: nowrap;
  background: #fff; color: var(--petroleo); font-size: .88rem; font-weight: 500;
  padding: .55rem 1rem; border-radius: 14px 14px 4px 14px; box-shadow: 0 8px 24px rgba(1,44,44,.18);
  opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .4s, transform .4s;
}
.chat__dica.visivel { opacity: 1; transform: none; }
.chat.aberto .chat__dica { opacity: 0; }
.chat__painel {
  position: absolute; right: 0; bottom: 76px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(1,44,44,.3); transform-origin: bottom right; animation: chat-abre .25s ease-out;
}
.chat__painel[hidden] { display: none; }
@keyframes chat-abre { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.chat__topo { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; background: var(--petroleo); color: #fff; }
.chat__topo img { width: 40px; height: 40px; border-radius: 12px; background: #fff; object-fit: contain; padding: 3px; }
.chat__topo strong { display: block; font-size: .95rem; line-height: 1.2; }
.chat__topo span { font-size: .75rem; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: .35rem; }
.chat__topo i { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); }
.chat__fechar { margin-left: auto; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.chat__fechar svg { width: 18px; height: 18px; }
.chat__msgs { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--creme); }
.msg { max-width: 85%; padding: .65rem .95rem; border-radius: 16px; font-size: .9rem; line-height: 1.5; animation: msg-entra .25s ease-out; overflow-wrap: anywhere; }
.msg p + p { margin-top: .5rem; }
.msg a { color: var(--verde-escuro); font-weight: 600; }
.msg--bot { align-self: flex-start; background: #fff; color: var(--texto); border-bottom-left-radius: 4px; box-shadow: 0 2px 6px rgba(1,44,44,.06); }
.msg--eu { align-self: flex-end; background: var(--petroleo); color: #fff; border-bottom-right-radius: 4px; }
.msg--digitando { display: flex; gap: 4px; padding: .85rem 1rem; }
.msg--digitando span { width: 7px; height: 7px; border-radius: 50%; background: #b9c4c2; animation: pontinho 1s infinite; }
.msg--digitando span:nth-child(2) { animation-delay: .15s; }
.msg--digitando span:nth-child(3) { animation-delay: .3s; }
@keyframes pontinho { 50% { transform: translateY(-4px); background: var(--verde); } }
@keyframes msg-entra { from { opacity: 0; transform: translateY(6px); } }
.chat__sugestoes { display: flex; gap: .4rem; padding: .6rem .8rem; overflow-x: auto; background: var(--creme); border-top: 1px solid #ece8de; scrollbar-width: none; }
.chat__sugestoes:empty { display: none; }
.chat__sugestoes button { flex: none; font: 500 .8rem "Poppins", sans-serif; color: var(--petroleo); background: #fff; border: 1.5px solid #dfe9d4; padding: .4rem .85rem; border-radius: 999px; cursor: pointer; transition: border-color .2s, background .2s; }
.chat__sugestoes button:hover { border-color: var(--verde); background: var(--verde-claro); }
.chat__form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid #ece8de; }
.chat__form input { flex: 1; min-width: 0; font: inherit; font-size: .9rem; padding: .7rem 1rem; border: 1.5px solid #e2ddd0; border-radius: 14px; }
.chat__form input:focus { outline: 0; border-color: var(--verde); }
.chat__form button { flex: none; width: 44px; border: 0; border-radius: 14px; background: var(--verde); color: var(--petroleo); cursor: pointer; display: grid; place-items: center; }
.chat__form button svg { width: 20px; height: 20px; }

/* ---------- ABERTURA (pôr do sol) ---------- */
.abertura { display: none; }
.com-abertura { overflow: hidden; }
.com-abertura .abertura {
  display: block; position: fixed; inset: 0; z-index: 100; overflow: hidden;
  animation: abertura-sai .8s ease-in 9s forwards; /* segurança caso o script não rode */
}
.abertura.saindo { animation: abertura-sai .6s ease-in forwards; }
/* Final: o céu some e o logo voa até o topo */
.com-abertura .logo img { opacity: 0; }
.abertura.voando { animation: none; background: transparent; }
.abertura.voando > :not(.abertura__logo) { opacity: 0; transition: opacity .9s ease; }
.abertura__ceu {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #3b2a6b 0%, #c2456b 30%, #f26b3a 55%, #fbb03b 75%, #ffe08a 100%);
}
.abertura__ceu--noite {
  background: radial-gradient(ellipse at 50% 80%, #0a6060 0%, var(--petroleo) 55%, #002a2a 100%);
  opacity: 0; animation: anoitecer 2.4s ease-in-out .8s forwards;
}
.abertura__sol {
  position: absolute; left: 50%; top: 22%;
  width: min(42vmin, 340px); aspect-ratio: 1; margin-left: calc(min(42vmin, 340px) / -2);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #ffe27a, #fbb03b 55%, #f7931e);
  box-shadow: 0 0 80px 30px rgba(251, 176, 59, .55), 0 0 200px 80px rgba(242, 107, 58, .35);
  animation: sol-se-pondo 2.9s cubic-bezier(.45, .05, .55, .95) .2s forwards;
}
.abertura__ondas { position: absolute; left: 0; bottom: 0; width: 100%; height: 42vh; }
.onda { transform: translateY(100%); animation: onda-sobe 1.4s cubic-bezier(.2, .8, .2, 1) forwards; }
.onda--1 { animation-delay: .1s; }
.onda--2 { animation-delay: .3s; }
.onda--3 { animation-delay: .5s; }
.abertura__logo {
  position: absolute; left: 50%; top: 46%;
  width: min(70vw, 420px); height: auto;
  transform: translate(-50%, -50%) scale(.85);
  opacity: 0; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .35));
  animation: logo-aparece 1.1s ease-out 2.7s forwards;
}
.abertura__pular {
  position: absolute; right: 20px; bottom: 20px; z-index: 2;
  font: 600 .9rem "Poppins", sans-serif; color: #fff;
  background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .5);
  padding: .5rem 1.1rem; border-radius: 999px; cursor: pointer;
}
.abertura__pular:hover { background: rgba(0, 0, 0, .45); }
@keyframes sol-se-pondo {
  0%   { transform: translateY(0); }
  100% { transform: translateY(78vh); box-shadow: 0 0 40px 10px rgba(242, 107, 58, .25); }
}
@keyframes anoitecer { to { opacity: 1; } }
@keyframes onda-sobe { to { transform: translateY(0); } }
@keyframes logo-aparece { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes abertura-sai { to { opacity: 0; visibility: hidden; transform: scale(1.06); } }


/* Animação de entrada */
.revelar { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.revelar.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .revelar { opacity: 1; transform: none; transition: none; }
  .fundo, .fundo.ativo, .slide, .slide.ativo h1, .slide.ativo h2, .slide.ativo p, .chat__abrir::after { animation: none; transition: none; }
  .hero__pontos button[aria-selected="true"]::before { animation: none; transform: none; }
  .com-abertura { overflow: auto; }
  .com-abertura .abertura { display: none; }
  .com-abertura .chat { display: block; }
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .menu a:not(.btn) { padding: .45rem .6rem; }
}
@media (max-width: 960px) {
  html { scroll-padding-top: 74px; }
  .topo__inner, .topo.rolado .topo__inner { height: 74px; }
  .logo, .topo.rolado .logo { height: 52px; }
  .menu-btn { display: block; }
  .menu {
    position: fixed; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; padding: 1rem 16px 1.5rem; box-shadow: 0 16px 30px rgba(1,44,44,.15);
    transform: translateY(-140%); transition: transform .3s; z-index: -1;
  }
  .menu.aberto { transform: none; }
  .menu a:not(.btn), .topo.rolado .menu a:not(.btn) { color: var(--petroleo); padding: .7rem .8rem; }
  .menu a.ativo::after { left: auto; right: .8rem; top: 50%; margin: -3px 0 0; }
  .menu .btn { margin: .6rem 0 0; justify-content: center; }
  .topo:has(.menu.aberto) { background: #fff; }
  .topo:has(.menu.aberto) .logo__claro { opacity: 0; }
  .topo:has(.menu.aberto) .logo__escuro { opacity: 1; }
  .topo:has(.menu.aberto) .menu-btn span { background: var(--petroleo); }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
  .grid-2, .contato { grid-template-columns: 1fr; }
  .sobre__midia { max-width: 460px; margin-inline: auto; width: calc(100% - 24px); }
  .sobre__img { aspect-ratio: 1; }
  .sobre__badge { left: -12px; }
  .noticias { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .hero { min-height: 640px; }
  .hero__fundos::after { background: linear-gradient(180deg, rgba(1,44,44,.55), rgba(1,44,44,.7) 60%, rgba(1,44,44,.9)); }
  .selo { position: static; display: inline-flex; margin-top: 1.6rem; }
  .hero__controles { bottom: 96px; }
  .hero__seta { display: none; }
  .rodape__grid { grid-template-columns: 1fr 1fr; }
  .rodape__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .cards, .checks, .form__linha { grid-template-columns: 1fr; }
  .hero__acoes .btn { flex: 1 1 100%; justify-content: center; }
  .hero__local { font-size: .75rem; }
  .sobre__midia::before { inset: 14px -14px -14px 14px; }
  .hero__controles { bottom: 84px; }
  .rodape__grid { grid-template-columns: 1fr; }
  .chat { right: 16px; bottom: 16px; }
  .subir { right: 22px; bottom: 88px; }
  .mapa { height: 300px; }
}
