/* Clínica Acolher: o arco é a porta de acolhimento. Pinho, musgo e um toque de sol. */
:root {
  --paper: #eef4f0;
  --surface: #ffffff;
  --slot: #ffffff;
  --ink: #17302a;
  --pine: #1f3d36;
  --moss: #3f6e5f;
  --sage: #d3e3da;
  --sun: #f0b35b;
  --muted: #4b6259;
  --line: #c5d6cc;
  --tint: #fbefd9;
  --ochre: #9a5f24;
  --btn: #3f6e5f;
  --btn-ink: #ffffff;
  --btn-hover: #1f3d36;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Atkinson Hyperlegible', Arial, sans-serif;
}
[data-theme="dark"] {
  --paper: #0f1f1b;
  --surface: #1a2f29;
  --slot: #1a2f29;
  --ink: #eaf3ee;
  --pine: #0b1714;
  --moss: #8fc2ad;
  --sage: #22372f;
  --muted: #a9c2b7;
  --line: #34503f;
  --tint: #3a2c12;
  --ochre: #f0b35b;
  --btn: #f0b35b;
  --btn-ink: #1b1505;
  --btn-hover: #ffd08a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.7 var(--body); transition: background .3s, color .3s; }
p, ol, ul, dl, dd, figure, h1, h2, h3 { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--pine); color: #fff; padding: 10px 18px; border-radius: 8px; }
.skip-link:focus { top: 10px; }
.container { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.06; letter-spacing: -.02em; }
h1 { font-size: clamp(46px, 6vw, 88px); max-width: 12ch; }
h2 { font-size: clamp(36px, 4.4vw, 58px); margin-bottom: 28px; }
h3 { font-size: 30px; }
p + p { margin-top: 1.1em; }
.section { padding-block: clamp(80px, 10vw, 128px); }
.lead { font-size: 20px; line-height: 1.6; max-width: 34em; margin-top: 28px; }
.muted { color: var(--muted); }
.kicker { font-weight: 700; color: var(--moss); margin-bottom: 14px; }

.image-slot { display: block; width: 100%; background: var(--slot); border: 1px solid var(--line); }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 22px 22px; overflow: hidden; }
.arch img, .image-slot img { width: 100%; height: 100%; object-fit: cover; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 26px; border: 0; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font: 700 16px/1.3 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.button:hover { background: var(--btn-hover); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--sun); padding-bottom: 2px; }
.placeholder { background: var(--tint); color: var(--ink); border: 1px dashed var(--ochre); border-radius: 6px; padding: 1px 8px; font-weight: 700; }
.optional { font-weight: 400; color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-slot { width: 40px; height: 48px; border-radius: 999px 999px 8px 8px; }
.brand-name { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.desktop-nav { display: flex; gap: 26px; margin-left: auto; margin-right: 8px; }
.desktop-nav a { font-weight: 700; font-size: 15px; text-decoration: none; padding-block: 8px; background: linear-gradient(var(--sun), var(--sun)) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.desktop-nav a:hover { background-size: 100% 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.theme-toggle .half { fill: currentColor; stroke: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--line); padding: 8px 24px 24px; }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; text-decoration: none; }

.hero { padding-top: clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.hero-media, .about-media { position: relative; isolation: isolate; }
.hero-media .arch { max-width: 460px; margin-left: auto; }
.hero-media::before { content: ""; position: absolute; left: -24px; bottom: -24px; width: 62%; height: 62%; border-radius: 999px 999px 22px 22px; background: var(--sage); z-index: -1; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 8vw, 104px); border-block: 1px solid var(--line); }
.pillars li { padding: 26px 28px; font-family: var(--display); font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
.pillars li + li { border-left: 1px solid var(--line); }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.about-media .arch { aspect-ratio: 3 / 4; max-width: 400px; }
.about-grid p { max-width: 36em; }
.origin { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); margin-top: clamp(72px, 9vw, 112px); padding-top: 48px; border-top: 1px solid var(--line); }
.origin p { max-width: 36em; }

.statement { background: var(--pine); color: #eef6f1; padding-block: clamp(88px, 11vw, 144px); }
.statement h2 { font-size: clamp(44px, 6.6vw, 96px); line-height: 1; max-width: 12ch; color: #fff; margin-bottom: 40px; }
.statement p { max-width: 34em; font-size: 20px; color: #cfe0d6; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tab { min-height: 48px; padding: 10px 22px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: inherit; font: 700 15px/1.2 var(--body); cursor: pointer; }
.tab.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.panel { max-width: 40em; }
.panel p { font-size: 20px; line-height: 1.6; color: var(--muted); margin-top: 12px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 22px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-size: 34px; color: var(--moss); margin-bottom: 14px; }
.steps h3 { font-size: 26px; margin-bottom: 10px; }
.steps p { color: var(--muted); }

.topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.topics li { border: 1px solid var(--moss); border-radius: 999px; padding: 6px 16px; font-size: 15px; color: var(--moss); }
.course-intro { max-width: 36em; margin-top: 24px; }
.course-banner { aspect-ratio: 21 / 8; margin-top: 52px; border-radius: 28px; }
.ticket { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 32px; margin: -56px clamp(0px, 4vw, 48px) 0; padding: 36px 40px; border-radius: 28px; background: var(--surface); box-shadow: 0 24px 60px -30px rgba(23, 48, 42, .35); }
.ticket dl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.ticket dt { font-size: 14px; font-weight: 700; color: var(--muted); }
.ticket dd { margin-top: 4px; }

.videos { background: var(--sage); overflow-x: clip; }
.video-grid { min-width: 0; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.video-item:nth-child(2) { transform: translateY(72px); }
.video-slot { aspect-ratio: 3 / 4; transition: transform .3s; }
.video-item:hover .video-slot { transform: translateY(-6px); }
.video-item figcaption { margin-top: 18px; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 22px; font-family: var(--display); font-size: 24px; line-height: 1.25; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--body); font-size: 26px; color: var(--moss); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; max-width: 40em; }

.contact { background: var(--sage); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(40px, 6vw, 96px); }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 36px 0; }
.contact-info dt { font-size: 14px; font-weight: 700; color: var(--muted); }
.contact-info dd { margin-top: 4px; }
.privacy { font-size: 15px; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: var(--surface); }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field select { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 17px; color: var(--ink); background: var(--paper); border: 1px solid #5f7a70; border-radius: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.consent input { width: 22px; height: 22px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--moss); }
.form-status { padding: 14px 16px; border-radius: 14px; background: var(--sage); }

.site-footer { padding-block: 48px 36px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.footer-nav a { font-weight: 700; text-decoration: none; }
.footer-note { margin-top: 20px; font-size: 14px; color: var(--muted); }
.mobile-booking { display: none; }

@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid, .about-grid, .origin, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media .arch { margin-inline: 0; }
  .steps { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr; margin-inline: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li + li { border-left: 0; border-top: 1px solid var(--line); }
  .video-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding-bottom: 12px; }
  .video-item { flex: 0 0 min(72%, 320px); scroll-snap-align: center; }
  .video-item:nth-child(2) { transform: none; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .header-cta { display: none; }
  .brand-name { font-size: 21px; }
  .form, .contact-info, .ticket dl { grid-template-columns: 1fr; }
  .mobile-booking { display: flex; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; justify-content: center; padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--btn); color: var(--btn-ink); font-weight: 700; text-decoration: none; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
