/* =========================================================
   INSTITUTO ADEMIR FILHO — Folha de estilos
   Identidade visual inspirada na paleta Grandha Professional
   Hair Care · design moderno, limpo e responsivo
   ========================================================= */

:root {
  /* Paleta Grandha */
  --brand-900: #1B3A2C;
  --brand-800: #22503A;
  --brand-700: #275845;
  --brand-600: #32614B;
  --brand-500: #406C58;
  --brand-300: #7FA08C;
  --brand-200: #A8C3B2;
  --brand-100: #D8E8DE;
  --brand-50:  #E5F1EC;
  --tint:      #F2F7EE;

  --white:  #FFFFFF;
  --ink:    #002C4E;
  --ink-soft: #4A6470;
  --line:   #E3EDE6;

  --whatsapp: #25D366;
  --whatsapp-dark: #1EBE5A;

  --shadow:    0 12px 32px rgba(34, 80, 58, 0.10);
  --shadow-lg: 0 24px 60px rgba(34, 80, 58, 0.16);
  --shadow-xl: 0 42px 64px -1px rgba(0, 0, 0, 0.11);

  --radius:    20px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --font-head: 'DM Sans', 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'DM Sans', 'Bahnschrift', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --header-h: 74px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
ul { list-style: none; }

a { color: var(--brand-800); text-decoration: none; }

::selection { background: var(--brand-800); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding-block: 84px; }
.section--tint { background: var(--tint); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 16px; }

p { color: var(--ink-soft); }
strong { color: var(--ink); }
.accent { color: var(--brand-600); }

/* Rótulos de seção (estilo Grandha) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--brand-600);
  border-radius: 2px;
}
.eyebrow--center { justify-content: center; }

.section-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-head .eyebrow { justify-content: center; }
.section-head p { margin-top: 4px; font-size: 1.03rem; }

/* ---------- Botões (pílulas, estilo Grandha) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--brand-200); outline-offset: 3px; }

.btn--primary { background: var(--brand-600); color: #fff; box-shadow: 0 10px 24px rgba(50, 97, 75, 0.28); }
.btn--primary:hover { background: var(--brand-800); }

.btn--whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32); }
.btn--whatsapp:hover { background: var(--whatsapp-dark); }

.btn--outline { background: transparent; color: var(--brand-800); border-color: var(--brand-500); }
.btn--outline:hover { background: var(--brand-50); }

.btn--light { background: #fff; color: var(--brand-800); box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.btn--light:hover { background: var(--brand-50); }

.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ---------- Animações de entrada (scroll reveal) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* =========================================================
   CABEÇALHO
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.header.scrolled { box-shadow: 0 10px 18px -1px rgba(34, 80, 58, 0.14); border-color: var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--header-h);
}

.header__brand { display: flex; align-items: center; gap: 12px; }
.header__logo { height: 42px; width: auto; display: block; }
.header__brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.header__brand-text strong { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--brand-800); letter-spacing: -0.01em; }
.header__brand-text small { font-size: 0.7rem; font-weight: 600; color: var(--brand-500); letter-spacing: 0.1em; text-transform: uppercase; }

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

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list a {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  transition: color 0.18s ease, background 0.18s ease;
}
.nav__list a:hover { color: var(--brand-800); background: var(--brand-50); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }

/* =========================================================
   HERO (moderno: limpo, sem gradiente, formas orgânicas)
   ========================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 90px;
  background: var(--tint);
  overflow: hidden;
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.hero::before { width: 420px; height: 420px; background: var(--brand-100); opacity: 0.7; top: -140px; right: -120px; }
.hero::after { width: 300px; height: 300px; background: var(--brand-50); bottom: -140px; left: -90px; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-800);
  background: #fff;
  border: 1px solid var(--brand-100);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-600); }

.hero h1 { margin-bottom: 18px; }
.hero__sub { font-size: 1.08rem; max-width: 540px; margin-bottom: 30px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--brand-800); line-height: 1.1; }
.hero__stats span { font-size: 0.82rem; color: var(--ink-soft); }

.hero__visual { position: relative; }
.hero__visual img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
}

.hero__float {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
}
.hero__float--top { top: 18px; left: -26px; animation: floaty 5s ease-in-out infinite; }
.hero__float--bottom { bottom: 26px; right: -18px; animation: floaty 6s ease-in-out 1s infinite; }
.hero__float svg { width: 30px; height: 30px; color: var(--brand-600); }
.hero__float strong { display: block; font-size: 0.86rem; color: var(--ink); line-height: 1.2; }
.hero__float small { font-size: 0.72rem; color: var(--ink-soft); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =========================================================
   MARQUEE (linhas Grandha)
   ========================================================= */
.marquee {
  background: var(--brand-800);
  color: #fff;
  overflow: hidden;
  padding-block: 14px;
  position: relative;
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__item::after { content: "✦"; color: var(--brand-300); font-size: 0.8rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   SOBRE
   ========================================================= */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.about__media { position: relative; }
.about__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; border-radius: var(--radius); box-shadow: var(--shadow-xl); display: block; }
.about__media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--brand-100);
  border-radius: var(--radius);
  z-index: -1;
}

.about__list { margin: 24px 0 34px; display: grid; gap: 14px; }
.about__list li {
  position: relative;
  padding-left: 34px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.about__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-800);
}

.about__tag--center { margin: 0 auto 0; }

.about__team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.member-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.member-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }

.member-card__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-700);
  letter-spacing: 0.04em;
}
.member-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.member-card__name { margin: 0; font-size: 1.35rem; letter-spacing: -0.01em; color: var(--ink); }
.member-card__role { font-size: 0.86rem; font-weight: 600; color: var(--brand-600); }
.member-card__bio { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft); }
.member-card__btn { margin-top: 16px; flex: none; }

/* =========================================================
   SERVIÇOS
   ========================================================= */
.services__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }

.service-card__img {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--brand-50);
}
.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card__img img { transform: scale(1.05); }

.service-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.service-card h3 { font-size: 1.04rem; }
.service-card p { font-size: 0.9rem; flex: 1; }

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--brand-700);
}
.service-card a:hover { color: var(--brand-800); }
.service-card a .arr { transition: transform 0.2s ease; }
.service-card:hover a .arr { transform: translateX(4px); }

.services__cta {
  margin-top: 46px;
  background: var(--brand-800);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-xl);
}
.services__cta p { color: var(--brand-100); font-size: 1.05rem; max-width: 580px; }
.services__cta p strong { color: #fff; }

/* =========================================================
   PRODUTOS GRANDHA
   ========================================================= */
.products {
  position: relative;
  background:
    radial-gradient(700px 380px at 100% 0%, var(--brand-50), transparent 65%),
    radial-gradient(600px 360px at 0% 100%, var(--brand-50), transparent 65%),
    var(--tint);
}

.products__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
}
.products__badge .leaf {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--brand-800);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.products__badge .leaf svg { width: 22px; height: 22px; }
.products__badge strong { display: block; font-family: var(--font-head); font-size: 0.95rem; color: var(--ink); line-height: 1.25; }
.products__badge small { font-size: 0.78rem; color: var(--ink-soft); }

.products__cats { display: flex; flex-direction: column; gap: 44px; margin-bottom: 40px; }
.products__cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.products__cat-num {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px;
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 700;
  color: var(--cream); background: var(--brand-600);
  border-radius: 50%; box-shadow: 0 4px 12px rgba(34, 80, 58, 0.25);
}
.products__cat-title {
  flex: 1; margin: 0; font-size: 1.22rem; letter-spacing: -0.01em;
  padding-bottom: 10px; border-bottom: 2px solid var(--brand-100);
}
.products__cat .products__grid { margin-bottom: 0; }

.products__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; margin-bottom: 40px; }

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }

.product-card__img {
  aspect-ratio: 4 / 3;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.product-card:hover .product-card__img img { transform: scale(1.05); }

.product-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}
.product-card h3 { font-size: 1.05rem; }
.product-card p { font-size: 0.88rem; flex: 1; }
.product-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--brand-700);
}
.product-card a:hover { color: var(--brand-800); }
.product-card a .arr { transition: transform 0.2s ease; }
.product-card:hover a .arr { transform: translateX(4px); }

/* ---------- Pílulas de categoria ---------- */
.pillbar {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 30px;
}
.pill {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 600;
  color: var(--ink-soft); background: #fff;
  border: 1px solid var(--brand-100);
  padding: 10px 18px; border-radius: var(--radius-pill);
  cursor: pointer; transition: all 0.2s ease;
}
.pill:hover { border-color: var(--brand-300); color: var(--brand-700); }
.pill.is-active {
  background: var(--brand-600); border-color: var(--brand-600); color: #fff;
  box-shadow: 0 6px 16px rgba(34, 80, 58, 0.25);
}

/* ---------- Carrossel ---------- */
.carousel { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.carousel__viewport { overflow: hidden; width: 100%; }
.carousel__track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; scroll-behavior: smooth;
  padding: 4px 4px 8px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * {
  flex: 0 0 auto; width: 260px; scroll-snap-align: start;
}
.carousel__btn {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--brand-100); background: #fff; color: var(--brand-700);
  font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
  cursor: pointer; box-shadow: var(--shadow-sm);
  transition: all 0.2s ease; z-index: 2;
}
.carousel__btn:hover { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.carousel__btn:disabled { opacity: 0.35; cursor: default; box-shadow: none; }
.carousel__btn:disabled:hover { background: #fff; color: var(--brand-700); border-color: var(--brand-100); }

.products__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}
.products__cta p { max-width: 560px; }
.products__cta .links { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   AVALIAÇÕES
   ========================================================= */
.reviews__summary { text-align: center; margin-bottom: 38px; }
.reviews__stars { display: inline-block; font-size: 1.8rem; color: #F9A825; letter-spacing: 4px; margin-bottom: 6px; }
.reviews__summary p { font-size: 0.98rem; margin-bottom: 16px; }

.carousel--reviews { margin-bottom: 0; }
.carousel--reviews .carousel__track > * { width: calc((100% - 40px) / 3); }

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 6px 18px rgba(34, 80, 58, 0.06);
}
.review-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-800);
  font-family: var(--font-head);
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.review-card__author strong { display: block; font-size: 0.94rem; }
.review-card__stars { color: #F9A825; font-size: 0.9rem; letter-spacing: 2px; }
.review-card p { font-size: 0.92rem; }

.reviews__note { margin-top: 24px; text-align: center; font-size: 0.85rem; }
.reviews__note a { font-weight: 600; }

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.testimonial__video {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
}
.testimonial__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.testimonial figcaption { padding: 14px 18px; }
.testimonial figcaption p { font-size: 0.9rem; margin-bottom: 10px; font-style: italic; }
.testimonial__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.testimonial__service { display: block; font-size: 0.78rem; color: var(--brand-600); font-weight: 600; letter-spacing: 0.04em; }

.depoimentos__videos { margin-top: 52px; }
.depoimentos__videos-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 22px;
}
.carousel--videos { margin-bottom: 0; }
.carousel--videos .carousel__track > * { width: 260px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: start; }

.faq__list { display: grid; gap: 12px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--brand-200); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 19px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-800);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--brand-800); color: #fff; }

.faq-item p { padding: 0 22px 20px; font-size: 0.93rem; }
.faq-item p a { font-weight: 600; }

/* =========================================================
   CONTATO
   ========================================================= */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

.contact__list { margin: 26px 0; display: grid; gap: 6px; }
.contact__list li a, .contact__list li > span { display: flex; align-items: flex-start; gap: 16px; padding: 13px; border-radius: var(--radius-sm); transition: background 0.18s ease; }
.contact__list li a:hover { background: var(--brand-50); }

.contact__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand-800);
  display: grid;
  place-items: center;
}
.contact__list strong { display: block; font-family: var(--font-head); font-size: 0.95rem; color: var(--ink); }
.contact__list small { color: var(--ink-soft); font-size: 0.88rem; }

.contact__social { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__social a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.contact__social a:hover { background: var(--brand-50); color: var(--brand-800); border-color: var(--brand-200); }

.contact__form form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 34px;
}
.contact__form h3 { font-size: 1.3rem; margin-bottom: 6px; }
.contact__form-hint { font-size: 0.9rem; margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--tint);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(64, 108, 88, 0.14);
  background: var(--white);
}
.form-group textarea { resize: vertical; }

.form-group--check { display: flex; gap: 11px; align-items: flex-start; }
.form-group--check input { margin-top: 4px; accent-color: var(--brand-800); width: 18px; height: 18px; }
.form-group--check label { margin: 0; font-size: 0.83rem; color: var(--ink-soft); font-weight: 400; }

.form-group.is-error input, .form-group.is-error textarea { border-color: #D32F2F; }

.form-msg { margin-top: 12px; font-size: 0.88rem; font-weight: 600; text-align: center; }
.form-msg.ok { color: var(--brand-700); }
.form-msg.err { color: #D32F2F; }

/* =========================================================
   MAPA
   ========================================================= */
.map-section { padding-bottom: 84px; }
.map-section__head { text-align: center; margin-bottom: 30px; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xl); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 430px; border: 0; display: block; }

/* =========================================================
   PRIVACIDADE / LGPD
   ========================================================= */
.privacy__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.privacy__items { display: grid; gap: 12px; }
.privacy__items li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  font-size: 0.92rem;
  color: var(--ink);
  display: flex;
  gap: 12px;
  align-items: center;
}
.privacy__items li .ico { font-size: 1.15rem; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer { background: var(--brand-800); color: var(--brand-100); }
.footer a { color: var(--brand-100); }
.footer a:hover { color: #fff; }

.footer__grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr; gap: 44px; padding-block: 60px; }

.footer__logo { height: 52px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--brand-100); font-size: 0.9rem; margin-bottom: 20px; max-width: 300px; }
.footer__brand .grandha-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
}

.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  transition: background 0.18s ease, transform 0.18s ease;
}
.footer__social a:hover { background: var(--brand-500); transform: translateY(-2px); }

.footer__col h4 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 11px; }
.footer__col li { font-size: 0.9rem; }
.footer__contact li a { line-height: 1.55; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 22px; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.82rem; }
.footer__bottom p { color: var(--brand-100); }

/* =========================================================
   BOTÕES FLUTUANTES
   ========================================================= */
.floating-buttons {
  position: fixed;
  right: 22px;
  bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fb {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 26px rgba(0,0,0,0.22);
  transition: transform 0.2s ease;
  position: relative;
}
.fb:hover { transform: scale(1.08); }

.fb--phone { background: var(--brand-800); }

/* Botão da Anna — avatar circular + badge do WhatsApp */
.fb--annawa {
  width: 76px; height: 76px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.fb--annawa:hover { transform: scale(1.06); }
.fb--annawa .fb__avatar {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 12px 26px rgba(0,0,0,0.24);
}

.fb__badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.28);
  animation: fb-badge-pulse 2.6s ease-out infinite;
}
.fb__badge svg { width: 13px; height: 13px; }

@keyframes fb-badge-pulse {
  0% { box-shadow: 0 3px 8px rgba(0,0,0,0.28), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 3px 8px rgba(0,0,0,0.28), 0 0 0 10px rgba(37,211,102,0); }
  100% { box-shadow: 0 3px 8px rgba(0,0,0,0.28), 0 0 0 0 rgba(37,211,102,0); }
}

.fb__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.fb__tooltip::after { content: ""; position: absolute; top: 50%; right: -5px; transform: translateY(-50%); border: 5px solid transparent; border-left-color: var(--ink); }

@media (hover: hover) and (min-width: 769px) {
  .fb:hover .fb__tooltip { opacity: 1; }
}

/* Popup de boas-vindas da Anna */
.anna-pop {
  position: fixed;
  right: 22px;
  bottom: calc(26px + 76px + 12px + 56px + 12px + env(safe-area-inset-bottom, 0px));
  z-index: 899;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: min(332px, calc(100vw - 44px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 15px 15px 15px 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
}
.anna-pop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

.anna-pop__close {
  position: absolute;
  top: 7px; right: 7px;
  width: 24px; height: 24px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
  opacity: 0.6;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.anna-pop__close:hover, .anna-pop__close:focus-visible { opacity: 1; background: var(--brand-50); }

.anna-pop__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.anna-pop__text {
  margin: 0;
  padding: 2px 20px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.anna-pop__text small {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.back-to-top {
  position: fixed;
  left: 22px;
  bottom: 26px;
  z-index: 900;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand-800);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand-50); }

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: calc(var(--header-h) + 46px); }
  .hero__visual { max-width: 520px; margin-inline: auto; }
  .hero__float--top { left: 6px; }
  .hero__float--bottom { right: 6px; }

  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 560px; }

  .faq__inner { grid-template-columns: 1fr; gap: 36px; }
  .contact__inner { grid-template-columns: 1fr; gap: 44px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .privacy__inner { grid-template-columns: 1fr; }

  .carousel--reviews .carousel__track > * { width: calc((100% - 20px) / 2); }
}

@media (max-width: 768px) {
  .section { padding-block: 62px; }
  .about__team { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: var(--white);
    padding: 20px 22px 24px;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--line);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a { padding: 13px 16px; font-size: 0.92rem; }

  .nav__cta { margin-top: 12px; }

  .hero__stats { gap: 24px; }

  .services__cta, .products__cta { padding: 28px 24px; justify-content: center; text-align: center; }
  .products__cta .links { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact__form form { padding: 26px 22px; }

  .footer__grid { grid-template-columns: 1fr; gap: 34px; padding-block: 48px; }
  .map-wrap iframe { height: 340px; }
  .map-section { padding-bottom: 62px; }
}

@media (max-width: 560px) {
  .carousel__btn { display: none; }
  .carousel--reviews .carousel__track > * { width: 100%; }
  .pillbar { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .pillbar::-webkit-scrollbar { display: none; }
  .pill { flex: 0 0 auto; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .hero__actions .btn { width: 100%; }
  .header__brand-text small { display: none; }

  .floating-buttons { right: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .fb--annawa { width: 64px; height: 64px; }
  .fb__badge { width: 23px; height: 23px; border-width: 2px; }
  .fb__badge svg { width: 11px; height: 11px; }

  .anna-pop {
    right: 14px;
    bottom: calc(16px + 64px + 10px + 56px + 12px + env(safe-area-inset-bottom, 0px));
    max-width: calc(100vw - 28px);
  }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Ajuste local do preview: evita que texto intrínseco expanda o grid de equipe além do viewport. */
@media (max-width: 768px) {
  .about__team { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .member-card { min-width: 0; }
  .member-card__bio { overflow-wrap: anywhere; }
}

/* Loja WooCommerce: cards legíveis em celular estreito. */
@media (max-width: 560px) {
  .woocommerce ul.products[class*="columns-"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .woocommerce ul.products[class*="columns-"]::before,
  .woocommerce ul.products[class*="columns-"]::after { display: none; }
  .woocommerce ul.products[class*="columns-"] li.product {
    float: none;
    width: 100%;
    margin: 0;
  }
}
