/* ============================================================
   CORALAB — Landing Page
   Ordem: Fontes → Custom Properties → Reset → Layout Base →
          Header → Hero → Features → Solutions → Process →
          Structure → Testimonials → Contact → Footer →
          Utilitários → Animações → Responsivo
============================================================ */

/* ── Fontes locais ─────────────────────────────────────────── */
@font-face {
  font-family: 'Chillax';
  src: url('../fonts/Chillax-Extralight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chillax';
  src: url('../fonts/Chillax-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chillax';
  src: url('../fonts/Chillax-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chillax';
  src: url('../fonts/Chillax-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chillax';
  src: url('../fonts/Chillax-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chillax';
  src: url('../fonts/Chillax-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  /* Cores */
  --clr-navy: #002b49;
  --clr-navy-deep: #001e34;
  --clr-teal: #00b0b9;
  --clr-teal-dark: #009aa2;
  --clr-white: #ffffff;
  --clr-off-white: #f5f8fa;
  --clr-text: #1a2b38;
  --clr-text-muted: #56717f;
  --clr-border: #dce6ec;

  /* Tipografia */
  --font-base: 'Chillax', system-ui, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi: 600;
  --fw-bold: 700;

  /* Espaçamentos */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 7rem;

  /* Layout */
  --container-max: 1280px;
  --container-pad: 1.5rem;
  --header-h: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(0, 43, 73, 0.10);
  --shadow-hover: 0 8px 32px rgba(0, 43, 73, 0.16);

  /* Transições */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 220ms;
  --dur-base: 380ms;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--clr-text);
  background-color: var(--clr-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

address {
  font-style: normal;
}

/* ── Scroll offset para links âncora (compensa header fixo) ── */
#inicio,
#solucoes,
#como-funciona,
#estrutura,
#contato {
  scroll-margin-top: var(--header-h);
}

/* ── Layout Base ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-2xl);
}

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

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

.section__header {
  text-align: center;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.section__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--clr-navy);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section__title--teal {
  color: var(--clr-teal);
}

.section__header--light .section__title {
  color: var(--clr-white);
}

.section__header--light .section__title--teal {
  color: var(--clr-teal);
}

.section__subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
  line-height: 1.7;
  text-align: center;
  max-width: 740px;
  margin-inline: auto;
}

.section__header--light .section__subtitle {
  color: var(--clr-white);
}

.section--teal .section__subtitle {
  color: var(--clr-white);
}

/* ── Botões ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--teal {
  background-color: var(--clr-teal);
  color: var(--clr-white);
}

.btn--teal:hover {
  background-color: var(--clr-teal-dark);
  box-shadow: 0 6px 24px rgba(0, 176, 185, 0.35);
}

.btn--navy {
  background-color: var(--clr-navy);
  color: var(--clr-white);
}

.btn--navy:hover {
  background-color: var(--clr-navy-deep);
  box-shadow: 0 6px 24px rgba(0, 43, 73, 0.35);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn--outline-white:hover {
  background-color: var(--clr-white);
  color: var(--clr-teal);
  border-color: var(--clr-white);
}

.btn--white {
  background-color: var(--clr-white);
  color: var(--clr-teal);
  font-weight: var(--fw-bold);
}

.btn--white:hover {
  background-color: var(--clr-off-white);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* ── Header ────────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background-color: var(--clr-white);
  height: var(--header-h);
  transition: box-shadow var(--dur-fast) var(--ease-out);
}

#header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 43, 73, 0.12);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-lg);
}

.header__logo {
  flex-shrink: 0;
  line-height: 0;
}

.header__nav {
  margin-left: auto;
}

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

.nav__link {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-navy);
  padding: 0.375rem 0;
  transition: transform var(--dur-fast);
}

.nav__link:hover {
  transform: scale(1.1);
}

.nav__link--cta {
  background-color: var(--clr-navy);
  color: var(--clr-white);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: var(--fw-semi);
  transition: background-color var(--dur-fast), transform var(--dur-fast);
}

.nav__link--cta::after {
  display: none;
}


.header__social {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.header__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--clr-teal);
  transition: background-color var(--dur-fast), transform var(--dur-fast);
}


.header__social-link:hover {
  transform: scale(1.1);
}

.header__social-link img {
  width: 18px;
  height: 18px;
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  margin-left: auto;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--clr-navy);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out),
    opacity var(--dur-fast);
}

.header__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
}

.hero__track-wrapper {
  overflow: hidden;
}

.hero__track {
  display: flex;
  transition: transform var(--dur-base) var(--ease-out);
  will-change: transform;
}

.hero__slide {
  flex: 0 0 100%;
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg,
      rgba(0, 43, 73, 0.88) 0%,
      rgba(0, 43, 73, 0.70) 60%,
      rgba(0, 176, 185, 0.30) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-3xl);
  text-align: center;
}

.hero__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--clr-white);
  font-size: 5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--dur-fast), transform var(--dur-fast);
}

.hero__btn:hover {
  background-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.hero__btn--prev {
  left: var(--space-md);
}

.hero__btn--next {
  right: var(--space-md);
}

.hero__dots {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-xs);
  z-index: 10;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--clr-white);
  transition: background-color var(--dur-fast), transform var(--dur-fast);
}

.hero__dot--active {
  background-color: var(--clr-teal);
  transform: scale(1.25);
}

.hero__eyebrow {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-size: clamp(var(--fs-2xl), 5vw, var(--fs-4xl));
  font-weight: var(--fw-bold);
  color: var(--clr-white);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
  text-align: center;
}

.hero__subtitle {
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--clr-white);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.hero__cta {
  font-size: var(--fs-base);
}

.hero__grafismo {
  position: absolute;
  right: -80px;
  bottom: -60px;
  width: min(600px, 55vw);
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

/* ── Features (Diferenciais) ───────────────────────────────── */
.features {
  background-color: var(--clr-white);
  position: relative;
  overflow: hidden;
}

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

.features__grafismo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: min(480px, 45vw);
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

.features__grafismo--left {
  left: 0;
  transform: translateX(-62%) translateY(-83%) rotate(169deg)
}

.features__grafismo--right {
  right: 0;
  transform: translateX(65%) translateY(-38%) rotate(348deg)
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 900px;
  margin-inline: auto;
}

.features__card {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  background-color: #edf2f6;
  transition: box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.features__card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.features__icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.features__card-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  color: var(--clr-navy);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.features__card-text {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ── Solutions (Carrossel) ─────────────────────────────────── */
.solutions {
  background:
    linear-gradient(45deg, rgba(0, 43, 73, 1) 0%, rgba(0, 176, 185, 1) 25%),
    var(--clr-teal);
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.carousel__track-wrapper {
  overflow: visible;
  flex: 1;
  padding-block: var(--space-sm);
}

.carousel__track {
  display: flex;
  align-items: stretch;
  gap: var(--space-sm);
}

.carousel__slide {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
  will-change: transform, opacity;
}

.carousel__slide[data-pos="prev"] {
  order: 1;
  transform: scale(0.9);
  opacity: 0.6;
}

.carousel__slide[data-pos="active"] {
  order: 2;
  transform: scale(1.08);
  opacity: 1;
  z-index: 1;
}

.carousel__slide[data-pos="next"] {
  order: 3;
  transform: scale(0.9);
  opacity: 0.6;
}

.carousel__slide[data-pos="hidden"] {
  display: none;
}

.solutions__card {
  display: grid;
  grid-template-rows: auto 1fr;
  background-color: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  width: 100%;
  height: 100%;
}

.solutions__card-img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.solutions__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.solutions__card:hover .solutions__card-img,
.carousel__slide[data-pos="active"] .solutions__card-img {
  transform: scale(1.04);
}

.solutions__card-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background-color: var(--clr-white);
}

.solutions__card-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  color: var(--clr-navy);
}

.solutions__card-text {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  flex: 1;
}

.carousel__btn {
  background-color: transparent;
  color: var(--clr-white);
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-fast), opacity var(--dur-fast);
  opacity: 0.75;
}

.carousel__btn:hover {
  transform: scale(1.2);
  opacity: 1;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transition: background-color var(--dur-fast), transform var(--dur-fast);
}

.carousel__dot--active {
  background-color: var(--clr-white);
  transform: scale(1.25);
}

/* ── Process ───────────────────────────────────────────────── */
.process {
  background-color: var(--clr-white);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.process__step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background-color: #edf2f6;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  transition: box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

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

.process__number {
  font-size: 3rem;
  font-weight: var(--fw-bold);
  color: var(--clr-teal);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.5rem;
}

.process__step-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  color: var(--clr-navy);
  margin-bottom: var(--space-xs);
}

.process__step-text {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.process__cta {
  text-align: center;
}

/* ── Structure (Galeria) ───────────────────────────────────── */
.structure {
  padding-bottom: 0;
  background:
    linear-gradient(to bottom left, rgba(0, 176, 185, 0.7) 0%, rgba(0, 43, 73, 1) 19%),
    var(--clr-navy);
}

.structure__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
  overflow: visible;
}

.structure__gallery-item {
  aspect-ratio: 4/3;
  position: relative;
  z-index: 1;
  overflow: hidden;
  cursor: pointer;
  transition: transform 400ms var(--ease-out);
}

.structure__gallery-item:hover {
  transform: scale(1.06);
  z-index: 2;
}

.structure__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 350ms var(--ease-out);
  will-change: opacity;
  contain: layout;
}

.gallery-lightbox.is-active {
  opacity: 1;
  pointer-events: all;
}

.gallery-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  transform: scale(0.85);
  transition: transform 350ms var(--ease-out);
  will-change: transform;
}

.gallery-lightbox.is-active img {
  transform: scale(1);
}

.structure__note {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-top: var(--space-sm);
}

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials {
  background:
    linear-gradient(45deg, rgba(0, 43, 73, 1) 0%, rgba(0, 176, 185, 1) 25%),
    var(--clr-teal);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonials__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  background-color: var(--clr-white);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.testimonials__card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.testimonials__card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonials__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
}

.testimonials__name {
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  color: var(--clr-navy);
}

.testimonials__clinic {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  margin-top: 2px;
}

.testimonials__quote {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.75;
  flex: 1;
  font-style: normal;
}

.testimonials__stars {
  height: 18px;
  width: auto;
}

/* ── Contact ───────────────────────────────────────────────── */
.contact {
  background-color: var(--clr-off-white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact__title {
  text-align: left;
  margin-bottom: var(--space-md);
}

.contact__text {
  font-size: var(--fs-base);
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.contact__row {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact__item-icon {
  width: 28px;
  height: 28px;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact__item-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--clr-navy);
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.contact__item-value {
  font-size: var(--fs-base);
  color: var(--clr-navy);
  font-weight: var(--fw-medium);
  line-height: 1.5;
  transition: color var(--dur-fast);
}

.contact__item-value:is(a):hover {
  color: var(--clr-teal);
}

/* Formulário */
.contact__form-wrap {
  background:
    linear-gradient(225deg, rgba(0, 43, 73, 1) 0%, rgba(0, 176, 185, 0.9) 40%),
    var(--clr-navy);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.contact__form-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--clr-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-lg);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-sm);
}

.form__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--clr-white);
  font-family: var(--font-base);
  font-size: var(--fs-base);
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}

.form__input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.form__input:focus {
  outline: none;
  border-color: var(--clr-white);
  background-color: rgba(255, 255, 255, 0.22);
}

.form__input.has-error {
  border-color: #ff7e7e;
}

.form__submit {
  margin-top: var(--space-xs);
  width: 100%;
}

.form__feedback {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  min-height: 1.5em;
}

.form__feedback.success {
  color: #a3f7a3;
}

.form__feedback.error {
  color: #ffb3b3;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background:
    linear-gradient(225deg, rgba(0, 176, 185, 0.7) 0%, rgba(0, 43, 73, 1) 50%),
    var(--clr-navy);
  padding-block: var(--space-xl);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6rem;
}

.footer__logo img {
  height: 56px;
  width: auto;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--clr-teal);
  background-color: var(--clr-teal);
  transition: opacity var(--dur-fast), transform var(--dur-fast);
}

.footer__social-link:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.footer__social-link img {
  width: 28px;
  height: 28px;
}

/* ── Animações ─────────────────────────────────────────────── */
.animate-fade,
.animate-slide-up,
.animate-fade-delay,
.animate-fade-delay2 {
  opacity: 0;
}

.hero-loaded .animate-fade {
  animation: fadeIn 0.7s var(--ease-out) 0.1s forwards;
}

.hero-loaded .animate-slide-up {
  animation: slideUp 0.8s var(--ease-out) 0.25s forwards;
}

.hero-loaded .animate-fade-delay {
  animation: fadeIn 0.7s var(--ease-out) 0.5s forwards;
}

.hero-loaded .animate-fade-delay2 {
  animation: fadeIn 0.7s var(--ease-out) 0.75s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Intersection Observer — elementos de entrada */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

.structure__gallery-item.is-visible:hover {
  transform: scale(1.06);
}

/* delay escalonado para listas */
.features__grid .animate-on-scroll:nth-child(2) {
  transition-delay: 80ms;
}

.features__grid .animate-on-scroll:nth-child(3) {
  transition-delay: 160ms;
}

.features__grid .animate-on-scroll:nth-child(4) {
  transition-delay: 240ms;
}

.features__grid .animate-on-scroll:nth-child(5) {
  transition-delay: 320ms;
}

.features__grid .animate-on-scroll:nth-child(6) {
  transition-delay: 400ms;
}

.process__steps .animate-on-scroll:nth-child(2) {
  transition-delay: 100ms;
}

.process__steps .animate-on-scroll:nth-child(3) {
  transition-delay: 200ms;
}

.process__steps .animate-on-scroll:nth-child(4) {
  transition-delay: 300ms;
}

.testimonials__grid .animate-on-scroll:nth-child(2) {
  transition-delay: 120ms;
}

.testimonials__grid .animate-on-scroll:nth-child(3) {
  transition-delay: 240ms;
}

/* ── Responsivo ────────────────────────────────────────────── */

/* 1280px — ajuste de container já aplicado via max-width */

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

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

  .testimonials__grid li:last-child {
    grid-column: span 2;
    max-width: 480px;
    margin-inline: auto;
  }

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

/* 768px */
@media (max-width: 768px) {
  :root {
    --space-2xl: 3.5rem;
    --space-3xl: 5rem;
  }

  /* Header mobile */
  .header__hamburger {
    display: flex;
  }

  .header__social {
    display: none;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--clr-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 800;
  }

  .header__nav.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .nav__link {
    font-size: var(--fs-xl);
    font-weight: var(--fw-semi);
  }

  .nav__link--cta {
    padding: 0.75rem 2rem;
    font-size: var(--fs-base);
  }

  /* Hero */
  .hero__content {
    padding-block: var(--space-2xl);
  }

  .hero__cta {
    font-size: var(--fs-sm);
    padding-inline: var(--space-sm);
  }

  .hero__grafismo {
    display: none;
  }

  .hero__btn {
    width: 36px;
    height: 36px;
    font-size: 1.75rem;
  }

  .hero__btn--prev {
    left: var(--space-xs);
  }

  .hero__btn--next {
    right: var(--space-xs);
  }

  /* Features */
  .features__grid {
    grid-template-columns: 1fr;
  }

  .features__card {
    padding: var(--space-md);
  }

  /* Process */
  .process__steps {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__grid li:last-child {
    grid-column: auto;
    max-width: none;
  }

  /* Contact */
  .contact__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .contact__title {
    text-align: center;
  }

  /* Structure gallery */
  .structure__gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* 480px */
@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
  }

  .section__title {
    font-size: var(--fs-xl);
  }

  .hero__title {
    font-size: var(--fs-2xl);
  }

  .hero__subtitle {
    font-size: var(--fs-base);
  }

  .hero__btn {
    display: none;
  }

  .features__card {
    gap: var(--space-sm);
  }

  .features__icon {
    width: 40px;
    height: 40px;
  }

  .features__card-title {
    font-size: var(--fs-sm);
  }

  .features__card-text {
    font-size: var(--fs-xs);
  }

  .contact__form-wrap {
    padding: var(--space-lg);
  }

  .form__row {
    grid-template-columns: 80px 1fr;
  }

  .carousel__btn {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }

  .carousel__slide[data-pos="prev"],
  .carousel__slide[data-pos="next"] {
    display: none;
  }

  .carousel__slide[data-pos="active"] {
    transform: none;
    height: 26rem;
  }

  .carousel__slide[data-pos="active"] .solutions__card {
    height: 100%;
  }

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