/* =========================================================
   Agrotecnoleite Complem — Página de manutenção
   Paleta extraída do site oficial:
   - Azul primário: #1E73BE (rgb(30,115,190))
   - Azul institucional escuro: #060193 (rgb(6,1,147))
   - Verde (folhas da marca): #4CAF50 / #3C8C3F
   - Tipografia: Barlow (títulos e corpo), Poppins (destaques)
   ========================================================= */

:root {
  --azul: #1e73be;
  --azul-escuro: #060193;
  --azul-profundo: #0b1f3a;
  --verde: #4a9b4e;
  --verde-escuro: #2f6b32;
  --branco: #ffffff;
  --cinza-100: #f5f7f9;
  --cinza-300: #d9e2ea;
  --cinza-600: #5b6b79;
  --texto: #1c2733;
  --whatsapp: #25d366;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.12);
  --shadow-sm: 0 4px 14px rgba(11, 31, 58, 0.1);
  --font-base: 'Barlow', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Poppins', 'Barlow', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--texto);
  background: var(--branco);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  background: var(--branco);
  color: var(--azul-escuro);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

/* Foco visível para navegação por teclado */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--verde);
  outline-offset: 2px;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  background: var(--branco);
  border-bottom: 3px solid var(--azul);
  padding: 10px 20px;
}

.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.brand__logo {
  height: 56px;
  width: auto;
}

.site-header__tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--azul-escuro);
  background: var(--cinza-100);
  border: 1px solid var(--cinza-300);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(6, 1, 50, 0.78) 0%,
    rgba(6, 15, 70, 0.72) 45%,
    rgba(6, 1, 50, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 90px 24px 70px;
  text-align: center;
  color: var(--branco);
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #bcd9f7;
  margin: 0 0 10px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--branco);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hero__lead {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 600;
  margin: 0 0 16px;
  color: #eaf3fb;
}

.hero__text {
  font-size: 1rem;
  color: #dbe7f2;
  margin: 0 0 10px;
  max-width: 620px;
  margin-inline: auto;
}

.hero__text--accent {
  font-weight: 700;
  color: var(--branco);
  font-size: 1.05rem;
}

/* ---------- Próxima edição ---------- */
.edicao {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-escuro) 100%);
  color: var(--branco);
  padding: 64px 20px;
  text-align: center;
}

.edicao__inner {
  max-width: 720px;
  margin: 0 auto;
}

.edicao__icon {
  color: #ffd84d;
  margin-bottom: 10px;
}

.edicao__titulo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.edicao__subtitulo {
  font-size: 1.05rem;
  color: #d9ecfc;
  margin: 0 0 28px;
}

.edicao__datas {
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.edicao__dias {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  line-height: 1;
  color: #ffd84d;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.edicao__mes {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.edicao__complemento {
  font-size: 1rem;
  color: #eaf3fb;
  max-width: 540px;
  margin: 0 auto;
}

/* ---------- Contato ---------- */
.contato {
  background: var(--cinza-100);
  padding: 64px 20px;
  text-align: center;
}

.contato__inner {
  max-width: 640px;
  margin: 0 auto;
}

.contato__titulo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--azul-escuro);
  margin: 0 0 14px;
}

.contato__texto {
  color: var(--cinza-600);
  font-size: 1rem;
  margin: 0 0 32px;
}

.contato__botoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.botao {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  min-height: 48px;
}

.botao:hover,
.botao:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.botao--whatsapp {
  background: var(--whatsapp);
  color: var(--branco);
}

.botao--whatsapp:hover {
  background: #1fbd59;
}

.botao--instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: var(--branco);
}

.botao__icon {
  flex-shrink: 0;
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--azul-profundo);
  color: #c7d6e4;
  padding: 44px 20px 32px;
  text-align: center;
}

.site-footer__inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.site-footer__logo-wrap {
  background: var(--branco);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: inline-flex;
  margin-bottom: 6px;
  box-shadow: var(--shadow-sm);
}

.site-footer__logo {
  height: 48px;
  width: auto;
}

.site-footer__text {
  font-size: 0.92rem;
  margin: 0;
  color: #cfe0ee;
}

.site-footer__insta {
  font-weight: 600;
  color: #ffd84d;
  margin-top: 4px;
}

.site-footer__insta:hover {
  text-decoration: underline;
}

.site-footer__notice {
  font-size: 0.8rem;
  color: #92a6b8;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
  width: 100%;
}

/* ---------- Botão flutuante WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 500;
  transition: transform 0.18s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.08);
}

/* ---------- Botão voltar ao topo ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 86px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--azul-escuro);
  color: var(--branco);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--azul);
}

/* ---------- Animação de entrada (scroll reveal) ----------
   Importante: o estado "oculto" só é aplicado via JS (classe .js-reveal-ready),
   garantindo que o conteúdo permaneça visível caso o JavaScript esteja desabilitado. */
.reveal {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.js-reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .botao,
  .whatsapp-float,
  .back-to-top {
    transition: none;
  }
}

/* ---------- Responsividade ---------- */
@media (max-width: 600px) {
  .site-header__tag {
    font-size: 0.68rem;
    padding: 5px 10px;
  }
  .brand__logo {
    height: 44px;
  }
  .hero {
    min-height: 80vh;
  }
  .hero__content {
    padding: 70px 18px 50px;
  }
  .contato__botoes {
    flex-direction: column;
    align-items: stretch;
  }
  .botao {
    justify-content: center;
  }
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
  .back-to-top {
    right: 14px;
    bottom: 76px;
  }
}

@media (min-width: 900px) {
  .site-header__inner,
  .hero__content,
  .edicao__inner,
  .contato__inner,
  .site-footer__inner {
    padding-left: 0;
    padding-right: 0;
  }
}
