/* ==========================================================================
   INSTITUTO SIMPLESMENTE — Estilos (redesign clean & proporcional)
   --------------------------------------------------------------------------
   Visual claro e acolhedor (wellness), layout responsivo fluido.
   Proporcional à tela em qualquer dispositivo via clamp() e container fluido.
   ========================================================================== */

/* 1. TOKENS ----------------------------------------------------------------- */
:root {
  /* Paleta (identidade do Instituto) */
  --verde-900: #22342b;
  --verde-800: #2c4438;
  --verde-700: #3e5a4b;
  --verde-600: #4d6f5d;
  --verde-100: #e6ece7;
  --areia-200: #d6be9c;
  --areia-100: #efe8dc;
  --creme: #faf8f3;
  --branco: #ffffff;
  --rosa-700: #784d54;
  --rosa-100: #f7e8ec;
  --tinta: #1f2420;
  --tinta-suave: #5a6159;
  --tinta-claro: #8a9087;
  --borda: rgba(34, 52, 43, 0.10);

  /* Tipografia */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Métricas fluidas (proporcionalidade) */
  --container: min(1160px, 92vw);
  --container-narrow: min(820px, 92vw);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --pad-section: clamp(3rem, 8vw, 6.5rem);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(34, 52, 43, 0.05), 0 8px 24px -12px rgba(34, 52, 43, 0.12);
  --shadow-md: 0 2px 4px rgba(34, 52, 43, 0.05), 0 18px 44px -18px rgba(34, 52, 43, 0.22);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. RESET E BASE ----------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1vw + 0.6rem, 1.05rem);
  line-height: 1.65;
  color: var(--tinta);
  background-color: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--verde-600);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--verde-100);
  color: var(--verde-900);
}

/* 3. TIPOGRAFIA ------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--verde-900);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

p {
  color: var(--tinta-suave);
}

/* 4. LAYOUT ----------------------------------------------------------------- */
.container {
  width: var(--container);
  margin-inline: auto;
}

.container--narrow {
  width: var(--container-narrow);
}

.section {
  padding-block: var(--pad-section);
}

.section--tint {
  background-color: #f4f1ea;
}

.section--white {
  background-color: var(--branco);
}

/* Cabeçalho de seção (kicker + título + subtítulo) */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--verde-600);
  margin-bottom: 0.9rem;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--areia-200);
}

.section-head--center .kicker::after {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--areia-200);
}

.section-head p {
  margin-top: 0.9rem;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
}

/* 5. HEADER ----------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borda);
}

/* No mobile, o header vira relativo para o menu dropdown posicionar abaixo */
@media (max-width: 768px) {
  .header {
    position: relative;
  }
}

.header-inner {
  height: clamp(64px, 8vh, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: var(--verde-900);
  line-height: 1.1;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--verde-600);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tinta-suave);
  transition: color 0.25s var(--ease);
}

.nav a:hover {
  color: var(--verde-700);
}

.nav a.is-active {
  color: var(--verde-700);
}

/* Botão "Agendar consulta" no header — garante texto branco (corrige
   especificidade de .nav a que sobrescrevia a cor do botão) */
.nav .btn.btn--primary,
.nav a.btn.btn--primary {
  color: var(--branco);
}

.nav .btn.btn--primary:hover,
.nav a.btn.btn--primary:hover {
  color: var(--branco);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: clamp(0.7rem, 1.6vw, 0.95rem) clamp(1.2rem, 3vw, 1.9rem);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--verde-700);
  color: var(--branco);
  box-shadow: 0 8px 20px -8px rgba(62, 90, 75, 0.5);
}

.btn--primary:hover {
  background: var(--verde-800);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(62, 90, 75, 0.55);
}

.btn--outline {
  background: transparent;
  color: var(--verde-700);
  border: 1.5px solid var(--verde-700);
}

.btn--outline:hover {
  background: var(--verde-100);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--branco);
  color: var(--verde-800);
  box-shadow: var(--shadow-sm);
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
}

.btn--whatsapp:hover {
  background: #1eb95b;
  transform: translateY(-2px);
}

/* Botão hambúrguer (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--verde-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 6. HERO ------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 9vh, 6.5rem);
  overflow: hidden;
}

.hero--home {
  background:
    radial-gradient(900px 480px at 85% -10%, var(--areia-100) 0%, transparent 60%),
    radial-gradient(700px 420px at -5% 40%, var(--rosa-100) 0%, transparent 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.hero-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde-600);
  margin-bottom: 1.1rem;
}

.hero h1 {
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--tinta-suave);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 55%;
  height: 55%;
  border-radius: var(--radius-lg);
  background: var(--areia-200);
  opacity: 0.35;
  z-index: -1;
}

/* Hero de páginas internas */
.page-hero {
  padding-block: clamp(2.5rem, 6vh, 4.5rem);
  text-align: center;
  background:
    radial-gradient(700px 380px at 50% -20%, var(--areia-100) 0%, transparent 60%);
  border-bottom: 1px solid var(--borda);
}

.page-hero .container {
  max-width: 720px;
}

.page-hero h1 {
  margin-bottom: 0.9rem;
}

.page-hero p {
  color: var(--tinta-suave);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

/* 7. CARDS ------------------------------------------------------------------ */
.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 2vw, 1.4rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: clamp(38px, 5vw, 46px);
  height: clamp(38px, 5vw, 46px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--verde-100);
  color: var(--verde-700);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.card-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--areia-200);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

/* 8. SOBRE / BLOCO DE TEXTO -------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.split-body h2 {
  margin-bottom: 1rem;
}

.split-body p + p {
  margin-top: 0.9rem;
}

/* Lista de diferenciais / checkmarks */
.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--verde-800);
}

.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--verde-700);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

/* 9. PASSOS (como funciona) -------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.step {
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--areia-200);
  line-height: 1;
  margin-bottom: 0.9rem;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.88rem;
}

/* 10. CTA FINAL -------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--verde-800) 0%, var(--verde-700) 55%, var(--verde-600) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  color: var(--branco);
}

.cta-band h2 {
  color: var(--branco);
  margin-bottom: 0.9rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 1.8rem;
}

/* 11. EQUIPE ---------------------------------------------------------------- */
.team-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  justify-items: center;
  text-align: center;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.team-card h3 {
  margin-bottom: 0.15rem;
}

.team-card .team-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--verde-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.team-card p {
  font-size: 0.88rem;
}

/* A foto fica dentro de <picture> (WebP + fallback JPG) */
.team-card picture {
  display: block;
  width: 100%;
}

/* Selo de destaque (ex.: fundadora) */
.team-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--verde-800);
  background: var(--verde-100);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.55rem;
}

.team-card--destaque {
  border-color: var(--areia-200);
  box-shadow: var(--shadow-md);
}

/* 12. ESTRUTURA / CARROSSEL ------------------------------------------------ */
.carousel {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #1f2420;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  max-height: 70vh;
  background: #1f2420;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Botões de navegação */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: clamp(40px, 6vw, 52px);
  height: clamp(40px, 6vw, 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--verde-800);
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.carousel-btn:hover {
  background: var(--branco);
  transform: translateY(-50%) scale(1.06);
}

.carousel-btn--prev {
  left: clamp(0.6rem, 2vw, 1rem);
}

.carousel-btn--next {
  right: clamp(0.6rem, 2vw, 1rem);
}

/* Indicadores (pontos) */
.carousel-dots {
  position: absolute;
  bottom: clamp(0.6rem, 2vw, 1rem);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s var(--ease), width 0.2s var(--ease);
}

.carousel-dot.is-active {
  background: var(--branco);
  width: 22px;
  border-radius: 999px;
}

/* Contador */
.carousel-count {
  position: absolute;
  top: clamp(0.6rem, 2vw, 1rem);
  right: clamp(0.6rem, 2vw, 1rem);
  z-index: 10;
  background: rgba(34, 52, 43, 0.65);
  color: var(--branco);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
  .carousel-btn {
    display: none;
  }
}

/* Variante clara do carrossel (Equipe): um profissional por slide */
.carousel--equipe {
  max-width: 640px;
  background: transparent;
  box-shadow: none;
}

.carousel--equipe .carousel-slide {
  aspect-ratio: auto;
  max-height: none;
  background: transparent;
  /* espaço lateral para a sombra do card e para os botões */
  padding: 1rem clamp(1.6rem, 6vw, 3.4rem) 3.8rem;
}

.carousel--equipe .team-card {
  width: 100%;
  max-width: 360px;
}

/* A foto ocupa toda a largura do card (sobrepõe o corte de 220px do mobile,
   que existia para o card único antigo e deixava a foto desalinhada). */
.carousel--equipe .team-card img {
  max-width: 100%;
}

.carousel--equipe .carousel-btn {
  background: var(--verde-700);
  color: var(--branco);
  box-shadow: var(--shadow-md);
}

.carousel--equipe .carousel-btn:hover {
  background: var(--verde-800);
}

.carousel--equipe .carousel-dot {
  background: rgba(62, 90, 75, 0.22);
}

.carousel--equipe .carousel-dot.is-active {
  background: var(--verde-700);
}

/* 13. CONTATO --------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-md);
  padding: clamp(0.9rem, 2vw, 1.2rem);
  box-shadow: var(--shadow-sm);
}

.contact-item .ci-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--verde-100);
  color: var(--verde-700);
  font-size: 1rem;
}

.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
  font-size: 0.9rem;
  color: var(--tinta-suave);
}

.contact-item a:hover {
  color: var(--verde-700);
}

/* Mapa */
.map-frame {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: var(--verde-100);
}

/* 14. TRABALHE CONOSCO ------------------------------------------------------ */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.benefit {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-md);
  padding: clamp(0.9rem, 2vw, 1.2rem);
  box-shadow: var(--shadow-sm);
}

.benefit .b-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--verde-100);
  color: var(--verde-700);
  font-size: 0.9rem;
}

.benefit p {
  font-size: 0.88rem;
}

/* 15. FOOTER ---------------------------------------------------------------- */
.footer {
  margin-top: auto;
  background: var(--verde-900);
  color: rgba(255, 255, 255, 0.8);
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo {
  color: var(--branco);
}

.footer h4 {
  color: var(--branco);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer p,
.footer a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.footer a:hover {
  color: var(--areia-200);
}

.footer-nav {
  display: grid;
  gap: 0.55rem;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-socials a:hover {
  background: var(--verde-600);
  transform: translateY(-2px);
}

.footer__barra {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer__crise {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
}

.footer__crise strong {
  color: var(--branco);
}

/* 16. WHATSAPP FLUTUANTE ---------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 150;
  width: clamp(52px, 8vw, 60px);
  height: clamp(52px, 8vw, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 10px 26px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* 17. RESPONSIVO ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub {
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-media {
    max-width: 420px;
    margin-inline: auto;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split-media {
    order: -1;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Menu mobile — dropdown em bloco (não sobrepõe o conteúdo) */
  .nav-toggle {
    display: flex;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--branco);
    border-bottom: 1px solid var(--borda);
    box-shadow: 0 16px 40px -20px rgba(34, 52, 43, 0.25);
    padding: 0.5rem 1.2rem 1.2rem;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.4s var(--ease), visibility 0.4s, padding 0.4s var(--ease);
  }
  .nav.is-open {
    max-height: 520px;
    visibility: visible;
    padding: 0.5rem 1.2rem 1.2rem;
  }
  .nav a {
    width: 100%;
    padding: 0.9rem 0;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--borda);
    color: var(--tinta);
  }
  .nav a:hover {
    color: var(--verde-700);
  }
  .nav a.is-active {
    color: var(--verde-700);
    font-weight: 700;
  }
  .nav .btn {
    margin-top: 1.2rem;
    width: 100%;
  }
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
  .benefits {
    grid-template-columns: 1fr;
  }
  .check-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .team-card {
    grid-template-columns: 1fr;
  }
  .team-card img {
    max-width: 220px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer__barra {
    flex-direction: column;
    text-align: center;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   AJUSTES MOBILE (celular) — densidade, tipografia e proporções
   ========================================================================== */
@media (max-width: 480px) {
  /* Home no celular: mantém apenas 1 imagem (a do hero), esconde a da seção Sobre */
  .split-media {
    display: none;
  }

  /* Hero simples no celular: esconde botões, só texto + imagem */
  .hero-actions {
    display: none;
  }
  .hero {
    padding-block: 2rem 2.5rem;
  }
  .hero-inner {
    gap: 1.2rem;
  }
  .hero-kicker {
    font-size: 0.7rem;
    margin-bottom: 0.6rem;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    line-height: 1.12;
  }
  .hero-sub {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 0;
  }
  .hero-media {
    max-width: 100%;
    margin-top: 0.8rem;
  }
  .hero-media img {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
  }
  .hero-media::after {
    display: none;
  }

  /* Botões mais compactos */
  .btn {
    padding: 0.8rem 1.3rem;
    font-size: 0.85rem;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }

  /* Seções com menos espaçamento */
  .section {
    padding-block: 2.8rem;
  }
  .section-head {
    margin-bottom: 1.8rem;
  }
  .section-head h2 {
    font-size: 1.5rem;
  }
  .section-head p {
    font-size: 0.92rem;
    margin-top: 0.6rem;
  }
  .kicker {
    font-size: 0.68rem;
    margin-bottom: 0.6rem;
  }

  /* Cards mais compactos */
  .card {
    padding: 1.3rem;
  }
  .card-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }
  .card h3 {
    font-size: 1.1rem;
  }
  .card p {
    font-size: 0.88rem;
  }

  /* Check list mais compacta */
  .check-list {
    gap: 0.5rem;
    margin-top: 1.2rem;
  }
  .check-list li {
    font-size: 0.85rem;
  }

  /* Passos mais compactos */
  .steps {
    gap: 1.2rem;
  }
  .step-num {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  .step h3 {
    font-size: 1rem;
  }
  .step p {
    font-size: 0.85rem;
  }

  /* CTA mais compacto */
  .cta-band {
    padding: 2rem 1.3rem;
    border-radius: var(--radius-md);
  }
  .cta-band h2 {
    font-size: 1.4rem;
  }
  .cta-band p {
    font-size: 0.9rem;
    margin-bottom: 1.3rem;
  }

  /* Split (sobre) mais compacto */
  .split {
    gap: 1.5rem;
  }
  .split-body h2 {
    font-size: 1.5rem;
  }
  .split-body p {
    font-size: 0.9rem;
  }
  .split-media img {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
  }

  /* Footer mais compacto */
  .footer {
    padding-block: 2.5rem 1.2rem;
  }
  .footer-grid {
    gap: 1.5rem;
  }
  .footer__crise {
    font-size: 0.8rem;
    padding: 0.8rem;
  }

  /* WhatsApp float menor */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    right: 0.9rem;
    bottom: 0.9rem;
  }
}

/* ==========================================================================
   RODAPÉ LIMPO + SITE ENXUTO (mobile) — no PC fica completo
   ========================================================================== */
@media (max-width: 768px) {
  /* Rodapé limpo: esconde coluna de navegação, mantém essencial */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding-bottom: 1.5rem;
  }
  .footer-grid > div:nth-child(2) {
    display: none; /* esconde "Navegação" no mobile */
  }
  .footer-grid > div:nth-child(3) {
    display: none; /* esconde "Contato" detalhado no mobile */
  }
  .footer .logo {
    font-size: 1.2rem;
  }
  .footer .logo img {
    width: 36px;
    height: 36px;
  }
  .footer p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .footer-socials {
    margin-top: 0.6rem;
  }
  .footer__crise {
    margin-top: 1rem;
    padding: 0.8rem;
    font-size: 0.78rem;
    line-height: 1.5;
  }
  .footer__barra {
    padding-top: 1rem;
    font-size: 0.75rem;
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
  }
  .footer__barra span {
    display: block;
  }

  /* Site mais enxuto: reduz espaçamentos ainda mais */
  .section {
    padding-block: 2.2rem;
  }
  .section-head {
    margin-bottom: 1.4rem;
  }
  .hero {
    padding-block: 2rem 2.5rem;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }
  .hero-sub {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }
  .hero-media {
    margin-top: 1.2rem;
  }
  .card {
    padding: 1.1rem;
  }
  .card h3 {
    font-size: 1.05rem;
  }
  .card p {
    font-size: 0.85rem;
  }
  .cta-band {
    padding: 1.6rem 1.1rem;
  }
  .cta-band h2 {
    font-size: 1.3rem;
  }
  .cta-band p {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }
  .split {
    gap: 1.2rem;
  }
  .split-body h2 {
    font-size: 1.4rem;
  }
  .steps {
    gap: 1rem;
  }
}

/* Telas muito pequenas (≤360px) */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.7rem;
  }
  .section-head h2 {
    font-size: 1.4rem;
  }
  .container {
    width: 94vw;
  }
}

/* 18. ANIMAÇÕES / UTILITÁRIOS ---------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  background: var(--verde-700);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) 0;
  transform: translateX(-120%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateX(0);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(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;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
