:root {
  --black: #111111;
  --ink: #111111;
  --deep: #115251;
  --teal: #239c96;
  --cyan: #00ffff;
  --white: #ffffff;
  --paper: #f3f8f8;
  --line: rgba(17, 17, 17, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --muted: #4d5757;
  --muted-light: rgba(255, 255, 255, 0.72);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; margin-top: 3rem; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.section--light :focus-visible { outline-color: var(--deep); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 999px; font: 600 .95rem/1 var(--sans);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--block { width: 100%; }
.btn--cyan { background: var(--cyan); color: var(--black); box-shadow: 0 10px 30px -12px rgba(0, 255, 255, .6); }
.btn--cyan:hover { background: #7dffff; }
.btn--teal { background: var(--deep); color: var(--white); }
.btn--teal:hover { background: var(--teal); }

#sobre .about__body a[href="#formulario"],
#sobre .about__body a[href="#formulario"]:hover,
#sobre .about__body a[href="#formulario"]:focus-visible,
#sobre .about__body a[href="#formulario"]:visited {
  background: var(--cyan) !important;
  color: var(--black) !important;
  border-color: rgba(0, 255, 255, .7) !important;
  box-shadow: 0 16px 36px -20px rgba(0, 255, 255, .9);
}

/* HEADER */
.header { position: absolute; inset: 0 0 auto 0; z-index: 50; }
.header__inner { display: flex; align-items: center; justify-content: center; height: 108px; }
.brand img { height: 78px; width: auto; }

/* TYPE */
.eyebrow {
  font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--deep); margin-bottom: 1.2rem;
}
.eyebrow--light { color: var(--cyan); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 600; }
h3 { font-weight: 600; }

/* HERO */
.hero { position: relative; background: var(--black); color: var(--white); padding: 11rem 0 0; overflow: hidden; }
.hero__glow {
  position: absolute; width: 780px; height: 780px; right: -180px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 156, 150, .45), rgba(35, 156, 150, 0) 65%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 82, 81, .7), rgba(17, 82, 81, 0) 65%); pointer-events: none;
}
.hero__center {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 920px; padding-bottom: clamp(4.5rem, 9vw, 7rem);
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 600; margin-bottom: 1.5rem; }
.hero h1 span { color: var(--teal); font-weight: 400; margin-inline: .15em; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero__lead { font-size: 1.1rem; color: var(--muted-light); max-width: 62ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-bottom: 1.6rem; }
.hero__note { color: var(--muted-light); font-size: .95rem; max-width: 52ch; margin-bottom: 1.8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.chips li {
  padding: .5rem 1rem; border: 1px solid var(--line-light); border-radius: 999px;
  font-size: .82rem; color: var(--white); background: rgba(255, 255, 255, .04);
}
.chips--center { margin-top: 3rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0; border-top: 1px solid var(--line); }
.stats div { padding: 1.8rem 1.5rem 0 0; }
.stats div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stats dt { font: 600 1.6rem/1.1 var(--serif); color: var(--deep); }
.stats dd { margin: .4rem 0 0; font-size: .85rem; color: var(--muted); }

/* SECTIONS */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--light { background: var(--paper); }
.section--dark { background: var(--black); color: var(--white); }
.section__head { max-width: 760px; margin-bottom: 3.5rem; }
.section__head p:not(.eyebrow) { margin-top: 1.2rem; color: var(--muted); font-size: 1.05rem; }
.section--dark .section__head p:not(.eyebrow) { color: var(--muted-light); }

/* ABOUT */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); }
.about__body { display: grid; gap: 1.2rem; color: var(--muted); align-content: start; }
.values { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .8rem; }
.values li {
  padding: .6rem 1.2rem; border-radius: 999px; background: var(--deep); color: var(--white);
  font-size: .85rem; font-weight: 600; letter-spacing: .04em;
}

/* PHOTO SLOTS & ESTRUTURA */
.photo-slot {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: #e6efef; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.photo-slot:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(17, 82, 81, .2); }
.photo-slot img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block;
  object-position: center 20%; /* Sobe o enquadramento da foto para mostrar o topo/meio */
}
.photo-slot img:not([style*="none"]) + .photo-slot__placeholder {
  display: none;
}
.photo-slot__placeholder {
  aspect-ratio: 16 / 10; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .45rem;
  text-align: center; padding: 1.5rem;
  background: linear-gradient(135deg, rgba(35, 156, 150, .09), rgba(17, 82, 81, .14));
  color: var(--deep); border-bottom: 1px solid var(--line);
}
.photo-slot__placeholder svg { stroke: var(--deep); opacity: .75; }
.photo-slot__placeholder strong { font-size: .88rem; font-weight: 600; color: var(--deep); }
.photo-slot__placeholder span {
  font-size: .74rem; color: var(--muted); font-family: monospace;
  background: rgba(255, 255, 255, .7); padding: .2rem .55rem; border-radius: 4px;
}
.photo-slot__caption {
  padding: .75rem 1.1rem; font-size: .82rem; font-weight: 500;
  color: var(--muted); background: var(--white); margin: 0;
}

.photo-slot--featured {
  box-shadow: 0 16px 36px -18px rgba(17, 82, 81, .25);
}

.photo-slot--dark {
  background: rgba(255, 255, 255, .04); border-color: var(--line-light);
}
.photo-slot--dark:hover { box-shadow: 0 16px 36px -20px rgba(0, 255, 255, .3); }
.photo-slot--dark .photo-slot__placeholder {
  background: rgba(255, 255, 255, .03); color: var(--muted-light); border-bottom-color: var(--line-light);
}
.photo-slot--dark .photo-slot__placeholder svg { stroke: var(--cyan); }
.photo-slot--dark .photo-slot__placeholder strong { color: var(--white); }
.photo-slot--dark .photo-slot__placeholder span { background: rgba(0, 0, 0, .45); color: var(--cyan); }
.photo-slot--dark .photo-slot__caption {
  background: rgba(0, 0, 0, .35); color: var(--muted-light); border-top: 1px solid var(--line-light);
}

/* ESTRUTURA (GALERIA) */
.structure {
  margin-top: clamp(3.5rem, 7vw, 5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.structure__head { max-width: 680px; margin-bottom: 2rem; }
.structure__head h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--deep); margin-bottom: .6rem; }
.structure__head p:not(.eyebrow) { color: var(--muted); font-size: .98rem; }
.structure__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }

/* SERVICES */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  position: relative; padding: 2rem; border: 1px solid var(--line-light); border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--teal); box-shadow: 0 24px 50px -28px rgba(0, 255, 255, .35); }
.card__num { display: block; font: 600 .85rem/1 var(--sans); color: var(--cyan); letter-spacing: .1em; margin-bottom: 2.2rem; }
.card h3 { font-size: 1.3rem; margin-bottom: .8rem; }
.card p { color: var(--muted-light); font-size: .95rem; }
.card--feature { background: var(--deep); border-color: var(--deep); }
.card--wide { grid-column: 1 / -1; }
.card--wide .card__num { margin-bottom: 1.4rem; }
.card--wide h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); max-width: 28ch; }
.card--wide p { max-width: 70ch; }
.cta-line {
  margin-top: 3rem; padding: 2rem 2.2rem; border-radius: var(--radius); background: var(--white); color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.cta-line p { max-width: 62ch; font-weight: 500; }

/* DIFFERENTIALS */
.diffs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.diff { padding: 2.2rem 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .35s; }
.diff:hover { background: rgba(35, 156, 150, .1); }
.diff h3 { font-size: 1.25rem; margin-bottom: .7rem; color: var(--deep); }
.diff p { font-size: .94rem; color: var(--muted); }

/* AUDIENCE / ESPECIALIZAÇÃO */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.tile { padding: 2rem 1.6rem; border: 1px solid var(--line-light); border-radius: var(--radius); background: rgba(255, 255, 255, .03); transition: border-color .3s, transform .45s var(--ease); }
.tile:hover { border-color: var(--cyan); transform: translateY(-5px); }
.tile h3 { font-size: 1.25rem; margin-bottom: .8rem; color: var(--cyan); }
.tile p { font-size: .93rem; color: var(--muted-light); }
.tile--accent { background: var(--deep); border-color: var(--deep); }
.tile--accent h3 { color: var(--white); }
.tile--accent p { color: rgba(255, 255, 255, .88); }

/* CONTACT */
.section--contact { background: linear-gradient(160deg, var(--black) 30%, var(--deep) 140%); color: var(--white); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact__info > p:not(.eyebrow) { margin-top: 1.2rem; color: var(--muted-light); }
.contact__list { margin-top: 2.2rem; display: grid; gap: 1.2rem; }
.contact__list li { padding-top: 1.1rem; border-top: 1px solid var(--line-light); }
.contact__list span { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: .3rem; }
.contact__list a, .contact__list address { font-style: normal; text-decoration: none; word-break: break-word; }
.contact__list a:hover { color: var(--cyan); }

.form { background: var(--white); color: var(--ink); padding: clamp(1.6rem, 3vw, 2.5rem); border-radius: 22px; display: grid; gap: 1.1rem; scroll-margin-top: 24px; }
.form h3 { font-size: 1.6rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: .82rem; font-weight: 600; }
input, select, textarea {
  width: 100%; font: inherit; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(35, 156, 150, .22); }
input.invalid { border-color: #b3261e; }
.error { color: #b3261e; font-size: .78rem; }
.form__note { font-size: .78rem; color: var(--muted); }
.form__status { font-size: .88rem; font-weight: 600; color: #b3261e; }
.form__status:empty { display: none; }

/* FOOTER */
.footer { background: #000; color: var(--muted-light); padding: 3rem 0; border-top: 1px solid var(--line-light); font-size: .85rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer img { height: 64px; width: auto; }
.footer__legal { display: grid; gap: .25rem; flex: 1 1 320px; }
.footer__links { display: grid; gap: .3rem; text-align: right; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--cyan); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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

/* RESPONSIVE */
@media (max-width: 1020px) {
  .diffs, .audience, .structure__grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .about, .contact { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 1.5rem; }
}
/* FORM ACTIONS */
.form__actions {
  display: grid;
  gap: .75rem;
  margin-top: .4rem;
}

.btn:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 620px) {
  .services, .diffs, .audience, .field-row, .structure__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 8.5rem; }
  .brand img { height: 64px; }
  .hero__actions .btn, .cta-line .btn { width: 100%; }
  .footer__links { text-align: left; }
  .stats dt { font-size: 1.3rem; }
}
