/* Fonts self-hosted in the pack: Italiana (display headings), Montserrat (body/UI, variable 100-900). */
@font-face { font-family: "Italiana"; src: url("/site/templates/psicologo/afeto/italiana-regular-4670d010.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/site/templates/psicologo/afeto/montserrat-variable-b7bebdf0.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* Afeto: cream surface, sage ink, terracotta accent, display serif. Colours come from the theme tokens:
   --hwe-hero-background-color (cream), --hwe-hero-text-color (sage), --hwe-accent-color (terracotta),
   --hwe-footer-color (solid sage footer). Everything here only restyles the classes the shared widget partials already emit. */
:root {
  --afeto-surface: var(--hwe-hero-background-color, #f8f1ed);
  --afeto-ink: var(--hwe-hero-text-color, #384a3a);
  --afeto-accent: var(--hwe-accent-color, #b5562a);
  --afeto-text: color-mix(in srgb, #644435 82%, var(--afeto-ink));
  --afeto-paper: color-mix(in srgb, var(--afeto-surface) 30%, #fff);
  --afeto-gold: #c29870;
  --afeto-line: color-mix(in srgb, var(--afeto-gold) 35%, transparent);
  --afeto-muted: color-mix(in srgb, var(--afeto-text) 80%, transparent);
  --afeto-display: "Italiana", "Didot", Georgia, serif;
  --afeto-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --afeto-radius: 1.25rem;
  --afeto-shadow: 0 14px 34px -24px color-mix(in srgb, var(--afeto-ink) 60%, transparent);
}
body {
  font-family: var(--afeto-sans);
  font-weight: 400;
  background: var(--afeto-paper);
  color: var(--afeto-text);
}
h1, h2, h3, .hwe-section-title, .hwe-stat-title, .hwe-t-heading, .hwe-quote-text {
  font-family: var(--afeto-display);
  font-weight: 400;
  color: var(--afeto-ink);
  letter-spacing: .01em;
}
h3, .h5 { font-family: var(--afeto-sans); font-weight: 600; font-size: 1.05rem; color: var(--afeto-ink); }
.hwe-section-title { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); line-height: 1.12; }
a { color: var(--afeto-accent); }
a:hover { color: color-mix(in srgb, var(--afeto-accent) 70%, #680003); }
.hwe-eyebrow, .hwe-feature-kicker, .hwe-t-kicker {
  color: var(--afeto-gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 600;
}

/* Buttons: terracotta pill. */
.btn-primary {
  --bs-btn-bg: var(--afeto-accent);
  --bs-btn-border-color: var(--afeto-accent);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: color-mix(in srgb, var(--afeto-accent) 85%, #000);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--afeto-accent) 85%, #000);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: color-mix(in srgb, var(--afeto-accent) 75%, #000);
  --bs-btn-active-border-color: color-mix(in srgb, var(--afeto-accent) 75%, #000);
  --bs-btn-active-color: #fff;
  border-radius: 999px;
  padding-left: 1.7rem;
  padding-right: 1.7rem;
  font-weight: 500;
}

/* Nav: cream, sticky, display brand, terracotta WhatsApp pill. */
.hwe-nav-afeto {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--hwe-menu-color) 92%, transparent) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--afeto-line);
  --bs-navbar-brand-color: var(--afeto-ink);
  --bs-navbar-brand-hover-color: var(--afeto-ink);
  --bs-navbar-color: var(--afeto-ink);
  --bs-navbar-hover-color: var(--afeto-accent);
  --bs-navbar-active-color: var(--afeto-accent);
}
.hwe-nav-afeto .navbar-brand { font-family: var(--afeto-display); font-size: 1.45rem; }
/* The vertical's pack mark is a light glyph made for dark bars; on cream it goes dark. Uploaded logos stay as sent. */
.hwe-nav-afeto .hwe-nav-logo[src*="/site/templates/"] { filter: brightness(0); opacity: .8; }
.hwe-nav-afeto .hwe-burger { color: var(--afeto-ink); }
.hwe-nav-afeto .nav-link { font-size: .92rem; font-weight: 500; }
.hwe-nav-afeto .hwe-nav-wa {
  background: var(--afeto-accent);
  border-color: var(--afeto-accent);
  color: #fff;
  border-radius: 999px;
  padding: .4rem 1.15rem;
}

/* Hero: cream paper with the organic blobs on the right (pack asset), display headline, terracotta CTA.
   The optional portrait sits on the right over the blobs (split); on phones the art fades behind the copy. */
.hwe-hero-afeto {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: 3rem !important;
  padding-bottom: 14rem !important;
  color: var(--afeto-ink);
  background:
    linear-gradient(180deg, var(--afeto-surface) 0%, color-mix(in srgb, var(--afeto-surface) 82%, transparent) 55%, transparent 100%),
    var(--afeto-surface) url("/site/templates/psicologo/afeto/hero-6330bc5b.webp") 82% 100% / auto 95% no-repeat;
}
.hwe-hero-afeto > .container { max-width: 1140px; }
@media (min-width: 1400px) { .hwe-hero-afeto > .container { max-width: 1320px; } }
.hwe-hero-afeto .hwe-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hwe-hero-afeto .hwe-hero-copy { max-width: 36rem; }
.hwe-hero-afeto .hwe-hero-title { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem); line-height: 1.04; color: var(--afeto-ink); }
.hwe-hero-afeto .hwe-hero-sub { color: var(--afeto-text); font-size: 1.1rem; font-weight: 400; }
.hwe-afeto-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.75rem; }
.hwe-afeto-chips li {
  padding: .4rem 1rem;
  border-radius: var(--afeto-radius);
  background: var(--afeto-paper);
  border: 1px solid var(--afeto-line);
  color: var(--afeto-text);
  font-family: var(--afeto-sans);
  font-size: .8rem;
  letter-spacing: .04em;
}
.hwe-hero-cta {
  background: var(--afeto-accent);
  border: 1px solid var(--afeto-accent);
  color: #fff;
  border-radius: 999px;
  padding: .8rem 2rem;
  font-weight: 500;
}
.hwe-hero-cta:hover, .hwe-hero-cta:focus-visible { background: color-mix(in srgb, var(--afeto-accent) 85%, #000); border-color: transparent; color: #fff; }
.hwe-hero-portrait {
  display: block;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 48% 52% 44% 56% / 40% 42% 58% 60%;
  box-shadow: var(--afeto-shadow);
}
@media (min-width: 768px) {
  .hwe-hero-afeto {
    padding-top: 5.5rem !important;
    padding-bottom: 6rem !important;
    min-height: min(44vw, 38rem);
    display: flex;
    align-items: center;
    background: var(--afeto-surface) url("/site/templates/psicologo/afeto/hero-6330bc5b.webp") right center / cover no-repeat;
  }
  .hwe-hero-afeto > .container { width: 100%; }
  .hwe-hero-afeto .hwe-hero-copy { max-width: min(52%, 34rem); }
  .hwe-hero-afeto .hwe-hero-grid:has(.hwe-hero-portrait) { grid-template-columns: 1.3fr 1fr; }
  .hwe-hero-afeto .hwe-hero-grid:has(.hwe-hero-portrait) .hwe-hero-copy { max-width: 34rem; }
}
/* With a portrait the phone layout stacks it under the copy, so the backdrop stays a soft wash. */
.hwe-hero-afeto:has(.hwe-hero-portrait) { padding-bottom: 3.5rem !important; }

/* Sections: off-white paper and cream alternate; generous rhythm. */
.hwe-section { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.hwe-section-alt, .hwe-about { background: var(--afeto-surface); }
.hwe-about-photo, .hwe-steps-photo { border-radius: 999px 999px var(--afeto-radius) var(--afeto-radius); box-shadow: var(--afeto-shadow); }
.hwe-about .hwe-rich-text { font-size: 1.05rem; line-height: 1.75; }

/* Quote: the empathy block, large display line with a thin gold rule. */
.hwe-quote { background: var(--afeto-surface); }
.hwe-quote-block { max-width: 48rem; margin: 0 auto; text-align: center; }
.hwe-quote-block::before { content: ""; display: block; width: 3rem; height: 1px; margin: 0 auto 1.5rem; background: var(--afeto-gold); }
.hwe-quote-text { font-size: clamp(1.55rem, 1.1rem + 2.2vw, 2.9rem); line-height: 1.22; margin-bottom: 1rem; }
.hwe-quote-cite { color: var(--afeto-gold); font-style: normal; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }

/* Areas and topics: white cards, soft corner, thin gold border, terracotta icon on a cream chip. */
.hwe-areas .card, .hwe-topics .card {
  background: #fff;
  border: 1px solid var(--afeto-line) !important;
  border-radius: var(--afeto-radius);
  box-shadow: var(--afeto-shadow) !important;
  transition: transform .2s ease;
}
.hwe-areas .card:hover, .hwe-topics .card:hover { transform: translateY(-3px); }
.hwe-areas .card-body, .hwe-topics .card-body { border-top: 0 !important; }
.hwe-areas .card img, .hwe-areas .card svg, .hwe-topics .card img, .hwe-topics .card svg {
  width: 2.75rem;
  height: 2.75rem;
  padding: .6rem;
  border-radius: 50%;
  background: var(--afeto-surface);
  color: var(--afeto-accent);
}
.hwe-topics { background: var(--afeto-paper); }

/* Steps: gold outlined numbers joined by a thin line on desktop. */
.hwe-steps { background: var(--afeto-paper); }
.hwe-step { position: relative; text-align: center; }
.hwe-step-number {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid var(--afeto-gold);
  background: var(--afeto-paper);
  color: var(--afeto-ink);
  font-family: var(--afeto-display);
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
}
.hwe-step .hwe-step-number, .hwe-step .hwe-icon + .hwe-step-number { display: inline-grid; line-height: 1; }
.hwe-step .hwe-icon { display: block; margin: 0 auto .75rem; color: var(--afeto-accent); }
@media (min-width: 768px) {
  .hwe-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.625rem;
    left: calc(50% + 2.25rem);
    width: calc(100% - 4.5rem);
    height: 1px;
    background: var(--afeto-line);
  }
  .hwe-steps .col-md-7 .hwe-step { text-align: left; }
  .hwe-steps .col-md-7 .hwe-step .hwe-icon { margin-left: 0; }
  .hwe-steps .col-md-7 .hwe-step::after { display: none; }
}

/* Stats: display numbers with a gold top rule. */
.hwe-stats { background: var(--afeto-paper); }
.hwe-stat { border-top: 1px solid var(--afeto-gold); padding-top: 1rem; }
.hwe-stat-title { font-size: 1.7rem; line-height: 1.15; }
.hwe-stat-text { color: var(--afeto-muted); }

/* Feature (pillars): the solid sage band with cream text and the terracotta CTA. */
.hwe-feature { background: var(--afeto-ink); color: var(--afeto-surface); }
.hwe-feature .hwe-section-title, .hwe-feature h3 { color: var(--afeto-surface); }
.hwe-feature .hwe-rich-text { color: color-mix(in srgb, var(--afeto-surface) 85%, transparent); }
.hwe-feature-photo { border-radius: var(--afeto-radius) var(--afeto-radius) var(--afeto-radius) 7rem; }
.hwe-feature .hwe-check { color: var(--afeto-gold); }

/* Testimonials: cream section with white quote cards; the chrome track shows 1/2/3 cards per view. */
.hwe-testimonials-section {
  --hwe-testimonials-bg: var(--afeto-surface);
  --hwe-testimonials-text: var(--afeto-text);
  --hwe-testimonials-accent: var(--afeto-accent);
}
.hwe-testimonials-section .hwe-t-heading { color: var(--afeto-ink); }
.hwe-testimonials-section .hwe-testimonial {
  background: #fff;
  border: 1px solid var(--afeto-line);
  border-radius: var(--afeto-radius);
  box-shadow: var(--afeto-shadow);
  padding: 1.75rem;
}
.hwe-testimonials-section .hwe-testimonial-author { font-family: var(--afeto-sans); font-weight: 600; color: var(--afeto-ink); }
.hwe-testimonial-stars { color: var(--afeto-gold); }
.hwe-testimonial-avatar { border-color: #fff; color: #fff; }
.hwe-t-cta { border-radius: 999px; padding: .55rem 1.6rem; }
.hwe-t-cta:hover, .hwe-t-cta:focus-visible { color: #fff; }

/* FAQ: generous rows with gold dividers, terracotta chevron, no boxes. */
.hwe-faq { background: var(--afeto-surface); }
.hwe-faq > .container { max-width: 54rem; }
.hwe-faq .accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: var(--afeto-line);
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem var(--afeto-line);
  --bs-accordion-active-bg: transparent;
  --bs-accordion-active-color: var(--afeto-accent);
}
.hwe-faq .accordion-item { border-width: 0 0 1px; }
.hwe-faq .accordion-button { padding: 1.25rem 0; font-weight: 500; font-size: 1.05rem; color: var(--afeto-ink); box-shadow: none; }
.hwe-faq .accordion-body { padding: 0 0 1.25rem; color: var(--afeto-text); }

/* Contact: white card on cream with the terracotta CTA. No map, the partial stays as it is. */
.hwe-contact > .container > .row { background: #fff; border: 1px solid var(--afeto-line); border-radius: calc(var(--afeto-radius) * 1.4); padding: 2.25rem 1.25rem; box-shadow: var(--afeto-shadow); margin-left: 0; margin-right: 0; }
.hwe-contact-facts dt { color: var(--afeto-gold); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; }
.hwe-contact-facts dd { color: var(--afeto-text); margin-bottom: 1rem; }

/* Rich text (the "como funciona a terapia" block): narrow measure, display subheadings. */
.hwe-rich-text { line-height: 1.75; }
main > .hwe-section > .container > .hwe-rich-text { max-width: 46rem; margin: 0 auto; font-size: 1.05rem; }
.hwe-rich-text h2 { font-family: var(--afeto-display); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); color: var(--afeto-ink); }
.hwe-rich-text h3 { color: var(--afeto-ink); margin-top: 1.75rem; }
.hwe-rich-text blockquote { border-left: 2px solid var(--afeto-gold); padding-left: 1.1rem; font-family: var(--afeto-display); font-size: 1.35rem; color: var(--afeto-ink); }

/* Agenda (booking): the light "conversa" invitation, white calendar on cream, terracotta slots. */
.hwe-booking-section {
  --hwe-booking-bg: var(--afeto-surface);
  --hwe-booking-text: var(--afeto-text);
  --hwe-booking-accent: var(--afeto-accent);
  --hwe-booking-accent-text: #fff;
  --hwe-booking-surface: #fff;
  --hwe-booking-line: var(--afeto-line);
  --hwe-booking-radius: var(--afeto-radius);
  --hwe-booking-heading-font: var(--afeto-display);
  --hwe-booking-heading-weight: 400;
}
.hwe-booking-section .hwe-booking-slot,
.hwe-booking-section .hwe-booking-calendly { border-radius: 999px; }

/* Footer: solid dark sage (footer colour token), cream text, gold/terracotta hover. */
.hwe-footer-afeto {
  background: var(--hwe-footer-color, var(--afeto-ink));
  color: var(--afeto-surface);
}
.hwe-footer-afeto .hwe-footer-name { font-family: var(--afeto-display); font-size: 1.6rem; }
.hwe-footer-afeto .hwe-footer-heading { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--afeto-gold); }
.hwe-footer-afeto .hwe-footer-link { color: var(--afeto-surface); text-decoration: none; line-height: 1.9; }
.hwe-footer-afeto .hwe-footer-link:hover { color: var(--afeto-gold); }
.hwe-footer-afeto .hwe-social-link { color: var(--afeto-surface); }
.hwe-footer-afeto .hwe-social-link:hover { color: var(--afeto-gold); }
.hwe-footer-afeto .hwe-footer-copy { border-top: 1px solid color-mix(in srgb, var(--afeto-surface) 20%, transparent); padding-top: 1rem; opacity: .75; }
.hwe-emergency {
  padding: .5rem 1rem;
  text-align: center;
  background: color-mix(in srgb, var(--hwe-footer-color, var(--afeto-ink)) 82%, #000);
  color: var(--afeto-surface);
}
.hwe-wa-float { background: var(--afeto-accent); }
