/* BRIGID SAÚDE — identidade: #14513E / #2F8F68 / #2C2C2A */
:root {
  color-scheme: light;
  --green: #14513e;
  --green-deep: #103f32;
  --leaf: #2f8f68;
  --mint: #9fcbb6;
  --ink: #2c2c2a;
  --muted: #5d665f;
  --paper: #fbfcf8;
  --white: #fff;
  --line: #dce4db;
  --soft: #f0f4ed;
  --font: 'Poppins', 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 125px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; overflow-wrap: break-word; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--leaf); outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { background: #cbe5d7; color: var(--green-deep); }
.container { width: min(1220px, calc(100% - 96px)); margin-inline: auto; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; flex: 0 0 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-tiny { width: 18px; height: 18px; flex-basis: 18px; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; background: var(--green); color: white; padding: 14px 20px; border-radius: 8px; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,252,248,.96); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 110px; gap: 30px; }
.brand { flex: 0 0 272px; display: block; }
.brand img { width: 272px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: .875rem; font-weight: 500; }
.main-nav > a:not(.button) { position: relative; padding-block: 14px; }
.main-nav > a:not(.button)::after { position: absolute; content: ''; bottom: 6px; height: 1px; background: var(--green); left: 0; right: 100%; transition: right .22s; }
.main-nav > a:hover::after { right: 0; }
.menu-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 11px; padding: 17px 23px; border: 1px solid transparent; border-radius: 7px; font-size: .9375rem; font-weight: 500; line-height: 1.55; min-height: 54px; transition: background .22s, border-color .22s, transform .22s, box-shadow .22s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); border-color: var(--green); color: white; }
.button-primary:hover { background: var(--green-deep); border-color: var(--green-deep); box-shadow: 0 6px 16px #14513e18; }
.button-outline { background: transparent; border-color: var(--green); color: var(--green); }
.button-outline:hover { background: #eaf1e8; }
.button-small { min-height: 46px; padding: 10px 16px; font-size: .875rem; }
.hero { padding-top: 60px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: center; gap: 65px; }
.eyebrow { font-size: .75rem; font-weight: 500; letter-spacing: .14em; color: var(--green); line-height: 1.7; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.eyebrow-line { width: 28px; height: 1px; flex: 0 0 28px; background: var(--leaf); }
h1 { color: var(--green-deep); font-size: clamp(2.6rem,4.3vw,4.15rem); line-height: 1.16; letter-spacing: -.055em; }
.accent-text { color: var(--leaf); }
.hero-description { max-width: 490px; font-size: 1rem; margin-top: 25px; line-height: 1.9; color: var(--muted); }
.service-area { max-width: 490px; margin-top: 18px; padding-left: 16px; border-left: 2px solid var(--mint); font-size: 1rem; line-height: 1.8; color: var(--muted); }
.service-area strong { display: block; color: var(--green); font-weight: 500; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 25px; margin-top: 31px; }
.instagram-link { display: inline-flex; align-items: center; gap: 9px; font-size: .875rem; padding-block: 13px; color: var(--green); border-bottom: 1px solid transparent; transition: border-color .2s; }
.instagram-link:hover { border-color: var(--green); }
.hero-doctor { display: flex; align-items: center; gap: 14px; margin-top: 37px; padding-top: 25px; border-top: 1px solid var(--line); max-width: 430px; }
.doctor-mark { background: #edf3e9; border-radius: 50%; width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; }
.doctor-mark img { width: 21px; height: 37px; }
.hero-doctor p { font-size: .9375rem; font-weight: 500; color: var(--green-deep); }
.hero-doctor div > span { font-size: .8125rem; color: var(--muted); }
.separator { margin-inline: 6px; }
.hero-visual { position: relative; width: 100%; max-width: 490px; justify-self: end; padding-bottom: 20px; }
.photo-frame { position: relative; border-radius: 44% 44% 12px 12px; overflow: hidden; background: #e1e7da; aspect-ratio: 4 / 4.8; }
.photo-frame picture { display: block; width: 100%; height: 100%; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.photo-frame::after { content: ''; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent,#0d332a9c); pointer-events: none; }
.photo-caption { position: absolute; bottom: 62px; left: 32px; right: 26px; z-index: 1; display: flex; align-items: center; gap: 12px; color: white; font-size: .75rem; letter-spacing: .12em; line-height: 1.5; }
.caption-line { width: 24px; flex: 0 0 24px; height: 1px; background: #cde1d7; }
.home-note { position: absolute; left: -30px; right: 27px; bottom: 10px; display: flex; align-items: center; gap: 15px; padding: 20px 25px; background: var(--white); border: 1px solid #e4e9df; border-radius: 9px; box-shadow: 0 12px 40px #233d2c0b; }
.home-note-icon { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; background: var(--soft); border-radius: 50%; color: var(--green); }
.home-note strong { display: block; color: var(--green); font-size: .9375rem; font-weight: 500; }
.home-note div > span { font-size: .8125rem; color: var(--muted); }
.hero-visual figcaption { position: absolute; bottom: -12px; right: 0; color: #697268; font-size: .75rem; }
.care-strip { display: flex; align-items: center; justify-content: space-between; padding-block: 27px; margin-top: 54px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 25px; }
.care-strip > span { display: flex; align-items: center; gap: 13px; font-size: .875rem; color: var(--green); }
.care-strip > span + span { border-left: 1px solid var(--line); padding-left: 40px; }
.section-space { padding-block: 106px; }
.care-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 110px; }
h2 { font-size: clamp(2rem,3.2vw,2.85rem); color: var(--green-deep); letter-spacing: -.04em; line-height: 1.24; }
.section-intro h2, .contact-intro h2 { margin-top: 18px; }
.section-intro > p:not(.eyebrow) { margin-top: 25px; color: var(--muted); max-width: 420px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: .875rem; font-weight: 500; color: var(--green); padding-block: 8px; border-bottom: 1px solid var(--green); margin-top: 22px; }
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }
.care-item { display: flex; align-items: flex-start; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.care-item:first-child { padding-top: 8px; }
.item-number { font-size: .8125rem; padding-top: 5px; color: var(--leaf); }
.care-item h3 { color: var(--green-deep); font-size: 1.1875rem; }
.care-item p { font-size: .9375rem; color: var(--muted); margin-top: 8px; line-height: 1.8; }
.care-icon { color: var(--leaf); margin-left: 10px; margin-top: 6px; }
.doctor-section { background: var(--green); color: white; padding-block: 82px; }
.doctor-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1fr); gap: 95px; align-items: center; }
.doctor-identity { min-height: 320px; display: flex; align-items: center; gap: 33px; padding-right: 45px; border-right: 1px solid #ffffff29; }
.identity-symbol { flex: 0 0 100px; }
.identity-symbol img { width: 100px; height: auto; }
.identity-brand { display: block; font-size: clamp(1.2rem,2.1vw,1.7rem); font-weight: 500; letter-spacing: .045em; }
.identity-brand > span { font-weight: 400; color: var(--mint); }
.doctor-identity p { color: #e0ede4; font-size: .875rem; line-height: 1.9; margin-top: 15px; }
.doctor-copy .eyebrow { color: var(--mint); }
.doctor-copy h2 { color: white; margin-top: 14px; font-size: clamp(2rem,3.2vw,2.7rem); }
.doctor-specialty { color: var(--mint); margin-top: 14px; font-size: 1rem; }
.doctor-description { color: #e0ede4; margin-top: 22px; font-size: .9375rem; line-height: 1.85; }
.credentials { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 23px; font-size: .875rem; }
.credentials > span { padding: 8px 13px; border: 1px solid #ffffff3d; border-radius: 5px; }
.credentials strong { font-weight: 500; padding-left: 5px; }
.text-link-light { color: white; border-color: #b6d4c3; margin-top: 21px; }
.doctor-section a:focus-visible { outline-color: var(--mint); }
.contact-intro { max-width: 700px; text-align: center; margin-inline: auto; }
.contact-intro > p:not(.eyebrow) { color: var(--muted); max-width: 560px; margin: 22px auto 0; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 45px; }
.contact-card { display: flex; align-items: center; gap: 21px; padding: 30px; border-radius: 9px; border: 1px solid var(--line); transition: transform .25s, border-color .25s, box-shadow .25s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px #14513e0d; border-color: var(--leaf); }
.whatsapp-card { background: var(--green); color: white; border-color: var(--green); }
.instagram-card { background: white; color: var(--green); }
.contact-card-icon { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border: 1px solid #ffffff4a; border-radius: 50%; }
.instagram-card .contact-card-icon { border-color: #cfded2; }
.contact-card-copy { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.contact-label { font-size: .75rem; letter-spacing: .07em; }
.whatsapp-card .contact-label { color: #d7e8df; }
.contact-card-copy strong { font-size: 1.05rem; line-height: 1.5; font-weight: 500; }
.contact-card-copy > span:last-child { font-size: .8125rem; opacity: .9; }
.contact-arrow { margin-left: auto; width: 22px; flex-basis: 22px; }
.appointment-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .8125rem; margin-top: 22px; }
.site-footer { background: var(--soft); border-top: 1px solid var(--line); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 24px; }
.footer-brand { flex: 0 0 280px; }
.footer-brand img { width: 280px; height: auto; mix-blend-mode: multiply; }
.footer-credentials { display: flex; flex-direction: column; gap: 3px; font-size: .8125rem; color: var(--muted); }
.footer-credentials strong { font-size: .875rem; color: var(--green); font-weight: 500; }
.footer-socials { display: flex; gap: 11px; }
.footer-socials a { display: grid; place-items: center; color: var(--green); border: 1px solid #c2d2c3; border-radius: 50%; min-width: 44px; min-height: 44px; transition: background .2s; }
.footer-socials a:hover { background: #dce8db; }
.footer-bottom { border-top: 1px solid #d5dfd2; padding-block: 19px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .75rem; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 9px; min-height: 32px; }
.footer-bottom p { align-self: center; }
.footer-bottom .icon { transform: rotate(-90deg); }
.mobile-contact-bar { display: none; }
.contact-dialog { width: min(450px, calc(100% - 32px)); border: 1px solid var(--line); padding: 0; border-radius: 14px; background: var(--paper); color: var(--ink); max-height: calc(100dvh - 32px); overflow: auto; }
.contact-dialog::backdrop { background: #102c24a8; backdrop-filter: blur(4px); }
.dialog-content { padding: 42px 32px 32px; position: relative; text-align: center; }
.dialog-content > img { margin: 0 auto 18px; }
.dialog-content h2 { font-size: 1.8rem; margin-top: 10px; }
.dialog-content > p:not(.eyebrow) { color: var(--muted); margin-top: 16px; }
.dialog-content .button { width: 100%; margin-top: 18px; }
.dialog-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--green); font-size: 1.8rem; }
.error-page { min-height: 100svh; display: grid; place-items: center; padding: 30px 20px; }
.error-card { max-width: 540px; text-align: center; }
.error-card > img { max-width: 300px; margin: 0 auto 25px; width: 100%; }
.error-card h1 { font-size: 2.4rem; letter-spacing: -.03em; }
.error-card p { margin-top: 20px; color: var(--muted); }
.error-card .button { margin-top: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter .7s both; }
  .hero-visual { animation: enter .9s .1s both; }
  [data-reveal].will-reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s, transform .65s; }
  [data-reveal].will-reveal.is-visible { opacity: 1; transform: none; }
  @keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (min-width: 1500px) { .hero-grid { gap: 100px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 22px; }
  .brand { flex-basis: 235px; }
  .main-nav { gap: 22px; }
  .nav-cta { display: none; }
  .hero-grid { gap: 40px; }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .07em; }
  h1 { font-size: clamp(2.55rem,4.4vw,3.9rem); }
  .hero-actions { gap: 10px 22px; }
  .home-note { left: -14px; right: 14px; padding: 17px; gap: 10px; }
  .home-note strong { font-size: .875rem; }
  .care-strip > span + span { padding-left: 24px; }
  .care-strip > span { font-size: .8125rem; gap: 9px; }
  .care-grid { gap: 65px; }
  .doctor-grid { gap: 50px; }
  .doctor-identity { gap: 18px; padding-right: 30px; }
  .identity-symbol { flex-basis: 75px; }
  .contact-card { padding: 24px; gap: 15px; }
  .contact-card-icon { width: 42px; height: 42px; flex-basis: 42px; }
  .contact-card-copy strong { font-size: 1rem; }
  .footer-brand { flex-basis: 240px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 94px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 86px; flex-wrap: wrap; gap: 0; }
  .brand { flex-basis: 235px; min-width: 0; max-width: calc(100% - 62px); }
  .brand img { width: 100%; max-width: 100%; height: auto; }
  .menu-toggle { flex: 0 0 46px; }
  .main-nav { flex: 1 1 100%; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 23px; border-top: 1px solid var(--line); padding-block: 10px; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; }
  .js .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 46px; height: 46px; padding: 11px; border: 1px solid var(--line); background: transparent; border-radius: 6px; }
  .menu-toggle span { width: 22px; height: 1.5px; background: var(--green); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .hero { padding-top: 38px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero .eyebrow { margin-bottom: 18px; letter-spacing: .06em; font-size: .75rem; gap: 9px; }
  .eyebrow-line { width: 18px; flex-basis: 18px; }
  h1 { font-size: clamp(2.5rem,8.8vw,3.6rem); letter-spacing: -.05em; line-height: 1.17; }
  .hero-description { font-size: 1rem; margin-top: 22px; max-width: 550px; line-height: 1.8; }
  .hero-actions { margin-top: 24px; gap: 13px 22px; }
  .hero-actions .button { padding-inline: 20px; }
  .hero-doctor { margin-top: 23px; padding-top: 20px; max-width: none; }
  .hero-visual { width: min(100%,490px); justify-self: center; padding-bottom: 25px; }
  .photo-frame { aspect-ratio: 1 / 1.03; border-radius: 43% 43% 10px 10px; }
  .hero-photo { object-position: center 56%; }
  .home-note { left: 13px; right: 13px; bottom: 12px; padding: 16px 20px; gap: 14px; }
  .home-note strong { font-size: .9375rem; }
  .photo-caption { left: 25px; bottom: 69px; font-size: .75rem; letter-spacing: .07em; }
  .hero-visual figcaption { right: 5px; bottom: -9px; }
  .care-strip { margin-top: 40px; padding-block: 22px; gap: 18px; flex-wrap: wrap; justify-content: flex-start; }
  .care-strip > span { font-size: .875rem; gap: 12px; }
  .care-strip > span + span { border: 0; padding-left: 0; }
  .care-strip > span { flex: 1 1 100%; }
  .section-space { padding-block: 66px; }
  .care-grid { grid-template-columns: 1fr; gap: 30px; }
  h2 { font-size: clamp(2rem,7.5vw,2.65rem); line-height: 1.25; }
  .section-intro h2 br:nth-of-type(2) { display: none; }
  .section-intro > p:not(.eyebrow) { margin-top: 20px; max-width: 560px; }
  .care-item { padding-block: 24px; gap: 16px; }
  .care-item p { font-size: .9375rem; }
  .care-icon { margin-left: 0; }
  .doctor-section { padding-block: 47px 55px; }
  .doctor-grid { grid-template-columns: 1fr; gap: 34px; }
  .doctor-identity { min-height: 0; padding: 0 0 30px; border-right: 0; border-bottom: 1px solid #ffffff29; gap: 22px; }
  .identity-symbol { flex-basis: 65px; }
  .identity-brand { font-size: 1.5rem; }
  .doctor-identity p { font-size: .875rem; margin-top: 9px; }
  .doctor-copy h2 { font-size: clamp(2.1rem,8vw,2.75rem); }
  .doctor-description { max-width: 570px; font-size: 1rem; }
  .contact-intro { text-align: left; }
  .contact-intro > p:not(.eyebrow) { max-width: none; }
  .contact-cards { grid-template-columns: 1fr; margin-top: 30px; gap: 16px; }
  .contact-card { padding: 23px 20px; gap: 14px; }
  .contact-card-copy strong { font-size: 1rem; }
  .contact-label { font-size: .75rem; letter-spacing: .045em; }
  .contact-arrow { width: 20px; flex-basis: 20px; }
  .footer-main { flex-wrap: wrap; gap: 15px 25px; padding-block: 23px 28px; }
  .footer-brand { flex: 0 0 255px; max-width: 100%; }
  .footer-credentials { flex: 1 1 240px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 17px 23px; }
  .footer-bottom p { align-self: flex-start; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom,0px)); }
  .mobile-contact-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; display: block; padding: 12px 20px calc(12px + env(safe-area-inset-bottom,0px)); background: #fbfcf8f5; border-top: 1px solid var(--line); }
  .mobile-contact-bar .button { display: flex; width: 100%; padding: 14px 16px; gap: 11px; min-height: 54px; }
  .mobile-contact-bar .button > .icon:last-child { margin-left: auto; }
  .error-page { padding-bottom: 30px; }
}
@media (max-width: 370px) {
  .container { width: calc(100% - 32px); }
  .hero .eyebrow { letter-spacing: .02em; }
  .eyebrow-line { display: none; }
  h1 { font-size: 2.5rem; }
  .home-note { padding: 14px; gap: 9px; }
  .home-note-icon { width: 40px; height: 40px; flex-basis: 40px; }
  .home-note strong { font-size: .875rem; }
  .hero-doctor div > span { font-size: .75rem; }
  .contact-card { padding: 22px 16px; gap: 12px; }
  .contact-arrow { display: none; }
  .contact-card-icon { flex-basis: 38px; width: 38px; height: 38px; }
  .credentials { gap: 10px; }
  .credentials > span { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .mobile-contact-bar, .footer-socials, .hero-actions, .text-link { display: none; }
  body { padding: 0; }
  .hero { padding-top: 0; }
  .container { width: 95%; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .doctor-section { color: black; background: white; }
  .doctor-copy h2, .doctor-copy p { color: black; }
}
