:root{
  --paper: #FFFFFF;
  --paper-alt: #F7F9F8;
  --ink: #14201B;
  --muted: #566059;
  --line: rgba(20,32,27,.10);
  --green: #018F48;
  --green-dark: #005D2D;

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html, body{ margin: 0; }
body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap{
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
}

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 20px;
}
p{ margin: 0 0 16px; }
strong{ font-weight: 700; color: var(--ink); }

/* Brand bar */
.brand-bar{ padding: 24px 0; }
.brand-bar .wrap{ display: flex; align-items: center; gap: 10px; }
.brand-bar__logo{ height: 30px; width: auto; display: block; }
.brand-bar__name{
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--green-dark);
}

/* Hero */
.hero{ padding: 40px 0 64px; }
.hero h1{
  font-size: clamp(32px, 4.6vw, 52px);
  max-width: 15ch;
}
.hero .lead{
  font-size: 19px;
  color: var(--muted);
  max-width: 56ch;
}
.hero p{ max-width: 62ch; }

/* Sections */
.section{ padding: 64px 0; }
.section--alt{ background: var(--paper-alt); }
.section h2{
  font-size: clamp(24px, 3vw, 34px);
  max-width: 20ch;
}
.section .subhead{
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 36px;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  margin-top: 8px;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--green), var(--green-dark));
  color: #fff;
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(1,143,72,.28);
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 8px 26px rgba(1,143,72,.36); }
.btn:active{ transform: translateY(0); }

/* Lists */
.check-list, .question-list{
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li{
  position: relative;
  padding-left: 28px;
  max-width: 60ch;
}
.check-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.question-list li{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}

/* Process steps */
.steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.steps li{
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.steps__num{
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(160deg, var(--green), var(--green-dark));
}
.steps h3{ font-size: 19px; margin: 4px 0 6px; }
.steps p{ margin: 0; color: var(--muted); max-width: 55ch; }

/* Fine print / tagline */
.fine-print{
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.tagline{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--green-dark);
  margin: 24px 0 28px;
}

.cta-section{ text-align: left; }

/* Footer */
.foot{
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
}
.foot__inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}
.foot__brand{ display: flex; align-items: center; gap: 10px; }
.foot__logo{ height: 20px; width: auto; opacity: .8; }
.foot__contact{ display: flex; flex-wrap: wrap; gap: 16px; }
.foot__contact a{ color: var(--muted); text-decoration: none; }
.foot__contact a:hover{ color: var(--ink); }
.foot__legal{ display: flex; flex-wrap: wrap; gap: 16px; }
.foot__legal a{ color: var(--muted); text-decoration: none; }
.foot__legal a:hover{ color: var(--ink); }
.foot__legal button.open-cookie-prefs{
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  color: var(--muted);
}
.foot__legal button.open-cookie-prefs:hover{ color: var(--ink); }

@media (max-width: 600px){
  .hero{ padding: 32px 0 48px; }
  .section{ padding: 48px 0; }
  .btn{ width: 100%; }
  .foot__inner{ flex-direction: column; align-items: flex-start; }
}

/* Cookie consent banner (injetado por js/analytics.js) */
.cookie-banner{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(20,32,27,.10);
  padding: 18px 20px;
  transform: translateY(100%);
  transition: transform .3s ease;
  font-family: var(--font-body);
}
.cookie-banner.is-visible{ transform: translateY(0); }
.cookie-banner__inner{
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner__text{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1 1 380px;
}
.cookie-banner__text a{ color: var(--green-dark); font-weight: 700; }
.cookie-banner__actions{ display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner__actions .btn{
  padding: 10px 18px;
  margin-top: 0;
  font-size: 13px;
  box-shadow: none;
}
.cookie-banner__decline{
  background: rgba(20,32,27,.06);
  color: var(--ink);
}

@media (max-width: 480px){
  .cookie-banner__actions{ width: 100%; }
  .cookie-banner__actions .btn{ flex: 1; }
}

/* Formulario de avaliacao */
.form-avaliacao {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
  margin-top: 24px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-avaliacao .btn {
  margin-top: 12px;
  border: none;
  cursor: pointer;
  width: 100%;
}

/* Imagens de ilustracao das secoes */
.section-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 32px;
  display: block;
}

/* Hero Background Image Layout */
.hero--bg-image {
  position: relative;
  background-image: linear-gradient(rgba(20, 32, 27, 0.8), rgba(20, 32, 27, 0.85)), url('./assets/processos.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  padding: 80px 0 100px;
}
.hero--bg-image h1 {
  color: #fff;
  margin-left: auto;
  margin-right: auto;
}
.hero--bg-image .lead {
  color: #e0e4e2;
  margin-left: auto;
  margin-right: auto;
}

/* Zig-Zag Layout */
.zig-zag {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
@media (min-width: 680px) {
  /* Increase wrap size specifically for zig-zag to fit two columns */
  .section .zig-zag {
    flex-direction: row;
    max-width: 900px;
    width: calc(100% - 40px);
    margin: 0 auto;
  }
  .zig-zag__text {
    flex: 1;
  }
  .zig-zag__image {
    flex: 1;
  }
}
.zig-zag__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s;
}
.whatsapp-widget:hover {
  transform: translateY(-4px);
}
.whatsapp-widget__bubble {
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
  margin-bottom: 8px; /* Align near top of avatar */
}
.whatsapp-widget__bubble::after {
  content: '';
  position: absolute;
  right: -8px;
  bottom: 12px;
  border-width: 8px 0 8px 8px;
  border-style: solid;
  border-color: transparent transparent transparent var(--paper);
}
.whatsapp-widget__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green);
  box-shadow: 0 4px 12px rgba(1, 143, 72, 0.3);
  background: var(--paper);
}

@media (max-width: 600px) {
  .whatsapp-widget__bubble {
    display: none; /* Hide bubble on very small screens to save space */
  }
  .whatsapp-widget__avatar {
    width: 56px;
    height: 56px;
  }
}
