/* =========================================================
   DENISE ANDRIOLI — Design tokens
   ========================================================= */
:root {
  --color-bg: #f4efe3;
  --color-bg-alt: #eae2d0;
  --color-cream: #fbf8f1;
  --color-oliva: #3e4a32;
  --color-oliva-deep: #2e3826;
  --color-oliva-mid: #6b7a54;
  --color-terracota: #a8562e;
  --color-terracota-dark: #8b4423;
  --color-gold: #c9a227;
  --color-ink: #2b2a24;
  --color-ink-soft: #55503f;
  --color-line: rgba(43, 42, 36, 0.12);

  --font-display: "Fraunces", serif;
  --font-body: "Work Sans", sans-serif;

  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 45px rgba(46, 56, 38, 0.12);
  --container-w: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--color-oliva-deep);
  font-weight: 500;
  margin: 0 0 0.5em;
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
}
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  font-family: var(--font-body);
}
p {
  margin: 0 0 1em;
  color: var(--color-ink-soft);
}
em {
  font-style: italic;
  color: var(--color-terracota);
}
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}
.light {
  color: var(--color-cream) !important;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-terracota-dark);
  margin-bottom: 0.9em;
}
.eyebrow-light {
  color: var(--color-gold);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-terracota);
  color: #fff;
  box-shadow: 0 12px 24px rgba(168, 86, 46, 0.28);
}
.btn-primary:hover {
  background: var(--color-terracota-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  border-color: var(--color-oliva);
  color: var(--color-oliva-deep);
}
.btn-ghost:hover {
  background: var(--color-oliva);
  color: #fff;
  transform: translateY(-2px);
}
.btn-large {
  padding: 18px 36px;
  font-size: 1.05rem;
}
.btn-header {
  margin-left: auto;
}

/* =========================================================
   PROGRESS BAR
   ========================================================= */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-terracota), var(--color-gold));
  z-index: 1100;
  transition: width 0.1s linear;
}

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  z-index: 1000;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244, 239, 227, 0.97);
  border-bottom: 1px solid var(--color-line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-oliva-deep);
}
.logo img {
  height: 56px;
  width: auto;
}
.logo-fallback {
  display: none;
  align-items: center;
  gap: 0.5em;
}
.main-nav {
  display: flex;
  gap: 28px;
  margin-left: 12px;
}
.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  position: relative;
}
.main-nav a:hover {
  color: var(--color-terracota-dark);
}
.nav-cta {
  display: none;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  z-index: 1010;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-oliva-deep);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -40px;
  width: 260px;
  height: 260px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23AFA789' stroke-width='0.7' opacity='0.5'%3E%3Ccircle cx='40' cy='150' r='1.6' fill='%23AFA789'/%3E%3Cline x1='40' y1='150' x2='25' y2='135'/%3E%3Cline x1='40' y1='150' x2='40' y2='130'/%3E%3Cline x1='40' y1='150' x2='55' y2='135'/%3E%3Cline x1='40' y1='150' x2='20' y2='150'/%3E%3Cline x1='40' y1='150' x2='60' y2='150'/%3E%3Cline x1='40' y1='150' x2='25' y2='165'/%3E%3Cline x1='40' y1='150' x2='55' y2='165'/%3E%3Ccircle cx='95' cy='175' r='1.2' fill='%23AFA789'/%3E%3Cline x1='95' y1='175' x2='84' y2='164'/%3E%3Cline x1='95' y1='175' x2='95' y2='160'/%3E%3Cline x1='95' y1='175' x2='106' y2='164'/%3E%3Cline x1='95' y1='175' x2='80' y2='180'/%3E%3Cline x1='95' y1='175' x2='110' y2='180'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-sub {
  font-size: 1.08rem;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 22px;
}
.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
}
.stars {
  color: var(--color-gold);
  letter-spacing: 2px;
}
.hero-visual {
  position: relative;
  min-height: 360px;
}
#dandelionHero {
  width: 100%;
  height: 100%;
}
.seed {
  transform-origin: center;
}

.seed-divider {
  height: 26px;
  width: 100%;
  background-image: radial-gradient(
    circle,
    var(--color-gold) 2px,
    transparent 2.4px
  );
  background-size: 34px 26px;
  opacity: 0.55;
}

/* =========================================================
   SECTION WRAPPERS
   ========================================================= */
.section {
  padding: 96px 0;
}
.section-cream {
  background: var(--color-cream);
}
.section-bege {
  background: var(--color-bg-alt);
}
.section-oliva {
  background: var(--color-oliva-deep);
  color: var(--color-cream);
}
.section-oliva p {
  color: rgba(251, 248, 241, 0.82);
}
.section-oliva h2 {
  color: var(--color-cream);
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about-photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(
    160deg,
    var(--color-oliva-mid),
    var(--color-oliva-deep)
  );
  position: relative;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo.photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-photo.photo-fallback::after {
  content: "\f007";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 3.4rem;
  color: rgba(251, 248, 241, 0.5);
}
.about-badges {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-badges li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--color-oliva-deep);
}
.about-badges i {
  color: var(--color-terracota);
}

/* SYMBOL */
.symbol-grid {
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.symbol-visual {
  display: flex;
  justify-content: center;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.service-card {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(168, 86, 46, 0.12);
  color: var(--color-terracota);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

/* EXTERIOR */
.exterior-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.exterior-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 28px;
}
.exterior-list i {
  color: var(--color-terracota);
  margin-right: 10px;
}
.exterior-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    var(--color-bg-alt),
    var(--color-oliva-mid) 80%
  );
  color: var(--color-cream);
  font-size: 4.5rem;
  box-shadow: var(--shadow-soft);
}

/* BENEFITS */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.benefit-item {
  text-align: center;
  padding: 20px;
}
.benefit-item i {
  font-size: 1.8rem;
  color: var(--color-gold);
  margin-bottom: 14px;
}
.benefit-item h3 {
  color: var(--color-cream);
}

/* RATING + MARQUEE */
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 40px 0 8px;
}
.rating-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--color-terracota-dark);
}
.marquee-wrap {
  overflow: hidden;
  margin-top: 40px;
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.testimonial-card {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 28px;
  width: 320px;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(46, 56, 38, 0.07);
}
.testimonial-card p {
  font-style: italic;
  color: var(--color-ink);
}
.testimonial-card span {
  font-size: 0.82rem;
  color: var(--color-ink-soft);
  font-weight: 500;
}
.testimonial-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.stars.small {
  font-size: 0.82rem;
}
.testimonial-head .fa-google {
  color: #a8562e;
  font-size: 1rem;
  opacity: 0.7;
}

/* OBJECTIONS */
.objections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.objection-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  text-align: center;
}
.objection-card i {
  font-size: 1.5rem;
  color: var(--color-terracota);
  margin-bottom: 14px;
}

/* FAQ */
.faq-list {
  max-width: 780px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-oliva-deep);
}
.faq-question i {
  transition: transform 0.3s ease;
  color: var(--color-terracota);
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
  padding: 0 26px;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 26px 22px;
}

/* LOCATION */
.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.location-text p {
  display: flex;
  align-items: center;
  gap: 10px;
}
.location-text i {
  color: var(--color-terracota);
  width: 18px;
}
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3;
}
.location-map iframe {
  width: 100%;
  height: 100%;
}

/* CTA FINAL */
.cta-final {
  text-align: center;
}
.cta-final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta-final p {
  max-width: 560px;
}
.cta-seed {
  margin-bottom: 6px;
}

/* FOOTER */
.site-footer {
  background: var(--color-oliva-deep);
  color: rgba(251, 248, 241, 0.92);
  padding: 48px 0 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(251, 248, 241, 0.18);
}
.footer-brand p {
  margin: 0.3em 0 0;
  font-size: 0.85rem;
  color: rgba(251, 248, 241, 0.75);
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.9rem;
  color: rgba(251, 248, 241, 0.92);
  font-weight: 500;
}
.footer-nav a:hover {
  color: var(--color-gold);
}
.footer-social {
  display: flex;
  gap: 16px;
  font-size: 1.2rem;
  color: rgba(251, 248, 241, 0.92);
}
.footer-social a:hover {
  color: var(--color-gold);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px;
  font-size: 0.85rem;
  color: var(--color-cream);
}
.footer-bottom a {
  color: var(--color-gold);
  font-weight: 700;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .about-grid,
  .exterior-grid,
  .location-grid,
  .symbol-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .objections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  .logo img {
    height: 46px;
  }
  .btn-header {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hamburger.open {
    position: fixed;
    top: 22px;
    right: 24px;
  }
  .hamburger.open span {
    background: var(--color-cream);
  }

  /* Painel do menu mobile — sempre presente no DOM, alternando entre
     estado fechado (invisível, recuado, sem interação) e aberto
     (visível, na posição, interativo) via transição suave. */
  .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    height: 100dvh;
    width: 100vw;
    margin: 0;
    background: var(--color-oliva-deep);
    padding: 110px 32px calc(48px + env(safe-area-inset-bottom));
    gap: 4px;
    z-index: 1005;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.96) translateY(-14px);
    transform-origin: top right;
    transition:
      opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.4s;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1) translateY(0);
    transition:
      opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0s;
  }
  .main-nav.open::before {
    content: "";
    position: absolute;
    right: -30px;
    bottom: 120px;
    width: 170px;
    height: 170px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23C9A227' stroke-width='0.7' opacity='0.28'%3E%3Ccircle cx='100' cy='90' r='1.6' fill='%23C9A227'/%3E%3Cline x1='100' y1='90' x2='85' y2='75'/%3E%3Cline x1='100' y1='90' x2='100' y2='70'/%3E%3Cline x1='100' y1='90' x2='115' y2='75'/%3E%3Cline x1='100' y1='90' x2='80' y2='90'/%3E%3Cline x1='100' y1='90' x2='120' y2='90'/%3E%3Cline x1='100' y1='90' x2='85' y2='105'/%3E%3Cline x1='100' y1='90' x2='115' y2='105'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
  }
  @keyframes navLinkIn {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .main-nav a {
    position: relative;
    z-index: 1;
    padding: 14px 2px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-cream);
    border-bottom: 1px solid rgba(251, 248, 241, 0.14);
    opacity: 0;
  }
  .main-nav.open a {
    animation: navLinkIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .main-nav.open a:nth-of-type(1) {
    animation-delay: 0.1s;
  }
  .main-nav.open a:nth-of-type(2) {
    animation-delay: 0.15s;
  }
  .main-nav.open a:nth-of-type(3) {
    animation-delay: 0.2s;
  }
  .main-nav.open a:nth-of-type(4) {
    animation-delay: 0.25s;
  }
  .main-nav.open a:nth-of-type(5) {
    animation-delay: 0.3s;
  }
  .main-nav.open a:nth-of-type(6) {
    animation-delay: 0.35s;
  }
  .main-nav.open a:nth-last-of-type(2) {
    border-bottom: 1px solid rgba(251, 248, 241, 0.14);
  }

  .nav-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
    padding: 17px 14px !important;
    border-bottom: none !important;
    font-family: var(--font-body);
    font-size: 1rem !important;
    color: #fff !important;
    animation-delay: 0.4s !important;
  }

  .services-grid,
  .benefits-grid,
  .objections-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
