:root {
  --ivory: #faf6ef; --sand: #efe6d7; --sand-2: #e4d7c3;
  --ink: #2b2a29; --ink-soft: #5d5953; --champagne: #b39766; --champagne-dk: #8f764a;
  --line: rgba(43,42,41,.12);
  --serif: Verdana, Geneva, 'DejaVu Sans', sans-serif;
  --sans: Verdana, Geneva, 'DejaVu Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 15px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
em { font-style: italic; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.eyebrow { font: 500 .75rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--champagne-dk); margin-bottom: 1.2rem; display: block; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.sand { background: var(--sand); }
.section.dark { background: var(--ink); color: var(--ivory); }
.section.dark p { color: rgba(250,246,239,.75); }
.center { text-align: center; }
.lead { font-size: 1.15rem; }

/* Botões */
.btn { display: inline-block; padding: 14px 28px; font: 500 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--ink); transition: .25s; cursor: pointer; background: transparent; color: var(--ink); }
.btn:hover { background: var(--ink); color: var(--ivory); }
.btn-solid { background: var(--ink); color: var(--ivory); }
.btn-solid:hover { background: var(--champagne-dk); border-color: var(--champagne-dk); }
.btn-light { border-color: var(--ivory); color: var(--ivory); }
.btn-light:hover { background: var(--ivory); color: var(--ink); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6rem; }
.center .actions { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,246,239,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover, .nav a.active { border-color: var(--champagne); }
.nav-cta { padding: 12px 20px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 26px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 78px; left: 0; right: 0; background: var(--ivory); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 24px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 18px; text-align: center; }
}

/* Hero */
.hero { position: relative; min-height: min(86vh, 780px); display: grid; align-items: center; background:
  radial-gradient(1000px 520px at 82% 30%, rgba(179,151,102,.28), transparent 62%),
  linear-gradient(135deg, var(--sand) 0%, var(--ivory) 60%); overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; padding: 70px 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-img { width: 100%; max-width: 520px; justify-self: end; height: clamp(360px, 66vh, 600px); object-fit: cover; object-position: center 22%; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(43,42,41,.35); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-img { aspect-ratio: 4/3; height: auto; max-width: none; justify-self: stretch; order: -1; } .hero .wrap { padding: 30px 0 50px; } }
.photo-img.wide { aspect-ratio: 4/3; max-width: 100%; max-height: 520px; }
.banner { width: min(1160px, 100% - 32px); margin: 32px auto 0; max-height: 480px; object-fit: cover; object-position: center 35%; display: block; border: 1px solid var(--line); }
.hero h1 { margin-bottom: .15em; }
.hero .tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.6rem); color: var(--champagne-dk); margin-bottom: 1rem; }
.hero p.lead { max-width: 560px; }
.hero .note { margin-top: 2.2rem; font-size: .82rem; letter-spacing: .08em; color: var(--ink-soft); }

/* Grelhas e cartões */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
@media (max-width: 980px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; padding: 40px 34px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card h3 { margin-bottom: .3em; }
.card ul { list-style: none; padding: 0; margin: 1rem 0 1.6rem; border-top: 1px solid var(--line); }
.card li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink-soft); }
.card .btn { margin-top: auto; align-self: flex-start; }
.pillar h4 { font-size: 1.15rem; color: var(--champagne-dk); }
.pillar p { font-size: .95rem; }
.pillar { border-top: 1px solid var(--champagne); padding-top: 20px; }

/* Placeholders de imagem (substituir por fotografia real) */
.photo { aspect-ratio: 4/5; background: linear-gradient(160deg, var(--sand-2), var(--sand) 55%, #f6efe3); position: relative; display: grid; place-items: end start; padding: 22px; color: var(--champagne-dk); font: italic 1rem var(--serif); border: 1px solid var(--line); }
.photo.wide { aspect-ratio: 16/10; }

.map { width: 100%; aspect-ratio: 16/10; border: 1px solid var(--line); background: var(--sand); }

/* Cabeçalho de página */
.page-head { padding: clamp(56px, 8vw, 100px) 0 clamp(36px, 5vw, 60px); background: var(--sand); }
.page-head p { max-width: none; font-size: 1.05rem; }

/* Tratamentos */
.treatment { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; padding: 44px 0; border-top: 1px solid var(--line); }
.treatment h3 { font-size: 1.5rem; text-transform: none; }
.treatment .tagline { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--champagne-dk); }
.treatment .ind { font-size: .9rem; border-left: 2px solid var(--champagne); padding-left: 14px; }
.treatment .warn { font-size: .88rem; background: var(--sand); padding: 14px 18px; }
@media (max-width: 780px) { .treatment { grid-template-columns: 1fr; gap: 12px; } }
.t-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-top: 18px; border: 1px solid var(--line); }
.photo-img { width: 100%; max-width: 480px; max-height: 600px; aspect-ratio: 4/5; object-fit: cover; object-position: center 25%; border: 1px solid var(--line); justify-self: center; }
.price-note { font-size: .85rem; }

/* Formações */
.course { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.course .photo { aspect-ratio: 16/10; border: 0; border-bottom: 1px solid var(--line); }
.course-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-bottom: 1px solid var(--line); }
.course-img.detail { margin-bottom: 1.6rem; border: 1px solid var(--line); }
.course-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.meta { list-style: none; padding: 0; margin: 0 0 1.2rem; font-size: .88rem; color: var(--ink-soft); }
.meta li { padding: 3px 0; }
.meta strong { color: var(--ink); font-weight: 500; }
.course .btn { margin-top: auto; align-self: flex-start; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.checklist li { padding: 8px 0 8px 26px; position: relative; color: var(--ink-soft); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 1px; background: var(--champagne-dk); }

/* Formulário */
.form { display: grid; gap: 18px; }
.form label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 6px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea, .form select { width: 100%; padding: 14px 16px; border: 1px solid var(--sand-2); background: #fff; font: inherit; color: var(--ink); border-radius: 0; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--champagne); outline-offset: 1px; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.radios label { text-transform: none; letter-spacing: 0; font-size: .95rem; display: flex; gap: 8px; align-items: center; margin: 0; color: var(--ink); }
.consent label { text-transform: none; letter-spacing: 0; font-size: .9rem; display: flex; gap: 10px; align-items: flex-start; }
.consent a { text-decoration: underline; }
.field-err, .text-danger { color: #a33; font-size: .85rem; }
.alert { padding: 18px 22px; background: #eef3e8; border: 1px solid #c8d5b9; color: #34502a; margin-bottom: 1.5rem; }
.btn-sm { padding: 10px 16px; font-size: .7rem; }
.hp { position: absolute; left: -9999px; }
.contact-cols { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 90px); }
@media (max-width: 900px) { .contact-cols { grid-template-columns: 1fr; } }
.info-block { margin-bottom: 2.4rem; }
.info-block h3 { margin-bottom: .4em; }

/* Texto legal */
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--sand); color: var(--ink); padding: 70px 0 0; border-top: 1px solid var(--line); }
.site-footer p, .site-footer a { color: var(--ink-soft); font-size: .92rem; }
.site-footer a:hover { color: var(--champagne-dk); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-grid a { display: block; padding: 3px 0; }
.footer-grid h4 { font: 500 .72rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--champagne-dk); margin-bottom: 1rem; }
.footer-logo { height: 60px; width: auto; margin-bottom: 1rem; }
.sig { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink) !important; }
.copy { border-top: 1px solid var(--line); padding: 22px 0; font-size: .8rem; color: var(--ink-soft); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp flutuante */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-btn { width: 56px; height: 56px; border-radius: 50%; border: 0; background: #25d366; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.wa-panel { background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 34px rgba(0,0,0,.16); padding: 18px; width: min(300px, calc(100vw - 36px)); }
.wa-panel[hidden] { display: none; }
.wa-panel p { font-size: .9rem; color: var(--ink); margin-bottom: .6rem; }
.wa-panel a { display: block; padding: 11px 14px; margin-top: 6px; border: 1px solid var(--sand-2); font-size: .9rem; }
.wa-panel a:hover { background: var(--sand); }

/* Cookies */
.cookie { position: fixed; left: 18px; bottom: 18px; right: 90px; max-width: 520px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 34px rgba(0,0,0,.14); padding: 18px 20px; z-index: 70; display: flex; gap: 16px; align-items: center; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: .85rem; }
.cookie a { text-decoration: underline; }
.cookie .btn { padding: 11px 16px; white-space: nowrap; }
@media (max-width: 600px) { .cookie { flex-direction: column; align-items: stretch; right: 18px; bottom: 86px; } }

/* Sobre Nós: capítulo 2024 */
.chapter-head { display: flex; align-items: center; gap: clamp(24px, 5vw, 64px); margin-bottom: 28px; }
.chapter-year { font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: var(--champagne); font-weight: 300; letter-spacing: -.04em; }
.chapter-quote { font-style: italic; font-size: 1.1rem; color: var(--ink); margin: 0; }
.chapter-lead { max-width: none; font-size: 1.05rem; margin-bottom: 40px; }
.chapter-cards .card { background: var(--ivory); }
@media (max-width: 700px) { .chapter-head { flex-direction: column; align-items: flex-start; gap: 8px; } }
.points-title { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-dk); margin: 1.4rem 0 .4rem; font-weight: 500; }

/* Lista de tratamentos clicável nos cartões da homepage */
.card li a { display: flex; justify-content: space-between; align-items: center; margin: -9px 0; padding: 9px 0; transition: .2s; }
.card li a::after { content: '→'; opacity: 0; transform: translateX(-6px); transition: .2s; color: var(--champagne-dk); }
.card li a:hover { color: var(--champagne-dk); padding-left: 6px; }
.card li a:hover::after { opacity: 1; transform: none; }
.treatment { scroll-margin-top: 90px; }

/* ===== Responsivo: telemóvel, tablet, desktop ===== */
html { -webkit-text-size-adjust: 100%; }
/* tablet: cartões em 2 colunas */
@media (min-width: 640px) and (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* inputs a 16px evitam o zoom automático do iOS ao escrever */
.form input, .form textarea, .form select { font-size: 16px; }
/* alvos de toque confortáveis e zonas seguras (iPhone com notch) */
.wa { right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); }
.cookie { left: max(18px, env(safe-area-inset-left)); }
.site-footer { padding-bottom: env(safe-area-inset-bottom); }
@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .site-footer a { padding: 8px 0; }
  .btn { padding: 15px 22px; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
  .center .actions .btn { flex: 0 1 auto; }
  .wrap, .narrow { width: min(1160px, 100% - 32px); }
  table.t { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .treatment { padding: 32px 0; }
  .t-img { aspect-ratio: 16/10; }
  .page-head { padding: 44px 0 32px; }
}
@media (max-width: 380px) { h1 { font-size: 1.75rem; } .btn { letter-spacing: .1em; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }