/* ======================================================
   O Frio Certo — stylesheet compartilhado
   ====================================================== */

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

:root {
  --verde: #0a3d1f;
  --verde-medio: #1a5c32;
  --verde-claro: #2d8a4e;
  --gelo: #e8f5ee;
  --creme: #f9f5ef;
  --laranja: #e8621a;
  --laranja-claro: #f4a261;
  --texto: #1a1a1a;
  --cinza: #6b7280;
  --cinza-claro: #9ca3af;
  --branco: #ffffff;
  --borda: #e5e7eb;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--creme);
  color: var(--texto);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; }

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

/* ======================================================
   NAVBAR
   ====================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--creme);
  border-bottom: 1px solid var(--borda);
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(8px);
}
.nav.nav-dark {
  background: var(--verde);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--verde);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-brand span { color: var(--laranja); font-style: italic; }
.nav.nav-dark .nav-brand { color: var(--branco); }
.nav.nav-dark .nav-brand span { color: var(--laranja-claro); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cinza);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--verde); }
.nav.nav-dark .nav-links a { color: rgba(255,255,255,0.6); }
.nav.nav-dark .nav-links a:hover, .nav.nav-dark .nav-links a.active { color: var(--laranja-claro); }

.nav-cta {
  background: var(--laranja);
  color: var(--branco) !important;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: #c4521a; transform: translateY(-1px); color: var(--branco) !important; }

/* ======================================================
   HERO (landing)
   ====================================================== */
.hero {
  min-height: calc(100vh - 70px);
  background: var(--verde);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 40px 60px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,138,78,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,98,26,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-tag {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--laranja-claro);
  border: 1px solid rgba(244,162,97,0.4);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 40px;
  width: fit-content;
  animation: fadeUp 0.8s ease both;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 10vw, 110px);
  font-weight: 900;
  line-height: 0.9;
  color: var(--branco);
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero h1 em {
  font-style: italic;
  color: var(--laranja-claro);
}
.hero-sub {
  margin-top: 32px;
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  line-height: 1.7;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-cta {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}
.btn-primary {
  background: var(--laranja);
  color: var(--branco);
  padding: 16px 32px;
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: #c4521a; transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--branco);
  padding: 16px 32px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: white; background: rgba(255,255,255,0.08); }
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 40px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  animation: fadeUp 0.8s 0.6s ease both;
}
.hero-temp {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
  animation: fadeUp 0.8s 0.5s ease both;
}
.hero-temp .deg {
  font-family: 'Playfair Display', serif;
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  user-select: none;
}

/* ======================================================
   NÚMEROS
   ====================================================== */
.numeros {
  background: var(--laranja);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: rgba(0,0,0,0.15);
}
.numero-item { background: var(--laranja); padding: 36px 32px; text-align: center; }
.numero-val {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--branco);
  line-height: 1;
}
.numero-label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
  font-weight: 300;
  line-height: 1.4;
}

/* ======================================================
   BLOCOS GENÉRICOS
   ====================================================== */
.paraquem { padding: 100px 40px; background: var(--creme); }
.section-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-bottom: 20px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--verde);
  max-width: 700px;
  margin-bottom: 60px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--branco);
  border-radius: 8px;
  padding: 40px 32px;
  border-top: 4px solid var(--verde-claro);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.card-icon { font-size: 32px; margin-bottom: 20px; }
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--verde);
  margin-bottom: 12px;
}
.card p { font-size: 14px; color: var(--cinza); line-height: 1.7; }
.card ul { margin-top: 16px; list-style: none; }
.card ul li {
  font-size: 13px;
  color: var(--cinza);
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.card ul li::before {
  content: '—';
  color: var(--laranja);
  font-weight: 700;
  flex-shrink: 0;
}

/* ======================================================
   CONTEÚDO / TIMELINE
   ====================================================== */
.conteudo { background: var(--verde); padding: 100px 40px; color: var(--branco); }
.conteudo .section-title { color: var(--branco); }
.conteudo .section-tag { color: var(--laranja-claro); }
.timeline { display: flex; flex-direction: column; gap: 0; max-width: 700px; }
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  text-decoration: none;
  color: inherit;
}
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.timeline-item:hover .timeline-content h4 { color: var(--laranja-claro); }
.timeline-sem {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  padding-top: 4px;
}
.timeline-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.timeline-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.timeline-badges { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.badge {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
}
.badge-whats { background: rgba(37,211,102,0.2); color: #25d366; }
.badge-news   { background: rgba(244,162,97,0.2); color: var(--laranja-claro); }
.badge-status { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }

/* ======================================================
   NEWSLETTER (form)
   ====================================================== */
.newsletter { background: var(--gelo); padding: 100px 40px; }
.newsletter-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.newsletter .section-title { text-align: center; margin: 0 auto 16px; }
.newsletter-sub {
  font-size: 16px;
  color: var(--cinza);
  margin-bottom: 48px;
  line-height: 1.6;
}
.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.form-row input {
  flex: 1;
  min-width: 200px;
  padding: 16px 20px;
  border: 1.5px solid #d1d5db;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  background: var(--branco);
  color: var(--texto);
  outline: none;
  transition: border-color 0.2s;
}
.form-row input:focus { border-color: var(--verde-claro); }
.form-row button { border: none; cursor: pointer; }
.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--cinza);
  font-family: 'DM Mono', monospace;
}

/* ======================================================
   BLOG LIST
   ====================================================== */
.blog-header {
  background: var(--verde);
  padding: 100px 40px 60px;
  color: var(--branco);
}
.blog-header .section-tag { color: var(--laranja-claro); }
.blog-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 900;
  line-height: 0.95;
  color: var(--branco);
  max-width: 780px;
}
.blog-header h1 em { color: var(--laranja-claro); font-style: italic; }
.blog-header p {
  margin-top: 24px;
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

.blog-list {
  padding: 80px 40px 100px;
  max-width: 900px;
  margin: 0 auto;
}
.post-card {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--borda);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.2s;
}
.post-card:hover { padding-left: 8px; }
.post-card:hover h2 { color: var(--laranja); }
.post-meta {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--cinza);
  text-transform: uppercase;
  padding-top: 6px;
}
.post-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--verde);
  line-height: 1.2;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.post-card p {
  font-size: 15px;
  color: var(--cinza);
  line-height: 1.6;
}
.post-status {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
  white-space: nowrap;
  align-self: start;
  margin-top: 6px;
}
.status-breve { background: rgba(232,98,26,0.1); color: var(--laranja); }
.status-pub   { background: rgba(45,138,78,0.12); color: var(--verde-claro); }

/* ======================================================
   POST (individual)
   ====================================================== */
.post-header {
  background: var(--verde);
  padding: 80px 40px 100px;
  color: var(--branco);
}
.post-header-inner { max-width: 720px; margin: 0 auto; }
.post-back {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 40px;
  transition: color 0.2s;
}
.post-back:hover { color: var(--laranja-claro); }
.post-header .post-meta {
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  padding-top: 0;
}
.post-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--branco);
  margin-bottom: 24px;
}
.post-header h1 em { color: var(--laranja-claro); font-style: italic; }
.post-excerpt {
  font-size: 19px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 620px;
}
.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 40px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--texto);
}
.post-body > * + * { margin-top: 1.4em; }
.post-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--verde);
  line-height: 1.2;
  margin-top: 2.2em;
}
.post-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--verde);
  margin-top: 1.8em;
}
.post-body p { color: #2a2a2a; }
.post-body ul, .post-body ol { padding-left: 24px; }
.post-body li { margin-top: 0.5em; }
.post-body a {
  color: var(--laranja);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-body blockquote {
  border-left: 4px solid var(--laranja);
  padding: 8px 24px;
  background: var(--gelo);
  font-style: italic;
  color: var(--verde);
  border-radius: 0 4px 4px 0;
}
.post-body code {
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 3px;
  font-family: 'DM Mono', monospace;
  font-size: 0.9em;
}
.post-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-top: 1.4em;
}
.post-body th, .post-body td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--borda);
}
.post-body th {
  background: var(--gelo);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--verde);
}

.em-breve {
  max-width: 560px;
  margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
}
.em-breve-icon { font-size: 48px; margin-bottom: 24px; }
.em-breve h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--verde);
  margin-bottom: 16px;
}
.em-breve p { color: var(--cinza); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }

/* ======================================================
   SOBRE
   ====================================================== */
.sobre {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 40px 100px;
}
.sobre p {
  font-size: 18px;
  color: #2a2a2a;
  line-height: 1.75;
  margin-bottom: 1.4em;
}
.sobre h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--verde);
  margin-top: 2em;
  margin-bottom: 0.7em;
}

/* ======================================================
   FOOTER
   ====================================================== */
footer {
  background: var(--texto);
  color: rgba(255,255,255,0.5);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--branco);
}
.footer-brand span { color: var(--laranja-claro); font-style: italic; }
footer p { font-size: 12px; font-family: 'DM Mono', monospace; }
footer nav { display: flex; gap: 20px; }
footer nav a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
footer nav a:hover { color: var(--laranja-claro); }

/* ======================================================
   TOAST
   ====================================================== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--verde);
  color: var(--branco);
  padding: 16px 24px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1000;
  max-width: 360px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ======================================================
   ANIMATIONS / RESPONSIVE
   ====================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .nav { padding: 14px 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11px; letter-spacing: 1px; }
  .nav-links .nav-hide-mobile { display: none; }
  .hero { padding: 60px 20px 60px; }
  .hero-temp { display: none; }
  .numeros { grid-template-columns: 1fr; }
  .paraquem, .conteudo, .newsletter, .blog-list, .post-body, .sobre { padding-left: 20px; padding-right: 20px; }
  .blog-header, .post-header { padding-left: 20px; padding-right: 20px; }
  .post-card { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .post-status { margin-top: 0; justify-self: start; }
  footer { padding: 32px 20px; }
}
