/* ==========================================================================
   Site público — Enf.ª Patrícia Peres Silva
   Paleta e formas retiradas dos folhetos (azul-marinho, turquesa, azul claro,
   cápsulas arredondadas, ondas e frases manuscritas).
   ========================================================================== */

:root {
  --navy-900: #0b2c55;
  --navy-700: #123f73;
  --navy-500: #1d5a99;
  --teal-500: #22a6b3;
  --teal-300: #7fd3d9;
  --teal-100: #dff4f6;
  --sky-50: #f3f8fc;
  --sky-100: #e6f0f9;
  --white: #ffffff;
  --text: #1b2b3f;
  --muted: #55657a;
  --danger: #b42318;
  --ok: #157f5b;

  --font-sans: "Fira Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgba(11, 44, 85, 0.10);
  --shadow-sm: 0 4px 14px rgba(11, 44, 85, 0.08);

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-500); }
a:hover { color: var(--navy-700); }

h1, h2, h3 { color: var(--navy-900); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.alinhar-direita { text-align: right; }
.sem-margem { margin: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy-900); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.5em; border-radius: var(--radius-pill); border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy-700); color: var(--white); }
.btn-primary:hover { background: var(--navy-900); color: var(--white); }
.btn-outline { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn-outline:hover { background: var(--navy-700); color: var(--white); }
.btn-whatsapp { background: #1f9d55; color: var(--white); }
.btn-whatsapp:hover { background: #17803f; color: var(--white); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sky-100);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }

.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.brand-name { white-space: nowrap; font-family: var(--font-script); font-size: 1.65rem; color: var(--navy-700); font-weight: 600; }
.brand-role { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy-700);
}
.nav-toggle svg { width: 28px; height: 28px; }

.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { white-space: nowrap; }
.site-nav a:not(.btn) {
  display: block; padding: 8px 12px; border-radius: var(--radius-pill);
  color: var(--navy-900); text-decoration: none; font-weight: 500;
}
.site-nav a:not(.btn):hover { background: var(--sky-100); }
.site-nav .btn { padding: .6em 1.2em; margin-left: 8px; }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; inset: 68px 0 auto 0; background: var(--white);
    border-bottom: 1px solid var(--sky-100); box-shadow: var(--shadow-sm);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; }
  .site-nav .btn { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--sky-50) 0%, var(--sky-100) 60%, var(--teal-100) 100%);
  padding: clamp(40px, 7vw, 80px) 0 clamp(70px, 10vw, 120px);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 56px); align-items: center; }

.hero-title {
  display: inline-block; background: var(--navy-700); color: var(--white);
  padding: .35em .7em; border-radius: 28px; margin-bottom: .4em;
}
.hero-motto { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; font-style: italic; color: var(--navy-700); margin-bottom: .6em; }
.hero-motto span { color: var(--teal-500); padding: 0 .3em; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1.2em; }
.hero-area { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-700); }
.hero-area svg { width: 20px; height: 20px; color: var(--teal-500); }

.hero-figure { position: relative; margin: 0; width: 100%; max-width: 400px; justify-self: end; }
.hero-figure picture img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
  border: 6px solid var(--white);
}
.hero-quote {
  position: absolute; left: -28px; bottom: 28px; max-width: 250px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 12px 18px; margin: 0;
  font-family: var(--font-script); font-size: 1.45rem; line-height: 1.15; color: var(--navy-700);
}

.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 7vw, 90px); }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 340px; margin-inline: auto; justify-self: center; }
  .hero-quote { left: 50%; transform: translateX(-50%); bottom: -20px; text-align: center; width: max-content; max-width: 90%; }
}

/* ---------- Secções ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--sky-50); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-500);
  margin-bottom: .6em;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 3px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Destaques ---------- */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.highlight {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px; text-align: center;
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--teal-500);
}
.highlight .icon { margin: 0 auto 14px; }
.highlight h3 { text-transform: uppercase; letter-spacing: .03em; font-size: 1.05rem; }
.highlight p { color: var(--muted); margin: 0; font-size: .98rem; }

.icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky-100); color: var(--navy-700); flex: none;
}
.icon svg { width: 32px; height: 32px; }

@media (max-width: 760px) { .highlights { grid-template-columns: 1fr; } }

/* ---------- Serviços ---------- */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.service-list li {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border-radius: var(--radius-pill); padding: 8px 22px 8px 8px; box-shadow: var(--shadow-sm);
}
.service-list .icon { width: 54px; height: 54px; }
.service-list .icon svg { width: 26px; height: 26px; }

.card {
  background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm);
}
.card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-tag { font-size: 1.6rem; color: var(--teal-500); font-weight: 700; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Separadores (tabs) ---------- */
.tabs {
  display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: 28px;
  background: var(--white); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
}
.tab {
  font: 600 1rem/1.2 var(--font-sans); color: var(--navy-700); cursor: pointer;
  background: transparent; border: 0; padding: .7em 1.4em; border-radius: var(--radius-pill);
}
.tab:hover { background: var(--sky-100); }
.tab[aria-selected="true"] { background: var(--navy-700); color: var(--white); }
.tab-panel[hidden] { display: none; }
.panel-lead { color: var(--muted); font-size: 1.1rem; max-width: 40em; }

.other-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.other-service { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.other-service .icon { width: 54px; height: 54px; margin-bottom: 14px; }
.other-service .icon svg { width: 26px; height: 26px; }
.other-service h3 { font-size: 1.08rem; }
.other-service p { color: var(--muted); margin: 0; font-size: .98rem; }

@media (max-width: 900px) { .other-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .other-services { grid-template-columns: 1fr; } .tabs { display: flex; } .tab { flex: 1; } }

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
}
.plan h3 { font-size: 1.1rem; min-height: 2.4em; }
.plan-price { font-size: 2.4rem; font-weight: 700; color: var(--navy-700); line-height: 1; margin: .2em 0 .1em; }
.plan-price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan-freq { font-weight: 600; color: var(--teal-500); margin-bottom: .8em; }
.plan p:last-child { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.plan-featured { border-color: var(--teal-500); }
.plan-badge {
  position: absolute; top: -13px; left: 22px;
  background: var(--teal-500); color: var(--white); font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: var(--radius-pill);
}
.plan-gold { background: linear-gradient(170deg, var(--navy-700), var(--navy-900)); color: #dce7f3; }
.plan-gold h3, .plan-gold .plan-price { color: var(--white); }
.plan-gold .plan-price small, .plan-gold p:last-child { color: #c6d5e6; }
.plan-gold .plan-freq { color: var(--teal-300); }

.note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 28px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--teal-100); color: var(--navy-900);
}
.note svg { width: 24px; height: 24px; flex: none; color: var(--teal-500); margin-top: 2px; }
.note p { margin: 0; }

@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Deslocações ---------- */
.travel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.travel-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.travel-table th, .travel-table td { text-align: left; padding: 14px 18px; background: var(--white); }
.travel-table thead th { background: none; padding-block: 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.travel-table tbody th { border-radius: var(--radius-pill) 0 0 var(--radius-pill); font-weight: 500; }
.travel-table .alinhar-direita { text-align: right; }
.travel-table tbody td { border-radius: 0 var(--radius-pill) var(--radius-pill) 0; font-weight: 700; color: var(--navy-700); text-align: right; }

@media (max-width: 800px) { .travel-grid { grid-template-columns: 1fr; } }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%; border: 6px solid var(--white); box-shadow: var(--shadow); }
.about-signature { font-family: var(--font-script); font-size: 2.2rem; color: var(--navy-700); margin: 0; line-height: 1; }
.about-role { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--muted); margin-bottom: 1em; }

@media (max-width: 720px) {
  .about { grid-template-columns: 1fr; text-align: center; }
  .about-photo { max-width: 220px; margin-inline: auto; }
  .about .check-list { text-align: left; }
}

/* ---------- Condições (acordeão) ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 600; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--teal-500);
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Marcação ---------- */
.booking { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.booking-aside .card + .card { margin-top: 16px; }
.contact-line { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.contact-line .icon { width: 44px; height: 44px; }
.contact-line .icon svg { width: 22px; height: 22px; }
.contact-line a { font-weight: 600; text-decoration: none; overflow-wrap: break-word; min-width: 0; }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; color: var(--navy-900); font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%; font: inherit; color: var(--text);
  padding: 12px 14px; border: 1.5px solid #c9d6e4; border-radius: var(--radius-sm); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-500); outline: 3px solid var(--teal-100); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; min-height: 0; }
.field-error:empty { display: none; }

fieldset.field { border: 0; padding: 0; margin: 0; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span {
  display: inline-block; padding: 8px 16px; border-radius: var(--radius-pill);
  border: 1.5px solid #c9d6e4; background: var(--white); font-size: .95rem;
}
.option input:checked + span { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.option input:focus-visible + span { outline: 3px solid var(--teal-500); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy-700); }

.form-status { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-ok { background: #e3f5ee; color: var(--ok); }
.form-status.is-error { background: #fdecea; color: var(--danger); }

.hp { position: absolute; left: -9999px; }

@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Redes sociais ---------- */
.social { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky-100); color: var(--navy-700); transition: background .2s, color .2s;
}
.social-link:hover { background: var(--navy-700); color: var(--white); }
.social-link svg { width: 22px; height: 22px; }
.site-footer .social-link { background: rgba(255, 255, 255, .1); color: var(--white); }
.site-footer .social-link:hover { background: var(--teal-500); color: var(--white); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-900); color: #c6d5e6; padding: 48px 0 28px; font-size: .95rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer h2 { color: var(--white); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1em; }
.site-footer .brand-name { color: var(--white); font-size: 2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.urgent { margin-top: 1em; padding: 12px 16px; border-left: 3px solid var(--teal-500); background: rgba(255, 255, 255, .06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

.footer-bottom--simples { margin-top: 0; border-top: 0; padding-top: 0; }

@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Página de texto (privacidade) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }

/* ---------- Blogue ---------- */
.site-nav-simple ul { flex-direction: row !important; padding: 0 !important; }
@media (max-width: 1000px) {
  .site-nav.site-nav-simple { position: static; display: block; box-shadow: none; border: 0; background: none; }
  .site-nav-simple li:first-child { display: none; }
  .site-nav-simple .btn { margin: 0 0 0 4px; }
}
@media (max-width: 480px) {
  .site-nav-simple .btn { display: none; }
}

.post-list { display: grid; gap: 18px; max-width: 820px; }
.post-card {
  background: var(--white); border-radius: var(--radius); padding: 24px 28px;
  box-shadow: var(--shadow-sm); border-left: 4px solid var(--teal-500);
}
.post-card h2 { font-size: 1.35rem; margin-bottom: .3em; }
.post-card h2 a { color: var(--navy-900); text-decoration: none; }
.post-card h2 a:hover { color: var(--navy-500); text-decoration: underline; }
.post-card p { color: var(--muted); }
.post-more { font-weight: 600; text-decoration: none; }
.post-meta { font-size: .9rem; color: var(--muted); margin-bottom: .4em; }
.post-back { margin-bottom: 1.5em; }
.post-back a { text-decoration: none; font-weight: 500; }
.post h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.post h2 { font-size: 1.4rem; margin-top: 1.6em; }
.post h3 { margin-top: 1.4em; }
.post ul, .post ol { padding-left: 1.3em; }
.post li { margin-bottom: .35em; }
.post-disclaimer { margin-top: 2.5em; }

.blog-teaser { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.blog-teaser .section-head { margin-bottom: 0; }

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