/* Home-only presentation: shared styles and the other pages remain independent. */
@media (min-width: 721px) {
  [data-testid="homepage"] .header .header-in { max-width: 1180px; padding-inline: 32px; }
  [data-testid="homepage"] .header .brand img { object-position: left center; }
}
[data-testid="homepage"] .header .brand { flex: 0 1 300px; min-width: 0; }
[data-testid="homepage"] .header .brand img { display: block; width: 300px; max-width: 100%; height: auto; object-fit: contain; }
[data-testid="homepage"] .footer .f-brand img { width: 260px; max-width: 100%; height: auto; padding: 12px; background: #f6fbff; border-radius: 12px; }
@media (max-width: 1050px) and (min-width: 721px) {
  [data-testid="homepage"] .header .brand { flex-basis: 240px; }
  [data-testid="homepage"] .header .nav { gap: 12px; }
  [data-testid="homepage"] .header .nav a { font-size: .875rem; }
}
@media (max-width: 720px) {
  [data-testid="homepage"] .header .brand { flex-basis: 240px; }
  [data-testid="homepage"] .header .brand img { width: 240px; }
  [data-testid="homepage"] .header .header-in { padding: 12px 20px; gap: 18px; }
}
[data-testid="homepage"] #servicos .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 32px; }
[data-testid="homepage"] #servicos .card { background: #f7f9fa; border: 1px solid #eef2f4; border-radius: 16px; box-shadow: 0 8px 24px #153e5610; }
[data-testid="homepage"] #servicos .service-icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 24px 24px 0; background: #fff; color: #123d62; border-radius: 50%; box-shadow: 0 4px 18px #46a9cc35; }
[data-testid="homepage"] #servicos .service-icon svg { width: 36px; height: 36px; }
[data-testid="homepage"] #servicos .card-body { padding: 20px 24px 24px; }
[data-testid="homepage"] #servicos, .home-problems { scroll-margin-top: 110px; }
[data-testid="homepage"] #servicos .card-body .tag { align-self: flex-start; }
[data-testid="homepage"] #servicos .card-body h3 { font-size: 1.0625rem; line-height: 1.4; }
[data-testid="homepage"] #servicos .card-body p { font-size: 1rem; line-height: 1.65; }
[data-testid="homepage"] #servicos .card-link { background: #087e43; border-radius: 999px; font-size: .875rem; text-transform: none; letter-spacing: 0; }
[data-testid="homepage"] #servicos .card-link:hover { background: #066735; }
[data-testid="homepage"] #praias .two-col, [data-testid="homepage"] #faq .two-col { grid-template-columns: minmax(0, 1fr); }
[data-testid="homepage"] #sobre .two-col { grid-template-columns: minmax(0, 1fr) 180px; align-items: center; }
.home-problems { background: linear-gradient(115deg, #e0f2ff, #f5faff 75%); }
.home-problems h2 { max-width: 780px; }
.home-problems__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 36px; }
.problem-card { display: flex; align-items: flex-start; gap: 22px; padding: 28px; background: #fff; border: 1px solid #d9e7f1; border-radius: 24px; box-shadow: 0 10px 26px #153e5612; }
.problem-card > img { flex: 0 0 125px; width: 125px; height: 146px; border-radius: 15px; object-fit: cover; }
.problem-card__body { display: flex; flex-direction: column; min-width: 0; align-self: stretch; }
.problem-card h3 { margin: 0 0 10px; font-family: 'Manrope', sans-serif; font-size: 1.0625rem; font-weight: 800; line-height: 1.4; color: #0b3153; }
.problem-card p { margin: 0 0 20px; color: #36536a; font-size: 1rem; line-height: 1.65; }
.problem-card__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: auto; }
.problem-card__contact span { color: #23445c; font-size: .875rem; font-weight: 700; }
.problem-card__contact a { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; color: #fff; background: #087e43; text-decoration: none; font-size: .875rem; font-weight: 800; line-height: 1.5; }
.problem-card__contact a:hover { background: #066735; }
.problem-card__contact a:focus-visible { outline: 3px solid #145d94; outline-offset: 4px; }
@media (max-width: 1100px) {
  [data-testid="homepage"] #servicos .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .problem-card { flex-direction: column; padding: 24px; }
  .problem-card > img { flex-basis: auto; width: 145px; }
  .problem-card__body { flex: 1; }
}
@media (max-width: 720px) {
  [data-testid="homepage"] #servicos .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-testid="homepage"] #sobre .two-col { grid-template-columns: minmax(0, 1fr); }
  .home-problems__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .problem-card { flex-direction: row; }
  .problem-card > img { width: 110px; flex: 0 0 110px; height: 128px; }
}
@media (max-width: 480px) {
  [data-testid="homepage"] #servicos .grid { grid-template-columns: minmax(0, 1fr); }
  .problem-card { flex-direction: column; }
  .problem-card > img { width: 145px; height: 146px; flex-basis: auto; }
}
.home-authority {
  background: #eaf3fa;
  color: #456079;
  border-block: 1px solid #d8e5ef;
}
.home-authority .home-authority__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1180px;
  padding: 13px 32px;
}
.home-authority__icon { width: 19px; height: 19px; flex: 0 0 19px; color: #64869f; }
.home-authority p { margin: 0; font-size: .875rem; line-height: 1.65; }
.home-authority strong { color: #385772; font-weight: 800; }
.home-authority a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  min-height: 44px;
  margin-left: auto;
  color: #304e6b;
  font-size: .875rem;
  font-weight: 800;
  text-decoration: none;
  text-underline-offset: 4px;
}
.home-authority a svg { width: 17px; height: 17px; }
.home-authority a:hover { color: #092c55; text-decoration: underline; }
.home-authority a:focus-visible { outline: 3px solid #145d94; outline-offset: 4px; border-radius: 4px; }
[data-testid="homepage"] #footer-licencas { padding-block: 36px; }
[data-testid="homepage"] #footer-licencas h2 { font-size: 1.5rem; margin-bottom: 24px; }
[data-testid="homepage"] #footer-licencas .certifications-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
[data-testid="homepage"] #footer-licencas .certifications-list > div { padding-top: 16px; border-top: 1px solid #ffffff30; }
[data-testid="homepage"] #footer-licencas dt { color: #fff; font-size: .9375rem; }
[data-testid="homepage"] #footer-licencas dd { color: #cfe4f1; font-size: 1rem; margin-top: 8px; }
[data-testid="homepage"] #footer-licencas > a { display: inline-block; padding-block: 12px; color: #d8edfa; font-weight: 800; text-underline-offset: 4px; }
@media (max-width: 960px) {
  .home-authority p span { display: block; }
  [data-testid="homepage"] #footer-licencas .certifications-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-authority .home-authority__inner { align-items: flex-start; flex-wrap: wrap; gap: 6px 10px; padding: 14px 22px; }
  .home-authority__icon { margin-top: 3px; }
  .home-authority p { flex: 1 1 calc(100% - 29px); min-width: 0; }
  .home-authority a { flex-basis: calc(100% - 29px); justify-content: flex-start; margin: 0 0 0 29px; min-height: 44px; }
  [data-testid="homepage"] #footer-licencas .certifications-list { grid-template-columns: 1fr; }
}
.santos-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #173c58;
  background: #eaf3f9;
}
.santos-hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.santos-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(239,248,253,.97) 0%, rgba(232,245,253,.92) 36%, rgba(219,238,250,.65) 63%, rgba(216,235,248,.12) 100%);
}
.santos-hero .container { max-width: 1180px; padding-inline: 32px; }
.santos-hero__content { max-width: 760px; padding: 64px 0 38px; }
.santos-hero__eyebrow {
  margin: 0 0 22px;
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #395b73;
}
.santos-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #092c55;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.12;
}
.santos-hero__location { white-space: nowrap; }
.santos-hero__hours { display: block; margin-top: 12px; font-size: .46em; line-height: 1.4; letter-spacing: -.02em; }
.santos-hero__promise { margin: 24px 0 18px; color: #123758; font-size: 1.25rem; font-weight: 800; }
.santos-hero__description { max-width: 640px; margin: 0; font-size: 1.0625rem; line-height: 1.8; }
.santos-hero__benefits { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 25px 0 30px; padding: 0; list-style: none; }
.santos-hero__benefits li { display: flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 800; }
.santos-hero__benefits span { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: #f7fcff; color: #1677a5; }
.santos-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.santos-hero__button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 25px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: 1rem; font-weight: 800; transition: background-color .2s, box-shadow .2s; }
.santos-hero__button svg { width: 20px; height: 20px; flex-shrink: 0; }
.santos-hero__button--wa { background: #087e43; color: #fff; box-shadow: 0 8px 20px #087e4326; }
.santos-hero__button--wa:hover { background: #066735; }
.santos-hero__button--phone { background: #ffffffde; border-color: #c2d7e5; color: #123758; }
.santos-hero__button--phone:hover { background: #fff; }
.santos-hero a:focus-visible { outline: 3px solid #145d94; outline-offset: 4px; }
.santos-hero__contact { margin: 12px 0 0; font-size: .875rem; }
.santos-hero__contact a { color: #173c58; font-weight: 800; text-underline-offset: 3px; }
.santos-hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 660px; gap: 20px; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid #173c582b; }
.santos-hero__stats > div + div { border-left: 1px solid #173c582b; padding-left: 24px; }
.santos-hero__stats dt { color: #092c55; font-size: 1.875rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.2; }
.santos-hero__stats dd { margin: 6px 0 0; font-size: .875rem; }
.santos-hero__details { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; padding: 25px 0 28px; border-top: 1px solid #173c582b; }
.santos-hero__details > div + div { border-left: 1px solid #173c582b; padding-left: 40px; }
.santos-hero__label { margin: 0 0 8px; color: #214660; font-size: .875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.santos-hero__details p { margin: 0; font-size: .9375rem; line-height: 1.7; }
.santos-hero__details .santos-hero__payment { margin-bottom: 4px; color: #092c55; font-size: 1.125rem; font-weight: 800; }
.santos-hero__details .santos-hero__cards { font-size: .875rem; }
@media (max-width: 720px) {
  .santos-hero .container { padding-inline: 22px; }
  .santos-hero__photo { object-position: 57% center; }
  .santos-hero::before { background: linear-gradient(90deg, rgba(239,248,253,.95), rgba(232,245,253,.8)); }
  .santos-hero__content { padding: 38px 0 28px; }
  .santos-hero__eyebrow { font-size: .875rem; letter-spacing: .06em; margin-bottom: 18px; }
  .santos-hero h1 { font-size: clamp(2rem, 7.8vw, 3rem); }
  .santos-hero__hours { font-size: .52em; }
  .santos-hero__promise { margin-top: 22px; font-size: 1.125rem; }
  .santos-hero__description { font-size: 1rem; }
  .santos-hero__benefits { gap: 12px; flex-direction: column; margin: 22px 0; }
  .santos-hero__actions { flex-direction: column; }
  .santos-hero__button { width: 100%; }
  .santos-hero__contact { text-align: center; }
  .santos-hero__stats { gap: 10px; }
  .santos-hero__stats > div + div { padding-left: 10px; }
  .santos-hero__stats dt { font-size: 1.5rem; }
  .santos-hero__stats dd { font-size: .875rem; }
  .santos-hero__details { grid-template-columns: 1fr; gap: 22px; }
  .santos-hero__details > div + div { border-left: 0; border-top: 1px solid #173c582b; padding: 20px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .santos-hero__button { transition: none; }
}
