
/* =========================================================
   DRA. JULIELLY ANDRADE BRANDÃO
   CSS PRINCIPAL — REFACTORED
   ========================================================= */

/* ---------- 1. VARIÁVEIS ---------- */

:root {
  --ink: #10262B;
  --ink-soft: #4A5F64;

  --deep: #0E3B43;
  --teal: #14707A;
  --aqua: #DDF0EF;
  --mist: #F3F9F8;
  --paper: #FFFFFF;

  --line: #D5E4E3;

  --wa: #1FA855;
  --wa-dark: #168045;

  --warn: #B4531A;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r: 14px;
  --max: 1120px;

  --shadow-sm: 0 8px 24px rgba(14, 59, 67, .05);
  --shadow-md: 0 14px 34px rgba(14, 59, 67, .10);
}

/* ---------- 2. RESET E BASE ---------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--deep);
  letter-spacing: -.01em;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

p.lead {
  color: var(--ink-soft);
  max-width: 62ch;
}

section {
  padding: 84px 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}

.skip:focus {
  left: 8px;
}

/* ---------- 3. BOTÕES ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 999px;

  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;

  cursor: pointer;

  transition:
    background .2s,
    color .2s,
    transform .15s,
    border-color .2s;
}

.btn:active {
  transform: scale(.98);
}

.btn-wa {
  background: var(--wa);
  color: #fff;
}

.btn-wa:hover {
  background: var(--wa-dark);
}

.btn-ghost {
  border-color: var(--deep);
  color: var(--deep);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--deep);
  color: #fff;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: none;
}

/* ---------- 4. CABEÇALHO E NAVEGAÇÃO ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 50;

  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid var(--line);

  transition: box-shadow .25s;
}

header.scrolled {
  box-shadow: 0 8px 28px rgba(14, 59, 67, .10);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
}

.brand b {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--deep);
}

.brand span {
  font-size: .82rem;
  color: var(--ink-soft);
}

nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: .94rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}

nav a:hover,
nav a.active {
  color: var(--teal);
}

nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;

  height: 2px;
  background: var(--teal);

  transform: scaleX(0);
  transition: transform .25s;
}

nav a.active::after,
nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

nav .btn {
  padding: 10px 20px;
  font-size: .95rem;
  color: #fff;
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  background: none;
  border: 0;
  color: var(--deep);
}

.burger svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ---------- 5. HERO ---------- */

.hero {
  position: relative;
  overflow: hidden;

  background: var(--deep);
  color: #fff;

  padding: 92px 0 100px;
}

.hero .wrap {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 56px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 16px;
}

.hero h3 {
  color: #B6D6D4;
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: 22px;
}

.hero p {
  max-width: 52ch;
  color: #C9E3E1;
  font-size: 1.12rem;
  margin-bottom: 30px;
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero .btn-ghost {
  border-color: #7FB8B7;
  color: #fff;
}

.hero .btn-ghost:hover {
  background: #fff;
  color: var(--deep);
}

.drops {
  position: absolute;
  right: -60px;
  top: -40px;

  width: 520px;

  opacity: .5;
  pointer-events: none;
}

/* ---------- 6. FOTO E FORMAÇÃO ---------- */

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  min-width: 0;

  margin-inline: auto;
}

/* Foto circular */

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;

  object-fit: cover;
  object-position: 50% 18%;

  border: 5px solid #fff;
  border-radius: 50%;

  margin-bottom: 16px;

  box-shadow:
    0 0 0 14px rgba(255, 255, 255, .12),
    0 24px 60px rgba(0, 0, 0, .3);
}

/* Card de formação — fluxo normal, sem regras conflitantes */

.hero-card {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;

  width: 88%;
  margin: 0 auto;

  z-index: 1;

  padding: 22px 24px;

  background: #fff;
  color: var(--ink);

  border-radius: 20px;

  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  display: flex;
  gap: 12px;

  padding: 10px 0;
  border-top: 1px solid var(--line);

  font-size: .95rem;
  line-height: 1.4;
}

.hero-card li:first-child {
  border-top: 0;
}

.hero-card svg {
  flex: none;
  width: 22px;
  height: 22px;

  stroke: var(--teal);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;

  margin-top: 2px;
}

.hero-card small {
  display: block;
  color: var(--ink-soft);
  font-size: .83rem;
  margin-top: 3px;
}

/* ---------- 7. ANIMAÇÃO HERO ---------- */

.hero-drop {
  animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 8. SOBRE ---------- */

.about {
  background: var(--mist);
}

.about .wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 56px;
}

/* Retrato */

.portrait {
  position: relative;
  z-index: 1;

  aspect-ratio: 4 / 5;

  border-radius: 20px;
  overflow: hidden;

  background: linear-gradient(160deg, var(--aqua), #B9DDDB);
}

.portrait img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: 50% 30%;
}

/* Formação / timeline */

.timeline {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

.timeline-item {
  position: relative;

  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 16px;

  padding-bottom: 22px;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;

  left: 104px;
  top: 25px;
  bottom: 0;

  width: 1px;
  background: var(--line);
}

.timeline-year {
  color: var(--teal);
  font-size: .9rem;
  font-weight: 700;
  padding-top: 2px;
}

.timeline-item div {
  position: relative;
  padding-left: 18px;
}

.timeline-item div::before {
  content: "";
  position: absolute;

  left: -4px;
  top: 7px;

  width: 9px;
  height: 9px;

  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--aqua);
}

.timeline-item b {
  display: block;

  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.timeline-item span:not(.timeline-year) {
  display: block;
  color: var(--ink-soft);
  font-size: .91rem;
}

.cv {
  max-width: 60ch;
  margin-top: 12px;

  color: var(--ink-soft);
  font-size: .92rem;
}

/* ---------- 9. GRID E CARDS ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.card {
  padding: 26px;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);

  transition:
    transform .25s,
    box-shadow .25s,
    border-color .25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.card .ic {
  display: grid;
  place-items: center;

  width: 46px;
  height: 46px;

  margin-bottom: 16px;

  background: var(--aqua);
  border-radius: 12px;
}

.card .ic svg {
  width: 24px;
  height: 24px;

  stroke: var(--teal);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1.2rem;
}

.card p {
  color: var(--ink-soft);
  font-size: .97rem;
}

/* ---------- 10. SINAIS DE ALERTA ---------- */

.alert {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
  gap: 40px;

  padding: 40px;

  background: var(--aqua);
  border-radius: 20px;
}

.alert h2 {
  font-size: 1.8rem;
}

.alert ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;

  list-style: none;
}

.alert li {
  position: relative;
  padding-left: 26px;
  font-size: .98rem;
}

.alert li::before {
  content: "";
  position: absolute;

  left: 0;
  top: .5em;

  width: 10px;
  height: 10px;

  background: var(--teal);
  border-radius: 50%;
}

/* ---------- 11. FATOS E INFORMAÇÕES ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.facts div {
  padding: 16px 18px;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.facts b {
  display: block;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.facts span {
  color: var(--ink-soft);
  font-size: .9rem;
}

/* ---------- 12. ETAPAS / ABORDAGEM ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
  counter-reset: s;
}

.step {
  padding-top: 18px;
  border-top: 3px solid var(--teal);
}

.step::before {
  counter-increment: s;
  content: counter(s);

  display: block;

  color: var(--teal);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;

  margin-bottom: 10px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-soft);
  font-size: .96rem;
}

/* ---------- 13. FAQ ---------- */

.faq {
  background: var(--mist);
}

.faq-list {
  max-width: 780px;
  margin-top: 34px;
}

details {
  margin-bottom: 12px;
  overflow: hidden;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 18px 22px;

  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  flex: none;

  color: var(--teal);
  font-size: 1.5rem;
  line-height: 1;

  transition: transform .25s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  padding: 0 22px 20px;
  color: var(--ink-soft);
}

/* ---------- 14. CONTATO ---------- */

.contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 48px;
}

.contact .info {
  grid-column: 1 / -1;
  min-width: 0;
}

.info p {
  margin-bottom: 18px;
}

.info b {
  display: block;
  color: var(--deep);
}

.info a:not(.social a) {
  color: var(--teal);
  text-decoration: none;
}

.info a:not(.social a):hover {
  text-decoration: underline;
}

/* Locais de atendimento */

.contact-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;

  margin: 30px 0;
}

.contact-location-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;

  box-shadow: var(--shadow-sm);

  transition:
    transform .25s,
    box-shadow .25s,
    border-color .25s;
}

.contact-location-card:hover {
  transform: translateY(-3px);
  border-color: #A9CDCA;
  box-shadow: var(--shadow-md);
}

.contact-location-info {
  padding: 26px;
}

.location-tag {
  display: inline-block;
  margin-bottom: 10px;

  color: var(--teal);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-location-info h3 {
  color: var(--deep);
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.location-city {
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 14px;
}

.location-address {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

.location-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: var(--teal);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}

.location-map-link:hover {
  text-decoration: underline;
}

/* Mapas */

.location-map {
  width: 100%;
  height: 280px;
  margin-top: auto;
  overflow: hidden;
  background: #EAF2F1;
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Convênios e telefones */

.contact-location {
  margin-bottom: 26px;
}

.contact-location h3 {
  margin-bottom: 12px;
}

.contact-location p {
  padding-left: 14px;
  border-left: 2px solid var(--teal);
  color: var(--ink-soft);
}

/* Telefones: aproxima o primeiro bloco do título */

.contact-location h3 + p {
  margin-top: 0;
}

.contact-location p + p {
  margin-top: 20px;
}

.contact-location b {
  margin-bottom: 3px;
}

/* Formulário */

.contact .wrap > form {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- 15. FORMULÁRIO ---------- */

form {
  padding: 30px;

  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 20px;
}

form h3 {
  margin-bottom: 18px;
}

label {
  display: block;
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 14px;

  font: inherit;
  color: var(--ink);
  background: #fff;

  border: 1px solid #B7CFCE;
  border-radius: 10px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(20, 112, 122, .35);
  border-color: var(--teal);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

form .btn {
  width: 100%;
  justify-content: center;
}

.note {
  color: var(--ink-soft);
  font-size: .84rem;
  margin-top: 12px;
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: var(--warn);
  background: #FFF6F0;
}

.err {
  color: var(--warn);
  font-size: .85rem;
  margin: -10px 0 14px;
}

/* ---------- 16. RODAPÉ ---------- */

footer {
  padding: 44px 0 90px;

  background: var(--deep);
  color: #B6D6D4;

  font-size: .92rem;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

footer a {
  color: #fff;
}

/* ---------- 17. WHATSAPP FLUTUANTE ---------- */

/* ---------- WHATSAPP FLUTUANTE ---------- */

.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;

  padding: 0;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;

  background: var(--wa);
  color: #fff;

  border: none;
  border-radius: 50% !important;

  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);

  transition:
    background .2s,
    transform .2s,
    box-shadow .2s;
}

.fab:hover {
  background: var(--wa-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .32);
}

.fab svg {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;

  fill: none;
  color: #fff;
}

.fab span {
  display: none;
}

@media (max-width: 600px) {
  .fab {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    right: 16px;
    bottom: 16px;
  }

  .fab svg {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
}
/* ---------- 18. REDES SOCIAIS ---------- */

.social {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.social a {
  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;

  border: 1px solid #7FB8B7;
  border-radius: 50%;

  color: #fff;
  text-decoration: none;

  transition: background .2s, color .2s;
}

.social a:hover {
  background: #fff;
  color: var(--deep);
}

.social svg {
  width: 22px;
  height: 22px;

  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info .social {
  margin: 0 0 22px;
}

.info .social a {
  border-color: var(--teal);
  color: var(--teal);
}

.info .social a:hover {
  background: var(--teal);
  color: #fff;
}

/* ---------- 19. RESPONSIVIDADE: TABLET ---------- */

@media (max-width: 1050px) {
  nav ul {
    gap: 16px;
  }

  nav a {
    font-size: .9rem;
  }

  nav .btn {
    padding: 9px 15px;
  }
}

@media (max-width: 900px) {
  section {
    padding: 64px 0;
  }

  .hero .wrap,
  .about .wrap,
  .contact .wrap,
  .alert {
    grid-template-columns: 1fr;
  }

  .hero .wrap {
    gap: 48px;
  }

  .hero-drop:first-child {
    max-width: 700px;
  }

  .hero-visual {
    width: min(100%, 360px);
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-card {
    width: 92%;
  }

  .about .wrap {
    gap: 36px;
  }

  .portrait {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

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

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

  .alert {
    gap: 26px;
  }

  .contact .wrap {
    gap: 32px;
  }

  .contact-locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .location-map {
    height: 250px;
  }

  .contact-location-info {
    padding: 22px;
  }

  /* Navegação mobile/tablet */

  .burger {
    display: flex;
  }

  .nav {
    position: relative;
  }

  nav ul {
    position: absolute;
    top: 70px;
    left: -22px;
    right: -22px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 8px 22px 22px;

    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(14, 59, 67, .08);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);

    transition:
      opacity .25s,
      transform .25s,
      visibility .25s;
  }

  nav ul.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  nav li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  nav li:last-child a {
    border: 0;
    justify-content: center;
    margin-top: 12px;
  }

  nav .btn {
    display: flex;
  }
}

/* ---------- 20. RESPONSIVIDADE: CELULAR ---------- */

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  section {
    padding: 58px 0;
  }

  .hero {
    padding: 64px 0 76px;
  }

  .hero .wrap {
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .hero h3 {
    font-size: 1.05rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    width: min(82vw, 310px);
    max-width: 310px;
  }

  .hero-photo {
    border-width: 4px;
    box-shadow:
      0 0 0 10px rgba(255, 255, 255, .12),
      0 18px 40px rgba(0, 0, 0, .25);
  }

  .hero-card {
    width: 96%;
    padding: 18px;
  }

  .hero-card li {
    font-size: .9rem;
  }

  .hero-card small {
    font-size: .8rem;
  }

  .grid,
  .steps,
  .alert ul,
  .facts {
    grid-template-columns: 1fr;
  }

  .grid {
    gap: 16px;
    margin-top: 28px;
  }

  .card {
    padding: 22px;
  }

  .alert {
    padding: 26px;
  }

  .alert ul {
    gap: 12px;
  }

  /* Timeline */

  .timeline-item {
    grid-template-columns: 88px 1fr;
    gap: 10px;
  }

  .timeline-item:not(:last-child)::before {
    left: 87px;
  }

  .timeline-item div {
    padding-left: 14px;
  }

  .timeline-year {
    font-size: .83rem;
  }

  .timeline-item b {
    font-size: 1rem;
  }

  .timeline-item span:not(.timeline-year) {
    font-size: .85rem;
  }

  .steps {
    gap: 28px;
  }

  /* Contatos */

  .contact .wrap {
    gap: 32px;
  }

  .contact-locations {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 24px 0;
  }

  .contact-location-card {
    width: 100%;
  }

  .contact-location-info {
    padding: 20px;
  }

  .contact-location-info h3 {
    font-size: 1.3rem;
  }

  .location-map {
    height: 240px;
  }

  .location-map-link {
    font-size: .92rem;
  }

  /* Formulário */

  form {
    padding: 22px;
  }

  /* Cabeçalho */

  .brand b {
    font-size: 1rem;
  }

  .brand span {
    font-size: .75rem;
  }

  /* FAQ */

  .faq-list {
    margin-top: 26px;
  }

  summary {
    padding: 16px 18px;
    font-size: .96rem;
  }

  details p {
    padding: 0 18px 18px;
    font-size: .94rem;
  }

  footer .wrap {
    flex-direction: column;
  }

  /* WhatsApp */

  .fab {
    width: 56px;
    height: 56pxpx;
    right: 16px;
    bottom: 16px;
  }

  .fab svg {
    width: 32px;
    height: 32px;
  }
}

/* ---------- 21. TELAS MUITO PEQUENAS ---------- */

@media (max-width: 380px) {
  .wrap {
    padding: 0 16px;
  }

  .hero-visual {
    width: min(78vw, 280px);
  }

  .hero-card {
    padding: 16px;
  }

  .hero-card li {
    gap: 8px;
    font-size: .86rem;
  }

  .hero-card svg {
    width: 19px;
    height: 19px;
  }

  .brand b {
    font-size: .94rem;
  }

  .contact-location-info {
    padding: 18px;
  }

  .location-map {
    height: 220px;
  }
}

/* ---------- 22. REVEAL / ANIMAÇÕES ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);

  transition:
    opacity .6s ease,
    transform .6s cubic-bezier(.2, .7, .2, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- 23. ACESSIBILIDADE ---------- */

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
