/* Clínica Boa Saúde · cboasaude.com */

:root {
  --blue-900: #0b2a54;
  --blue-800: #0f3a73;
  --blue-600: #1f5fae;
  --blue-100: #e6eef8;
  --green-600: #1d8a44;    /* verde do logótipo */
  --green-500: #2fa055;
  --logo-blue: #1e5bb0;
  --green-100: #e5f3e6;
  --sun: #f2a93b;          /* a cor da fachada */
  --pink: #d94a86;

  --ink: #0e1b2c;
  --ink-soft: #46556b;
  --line: #dfe4ea;
  --paper: #f7f5f0;
  --white: #ffffff;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --logo: "Fredoka", "Manrope", system-ui, sans-serif;
  --gutter: 24px;
  --nav-h: 76px;

  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(14, 27, 44, .06), 0 12px 32px -12px rgba(14, 27, 44, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h1 em, h2 em { font-style: italic; color: var(--blue-600); }
p { margin: 0; }
address { font-style: normal; }

.wrap {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
@media (max-width: 600px) { :root { --gutter: 16px; --nav-h: 64px; } }
@media (min-width: 1600px) { :root { --wrap: 1320px; } body { font-size: 18px; } }
@media (max-width: 480px) { .hide-xs { display: none; } }

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

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

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: 18px;
}
.eyebrow--light { color: #9fe0a8; }
.lead { font-size: clamp(17px, .6vw + 15px, 20px); color: var(--ink-soft); max-width: 34em; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font: 700 16px/1 var(--sans); text-decoration: none;
  color: #fff; background: var(--blue-600);
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--blue-800); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(31, 95, 174, .7); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--small { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn--light { background: #fff; color: var(--blue-800); }
.btn--light:hover { background: var(--green-100); }
.btn--block { width: 100%; }

/* Barra superior */
.topbar { background: var(--blue-900); color: #cfdcef; font-size: 14px; }
.topbar__inner { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.topbar strong { color: #fff; }
.topbar__phone { margin-left: auto; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); flex: none;
  box-shadow: 0 0 0 0 rgba(58, 166, 74, .7); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(58, 166, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(58, 166, 74, 0); } }
@media (max-width: 600px) { .topbar__inner > span:nth-child(2) { font-size: 13px; } .topbar__phone { display: none; } }

/* Navegação */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, .88);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); }

/* Logótipo */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__mark { width: 48px; height: 48px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: .95; font-family: var(--logo); }
.brand__text b { font-weight: 700; font-size: 25px; letter-spacing: .01em; color: var(--logo-blue); text-transform: uppercase; }
.brand__text i { font-style: normal; font-weight: 600; font-size: 21px; color: var(--green-600); }
.brand--chip { padding: 10px 18px 10px 12px; border-radius: var(--radius); background: #fff; }
@media (max-width: 600px) {
  .brand__mark { width: 40px; height: 40px; }
  .brand__text b { font-size: 21px; }
  .brand__text i { font-size: 18px; }
}

.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__menu a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color .2s; }
.nav__menu a:not(.btn):hover { color: var(--blue-600); }

.nav__toggle { display: none; }

@media (max-width: 880px) {
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
    background: #fff; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .25s; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    box-shadow: 0 24px 32px -24px rgba(14, 27, 44, .25);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
  .nav__menu .btn { margin-top: 16px; }
}

/* Hero */
.hero { padding: 56px 0 40px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
/* min(): em ecrãs muito estreitos a fonte encolhe para "Cuidamos de si" caber numa linha */
.hero h1 { font-size: min(clamp(38px, 4.2vw + 26px, 86px), calc((100vw - 2 * var(--gutter)) / 7.1)); margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__visual { position: relative; margin: 0; }
.photo {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(58, 166, 74, .35), transparent 60%),
    linear-gradient(160deg, var(--blue-600), var(--blue-900));
  color: rgba(255, 255, 255, .12);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo__fallback { position: absolute; width: 70%; right: -12%; bottom: -10%; }
.photo--hero { aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); }

.badge-24 {
  position: absolute; left: -32px; bottom: 40px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 18px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
}
.badge-24__num { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--blue-800); }
.badge-24__num small { font-size: 22px; color: var(--green-600); }
.badge-24__txt { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink-soft); }

.facts {
  list-style: none; margin: 64px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.facts li { padding: 22px 20px 0 0; display: flex; flex-direction: column; gap: 4px; }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.facts b { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--blue-800); line-height: 1.1; }
.facts span { font-size: 15px; color: var(--ink-soft); }

/* Tablet: foto em formato paisagem por baixo do texto */
@media (max-width: 960px) {
  .hero { padding-top: 32px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .photo--hero { aspect-ratio: auto; height: clamp(260px, 58vw, 440px); border-radius: 180px 180px var(--radius-lg) var(--radius-lg); }
  .photo__fallback { width: auto; height: 130%; right: -4%; bottom: -35%; }
  .badge-24 { left: 20px; bottom: 20px; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li { padding-bottom: 18px; }
}
@media (max-width: 600px) {
  .hero { padding: 24px 0 32px; }
  .hero__grid { gap: 32px; }
  .hero h1 { margin-bottom: 18px; }
  .hero__cta { margin-top: 26px; }
  .photo--hero { aspect-ratio: 4 / 3; height: auto; border-radius: 120px 120px var(--radius) var(--radius); }
  .badge-24 { left: 12px; right: 12px; bottom: 12px; padding: 12px 16px; }
  .badge-24__num { font-size: 38px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .facts { margin-top: 40px; }
}
@media (max-width: 380px) {
  .facts b { font-size: 25px; }
  .facts span { font-size: 14px; }
  .facts li + li { padding-left: 14px; }
}

/* Telemóvel deitado / ecrãs baixos */
@media (orientation: landscape) and (max-height: 520px) {
  :root { --nav-h: 60px; }
  .hero { padding-top: 20px; }
  .hero__grid { grid-template-columns: 1.2fr .8fr; gap: 32px; }
  .hero h1 { font-size: clamp(34px, 5vw, 48px); }
  .photo--hero { aspect-ratio: 1 / 1; height: auto; border-radius: 120px 120px var(--radius) var(--radius); }
  .badge-24 { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; }
  .badge-24__num { font-size: 32px; }
  .badge-24__txt { font-size: 12px; }
  .hero__cta .btn { flex: 0 1 auto; }
}

/* Campanha */
.campaign { background: #fbe9f1; color: #7a1d47; }
.campaign__inner { display: flex; align-items: center; gap: 16px; min-height: 72px; padding-top: 14px; padding-bottom: 14px; }
.campaign__ribbon { width: 26px; flex: none; color: var(--pink); }
.campaign p { font-size: 15.5px; }
.campaign__link { margin-left: auto; font-weight: 700; white-space: nowrap; text-decoration: none; color: #a8255f; }
.campaign__link:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .campaign__inner { flex-wrap: wrap; gap: 4px 12px; }
  .campaign__ribbon { width: 22px; }
  .campaign p { flex: 1 1 0; min-width: 0; font-size: 14.5px; line-height: 1.5; }
  .campaign__link { margin-left: 34px; font-size: 14.5px; }
}

/* Secções */
.section { padding: 112px 0; }
.section--tint { background: var(--white); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section h2, .pambs h2 { font-size: clamp(34px, 4.6vw, 56px); }
@media (max-width: 700px) { .section { padding: 72px 0; } .section__head { margin-bottom: 36px; } }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  position: relative; padding: 32px 28px 34px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service__num { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--green-600); margin-bottom: 40px; }
.service h3 { font-size: 22px; margin-bottom: 10px; }
.service p { color: var(--ink-soft); font-size: 16px; }
.service--feature {
  grid-row: span 2; display: flex; flex-direction: column;
  background: var(--blue-800); border-color: var(--blue-800); color: #fff;
}
.service--feature .service__num { color: #9fe0a8; }
.service--feature h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin-top: auto; }
.service--feature p { color: #cfdcef; }
.service--wide {
  grid-column: 1 / -1; display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: 24px; align-items: baseline;
  background: var(--green-100); border-color: transparent;
}
.service--wide .service__num { margin-bottom: 0; }
.service--wide h3 { margin-bottom: 0; }
.service__link { margin-top: 24px; font-weight: 700; font-size: 20px; color: #fff; text-decoration: none; }
.service__link:hover { text-decoration: underline; }

@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } .service--feature { grid-row: auto; grid-column: 1 / -1; } .service--feature h3 { margin-top: 0; } }
@media (max-width: 760px) { .service--wide { grid-template-columns: 1fr; gap: 10px; } .service--wide .service__num { margin-bottom: 10px; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } .service__num { margin-bottom: 20px; } }

/* PAMBS */
.pambs {
  position: relative; padding: 112px 0; color: #fff; overflow: hidden;
  background:
    radial-gradient(60% 90% at 100% 100%, rgba(58, 166, 74, .45), transparent 60%),
    linear-gradient(135deg, var(--blue-900), var(--blue-600));
}
.pambs::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  background: rgba(255, 255, 255, .05);
  clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%);
}
.pambs__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.pambs h2 em { color: #9fe0a8; }
.pambs .lead { color: #d5e1f2; margin: 24px 0 34px; }
.pambs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pambs__list li {
  padding: 22px 24px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  color: #d5e1f2; font-size: 15.5px;
}
.pambs__list span { display: block; color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 4px; }
@media (max-width: 900px) { .pambs { padding: 80px 0; } .pambs__grid { grid-template-columns: 1fr; gap: 40px; } }

/* Sobre */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.photo--about { aspect-ratio: 8 / 9; background: linear-gradient(160deg, var(--green-500), var(--green-600)); }
.about__copy > p:not(.eyebrow) { color: var(--ink-soft); margin: 24px 0 36px; max-width: 34em; }
.values { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.values div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.values dt { font-family: var(--serif); font-size: 24px; color: var(--blue-800); }
.values dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 1100px) { .about { gap: 48px; } .values div { grid-template-columns: 1fr; gap: 4px; } }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; gap: 36px; }
  .photo--about { aspect-ratio: 16 / 10; }
  .about__copy > p:not(.eyebrow) { margin: 20px 0 28px; }
}

/* Fundador */
.founder { background: var(--blue-100); }
.founder__grid { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 80px; align-items: center; }
.founder__photo {
  position: relative; margin: 0; aspect-ratio: 2 / 3; overflow: hidden;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  background: linear-gradient(160deg, var(--blue-600), var(--blue-900));
  box-shadow: var(--shadow);
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.founder__role { margin-top: 14px; font-weight: 700; font-size: 17px; color: var(--green-600); }
.founder__honor {
  display: flex; gap: 20px; align-items: baseline;
  margin: 36px 0 32px; padding: 22px 24px; border-radius: var(--radius);
  background: #fff; border-left: 4px solid var(--blue-600);
}
.founder__honor-label { flex: none; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.founder__honor p { font-size: 18px; }
.founder__honor strong { color: var(--blue-800); }
.founder__quote { margin: 0; padding-left: 24px; border-left: 1px solid rgba(15, 58, 115, .2); max-width: 36em; }
.founder__quote p { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1vw + 15px, 23px); line-height: 1.45; color: var(--ink); }
.founder__quote footer { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }

@media (max-width: 960px) { .founder__grid { gap: 48px; grid-template-columns: minmax(200px, 300px) 1fr; } }
@media (max-width: 700px) {
  .founder__grid { grid-template-columns: 1fr; gap: 36px; }
  .founder__photo { width: min(100%, 320px); border-radius: 160px 160px var(--radius) var(--radius); }
  .founder__honor { flex-direction: column; gap: 6px; margin: 28px 0 26px; padding: 18px 20px; }
  .founder__honor p { font-size: 17px; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .founder__grid { grid-template-columns: 220px 1fr; gap: 32px; }
  .founder__photo { width: 100%; }
}

/* Contactos */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.channels { list-style: none; margin: 36px 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.channels li { display: flex; flex-direction: column; gap: 2px; }
.channels__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.channels a { font-weight: 700; font-size: 18px; color: var(--blue-800); text-decoration: none; }
.channels a:hover { text-decoration: underline; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: clamp(240px, 45vw, 400px); background: var(--blue-100); }
.map iframe { width: 100%; height: 100%; border: 0; }

.form {
  padding: 40px; border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line);
}
.form h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; }
.form__intro { color: var(--ink-soft); margin: 8px 0 26px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field small { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 500 16px/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(31, 95, 174, .15);
}
.field input[aria-invalid="true"] { border-color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 8px; }
.form__note { margin-top: 16px; font-size: 14px; color: var(--ink-soft); text-align: center; }
.form__note a { font-weight: 700; color: var(--blue-800); }
.form__status { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; font-size: 15px; }
.form__status.is-ok { background: var(--green-100); color: #1d5c27; }
.form__status.is-error { background: #fdecea; color: #8e2a1f; }

/* O formulário só acompanha o scroll quando cabe inteiro no ecrã */
@media (min-width: 961px) and (min-height: 980px) { .form { position: sticky; top: calc(var(--nav-h) + 24px); } }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 600px) { .form { padding: 28px 20px; } .channels { grid-template-columns: 1fr; } }

/* Rodapé */
.footer { background: var(--blue-900); color: #b5c6de; padding: 64px 0 40px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 32px 48px; }
.footer__tag { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 18px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; align-content: start; }
.footer__links a { text-decoration: none; font-weight: 600; color: #fff; }
.footer__links a:hover { color: #9fe0a8; }
.footer__legal { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
@media (max-width: 700px) { .footer__inner { grid-template-columns: 1fr; } }

/* Botão flutuante WhatsApp */
.fab {
  position: fixed; z-index: 60;
  right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .35);
  transition: transform .2s;
}
.fab:hover { transform: scale(1.06); }
.fab svg { width: 30px; height: 30px; fill: currentColor; }
@media (max-width: 600px) { .fab { width: 54px; height: 54px; } .fab svg { width: 27px; height: 27px; } .footer { padding-bottom: 96px; } }

/* Ecrãs táteis: sem efeitos de hover que ficam "presos" depois do toque */
@media (hover: none) {
  .btn:hover, .service:hover, .fab:hover { transform: none; }
  .service:hover { box-shadow: none; border-color: var(--line); }
  .service--feature:hover { border-color: var(--blue-800); }
  .service--wide:hover { border-color: transparent; }
}

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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