/* style.css — Veterinária do Samuka · FASE 3: fundação (tokens, reset, base).
   Refinos visuais de Header/Hero ficam para a FASE 4. */

/* 1. Tokens (nomes oficiais do DESIGN-SPEC.md §1–§5) */
:root {
  --cream: #FDF8EE;
  --white: #FFFFFF;
  --beige: #F1E7D3;
  --green-600: #2E7D5B;
  --green-800: #1C4A36;
  --green-100: #DDEFE2;
  --peach: #FBD9B8;
  --rose: #FBE7E0;
  --ink: #22302A;
  --muted: #5C6F65;
  --line: #E7DDC8;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container-max: 1200px;
  --section-pad: 4rem;
  --gap: 1.5rem;

  --r-sm: 14px;
  --r-md: 24px;
  --r-lg: 32px;
  --r-xl: 48px;
  --pill: 999px;

  --shadow-sm: 0 2px 12px rgba(28, 74, 54, 0.08);
  --shadow-md: 0 12px 32px rgba(28, 74, 54, 0.12);
  --shadow-lg: 0 24px 64px rgba(28, 74, 54, 0.16);

  --transition-base: 180ms ease;
}

/* 2. Reset / foundations */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  padding: 0;
  overflow-x: hidden;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

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

a {
  color: var(--green-800);
  text-underline-offset: 3px;
}

button {
  font: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* 3. Tipografia base (escala DESIGN-SPEC.md §2.1) */
h1 {
  font-size: 2.25rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.25;
}

/* 4. Utilidades estruturais */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

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

.section__title {
  margin-block: 0.75rem 0.5rem;
}

.section__description {
  color: var(--muted);
  max-width: 48ch;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
}

.eyebrow--on-green {
  color: var(--white);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: var(--pill);
  background-color: var(--green-800);
  color: var(--white);
}

.skip-link:focus-visible {
  top: 1rem;
}

/* 5. Botões base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 1rem 2rem;
  border-radius: var(--pill);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.btn--primary {
  background-color: var(--green-600);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--green-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  transform: scale(0.98);
}

.btn--secondary {
  background-color: var(--white);
  color: var(--green-800);
  border-color: var(--green-600);
}

.btn--secondary:hover {
  background-color: var(--green-100);
}

/* 6. Acessibilidade base */
:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 3px;
}

/* 7. Header — estrutura (refino visual na FASE 4) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--cream);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.brand__logo {
  width: 170px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--gap);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--gap);
}

.site-nav__link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.site-nav__link:hover {
  color: var(--green-600);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 0.625rem;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
}

/* 8. Hero — estrutura (composição visual na FASE 4) */
.hero {
  padding-block: 4rem 4.5rem;
}

.hero__inner {
  display: grid;
  gap: 3rem;
}

.hero__title {
  margin-block: 1rem;
  font-size: 2.25rem;
}

.hero__description {
  color: var(--muted);
  max-width: 48ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero__demo-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.hero__points {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero__media {
  min-width: 0;
}

/* 9. Seções — estrutura */
.services__list,
.phases__list {
  display: grid;
  gap: var(--gap);
  margin-top: 2rem;
}

.service-card,
.phase-card {
  min-width: 0;
  background-color: var(--white);
  border-radius: var(--r-md);
  padding: 1.75rem;
}

.service-card__title {
  margin-block: 0.75rem 0.5rem;
}

.service-card__text,
.phase-card__text {
  color: var(--muted);
}

.service-card__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--green-100);
}

.testimonial__inner {
  display: grid;
  gap: 3rem;
}

.phase-card__tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-800);
}

.phase-card__title {
  margin-block: 0.5rem;
}

.testimonial__author {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}

.testimonial__role {
  display: block;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Footer: estilo definido no bloco da FASE 10 no fim do arquivo. */

/* 10. Responsividade estrutural básica */
@media (min-width: 640px) {
  .services__list {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 768px) {
  h1,
  .hero__title {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .container {
    padding-inline: 2rem;
  }

  .section {
    padding-block: 6rem;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    z-index: 60;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .site-header--menu-open .site-nav {
    display: flex;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__link {
    display: block;
    padding-block: 0.625rem;
  }

  .site-nav__cta {
    text-align: center;
  }
}

@media (min-width: 901px) {
  .nav-toggle {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 55% 45%;
    align-items: center;
    gap: 3rem;
  }

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

  .testimonial__inner {
    grid-template-columns: 7fr 4fr;
    align-items: center;
  }
}

@media (max-width: 430px) {
  .hero__actions .btn {
    width: 100%;
  }
}

/* 12. FASE 4 — Header + Hero (escopo restrito: não tocar demais seções) */

/* Header: claro, leve, cream com leve transparência */
.site-header {
  background-color: rgba(253, 248, 238, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  padding-block: 0.875rem;
}

.brand__logo {
  width: 148px;
}

.site-nav {
  gap: 2rem;
  margin-left: auto;
}

.site-nav__list {
  gap: 1.75rem;
}

.site-nav__link {
  font-size: 0.95rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.site-nav__link:hover {
  color: var(--green-800);
  text-decoration: underline;
  text-decoration-color: var(--peach);
  text-decoration-thickness: 2px;
}

.site-nav__cta {
  padding: 0.8rem 1.5rem;
  font-size: 0.9375rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Hamburger: pill pastel, ícone verde-escuro, área >=44px */
.nav-toggle {
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  background-color: var(--green-100);
  border: 1.5px solid transparent;
  border-radius: var(--pill);
}

.nav-toggle:hover {
  border-color: var(--green-600);
}

.nav-toggle__bar {
  width: 20px;
  background-color: var(--green-800);
}

.site-header--menu-open .nav-toggle {
  background-color: var(--green-800);
}

.site-header--menu-open .nav-toggle__bar {
  background-color: var(--white);
}

/* Hero: base assimétrica, fundo cream + mancha peach */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: 3.5rem 4rem;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 560px;
  height: 560px;
  top: -180px;
  right: -140px;
  background: radial-gradient(closest-side, rgba(251, 217, 184, 0.55), rgba(251, 217, 184, 0) 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

/* Eyebrow: selo pill editorial */
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--pill);
  background-color: var(--green-100);
  color: var(--green-800);
  font-size: 0.75rem;
}

/* H1 editorial */
.hero__title {
  margin-block: 1.25rem 1rem;
}

.hero__highlight {
  color: var(--green-600);
  text-decoration: underline;
  text-decoration-color: var(--peach);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.14em;
}

.hero__description {
  max-width: 42ch;
  font-size: 1.0625rem;
}

.hero__actions {
  align-items: center;
  margin-top: 2rem;
}

.hero .btn--secondary::after {
  content: "\2192";
  margin-left: 0.5rem;
  font-weight: 700;
}

.hero__demo-note {
  font-size: 0.8125rem;
}

/* Microdiferenciais: faixa de benefícios, elementos soltos (sem cards) */
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin-top: 1.25rem;
  padding-top: 0;
}

.hero__points li {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.hero__points li svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--green-800);
}

/* Formas laterais do Hero (decorativas, contidas pelo overflow do .hero) */
.hero__side {
  position: absolute;
  z-index: 0;
  left: -115px;
  top: 6%;
  width: 235px;
  height: 320px;
  background-color: var(--green-100);
  opacity: 0.5;
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  z-index: 0;
  left: 14px;
  bottom: 24%;
  display: inline-flex;
  padding: 1rem;
  border-radius: 28px;
  background-color: var(--white);
  color: var(--green-800);
  box-shadow: var(--shadow-sm);
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero__badge svg {
  width: 30px;
  height: 30px;
}

/* Composição fotográfica orgânica — mancha ampla irregular (não cápsula) */
.hero__media {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  isolation: isolate;
}

.hero__media::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -6%;
  right: -10%;
  bottom: -6%;
  left: -15%;
  border-radius: 55% 45% 42% 58% / 48% 55% 45% 52%;
  background-color: var(--green-100);
  pointer-events: none;
}

.hero__media::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 130px;
  height: 120px;
  left: -9%;
  bottom: -6%;
  border-radius: 48% 52% 55% 45% / 55% 48% 52% 45%;
  background-color: var(--beige);
  pointer-events: none;
}

.hero__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 44% 56% 58% 42% / 33% 31% 69% 67%;
  transform: rotate(-2deg);
  background-color: var(--green-100);
  box-shadow: var(--shadow-md);
}

/* Traços verdes editoriais próximos aos animais */
.hero__spark {
  position: absolute;
  z-index: 2;
  top: 3%;
  left: 9%;
  width: 26px;
  height: 6px;
  border-radius: var(--pill);
  background-color: var(--green-600);
  transform: rotate(-24deg);
  pointer-events: none;
}

.hero__spark::before,
.hero__spark::after {
  content: "";
  position: absolute;
  height: 6px;
  border-radius: var(--pill);
  background-color: var(--green-600);
}

.hero__spark::before {
  left: -13px;
  top: -12px;
  width: 22px;
  transform: rotate(-28deg);
}

.hero__spark::after {
  left: -11px;
  top: 12px;
  width: 22px;
  transform: rotate(28deg);
}

/* Anotação editorial manuscrita */
.hero__hand {
  position: absolute;
  z-index: 3;
  top: -4%;
  right: 6%;
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  margin: 0;
  transform: rotate(6deg);
  font-family: "Segoe Script", "Segoe Print", "Bradley Hand", "Brush Script MT", cursive;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--green-800);
  pointer-events: none;
}

.hero__hand svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--green-600);
  transform: rotate(-8deg);
}

/* Cards flutuantes compactos (pequenos cards, não pills) */
.hero__float {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__float-item {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 195px;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background-color: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.hero__float-item svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--green-800);
}

.hero__float-item--top {
  top: 13%;
  left: -8%;
  transform: rotate(-2deg);
}

.hero__float-item--bottom {
  bottom: 5%;
  right: 8px;
  transform: rotate(2deg);
}

/* Patinha decorativa da composição */
.hero__paw {
  position: absolute;
  z-index: 2;
  bottom: -3%;
  right: 12%;
  color: var(--peach);
  opacity: 0.85;
  transform: rotate(12deg);
  pointer-events: none;
}

.hero__paw svg {
  display: block;
  width: 46px;
  height: 46px;
}

/* Drawer mobile: acabamento arredondado */
@media (max-width: 900px) {
  .site-nav {
    margin-left: 0;
    border-radius: 0 0 var(--r-md) var(--r-md);
    padding: 1.5rem 1.5rem 2rem;
  }

  .brand__logo {
    width: 140px;
  }
}

/* Mobile: empilha, flutuantes viram cards inline, decor secundário some */
@media (max-width: 1023px) {
  .hero {
    padding-block: 2.5rem 3rem;
  }

  .hero::before {
    width: 420px;
    height: 420px;
    top: -160px;
    right: -160px;
  }

  .hero__media {
    max-width: 520px;
    margin-top: 0.5rem;
  }

  /* Tablet/mobile: diferenciais em 2×2 */
  .hero__points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
  }

  .hero__spark,
  .hero__hand,
  .hero__paw,
  .hero__badge {
    display: none;
  }

  .hero__float {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
  }

  .hero__float-item {
    position: static;
    transform: none;
    max-width: 220px;
  }
}

@media (max-width: 640px) {
  .hero__side {
    left: -160px;
    opacity: 0.35;
  }

  .hero__image {
    aspect-ratio: 1 / 1;
    object-position: center 8%;
    border-radius: var(--r-lg);
    transform: none;
  }

  .hero__media::before {
    top: 16px;
    right: 14px;
    bottom: -12px;
    left: -12px;
    border-radius: var(--r-lg);
  }

  .hero__media::after {
    display: none;
  }

  .hero__float-item {
    max-width: 100%;
    font-size: 0.8rem;
    padding: 0.7rem 0.9rem;
  }

  .hero__description {
    font-size: 1rem;
  }
}

@media (max-width: 1279px) {
  .hero__badge {
    display: none;
  }
}

/* Eyebrow em telas muito estreitas: cabe em 1 linha sem perder legibilidade */
@media (max-width: 360px) {
  .hero .eyebrow {
    padding: 0.45rem 0.8rem;
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
  }
}

/* Desktop: assimetria ~54/46, H1 56px com quebra editorial */
@media (min-width: 1024px) {
  .hero {
    padding-block: 4rem 3.5rem;
  }

  .hero__inner {
    grid-template-columns: 54% 46%;
    gap: 3rem;
  }

  .hero__title {
    font-size: 3.5rem;
    max-width: 17ch;
  }

  .hero__media {
    justify-self: end;
    max-width: 560px;
  }

  /* Desktop: 4 diferenciais em 1 linha, ícones com protagonismo */
  .hero__points {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .hero__points li {
    flex: 1 1 0;
    min-width: 0;
  }

  .hero__points li svg {
    width: 30px;
    height: 30px;
  }
}

/* 13. Movimento: só scroll suave quando permitido (preservado da Fase 3) */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none;
    transition: none;
    scroll-behavior: auto;
  }
}

/* 14. FASE 5 — Serviços (escopo .services; Header/Hero intactos) */
.services {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: 2.5rem;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services__head {
  display: grid;
  gap: 1rem;
}

.services__more {
  justify-self: start;
  color: var(--green-600);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.services__more:hover {
  color: var(--green-800);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.services__list {
  margin-top: 2rem;
  align-items: stretch;
}

.services .service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 1.75rem 1.25rem;
  border: none;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card--green,
.service-card--peach,
.service-card--white,
.service-card--rose,
.service-card--beige {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.services .service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 0;
  background: none;
  color: var(--green-600);
}

.service-card--white .service-card__icon {
  background: none;
}

.services .service-card__icon svg {
  display: block;
  width: 34px;
  height: 34px;
}

.services .service-card__title {
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.services .service-card__text {
  font-size: 0.95rem;
  color: #54655C;
}

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

@media (min-width: 768px) {
  .services {
    padding-top: 3.5rem;
  }

  .services__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
  }

  .services__more {
    justify-self: auto;
    flex-shrink: 0;
    padding-bottom: 0.35rem;
  }
}

@media (min-width: 1280px) {
  .services__list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.125rem;
  }

  .services .section__description {
    max-width: 62ch;
  }

  .services .service-card__icon svg {
    width: 38px;
    height: 38px;
  }
}

/* 15. FASE 6 — Sobre (escopo .about; fases congeladas intactas) */
.about {
  padding-top: 3rem;
}

.about__card {
  display: grid;
  grid-template-columns: 1fr;
  background-color: var(--beige);
  border-radius: 28px;
  padding: 0.9rem;
}

.about__media {
  position: relative;
  min-width: 0;
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
  border-radius: 20px;
  display: block;
}

.about__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: -2.5rem 0.4rem 0.4rem;
  padding: 2rem 1.5rem;
  border-radius: 24px;
  background-color: var(--green-600);
  color: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__rail {
  display: none;
}

.about__eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: 0;
  padding: 0.45rem 0.95rem;
  border-radius: var(--pill);
  background-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about__title {
  margin: 1rem 0 0.75rem;
  font-size: 1.65rem;
  line-height: 1.12;
  color: var(--white);
}

.about__text {
  margin: 0;
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.about__cta {
  margin-top: 1.5rem;
  padding: 0.85rem 1.6rem;
  align-self: flex-start;
  background-color: var(--white);
  color: var(--green-800);
}

.about__cta:hover {
  background-color: var(--green-100);
  color: var(--green-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.about__hand {
  margin: 0;
  font-family: "Segoe Script", "Segoe Print", "Bradley Hand", "Brush Script MT", cursive;
  color: var(--green-800);
  pointer-events: none;
}

.about__hand svg {
  width: 20px;
  height: 20px;
  color: var(--green-600);
  vertical-align: -3px;
}

.about__hand--left {
  position: absolute;
  z-index: 2;
  left: 1rem;
  bottom: 1rem;
  font-size: 1rem;
  line-height: 1.35;
  transform: rotate(-4deg);
}

.about__hand--right {
  position: absolute;
  z-index: 1;
  right: 0.9rem;
  top: 36%;
  width: 125px;
  font-size: 0.95rem;
  line-height: 1.35;
  transform: rotate(5deg);
}

.about__paw {
  position: absolute;
  z-index: 1;
  top: 1.1rem;
  right: 1.4rem;
  color: var(--peach);
  opacity: 0.9;
  pointer-events: none;
}

.about__paw svg {
  display: block;
  width: 36px;
  height: 36px;
}

.about__leaves svg {
  display: block;
  width: 92px;
  height: 92px;
}

.about__leaves {
  position: absolute;
  z-index: 1;
  right: -8px;
  bottom: -4px;
  color: var(--green-600);
  opacity: 0.75;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .about__media .about__image {
    aspect-ratio: 16 / 10;
  }

  .about__hand--left,
  .about__hand--right,
  .about__paw,
  .about__leaves {
    display: none;
  }
}

@media (min-width: 768px) {
  .about {
    padding-top: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .about .container {
    max-width: 1340px;
  }

  .about__card {
    display: block;
    position: relative;
    min-height: 560px;
    padding: 0;
    border-radius: 32px;
    overflow: hidden;
  }

  .about__media {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    bottom: 0;
    width: 47%;
    min-height: 0;
  }

  .about__media .about__image {
    position: absolute;
    inset: 0;
    height: 100%;
    border-radius: 0;
  }

  .about__panel {
    position: absolute;
    z-index: 2;
    left: 44.7%;
    right: 136px;
    top: 10px;
    bottom: 10px;
    width: auto;
    margin: 0;
    padding: 3.25rem 3rem 3.25rem 4rem;
    border-radius: 20px 110px 130px 24px / 24px 85px 115px 28px;
  }

  .about__rail {
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 136px;
  }

  .about__title {
    font-size: 2.2rem;
  }

  .about__text {
    max-width: 58ch;
  }

  .about__hand--left {
    font-size: 1.125rem;
  }

  .about__hand--right {
    right: 0.7rem;
    width: 112px;
    font-size: 0.82rem;
  }

  .about__hand--right svg {
    width: 22px;
    height: 22px;
  }

  .about__paw {
    top: 2rem;
    right: 1.8rem;
    opacity: 1;
  }

  .about__paw svg {
    width: 52px;
    height: 52px;
  }

  .about__leaves svg {
    width: 110px;
    height: 110px;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .about__title {
    font-size: 1.8rem;
  }

  .about__panel {
    padding: 2.5rem 2rem 2.5rem 2.75rem;
  }
}



/* Expansão da área editorial direita (só onde há margem: ≥1404px).
   Tudo em px ancorado à esquerda: foto, junção e painel não se movem. */
@media (min-width: 1404px) {
  .about__card {
    width: 1350px;
    max-width: calc(100vw / 2 + 630px);
  }

  .about__media {
    width: 600px;
  }

  .about__panel {
    left: 570px;
    right: 210px;
  }

  .about__rail {
    width: 210px;
  }

  .about__hand--right {
    right: 1rem;
    width: 150px;
    font-size: 0.9rem;
  }

  .about__paw {
    right: 1.4rem;
  }
}

/* 16. FASE 7 — Fases da vida (escopo .phases) */
.phases {
  padding-top: 3rem;
}

.phases__list {
  margin-top: 2.5rem;
  gap: 1.25rem;
}

.phases .phase-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 190px;
  padding: 1.25rem;
  border-radius: var(--r-lg);
  box-shadow: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.phase-card--puppy {
  background-color: #FCEBD8;
}

.phase-card--adult {
  background-color: var(--green-100);
}

.phase-card--senior {
  background-color: var(--rose);
}

.phases .phase-card__image {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

.phase-card--senior .phase-card__image {
  object-position: 50% 38%;
}

.phases .phase-card__tag {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  color: var(--green-800);
}

.phases .phase-card__title {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.phases .phase-card__text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #54655C;
}

@media (hover: hover) {
  .phases .phase-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
  }
}

@media (min-width: 1024px) {
  .phases__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .phases .section__description {
    max-width: 74ch;
  }

  .phases .phase-card {
    min-height: 210px;
    padding: 1.5rem;
  }

  .phases .phase-card__image {
    width: 138px;
    height: 138px;
    flex-basis: 138px;
  }
}

.phases .phase-card__content {
  min-width: 0;
}

@media (max-width: 639px) {
  .phases .phase-card {
    gap: 1rem;
    min-height: 0;
  }
}

@media (max-width: 359px) {
  .phases .phase-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .phases .phase-card__image {
    width: 104px;
    height: 104px;
    flex-basis: 104px;
  }
}

/* 17. FASE 8 — Depoimentos / carrossel interativo (escopo .testimonial) */
.testimonial {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: 2.5rem;
}

.testimonial::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 8%;
  left: -180px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(251, 231, 224, 0.5), rgba(251, 231, 224, 0) 70%);
  pointer-events: none;
}

.testimonial .container {
  position: relative;
  z-index: 1;
}

.testimonial__inner {
  display: grid;
  gap: 2.5rem;
}

/* Introdução editorial */
.testimonial__intro .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--pill);
  background-color: var(--green-100);
  color: var(--green-800);
  font-size: 0.75rem;
}

.testimonial__intro .section__title {
  margin: 1.25rem 0 0.75rem;
  font-size: 2rem;
  line-height: 1.15;
}

.testimonial__note {
  margin: 0;
  max-width: 38ch;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Controles: leves e elegantes, fora de caixas pesadas */
.testimonial__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.testimonial__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background-color: var(--white);
  color: var(--green-800);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.testimonial__arrow svg {
  display: block;
  width: 20px;
  height: 20px;
}

.testimonial__arrow:hover {
  background-color: var(--green-800);
  border-color: var(--green-800);
  color: var(--white);
}

.testimonial__dots {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.testimonial__dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  padding: 0;
  border: none;
  background: none;
  color: var(--green-600);
}

.testimonial__dot::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background-color: transparent;
  transition: background-color var(--transition-base), transform var(--transition-base);
}

.testimonial__dot:hover::before {
  background-color: var(--green-100);
  transform: scale(1.1);
}

.testimonial__dot[aria-current="true"]::before {
  background-color: var(--green-600);
}

@media (hover: hover) {
  .testimonial__arrow:active,
  .testimonial__dot:active {
    transform: scale(0.96);
  }
}

/* Card principal + slides empilhadas na mesma célula (altura estável) */
.testimonial__stage {
  display: grid;
}

.testimonial__slide {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, transform 300ms ease, visibility 0s 300ms;
}

.testimonial__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 300ms ease, transform 300ms ease, visibility 0s 0s;
}

.testimonial__slide.is-pre {
  transform: translateX(-24px);
}

.testimonial__slide.is-pre-from-right {
  transform: translateX(24px);
}

.testimonial__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 3rem 3rem 2.5rem;
  border-radius: var(--r-lg);
  background-color: var(--white);
  box-shadow: var(--shadow-md);
}

.testimonial__mark {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--green-600);
}

.testimonial__text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink);
}

.testimonial__author {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-style: normal;
}

.testimonial__name {
  display: block;
  font-weight: 700;
  color: var(--green-800);
}

.testimonial__role {
  display: block;
  margin-top: 0.15rem;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Foto integrada + forma pastel + anotação manuscrita */
.testimonial__media {
  position: relative;
  display: grid;
  place-items: center;
  padding-block: 0.75rem;
  isolation: isolate;
}

.testimonial__ring {
  position: absolute;
  z-index: 0;
  width: 288px;
  height: 288px;
  border-radius: 50%;
  background-color: var(--beige);
  transform: translate(10px, 22px) rotate(-6deg);
  pointer-events: none;
}

.testimonial__image {
  position: relative;
  z-index: 1;
  width: 256px;
  height: 256px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
}

.testimonial__hand {
  position: absolute;
  z-index: 2;
  top: -17%;
  left: 2%;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0;
  transform: rotate(-4deg);
  font-family: "Segoe Script", "Segoe Print", "Bradley Hand", "Brush Script MT", cursive;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--green-800);
  pointer-events: none;
}

.testimonial__hand svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--green-600);
}

@media (min-width: 768px) {
  .testimonial {
    padding-top: 4rem;
  }
}

/* Tablet / mobile: empilha; ordem intro → card → foto → controles (briefing) */
@media (max-width: 1023px) {
  .testimonial__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2.25rem;
  }

  .testimonial__intro {
    order: 1;
  }

  .testimonial__stage {
    order: 2;
  }

  .testimonial__media {
    order: 3;
  }

  .testimonial__controls {
    order: 4;
    align-self: center;
    margin-top: 0;
  }
}

/* Desktop ≥1024: introdução | card | foto */
@media (min-width: 1024px) {
  .testimonial__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-areas:
      "intro stage media"
      "controls stage media";
    column-gap: clamp(1.5rem, 3vw, 2.75rem);
    row-gap: 2rem;
    align-content: center;
    align-items: center;
  }

  .testimonial__intro {
    grid-area: intro;
  }

  .testimonial__controls {
    grid-area: controls;
    align-self: start;
    margin-top: 0;
  }

  .testimonial__stage {
    grid-area: stage;
  }

  .testimonial__media {
    grid-area: media;
    padding-block: 0;
  }

  .testimonial__intro .section__title {
    font-size: 2.25rem;
  }
}

/* Mobile estreito: foto encolhe, anotação simplificada/oculta */
@media (max-width: 430px) {
  .testimonial__hand {
    display: none;
  }

  .testimonial__media {
    padding-block: 0.25rem;
  }

  .testimonial__ring {
    width: 232px;
    height: 232px;
  }

  .testimonial__image {
    width: 208px;
    height: 208px;
  }
}

@media (max-width: 360px) {
  .testimonial__card {
    padding: 2.25rem 1.75rem 2rem;
  }

  .testimonial__mark {
    font-size: 4.25rem;
  }
}

/* Prefers-reduced-motion escopado (o bloco global "*" perde por especificidade) */
@media (prefers-reduced-motion: reduce) {
  .testimonial__slide,
  .testimonial__slide.is-active,
  .testimonial__arrow,
  .testimonial__dot,
  .testimonial__dot::before {
    transition: none;
  }
}

/* 18. FASE 9 — CTA / Contato final (escopo restrito: somente .cta) */

.cta {
  padding-block: 3.5rem 4.5rem;
}

.cta__box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 2rem;
  padding: 2.25rem 1.5rem;
  border-radius: 32px;
  background-color: var(--green-600);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

/* Forma radial pastel atrás da composição (contida pelo overflow do bloco) */
.cta__glow {
  position: absolute;
  z-index: -1;
  top: -20%;
  right: -8%;
  width: 64%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, rgba(221, 239, 226, 0.55), rgba(221, 239, 226, 0) 70%);
  pointer-events: none;
}

.cta__lead {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.cta__title {
  font-size: 2rem;
  line-height: 1.08;
}

.cta__text {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.92);
}

.cta__media {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 100%;
  max-width: 420px;
}

/* Eco pastel assimétrico atrás da foto (integra a imagem ao bloco) */
.cta__media::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 7% -6% -8% 6%;
  border-radius: 48px 120px 48px 120px;
  background-color: rgba(221, 239, 226, 0.3);
  transform: rotate(3deg);
  pointer-events: none;
}

.cta__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: 40px 110px 40px 110px;
  box-shadow: 0 18px 40px rgba(18, 48, 35, 0.3);
}

/* Traços editoriais: só junto à foto, e somente ≥640px (moderação) */
.cta__spark {
  display: none;
  position: absolute;
  z-index: 2;
  height: 3px;
  border-radius: var(--pill);
  background-color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.cta__spark--top {
  top: 5%;
  left: -5%;
  width: 46px;
  transform: rotate(-18deg);
}

.cta__spark--bottom {
  right: -5%;
  bottom: 7%;
  width: 32px;
  background-color: rgba(221, 239, 226, 0.75);
  transform: rotate(12deg);
}

.cta__action {
  display: grid;
  gap: 1rem;
  align-content: center;
  justify-items: start;
}

.cta__btn {
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  background-color: var(--white);
  color: var(--green-800);
  box-shadow: var(--shadow-sm);
}

.cta__btn:hover {
  background-color: var(--green-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta__btn:active {
  transform: scale(0.98);
}

/* O outline verde global sumiria sobre o bloco verde */
.cta__btn:focus-visible {
  outline-color: var(--white);
}

.cta__btn svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--green-600);
}

.cta__demo-note {
  max-width: 30ch;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

/* Tablet ≥640: duas áreas (lead + ação | foto) */
@media (min-width: 640px) {
  .cta__box {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "lead media"
      "action media";
    gap: 2.5rem 2.25rem;
    padding: 3rem;
  }

  .cta__lead {
    grid-area: lead;
  }

  .cta__media {
    grid-area: media;
    align-self: center;
  }

  .cta__action {
    grid-area: action;
  }

  .cta__spark {
    display: block;
  }
}

/* Desktop ≥1024: [título+texto] · [foto] · [botão+aviso] */
@media (min-width: 1024px) {
  .cta__box {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.12fr) minmax(0, 0.82fr);
    grid-template-areas: "lead media action";
    align-items: center;
    gap: clamp(2rem, 3.5vw, 3.5rem);
    padding: 3.5rem clamp(2.5rem, 4vw, 4rem);
    border-radius: var(--r-xl);
  }

  .cta__lead {
    grid-area: lead;
  }

  .cta__media {
    grid-area: media;
    max-width: 460px;
  }

  .cta__action {
    grid-area: action;
  }

  .cta__title {
    font-size: 2.25rem;
  }
}

/* Mobile estreito: botão full-width, formas mais compactas */
@media (max-width: 430px) {
  .cta__box {
    padding: 2rem 1.5rem;
    border-radius: 28px;
  }

  .cta__title {
    font-size: 1.875rem;
  }

  .cta__image {
    border-radius: 32px 84px 32px 84px;
  }

  .cta__action {
    justify-items: stretch;
  }

  .cta__btn {
    width: 100%;
    padding: 1rem 1.4rem;
  }
}

/* 320px (limite crítico): rótulo do CTA pode ocupar largura total sem estourar */
@media (max-width: 360px) {
  .cta__btn {
    padding: 1rem 1.1rem;
    font-size: 0.95rem;
  }
}

/* FASE 9 — telas grandes (>1440px): só aqui o CTA ganha mais largura.
   ≤1440 permanece idêntico (container 1200px). Cresce proporcional até 1650px,
   mantendo respiro nas laterais; 1600→~84% · 1920→~83% · 2560 (cap) ~62%. */
@media (min-width: 1500px) {
  .cta .container {
    max-width: clamp(1200px, 88vw, 1650px);
  }

  .cta__box {
    gap: clamp(3rem, 4vw, 5rem);
    padding: 3.5rem clamp(3rem, 4.5vw, 5rem);
  }

  .cta__media {
    max-width: 520px;
  }
}

/* 19. FASE 10 — Footer (escopo restrito: somente .site-footer).
   Claro/cream, baixo, composição única: LOGO+aviso · NAVEGAÇÃO · CRÉDITO SJ Studio.
   Sem redes sociais (não existem contas reais do projeto). */

.site-footer {
  background-color: var(--cream);
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
  color: var(--muted);
}

.site-footer__inner {
  display: grid;
  gap: 1.75rem;
}

.site-footer__brand {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.site-footer .brand__logo {
  width: 160px;
}

.site-footer__notice {
  max-width: 36ch;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.site-footer__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.5rem;
}

.site-footer__list a {
  display: inline-block;
  padding-block: 0.3rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-base);
}

.site-footer__list a:hover {
  color: var(--green-600);
}

.site-footer__studio {
  font-size: 0.875rem;
}

.site-footer__studio a {
  color: var(--green-800);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--transition-base), border-color var(--transition-base);
}

.site-footer__studio a:hover {
  color: var(--green-600);
  border-bottom-color: currentColor;
}

/* Tablet ≥640: 2 linhas (marca + aviso no topo; navegação | crédito abaixo) */
@media (min-width: 640px) {
  .site-footer {
    padding-block: 3rem;
  }

  .site-footer__inner {
    grid-template-columns: 1.6fr 1fr;
    grid-template-areas:
      "brand brand"
      "nav   studio";
    gap: 2rem 2.5rem;
    align-items: center;
  }

  .site-footer__brand {
    grid-area: brand;
  }

  .site-footer__nav {
    grid-area: nav;
  }

  .site-footer__studio {
    grid-area: studio;
    justify-self: end;
    text-align: right;
  }

  .site-footer__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.5rem;
  }
}

/* Desktop ≥1024: mesma composição aprovada (logo · nav central · crédito),
   mas o AVISO passa a ocupar uma linha própria abaixo das 3 áreas — assim
   ele e o crédito ficam em UMA linha, sem quebra, e o footer fica mais baixo. */
@media (min-width: 1024px) {
  .site-footer__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "logo   nav    studio"
      "notice notice notice";
    column-gap: clamp(0.875rem, 1vw, 2rem);
    row-gap: 0.9rem;
    align-items: center;
  }

  /* Desagrupa marca (logo + aviso) para serem itens de grid independentes */
  .site-footer__brand {
    display: contents;
  }

  .site-footer .brand__logo {
    grid-area: logo;
  }

  .site-footer__nav {
    grid-area: nav;
    justify-self: center;
  }

  .site-footer__studio {
    grid-area: studio;
    justify-self: end;
    text-align: right;
  }

  .site-footer__notice {
    grid-area: notice;
    max-width: none;
    white-space: nowrap;
  }

  .site-footer__studio p {
    white-space: nowrap;
  }
}

/* ==========================================================================
   20. FASE 12 — Rodada 1: ritmo vertical, contraste, Sobre e órfãos
   Correções escopadas em desktop (>=1024px); <=1023 permanece intacto.
   ========================================================================== */

/* 20.1 Ritmo vertical: reduz a SOMA dos vãos entre seções sem alterar
   conteúdo, estrutura ou ordem. O padding-bottom padrão de 6rem (96px) das
   seções intermediárias é reduzido; os tops são ajustados para as metas
   (vãos de ~108px a 120px). Header, Hero, CTA e Footer permanecem. */
@media (min-width: 1024px) {
  .services {
    padding-bottom: 3.5rem;
  }

  .about {
    padding-top: 3.5rem;
    padding-bottom: 3.25rem;
  }

  .phases {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .testimonial {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* 20.2 Contraste AA do eyebrow do Sobre: usa o token verde-escuro no pill
   (mesmo texto, tamanho, espaçamento, formato e posição). */
.about__eyebrow {
  background-color: var(--green-800);
}

/* 20.3 Sobre: centraliza o card no container (antes transbordava ~42px à
   direita em >=1404). Mantém 1350px; compensa o excesso com margem negativa
   simétrica, respeitando o teto de max-width existente. */
@media (min-width: 1404px) {
  .about__card {
    margin-inline: calc((100% - min(1350px, 100vw / 2 + 630px)) / 2);
  }
}

/* 20.4 Hero: amplia a largura útil da descrição para eliminar o órfão
   ("responsabilidade." isolado) por reflow natural. */
@media (min-width: 1024px) {
  .hero__description {
    max-width: 44ch;
  }
}

/* 20.5 Depoimentos: reduz o padding lateral do card (distribuição interna)
   e limita a largura útil do texto do 3º slide para evitar palavra final
   isolada nos três slides, sem alterar card, fontes, foto ou carrossel. */
@media (min-width: 1024px) {
  .testimonial__card {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .testimonial__text {
    text-wrap: pretty;
  }
}

/* ==========================================================================
   21. FASE 12 — Rodada 2: expansão seletiva para telas grandes (>=1500px)
   Apenas Header, Hero, Serviços, Fases e Depoimentos. O container parte dos
   mesmos 1200px em 1500 (crescimento contínuo, sem salto) e cresce com a
   viewport até o cap de 1650px, alinhado ao comportamento aprovado do CTA.
   <=1440 permanece idêntico. Footer, Sobre e CTA não são tocados.
   ========================================================================== */
@media (min-width: 1500px) {
  .site-header .container,
  .hero .container,
  .services .container,
  .phases .container,
  .testimonial .container {
    max-width: min(1650px, calc(1200px + (100vw - 1500px) * 1.5));
  }

  /* Hero: a composição fotográfica ganha presença moderada, proporcional à
     tela (nunca salta em 1500; cap de 620px). Texto, H1, CTAs, microcopy,
     microdiferenciais e decorações permanecem nos tamanhos aprovados. */
  .hero__media {
    max-width: min(620px, calc(560px + (100vw - 1500px) * 0.35));
  }

  /* Depoimentos: o card mais largo poderia reintroduzir palavra final órfã
     em alguns viewports grandes. `text-wrap: pretty` reflui para evitar a
     órfã sem estreitar o texto nem alterar tamanhos. Vale só em >=1500px;
     em <=1440 nada muda. */
  .testimonial__text {
    text-wrap: pretty;
  }
}
