:root {
  /* Paleta oficial — reposicionada para verde como primária */
  --brand-green: #0f3d26;    /* verde principal (marca) */
  --brand-green-700: #135338;/* verde médio */
  --brand-green-900: #0a2a1d;/* verde profundo */
  --cream: #efe7d5;          /* claro da marca (texto/surface) */
  --beige: #e8dccb;          /* surface */
  --warm-white: #faf6f1;     /* fundo claro */
  --soft-gold: #d8b26c;      /* destaque */
  --elegant-black: #1f1f1f;  /* texto forte em superfícies claras */
  --text: #2a2a2a;           /* corpo em superfícies claras */
  --muted: #6a5e54;          /* texto suave em superfícies claras */
  --caramel: #c28a62;        /* mantém como accent opcional */
  --light-brown: #b38b6d;    /* mantém como accent opcional */

  /* Estados interativos — verde */
  --hover: color-mix(in oklab, var(--brand-green-700) 92%, #000 8%);
  --active: color-mix(in oklab, var(--brand-green-900) 85%, #000 15%);
  --focus-ring: #0f3d2655; /* verde com transparência */
  --outline: rgba(15, 61, 38, .18);

  /* Feedback */
  --success: #2e7d32;
  --warning: #b26a00;
  --error: #b00020;

  /* Cores dinâmicas do gradiente de fundo — tons de verde */
  --bg-1: #0f3d26; /* topo */
  --bg-2: #135338; /* meio */
  --bg-3: #0a2a1d; /* base */
  /* Foco vertical da imagem do hero (0% topo, 100% base) */
  --hero-focus-y: 30%;
  /* Foco vertical da imagem do salão na seção Sobre */
  --about-focus-y: 18%;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--cream);
  background: var(--bg-3);
  line-height: 1.6;
  /* Previna rolagem horizontal e garanta largura total da viewport */
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; color: var(--cream); }
h1 { font-size: 2.4rem; line-height: 1.15; }
h2 { font-size: 2rem; }
h3 { font-size: 1.15rem; font-weight: 600; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Fundo dinâmico — gradiente + textura parallax */
.dynamic-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.gradient-layer {
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, var(--bg-1), transparent 60%),
              linear-gradient(180deg, var(--bg-1), var(--bg-2), var(--bg-3));
  will-change: background;
}
.texture-layer {
  position: absolute; inset: -10% -10% -10% -10%;
  /* Padrão decorativo suave inspirado em curvas (placeholder) */
  background-image:
    radial-gradient( circle at 20px 20px, rgba(255,255,255,.18) 0 6px, transparent 7px ),
    radial-gradient( circle at 60px 60px, rgba(0,0,0,.04) 0 6px, transparent 7px );
  background-size: 140px 140px, 140px 140px;
  opacity: .35;
  will-change: transform;
  filter: saturate(0.9) contrast(0.95);
}
.particles-layer {
  position: absolute; inset: 0;
  z-index: 1; /* acima do gradiente/texture, ainda atrás do conteúdo */
  display: block;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  border: 1px solid transparent;
}
.btn.primary {
  background: linear-gradient(135deg, var(--brand-green-700), var(--brand-green));
  color: #efe7d5;
  box-shadow: 0 10px 24px rgba(15, 61, 38, .25);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(15, 61, 38, .35); }
.btn.primary.dark {
  background: linear-gradient(135deg, var(--brand-green-900), var(--brand-green-700));
}
.btn.secondary {
  background: var(--cream);
  color: var(--elegant-black);
  border: 1px solid rgba(0,0,0,.08);
}
.btn.secondary:hover { opacity: .9; transform: translateY(-1px); }
.btn.outline {
  background: transparent;
  color: var(--elegant-black);
  border-color: var(--outline);
}
.btn:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.btn:active { transform: translateY(0); box-shadow: 0 8px 18px rgba(194,138,98,.2); }

/* HERO */
.hero {
  position: relative;
  padding: 84px 0 64px;
  background:
    radial-gradient(1200px 400px at 10% 10%, color-mix(in oklab, var(--brand-green) 60%, #ffffff 40%) , transparent 60%),
    radial-gradient(900px 400px at 90% 0%, color-mix(in oklab, var(--brand-green-700) 35%, #ffffff 65%), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2), var(--bg-3));
  overflow: hidden;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: center;
}
.hero-text .btn { display: flex; margin: 10px auto 0 auto; }
.hero-text .subheadline {
  color: color-mix(in oklab, var(--cream) 92%, #ffffff 8%);
  font-weight: 500;
  font-size: clamp(1.02rem, 1.3vw + 0.9rem, 1.32rem);
  line-height: 1.65;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 10px 0 12px;
  max-width: 62ch;
}
.hero-text .subpoints {
  list-style: disc;
  margin: 6px 0 18px;
  padding-left: 20px;
  color: color-mix(in oklab, var(--cream) 90%, #ffffff 10%);
  font-size: clamp(.98rem, 1.05vw + .9rem, 1.12rem);
  line-height: 1.65;
  max-width: 68ch;
}
.hero-text .subpoints li { margin: 6px 0; }

@media (max-width: 600px) {
  .hero-text .subheadline { font-size: 1.05rem; max-width: 56ch; }
  .hero-text .subpoints { font-size: 1rem; max-width: 60ch; }
}

@media (min-width: 960px) {
  .hero-text .subheadline { max-width: 64ch; }
}
.location-block { margin: 16px 0 24px; }
.location-block .city { font-weight: 600; color: var(--elegant-black); }
.location-block .address {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-top: 8px;
  margin-bottom: 16px; /* mais espaço entre o local e o mapa */
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: saturate(120%) blur(4px);
  -webkit-backdrop-filter: saturate(120%) blur(4px);
  color: color-mix(in oklab, var(--cream) 94%, #ffffff 6%);
  text-decoration: none; /* remove sublinhado do link */
  font-weight: 500;
  font-size: clamp(.95rem, 1.2vw + .85rem, 1.05rem);
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0,0,0,.12) inset;
}

/* Garante que hover/focus não reintroduzam sublinhado */
.location-block .address:hover,
.location-block .address:focus { text-decoration: none; }
.location-block .address::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  box-shadow: 0 0 0 1px rgba(255,255,255,.22) inset;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5S10.62 6.5 12 6.5s2.5 1.12 2.5 2.5S13.38 11.5 12 11.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.hero-image {
  height: 340px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(145deg, color-mix(in oklab, var(--brand-green) 8%, var(--warm-white) 92%), rgba(243, 237, 228, .85)),
    repeating-linear-gradient(45deg, rgba(0,0,0,.02) 0 8px, rgba(0,0,0,.03) 8px 16px);
  display: block;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
}
.hero-image .hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--hero-focus-y, 50%);
  display: block;
}

.hero-shimmer {
  position: absolute; inset: -40% -20% auto -20%; height: 140%;
  background: radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,.45), rgba(255,255,255,0) 60%),
              linear-gradient(90deg, rgba(216,178,108,.12), rgba(216,178,108,.02));
  mix-blend-mode: screen;
  animation: shimmer 16s linear infinite alternate;
  pointer-events: none;
}

@keyframes shimmer {
  from { transform: translateX(-12%) translateY(-4%) rotate(-2deg); opacity: .65; }
  to   { transform: translateX(12%) translateY(0) rotate(2deg); opacity: .85; }
}

/* SOBRE */
.about { padding: 64px 0; }
.about-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.about-photo {
  position: relative;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  background: none;
  display: block;
  width: 100%; /* ocupa toda a largura da coluna do grid */
  padding: 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
}
.about-photo .about-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
  border-radius: 16px;
  /* Edge fade nas bordas da imagem */
  -webkit-mask-image: radial-gradient(120% 110% at 50% 50%, #000 86%, transparent 100%);
  mask-image: radial-gradient(120% 110% at 50% 50%, #000 86%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
}
.about-text p { color: color-mix(in oklab, var(--cream) 92%, #ffffff 8%); margin: 10px 0; }

/* BENEFÍCIOS */
.benefits { padding: 40px 0 24px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  /* Cards — visual consistente com gradiente sutil e contraste acessível */
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--warm-white) 92%, #ffffff 8%),
    color-mix(in oklab, var(--soft-gold) 18%, var(--warm-white) 82%)
  );
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: clamp(12px, 4vw, 18px);
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  transition: transform 200ms ease, box-shadow 200ms ease;
  color: var(--elegant-black); /* texto escuro para alto contraste sobre fundo claro */
  /* Centralização total do conteúdo */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: clamp(96px, 18vh, 160px);
  overflow-wrap: anywhere;
  hyphens: auto;
}
.card .icon { font-size: 1.3rem; }

/* Interação acessível dos cards */
.cards .card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.08); }
.cards .card:focus-within { outline: 3px solid var(--focus-ring); outline-offset: 3px; }

/* Variações sutis por card mantendo consistência visual */
.cards .card:nth-child(2) {
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--warm-white) 94%, #ffffff 6%),
    color-mix(in oklab, var(--brand-green) 8%, var(--warm-white) 92%)
  );
}
.cards .card:nth-child(3) {
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--warm-white) 92%, #ffffff 8%),
    color-mix(in oklab, var(--cream) 16%, var(--warm-white) 84%)
  );
}
.cards .card:nth-child(4) {
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--warm-white) 92%, #ffffff 8%),
    color-mix(in oklab, var(--soft-gold) 22%, var(--warm-white) 78%)
  );
}
.cards .card:nth-child(5) {
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--warm-white) 92%, #ffffff 8%),
    color-mix(in oklab, var(--brand-green) 10%, var(--warm-white) 90%)
  );
}
.cards .card:nth-child(6) {
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--warm-white) 92%, #ffffff 8%),
    color-mix(in oklab, var(--beige) 20%, var(--warm-white) 80%)
  );
}

/* Tipografia acessível nos cards */
.cards .card h3 {
  font-size: clamp(.95rem, 2.8vw, 1.15rem);
  line-height: 1.35;
  font-weight: 600;
}

/* Força cor de título nos cards para alto contraste em fundo claro */
.cards .card h3 { color: var(--elegant-black); }

/* Responsivo: mantém legibilidade em telas menores */
@media (max-width: 600px) {
  .cards .card { padding: clamp(10px, 3.5vw, 14px); min-height: clamp(88px, 22vh, 140px); }
  .cards .card h3 { font-size: clamp(.9rem, 3.2vw, 1.05rem); line-height: 1.4; }
}

/* Ajustes finos para telas muito pequenas */
@media (max-width: 420px) {
  .cards .card { min-height: clamp(80px, 24vh, 130px); }
  .cards .card h3 { font-size: clamp(.88rem, 3.6vw, 1rem); }
}

/* Paisagem com pouca altura: evitar overflow */
@media (max-height: 480px) and (orientation: landscape) {
  .cards .card { min-height: clamp(72px, 20vh, 120px); padding: clamp(8px, 3vw, 12px); }
}

/* Inputs e formulários */
.form { display: grid; gap: 12px; }
.label { font-weight: 600; }
.input, .textarea, .select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: var(--warm-white);
  color: var(--text);
}
.input:focus-visible, .textarea:focus-visible, .select:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}
.helper { font-size: .85rem; color: var(--muted); }
.error-text { color: var(--error); font-size: .85rem; }

/* ANTES & DEPOIS */
.before-after { padding: 56px 0; }
.before-after h2 { margin-bottom: 6px; }
.before-after .subtext { color: color-mix(in oklab, var(--cream) 90%, #ffffff 10%); margin-bottom: 22px; }
/* 🎞️ Carrossel de Antes e Depois fluido */
.ba-carousel { position: relative; max-width: 720px; margin: 0 auto; overflow: hidden; aspect-ratio: 16/9; }
/* Slides empilhados com transição suave por opacidade */
.ba-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; will-change: opacity; transition: opacity 260ms ease-in-out, visibility 0s linear 260ms; }
.ba-slide.active { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.ba { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 12px; background: #111; user-select: none; touch-action: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-img { -webkit-user-drag: none; cursor: ew-resize; }
.ba-after { clip-path: inset(0 0 0 50%); will-change: clip-path; }
.ba-after { clip-path: inset(0 0 0 50%); -webkit-clip-path: inset(0 0 0 50%); will-change: clip-path; transition: clip-path 300ms ease, -webkit-clip-path 300ms ease; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); will-change: left; transition: left 300ms ease; width: 0; z-index: 2; }
.ba-handle::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.95); pointer-events: none; will-change: transform; }
.ba-grip { position: absolute; top: 50%; left: -14px; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.3); transition: box-shadow 160ms ease, transform 160ms ease; }
.ba-grip:hover, .ba:focus-visible .ba-grip { box-shadow: 0 2px 10px rgba(0,0,0,.3), 0 0 0 3px var(--focus-ring); transform: translateY(-50%) scale(1.06); }
.ba.dragging .ba-grip { box-shadow: 0 2px 10px rgba(0,0,0,.3), 0 0 0 3px var(--brand-green); transform: translateY(-50%) scale(1.06); }
.ba, .ba-handle, .ba-grip { cursor: ew-resize; }
.ba-grip { pointer-events: auto; z-index: 3; cursor: grab; }
.ba.dragging .ba-grip { cursor: grabbing; }
.ba-label { position: absolute; bottom: 12px; padding: 6px 10px; font: 600 12px/1.1 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: #fff; background: rgba(0,0,0,.45); border-radius: 6px; pointer-events: none; }
.ba-label-left { left: 12px; }
.ba-label-right { right: 12px; }
.ba-controls { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); z-index: 10; }
.ba-controls button { background: rgba(0,0,0,0.4); border: none; color: #fff; font-size: 24px; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; transition: background 0.3s; }
.ba-controls button:hover { background: rgba(0,0,0,0.6); }
@media (max-width: 480px){
  .ba-grip{width:24px;height:24px;left:-12px;}
  .ba-label{font-size:11px;padding:5px 8px;}
}

/* Durante o arraste, desabilitar transições para manter 1:1 com o gesto */
.ba.dragging .ba-after { transition: none; -webkit-transition: none; }
.ba.dragging .ba-handle { transition: none; }

/* CARROSSEL */
.carousel-section { padding: 56px 0; background: linear-gradient(180deg, color-mix(in oklab, var(--brand-green) 20%, var(--warm-white) 80%), var(--warm-white)); }
.carousel { position: relative; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 10px; }
.track { overflow: hidden; }
.track .inner { display: flex; gap: 16px; will-change: transform; transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1); }
.slide { flex: 0 0 clamp(240px, 26vw, 360px); height: clamp(160px, 20vw, 240px); border-radius: 16px; background: linear-gradient(160deg, var(--cream), var(--warm-white)); border: 1px solid rgba(0,0,0,.06); box-shadow: 0 8px 18px rgba(0,0,0,.06); display:flex; align-items:center; justify-content:center; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav {
  height: 48px; width: 48px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.08);
  background: var(--cream);
  color: var(--elegant-black);
  font-size: 26px; line-height: 1; cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}
.nav:hover { background: var(--beige); }

/* Dots indicadores */
.dots { grid-column: 1 / -1; display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.2); border: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.dot[aria-current="true"], .dot.active { background: var(--brand-green); transform: scale(1.2); }
.dot:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

/* INSTAGRAM */
.instagram { padding: 56px 0; }
.instagram h2 { margin-bottom: 8px; }
.instagram .insta-text { color: color-mix(in oklab, var(--cream) 88%, #ffffff 12%); margin-bottom: 18px; }
/* Botão Instagram (gradiente oficial, responsivo e acessível) */
.ig-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 12px;
  background: linear-gradient(45deg,
    #833AB4, #C13584, #E1306C, #FD1D1D,
    #F56040, #F77737, #FCAF45, #FFDC80
  );
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
  transition: transform 180ms ease;
  margin-bottom: 20px; /* mais espaço das imagens abaixo */
  text-decoration: none; /* remove risco/sublinhado do texto */
}
.ig-button:visited { text-decoration: none; }
.ig-button:hover { text-decoration: none; }
.ig-button:hover { transform: scale(1.05); }
.ig-button:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.ig-button .ig-icon { width: 18px; height: 18px; display: block; flex-shrink: 0; }
.ig-button .ig-label { color: #FFFFFF; font-weight: 600; line-height: 1; white-space: nowrap; letter-spacing: 0.2px; }

/* Cabeçalho com logo */
.site-head { background: var(--brand-green-900); color: var(--cream); padding: 12px 0; position: sticky; top: 0; z-index: 10; }
.head-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.site-logo {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.insta-item {
  /* manter proporções originais das imagens dentro do item */
  aspect-ratio: unset;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--cream), var(--warm-white));
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
  color: var(--elegant-black);
}
.insta-item img {
  width: 100%;
  height: auto; /* preserva proporção original */
  display: block;
  border-radius: 12px;
}
.insta-item .img-fallback { display: none; }
.insta-item.error .img-fallback { display: block; padding: 12px; color: #a00; font-weight: 600; }
.insta-item.error img { display: none; }


/* CTA FINAL */
.final-cta {
  position: relative;
  padding: 64px 0 80px;
  background: linear-gradient(135deg, var(--brand-green), color-mix(in oklab, var(--brand-green) 80%, var(--soft-gold) 20%));
  overflow: hidden;
}
.cta-wrap { display: grid; gap: 14px; align-items: center; justify-items: center; text-align: center; }
.cta-wrap h2 { color: var(--cream); text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.final-cta .subheadline {
  color: color-mix(in oklab, var(--cream) 90%, #ffffff 10%);
  max-width: 680px;
  line-height: 1.5;
  font-weight: 400;
  text-align: left;
  justify-self: start;
}
.cta-shimmer {
  position: absolute; inset: -20% -20% auto -20%; height: 140%;
  background: radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,.35), rgba(255,255,255,0) 60%),
              linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.02));
  mix-blend-mode: screen; animation: shimmer 20s linear infinite alternate; pointer-events: none;
}

/* Footer */
.footer { padding: 22px 0; background: var(--brand-green-900); color: var(--cream); text-align: center; border-top: none; }
/* Alinhamento do texto do rodapé no mobile */
@media (max-width: 600px) {
  .footer p { text-align: left; }
}

/* Logo wordmark e selo (versões claro/escuro) */
.logo-wordmark { display: grid; gap: 2px; align-items: center; justify-items: center; padding: 16px 20px; border-radius: 12px; }
.logo-wordmark.dark { background: var(--brand-green); color: #efe7d5; }
.logo-wordmark.light { background: var(--warm-white); color: var(--brand-green); border: 1px solid rgba(0,0,0,.06); }
.logo-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; line-height: 1; }
.logo-sub { font-family: 'Poppins', sans-serif; font-size: .9rem; letter-spacing: .12em; }
.logo-safe { margin: 12px; } /* espaçamento mínimo recomendado */

/* Seção guia de estilo */
.design-system { padding: 56px 0; border-top: 1px solid rgba(0,0,0,.06); }
.swatches { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-bottom: 18px; }
.swatch { height: 50px; border-radius: 10px; border: 1px solid rgba(0,0,0,.06); box-shadow: 0 6px 14px rgba(0,0,0,.06); display:flex; align-items:center; justify-content:center; font-size:.8rem; }
.components-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* Badge de logo */
/* (logo removida) */

/* Responsivo */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; }
  .about-wrap { grid-template-columns: 1fr; }
  .about-photo .about-img { max-height: 360px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  /* (logo removida) */
  :root { --hero-focus-y: 30%; }
  .hero-image { height: 300px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.9rem; margin-top: 0; }
  h2 { font-size: 1.6rem; }
  .about-photo .about-img { max-height: 300px; }
  .cards { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  :root { --hero-focus-y: 30%; }
  .hero-image { height: 280px; }
  /* Reduzir o espaço entre header e h1 */
  .hero { padding-top: 56px; }
  /* Garantir coluna única e evitar qualquer corte no hero */
  .hero-content { grid-template-columns: 1fr !important; }
  .hero { overflow: visible; }
  /* Largura útil maior no mobile */
  .container { padding: 0 16px; }
  /* Iframe do mapa responsivo */
  .location-block iframe { width: 100% !important; max-width: 100%; height: 300px; }
  /* Header responsivo: evitar sobreposição entre símbolo e wordmark */
  .head-wrap { justify-content: flex-start; gap: 10px; padding-left: 12px; }
  .site-logo { position: static; transform: none; width: clamp(40px, 16vw, 60px); height: auto; max-width: none; left: auto; top: auto; }
  .logo-wordmark { padding: 10px 12px; border-radius: 10px; }
  .logo-title { font-size: 1.3rem; }
  .logo-sub { font-size: .8rem; }
  /* Instagram — h2 mais agradável e centrado no mobile */
  .instagram { padding: clamp(40px, 8vh, 56px) 0; }
  .instagram h2 { font-size: clamp(1.25rem, 5.4vw, 1.8rem); line-height: 1.25; text-align: center; margin: 0 0 12px; text-wrap: balance; overflow-wrap: anywhere; }
}
/* Unificar estilo do botão WhatsApp em todos os botões */
.btn, .btn.primary, .btn.secondary, .btn.outline, .final-cta .btn {
  --wa-green: #25D366;
  background: var(--wa-green);
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(37, 211, 102, .28);
  transition: transform 200ms ease, box-shadow 260ms ease;
  will-change: transform, box-shadow;
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(37,211,102,.42); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid rgba(255,255,255,.7); outline-offset: 3px; }
.btn.whatsapp {
  --wa-green: #25D366;
  background: var(--wa-green);
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(37, 211, 102, .28);
  transition: transform 200ms ease, box-shadow 260ms ease;
  will-change: transform, box-shadow;
}
.btn.whatsapp:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(37,211,102,.42); }
.btn.whatsapp:active { transform: scale(.98); }
.btn.whatsapp:focus-visible { outline: 3px solid rgba(255,255,255,.7); outline-offset: 3px; }
.hero-text .btn.whatsapp { display: flex; margin-left: auto; margin-right: auto; justify-content: center; }
.btn .wa-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.btn .wa-icon svg { width: 18px; height: 18px; display: block; }
.btn .wa-icon img { width: 18px; height: 18px; display: block; filter: brightness(0) invert(1); }
.btn .wa-text { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@keyframes wa-glow {
  from { box-shadow: 0 0 0 0 rgba(255,255,255,.25), 0 12px 24px rgba(37,211,102,.28); }
  to   { box-shadow: 0 0 0 6px rgba(255,255,255,0), 0 12px 24px rgba(37,211,102,.28); }
}

@media (prefers-reduced-motion: reduce) {
  .btn { animation: none; transition: transform 230ms ease, box-shadow 230ms ease; }
}

/* ===== Tipografia e UX mobile para parágrafos ===== */
@media (max-width: 600px) {
  /* Legibilidade e espaçamento mínimo de 8px */
  .container p,
  .about-text p,
  .final-cta .subheadline,
  .footer p,
  .location-block .address {
    font-size: 1rem; /* 16px recomendados */
    line-height: 1.65;
    margin: 10px 0; /* >= 8px entre elementos */
    text-wrap: balance;
    overflow-wrap: anywhere;
    hyphens: auto;
    text-align: left;
    max-width: 68ch;
  }

  /* Endereço longo: quebras seguras e melhor fluxo */
  .location-block .address {
    word-break: break-word;
    padding: 12px 16px; /* alvo de toque confortável */
    margin: 16px 0 24px; /* ainda mais respiro entre botão e mapa */
    font-size: .9rem; /* menor para melhor ajuste no mobile */
    letter-spacing: 0.01em;
  }

  /* Espaçamento extra acima do mapa no mobile */
  .location-block iframe { margin-top: 16px; }

  /* Oculta somente no mobile a nota "acima do UNABIRRA —" */
  .location-block .address .note { display: none; }

  /* Alvos de toque mínimos para botões */
  .btn, .final-cta .btn, .btn.whatsapp {
    min-height: 48px;
    min-width: 48px;
  }
}

/* Nota de referência "acima do UNABIRRA —" oculta em todas as telas */
.location-block .address .note { display: none; }

/* ===== ÍCONES DOS CARDS (PROPORCIONAIS E RESPONSIVOS) ===== */
.cards .card .icon { margin-bottom: 8px; font-size: 1.05rem; display: flex; align-items: center; justify-content: center; }
.cards .card .icon .icon-svg { width: 1.4em; height: 1.4em; shape-rendering: geometricPrecision; }
.cards .card .icon .icon-svg path { vector-effect: non-scaling-stroke; }

@media (max-width: 600px) {
  .cards .card .icon { font-size: 1rem; margin-bottom: 6px; }
  .cards .card .icon .icon-svg { width: 1.35em; height: 1.35em; }
}
.ba-after { clip-path: inset(0 0 0 50%); -webkit-clip-path: inset(0 0 0 50%); will-change: clip-path; }
.ba:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }