/* ========== BASE ========== */
:root{
  --bg: #f7f7f3;
  --surface: rgba(255,255,255,0.85);
  --text: #2a2f2a;
  --muted: rgba(42,47,42,0.72);

  --green-900: #2f3f2f;
  --green-700: #3f5a3f;
  --green-600: #4f6a4f;
  --green-500: #5d775d;

  --border: rgba(35,45,35,0.10);
  --shadow: 0 10px 30px rgba(20, 30, 20, 0.10);

  --radius: 18px;
  --radius-sm: 14px;

  --container: 1100px;
}

/* reset pequenino */
* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* ========== HEADER ========== */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(35,45,35,0.08);
}


.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--green-700);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 18px rgba(30,50,30,0.18);
}

.leaf{
  width: 16px;
  height: 16px;
  border-radius: 0 999px 999px 999px;
  transform: rotate(-35deg);
  background: rgba(255,255,255,0.92);
}

.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title{
  font-weight: 650;
  letter-spacing: -0.2px;
}

.brand-subtitle{
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}

.nav{
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link{
  position: relative;
  font-size: 15px;
  color: rgba(42,47,42,0.70);
  padding: 8px 2px;
  transition: color 220ms ease;
}

.nav-link:hover{
  color: rgba(42,47,42,0.92);
}

.nav-link::after{
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--green-700);
  border-radius: 999px;
  transition: right 240ms ease;
  opacity: 0.9;
}

.nav-link:hover::after{
  right: 0;
}

.nav-link.is-active{
  color: rgba(42,47,42,0.92);
}

.nav-link.is-active::after{
  right: 0;
}

/* ========== BOTÕES ========== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  font-weight: 600;
}

.btn-lg{
  padding: 14px 22px;
  font-size: 15.5px;
}

.btn-primary{
  background: var(--green-700);
  color: white;
  box-shadow: 0 16px 30px rgba(40, 80, 40, 0.22);
}

.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(40, 80, 40, 0.28);
  background: var(--green-600);
}

.btn-ghost{
  background: rgba(255,255,255,0.65);
  border-color: var(--border);
  color: rgba(42,47,42,0.86);
}

.btn-ghost:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(20, 30, 20, 0.10);
  background: rgba(255,255,255,0.82);
}

.header-cta{
  padding: 12px 20px;
}

/* Responsivo simples */
@media (max-width: 860px){
  .nav{ display: none; } /* depois fazemos menu mobile se quiseres */
  .brand{ min-width: unset; }
}


/* ========== FOOTER (nova estrutura) ========== */
.site-footer{
  margin-top: 90px;
  padding-bottom: 28px;
}

/* CARD CENTRAL */
.footer-card{
  background: rgba(245,246,242,0.85);
  border: 1px solid rgba(35,45,35,0.12);
  border-radius: 28px;
  padding: 46px 48px;

  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 42px;

  box-shadow: 0 28px 60px rgba(20,30,20,0.10);
}

/* mantém tudo o que já tinhas */
.footer-desc{
  margin: 18px 0;
  max-width: 420px;
  color: rgba(42,47,42,0.72);
  line-height: 1.7;
}

.footer-col h4{
  margin-bottom: 16px;
  font-size: 16px;
  color: rgba(42,47,42,0.86);
}

.footer-col a{
  display: block;
  padding: 8px 0;
  color: rgba(42,47,42,0.70);
  transition: transform 180ms ease, color 180ms ease;
}

.footer-col a:hover{
  color: rgba(42,47,42,0.92);
  transform: translateX(2px);
}

/* contacto simples */
.footer-contact-simple{
  display: grid;
  gap: 10px;
  color: rgba(42,47,42,0.70);
  line-height: 1.6;
}

/* bottom */
.footer-bottom{
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: rgba(42,47,42,0.65);
}

.social{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  margin-top: 18px;
}

.social-btn img{
  width: 18px;
  height: 18px;
  opacity: 1;

  /* verde do site */
  filter: invert(32%) sepia(12%) saturate(620%) hue-rotate(70deg);

  transition: transform 180ms ease, opacity 180ms ease;
}

.social-btn:hover img{
  transform: scale(1.08);
  opacity: 0.95;
}

.social-btn{
  cursor: pointer;
}


/* responsivo */
@media (max-width: 980px){
  .footer-card{
    grid-template-columns: 1fr;
    padding: 34px 26px;
  }

  .footer-bottom{
    margin-top: 22px;
  }
}
/* =========================
   COOKIE BANNER — PREMIUM COMPACT
========================= */

.cookie-banner{
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 10000;

  display: flex;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.cookie-banner.is-visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-card{
  width: min(1260px, 100%);
  border-radius: 24px;
  border: 1px solid rgba(63, 86, 64, 0.10);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(18px);
  box-shadow:
    0 18px 50px rgba(25,35,25,0.10),
    0 4px 16px rgba(25,35,25,0.05);

  padding: 16px 24px;

  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto;
  gap: 16px;
  align-items: center;
}

.cookie-content{
  min-width: 0;
}

.cookie-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(70,99,70,0.08);
  border: 1px solid rgba(70,99,70,0.10);
  color: #466346;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.cookie-content h2{
  margin: 0 0 6px;
  color: #3f5640;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cookie-content p{
  margin: 0;
  color: rgba(42,47,42,0.70);
  font-size: 0.94rem;
  line-height: 1.5;
  max-width: 720px;
}

.cookie-link{
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: #466346;
  font-size: 0.90rem;
  font-weight: 700;
  text-decoration: none;
}

.cookie-link:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.cookie-btn{
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.cookie-btn:hover{
  transform: translateY(-1px);
}

.cookie-btn-primary{
  background: #466346;
  color: #ffffff;
  border-color: #466346;
  box-shadow: 0 10px 22px rgba(70,99,70,0.16);
}

.cookie-btn-primary:hover{
  background: #3f5640;
  border-color: #3f5640;
}

.cookie-btn-outline{
  background: rgba(255,255,255,0.82);
  color: #466346;
  border-color: rgba(63,86,64,0.14);
}

.cookie-btn-outline:hover{
  background: #ffffff;
  border-color: rgba(63,86,64,0.24);
}

.cookie-btn-ghost{
  background: transparent;
  color: rgba(45,65,45,0.86);
  border-color: rgba(63,86,64,0.10);
}

.cookie-btn-ghost:hover{
  background: rgba(70,99,70,0.06);
  border-color: rgba(63,86,64,0.18);
}

/* =========================
   COOKIE PREFERENCES MODAL
========================= */

.cookie-preferences{
  position: fixed;
  inset: 0;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.cookie-preferences.is-open{
  opacity: 1;
  pointer-events: auto;
}

.cookie-preferences-overlay{
  position: absolute;
  inset: 0;
  background: rgba(17,24,18,0.48);
  backdrop-filter: blur(5px);
}

.cookie-preferences-panel{
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(600px, calc(100% - 28px));
  transform: translate(-50%, -46%) scale(0.98);
  border-radius: 28px;
  border: 1px solid rgba(63,86,64,0.10);
  background:
    radial-gradient(520px 280px at 20% 0%, rgba(201,192,110,0.10), transparent 58%),
    rgba(255,255,255,0.97);
  box-shadow: 0 28px 80px rgba(20,30,20,0.20);
  padding: 30px 24px;
  transition: transform 220ms ease;
}

.cookie-preferences.is-open .cookie-preferences-panel{
  transform: translate(-50%, -50%) scale(1);
}

.cookie-preferences-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(35,45,35,0.10);
  background: rgba(245,247,243,0.95);
  color: #3f5640;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.cookie-preferences-close:hover{
  background: #ffffff;
}

.cookie-preferences-panel h2{
  margin: 8px 0 10px;
  color: #3f5640;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.cookie-preferences-panel > p{
  margin: 0 0 22px;
  color: rgba(42,47,42,0.68);
  line-height: 1.65;
  font-size: 0.97rem;
}

.cookie-options{
  display: grid;
  gap: 12px;
}

.cookie-option{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-radius: 20px;
  border: 1px solid rgba(35,45,35,0.08);
  background: rgba(248,250,246,0.88);
  padding: 16px 18px;
}

.cookie-option h3{
  margin: 0 0 5px;
  color: #3f5640;
  font-size: 1rem;
}

.cookie-option p{
  margin: 0;
  color: rgba(42,47,42,0.62);
  line-height: 1.55;
  font-size: 0.93rem;
}

.cookie-required{
  white-space: nowrap;
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(72,104,72,0.10);
  color: #466346;
  font-size: 0.8rem;
  font-weight: 700;
}

.cookie-toggle-option{
  cursor: pointer;
}

.cookie-switch{
  position: relative;
  width: 52px;
  height: 30px;
  flex: 0 0 auto;
}

.cookie-switch input{
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(42,47,42,0.18);
  transition: background 180ms ease;
}

.cookie-slider::before{
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 3px;
  top: 3px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 5px 14px rgba(20,30,20,0.16);
  transition: transform 180ms ease;
}

.cookie-switch input:checked + .cookie-slider{
  background: #466346;
}

.cookie-switch input:checked + .cookie-slider::before{
  transform: translateX(22px);
}

.cookie-preferences-actions{
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

body.cookie-modal-open{
  overflow: hidden;
}

/* =========================
   COOKIE RESPONSIVE
========================= */

@media (max-width: 980px){
  .cookie-card{
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 18px;
  }

  .cookie-actions{
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px){
  .cookie-banner{
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-card{
    padding: 15px 14px;
    border-radius: 20px;
  }

  .cookie-content h2{
    font-size: 1.02rem;
  }

  .cookie-content p{
    font-size: 0.91rem;
    line-height: 1.45;
  }

  .cookie-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-btn{
    width: 100%;
  }

  .cookie-preferences-panel{
    padding: 26px 18px;
    border-radius: 22px;
  }

  .cookie-option{
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-preferences-actions{
    flex-direction: column;
  }

  .cookie-preferences-actions .cookie-btn{
    width: 100%;
  }
}


/* =========================
   LIVRO DE RECLAMAÇÕES
========================= */

.footer-bottom{
  position: relative;
}

.complaints-book-link{
  position: absolute;
  left: -8px;
  bottom: -28px;

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

  width: 150px;
  height: auto;

  text-decoration: none;
  border: 0;
  background: transparent;
  padding: 0;

  z-index: 5;

  transition:
    transform 180ms ease,
    opacity 180ms ease,
    filter 180ms ease;
}

.complaints-book-link img{
  width: 150px;
  height: auto;
  display: block;
  object-fit: contain;

  /* mantém as cores originais da imagem */
  filter: none !important;
}

.complaints-book-link:hover{
  transform: translateY(-2px) scale(1.03);
  opacity: 0.95;
}

.complaints-book-link:focus-visible{
  outline: 3px solid rgba(70, 99, 70, 0.28);
  outline-offset: 6px;
  border-radius: 12px;
}

@media (max-width: 900px){
  .footer-bottom{
    padding-bottom: 70px;
  }

  .complaints-book-link{
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 135px;
  }

  .complaints-book-link img{
    width: 135px;
  }

  .complaints-book-link:hover{
    transform: translateX(-50%) translateY(-2px) scale(1.03);
  }
}

/* =========================
   BRAND LOGO
========================= */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-weight: 700;
}

.brand-subtitle {
  font-size: 0.78rem;
  opacity: 0.85;
}

/* CÍRCULO DO LOGO HEADER */
.brand-logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;

  transform: translate(0px, 20px) scale(1.85);
  transform-origin: center;
}

/* Footer */
.brand-line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-wrap {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;

  /* ZOOM NA IMAGEM */
  transform: translate(0px, 20px) scale(1.85);
  transform-origin: center;
}

/* Remove o ícone antigo se ainda existir */
.brand-mark {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {
  .brand-logo-wrap {
    width: 58px;
    height: 58px;
  }

  .footer-logo-wrap {
    width: 66px;
    height: 66px;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  .brand-logo {
    transform: scale(1.8);
  }

  .footer-logo {
    transform: scale(1.85);
  }
}