/* ==========================================================
       CORES E FONTES
       ========================================================== */

    :root {
      --paper: #f8f7f5;
      --white: #ffffff;
      --ink: #333536;
      --muted: #6b6c6c;
      --accent: #77716c;
      --accent-dark: #555352;
      --sand: #eeece8;
      --line: #deddda;
      --dark: #e8e7e4;
      --serif: Georgia, "Times New Roman", serif;
      --sans: Arial, Helvetica, sans-serif;
    }

    /* ==========================================================
       BASE
       ========================================================== */

    * { box-sizing: border-box; }

    html {
      scroll-behavior: auto;
      scroll-padding-top: 100px;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }

    body:has(dialog[open]) { overflow: hidden; }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    select {
      font: inherit;
    }

    button,
    a,
    summary,
    select {
      -webkit-tap-highlight-color: transparent;
    }

    button { cursor: pointer; }
    button:disabled { cursor: wait; }

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

    figure,
    p,
    h1,
    h2,
    h3,
    ol,
    ul {
      margin: 0;
    }

    h1,
    h2 {
      font-family: var(--serif);
      font-weight: 400;
      letter-spacing: -.045em;
      line-height: 1.12;
    }

    h1 { font-size: clamp(3.1rem, 4.75vw, 4.65rem); }
    h2 { font-size: clamp(2.4rem, 3.5vw, 3.45rem); }

    h3 {
      font-size: 1.25rem;
      font-weight: 500;
      line-height: 1.35;
      letter-spacing: -.02em;
    }

    em {
      font-weight: 400;
      color: var(--accent);
      font-style: italic;
    }

    p { color: var(--muted); }

    a:focus-visible,
    button:focus-visible,
    summary:focus-visible,
    select:focus-visible {
      outline: 3px solid #9b6c4a;
      outline-offset: 5px;
    }

    section[id],
    main[id] {
      scroll-margin-top: 8px;
    }

    .container {
      width: min(1180px, calc(100% - 80px));
      margin-inline: auto;
    }

    .section { padding: 104px 0; }

    .eyebrow {
      text-transform: uppercase;
      font-size: .67rem;
      letter-spacing: .19em;
      line-height: 1.7;
      color: var(--accent);
      font-weight: 600;
      margin-bottom: 23px;
    }

    .text-link {
      display: inline-flex;
      align-items: center;
      gap: 16px;
      font-size: .85rem;
      line-height: 1.5;
      font-weight: 500;
      min-height: 44px;
      padding: 5px 0;
      color: var(--accent-dark);
      border: 0;
      border-bottom: 1px solid currentColor;
      background: none;
      text-align: left;
    }

    .text-link span {
      margin-left: auto;
      font-size: 1.1rem;
    }

    .text-link:hover { color: var(--ink); }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 24px;
      min-height: 54px;
      padding: 15px 23px;
      color: var(--white);
      background: var(--accent-dark);
      border: 1px solid var(--accent-dark);
      border-radius: 3px;
      font-size: .83rem;
      font-weight: 500;
      line-height: 1.5;
      transition: background .18s, border-color .18s;
    }

    .button:hover {
      background: #5e4233;
      border-color: #5e4233;
    }

    .button span {
      font-size: 1.2rem;
      line-height: 1;
    }

    .button-small {
      min-height: 44px;
      padding: 10px 19px;
      font-size: .77rem;
      gap: 24px;
    }

    .button-outline {
      color: var(--accent-dark);
      background: transparent;
      border-color: #af9d8e;
    }

    .button-outline:hover {
      background: var(--sand);
      color: var(--accent-dark);
      border-color: var(--accent-dark);
    }

    .skip-link {
      position: fixed;
      left: 16px;
      top: -100px;
      z-index: 100;
      background: #ffffff;
      padding: 12px 20px;
    }

    .skip-link:focus { top: 12px; }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* ==========================================================
       CABEÇALHO
       ========================================================== */

    .site-header {
      position: sticky;
      top: 0;
      z-index: 40;
      background: rgba(248, 246, 242, .97);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(12px);
    }

    .header-inner {
      height: 92px;
      display: flex;
      align-items: center;
      gap: 45px;
    }

    .brand {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      line-height: 1;
      flex-shrink: 0;
    }

    .brand > span {
      font-size: 2.25rem;
      letter-spacing: -.055em;
      font-weight: 400;
    }

    .brand small {
      font-size: .49rem;
      letter-spacing: .37em;
      margin-top: 9px;
      margin-right: -.37em;
    }

    .main-nav {
      display: flex;
      justify-content: center;
      gap: 35px;
      margin-left: auto;
    }

    .main-nav a {
      font-size: .77rem;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      white-space: nowrap;
    }

    .main-nav a:hover { color: var(--accent); }
    .header-contact { margin-left: 22px; }
    .menu-toggle { display: none; }

    /* ==========================================================
       ABERTURA
       ========================================================== */

    .hero {
      padding-top: 52px;
      background: radial-gradient(
        ellipse at 10% 20%,
        #faf8f4 0%,
        var(--paper) 65%
      );
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      align-items: center;
      gap: 65px;
    }

    .hero-copy { padding: 15px 0 20px; }

    .hero .eyebrow {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 26px;
    }

    .tiny-line {
      display: inline-block;
      width: 26px;
      height: 1px;
      background: var(--accent);
    }

    .hero-description {
      max-width: 435px;
      font-size: .98rem;
      line-height: 1.9;
      margin-top: 26px;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 15px 24px;
      margin-top: 30px;
    }

    .hero-actions .text-link {
      font-size: .76rem;
      gap: 15px;
    }

    .hero-signature {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: 40px;
    }

    .signature-rule {
      height: 37px;
      width: 1px;
      background: #bda58e;
    }

    .hero-signature strong {
      display: block;
      font-size: .78rem;
      font-weight: 500;
    }

    .hero-signature div > span {
      display: block;
      font-size: .67rem;
      color: var(--muted);
      margin-top: 3px;
    }

    .hero-visual {
      position: relative;
      padding: 0 0 26px;
      min-width: 0;
    }

    .photo-slot {
      background: #e4ddd4;
      position: relative;
      overflow: hidden;
      isolation: isolate;
    }

    .photo-slot img {
      height: 100%;
      object-fit: cover;
    }

    .photo-slot img[hidden] { display: none; }

    .hero-photo {
      aspect-ratio: 4 / 5;
      border-radius: 145px 3px 3px 3px;
    }

    .hero-photo img { object-position: 57% 55%; }

    .photo-note {
      position: absolute;
      bottom: 81px;
      left: -29px;
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 18px 26px;
      background: rgba(255, 255, 255, .96);
      border: 1px solid #ece8e0;
      box-shadow: 0 8px 40px #363b3610;
      max-width: calc(100% + 10px);
    }

    .note-symbol {
      font-size: 2.25rem;
      color: var(--accent);
      line-height: 1;
    }

    .photo-note p {
      font-size: .77rem;
      line-height: 1.6;
    }

    .photo-note strong {
      font-weight: 500;
      color: var(--ink);
    }

    .photo-caption {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 14px;
      color: var(--muted);
      font-size: .61rem;
      letter-spacing: .07em;
    }

    .photo-caption span:last-child {
      font-size: .56rem;
      color: var(--accent);
    }

    .care-strip {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      text-align: center;
      border-top: 1px solid var(--line);
      padding: 23px 0 25px;
      margin-top: 45px;
    }

    .care-strip span {
      font-size: .73rem;
      letter-spacing: .01em;
    }

    .care-strip span + span {
      border-left: 1px solid var(--line);
    }

    .photo-fallback {
      height: 100%;
      position: absolute;
      inset: 0;
      background: radial-gradient(
        ellipse at 80% 20%,
        #f8f4ed,
        #d5c6b5
      );
      padding: 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
    }

    .photo-fallback[hidden] { display: none; }

    .photo-fallback > span {
      font-size: 1rem;
      letter-spacing: .3em;
      color: var(--accent-dark);
    }

    .photo-fallback p {
      font-family: var(--serif);
      font-size: 2rem;
      max-width: 260px;
      margin-top: 20px;
      color: var(--accent-dark);
    }

    /* ==========================================================
       TRATAMENTOS
       ========================================================== */

    .services {
      border-top: 1px solid var(--line);
      background: #fdfcf9;
    }

    .section-heading {
      display: grid;
      grid-template-columns: 1fr .8fr;
      gap: 100px;
      align-items: end;
      margin-bottom: 47px;
    }

    .section-heading > p {
      font-size: .9rem;
      line-height: 1.9;
      max-width: 370px;
      padding-bottom: 5px;
    }

    .service-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .service-card {
      padding: 28px 26px 24px;
      background: var(--paper);
      border: 1px solid #e5e0d7;
      display: flex;
      flex-direction: column;
      min-width: 0;
    }

    .service-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 35px;
    }

    .service-number {
      font-family: var(--serif);
      font-size: 1.5rem;
      color: #8b7764;
      line-height: 1;
    }

    .service-icon {
      width: 46px;
      height: 46px;
      stroke: var(--accent);
      stroke-width: 1.25;
      stroke-linejoin: round;
      stroke-linecap: round;
    }

    .service-tag {
      font-size: .58rem;
      text-transform: uppercase;
      letter-spacing: .13em;
      margin-bottom: 14px;
      color: var(--accent-dark);
    }

    .service-card h3 {
      font-family: var(--serif);
      font-size: 1.9rem;
      font-weight: 400;
      line-height: 1.1;
      margin-bottom: 20px;
      letter-spacing: -.025em;
      min-height: 66px;
    }

    .service-card > p:not(.service-tag) {
      font-size: .82rem;
      line-height: 1.85;
      margin-bottom: 23px;
      flex: 1;
    }

    .service-details {
      font-size: .76rem;
      border-top: 1px solid var(--line);
      margin-top: 2px;
    }

    .service-details summary {
      padding: 14px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      list-style: none;
      min-height: 48px;
    }

    .service-details summary span {
      font-size: 1rem;
      font-weight: 400;
    }

    .service-details[open] summary span {
      transform: rotate(45deg);
    }

    .service-details p {
      padding: 0 0 18px;
      font-size: .78rem;
      line-height: 1.8;
    }

    .service-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding-top: 17px;
      min-height: 50px;
      border-top: 1px solid var(--line);
      font-size: .72rem;
      line-height: 1.6;
      color: var(--accent-dark);
    }

    .service-link span { font-size: 1.1rem; }

    .service-link:hover {
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    .service-featured {
      background: #eae6dc;
      border-color: #d9d4c7;
    }

    .other-care {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
      padding: 27px 0 0;
    }

    .other-care strong {
      display: block;
      color: var(--ink);
      font-size: .77rem;
      font-weight: 500;
      margin-bottom: 5px;
    }

    .other-care p > span {
      display: block;
      font-size: .76rem;
    }

    .other-care .text-link {
      flex-shrink: 0;
      font-size: .77rem;
    }

    .urgent {
      display: flex;
      align-items: center;
      gap: 20px;
      border-top: 1px solid var(--line);
      padding-top: 27px;
      margin-top: 43px;
    }

    .urgent-icon {
      display: grid;
      place-items: center;
      flex-shrink: 0;
      width: 36px;
      height: 36px;
      border: 1px solid #bcae9f;
      border-radius: 50%;
      font-size: 1.4rem;
      color: var(--accent);
    }

    .urgent h3 {
      font-size: .9rem;
      margin-bottom: 6px;
    }

    .urgent p {
      font-size: .76rem;
      max-width: 550px;
    }

    .urgent .text-link {
      margin-left: auto;
      flex-shrink: 0;
      font-size: .76rem;
    }

    /* ==========================================================
       EXPERIÊNCIA NO CONSULTÓRIO
       ========================================================== */

    .experience {
      background: var(--dark);
      color: #f7f4ec;
    }

    .experience-grid {
      display: grid;
      grid-template-columns: .95fr 1.05fr;
      align-items: center;
      gap: 90px;
    }

    .experience-photo {
      aspect-ratio: 5 / 6;
      border-radius: 3px 80px 3px 3px;
    }

    .experience-photo img { object-position: center; }
    .experience .eyebrow { color: #d7b89e; }
    .experience em { color: #d7b89e; }
    .experience p { color: #d0d4ca; }

    .image-caption {
      font-size: .65rem;
      letter-spacing: .045em;
      margin-top: 17px;
    }

    .section-intro {
      font-size: .9rem;
      line-height: 1.9;
      margin-top: 26px;
      max-width: 430px;
    }

    .care-steps {
      list-style: none;
      padding: 0;
      margin-top: 30px;
    }

    .care-steps li {
      display: flex;
      gap: 22px;
      padding: 21px 0;
      border-top: 1px solid #657067;
    }

    .care-steps li > span {
      font-size: .62rem;
      color: #d7b89e;
      margin-top: 3px;
    }

    .care-steps h3 {
      font-size: .88rem;
      font-weight: 500;
      margin-bottom: 7px;
    }

    .care-steps p {
      font-size: .79rem;
      line-height: 1.8;
      max-width: 350px;
    }

    .experience .text-link {
      color: #ead5bd;
      margin-top: 12px;
      font-size: .79rem;
    }

    /* ==========================================================
       SOBRE A DENTISTA
       ========================================================== */

    .doctor { background: var(--paper); }

    .doctor-grid {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 105px;
      align-items: center;
    }

    .doctor-registration {
      font-size: .7rem;
      color: var(--accent);
      margin-top: 19px;
      margin-bottom: 28px;
    }

    .doctor-copy > p:not(.eyebrow):not(.doctor-registration) {
      font-size: .86rem;
      line-height: 1.95;
      margin-top: 16px;
      max-width: 480px;
    }

    .education {
      list-style: none;
      padding: 0;
      margin-top: 28px;
    }

    .education li {
      padding: 13px 0;
      border-top: 1px solid var(--line);
    }

    .education strong {
      display: block;
      font-size: .76rem;
      font-weight: 500;
    }

    .education span {
      font-size: .71rem;
      color: var(--muted);
    }

    .doctor-photo {
      aspect-ratio: 4 / 5;
      border-radius: 3px 3px 100px 3px;
    }

    .doctor-photo img { object-position: 50% 43%; }

    .doctor-quote {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      padding: 22px 8px 0;
    }

    .doctor-quote > span {
      font-family: var(--serif);
      font-size: 3rem;
      line-height: 1.2;
      color: var(--accent);
    }

    .doctor-quote p {
      font-family: var(--serif);
      font-size: 1.25rem;
      line-height: 1.5;
      max-width: 310px;
      color: var(--accent-dark);
    }

    /* ==========================================================
       DÚVIDAS FREQUENTES
       ========================================================== */

    .faq {
      background: #eeece6;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .faq-grid {
      display: grid;
      grid-template-columns: .8fr 1.2fr;
      gap: 90px;
    }

    .faq-grid > div:first-child > p:not(.eyebrow) {
      font-size: .87rem;
      max-width: 270px;
      margin-top: 22px;
      line-height: 1.85;
    }

    .faq-grid .text-link {
      margin-top: 25px;
      font-size: .8rem;
    }

    .faq-list details {
      border-bottom: 1px solid #d3d1c7;
    }

    .faq-list details:first-child {
      border-top: 1px solid #d3d1c7;
    }

    .faq-list summary {
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
      min-height: 77px;
      padding: 22px 0;
      cursor: pointer;
      font-size: .86rem;
      line-height: 1.6;
    }

    .faq-list summary span {
      color: var(--accent-dark);
      font-size: 1.25rem;
      line-height: 1;
      flex-shrink: 0;
    }

    .faq-list details[open] summary span {
      transform: rotate(45deg);
    }

    summary::-webkit-details-marker { display: none; }

    .faq-answer {
      font-size: .82rem;
      color: var(--muted);
      padding: 0 28px 24px 0;
      line-height: 1.9;
    }

    /* ==========================================================
       CONTATO E AGENDAMENTO
       ========================================================== */

    .contact { background: #e8dfd3; }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr .83fr;
      gap: 110px;
      align-items: center;
    }

    .contact-copy > p:not(.eyebrow) {
      margin-top: 23px;
      font-size: .9rem;
      line-height: 1.85;
      max-width: 370px;
    }

    .contact-method { margin-top: 28px; }

    .contact-method > span {
      display: block;
      font-size: .67rem;
      color: var(--muted);
      margin-bottom: 5px;
    }

    .contact-method > a {
      display: inline-flex;
      align-items: center;
      gap: 25px;
      font-size: 1.5rem;
      letter-spacing: -.025em;
    }

    .contact-method > a:hover { color: var(--accent); }

    .call-link {
      display: inline-block;
      min-height: 44px;
      padding: 10px 0 0;
      font-size: .72rem;
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    .booking-card {
      background: #fdfbf7;
      padding: 36px;
      border: 1px solid #d8cbbb;
      border-radius: 4px;
      box-shadow: 0 8px 25px #6c574d05;
    }

    .booking-card .eyebrow {
      font-size: .59rem;
      margin-bottom: 15px;
    }

    .booking-card h3 {
      font-family: var(--serif);
      font-size: 1.8rem;
      font-weight: 400;
      margin-bottom: 26px;
    }

    .booking-card label {
      display: block;
      font-size: .74rem;
      margin-bottom: 10px;
    }

    .booking-card select {
      width: 100%;
      color: var(--ink);
      background: var(--paper);
      border: 1px solid #c4baac;
      border-radius: 2px;
      min-height: 52px;
      font-size: .81rem;
      padding: 12px 34px 12px 12px;
    }

    .booking-card > .button {
      width: 100%;
      margin-top: 18px;
      justify-content: space-between;
      font-size: .8rem;
    }

    .booking-note {
      font-size: .68rem;
      line-height: 1.85;
      margin-top: 15px;
    }

    .booking-footnote {
      display: flex;
      gap: 8px;
      font-size: .66rem;
      line-height: 1.65;
      padding-top: 18px;
      margin-top: 20px;
      border-top: 1px solid var(--line);
      color: var(--muted);
    }

    .booking-footnote span { color: var(--accent); }

    /* ==========================================================
       LOCALIZAÇÃO
       ========================================================== */

    .location { background: #fdfcf9; }

    .location-grid {
      display: grid;
      grid-template-columns: 1.1fr .85fr;
      gap: 120px;
      align-items: center;
    }

    .location address {
      font-style: normal;
      font-size: .87rem;
      line-height: 1.85;
      margin-top: 26px;
      color: var(--muted);
    }

    .location-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 13px 22px;
      margin-top: 26px;
    }

    .location-actions .button { font-size: .77rem; }
    .location-actions .text-link { font-size: .71rem; }

    .copy-status {
      font-size: .7rem;
      min-height: 20px;
      margin-top: 12px;
    }

    .visit-card {
      padding: 30px 36px;
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 3px;
    }

    .location-icon {
      height: 36px;
      width: 36px;
      stroke: var(--accent);
      stroke-width: 1.3;
      margin-bottom: 20px;
    }

    .visit-card h3 {
      font-family: var(--serif);
      font-size: 1.65rem;
      font-weight: 400;
    }

    .visit-card dl { margin: 22px 0 0; }

    .visit-card dl > div {
      padding: 12px 0;
      border-top: 1px solid var(--line);
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 16px;
      font-size: .73rem;
    }

    .visit-card dt { font-weight: 500; }

    .visit-card dd {
      margin: 0;
      text-align: right;
      color: var(--muted);
    }

    .visit-card > p {
      font-size: .7rem;
      line-height: 1.8;
      margin-top: 18px;
      max-width: 280px;
    }

    /* ==========================================================
       RODAPÉ E PRIVACIDADE
       ========================================================== */

    .site-footer {
      background: var(--paper);
      border-top: 1px solid var(--line);
      padding: 57px 0 25px;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.2fr .8fr 1fr;
      gap: 70px;
    }

    .footer-top > div:first-child > p {
      font-size: .73rem;
      line-height: 1.9;
      margin-top: 23px;
    }

    .footer-top nav {
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    .footer-top nav a {
      font-size: .75rem;
      min-height: 35px;
      padding: 6px 0;
    }

    .footer-contact {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .footer-contact a {
      font-size: .73rem;
      min-height: 35px;
      padding: 6px 0;
      line-height: 1.8;
    }

    .footer-contact a:last-child {
      margin-top: 7px;
      color: var(--muted);
    }

    .footer-contact a span { margin-left: 18px; }
    .site-footer a:hover { color: var(--accent); }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 15px;
      margin-top: 37px;
      padding-top: 20px;
      border-top: 1px solid var(--line);
      font-size: .61rem;
      color: var(--muted);
    }

    .footer-bottom button {
      border: 0;
      background: none;
      color: var(--muted);
      font-size: .65rem;
      text-decoration: underline;
      min-height: 44px;
      padding: 5px 0;
    }

    .mobile-contact { display: none; }

    dialog {
      padding: 0;
      border: 1px solid var(--line);
      width: min(560px, calc(100% - 36px));
      max-height: 85dvh;
      border-radius: 4px;
      color: var(--ink);
      background: var(--paper);
    }

    dialog::backdrop {
      background: #18211dcc;
      backdrop-filter: blur(4px);
    }

    .privacy-content {
      padding: 42px;
      position: relative;
    }

    .privacy-content h2 {
      font-size: 2.2rem;
      margin-bottom: 24px;
    }

    .privacy-content > p:not(.eyebrow) {
      font-size: .87rem;
      line-height: 1.85;
      margin-bottom: 18px;
    }

    .privacy-content .text-link {
      font-size: .8rem;
      margin-top: 4px;
    }

    .dialog-close {
      position: absolute;
      top: 7px;
      right: 9px;
      width: 44px;
      height: 44px;
      background: none;
      border: 0;
      color: var(--ink);
      font-size: 1.6rem;
    }

    /* ==========================================================
       TELAS GRANDES
       ========================================================== */

    @media (min-width: 1500px) {
      .hero-grid { gap: 85px; }
      .hero-photo { max-height: 650px; }
      .hero-visual { max-width: 525px; }
    }

    @media (max-width: 1100px) {
      .container { width: calc(100% - 64px); }
      .header-inner { gap: 25px; }
      .main-nav { gap: 24px; }
      .header-contact { margin-left: 6px; }
      .hero-grid { gap: 40px; }
      .hero-actions { gap: 12px; }

      .hero-actions .button {
        font-size: .75rem;
        padding-inline: 17px;
        gap: 16px;
      }

      .hero-actions .text-link { font-size: .71rem; }
      .hero-signature { margin-top: 29px; }

      .experience-grid,
      .doctor-grid {
        gap: 60px;
      }

      .service-card { padding-inline: 22px; }
      .service-link { font-size: .68rem; }

      .contact-grid,
      .location-grid {
        gap: 65px;
      }

      .faq-grid { gap: 60px; }
      .section-heading { gap: 70px; }

      .hero h1 {
        font-size: clamp(3rem, 4.9vw, 4.6rem);
      }
    }

    /* ==========================================================
       TABLETS
       ========================================================== */

    @media (max-width: 850px) {
      html { scroll-padding-top: 90px; }
      .container { width: calc(100% - 48px); }
      .section { padding: 78px 0; }

      .header-inner {
        height: 80px;
        gap: 20px;
      }

      .brand > span { font-size: 2rem; }
      .brand small { font-size: .43rem; }
      .main-nav { gap: 18px; }
      .main-nav a { font-size: .7rem; }

      .header-contact {
        padding-inline: 13px;
        gap: 12px;
        font-size: .7rem;
      }

      .hero { padding-top: 37px; }

      .hero-grid {
        gap: 30px;
        grid-template-columns: 1.08fr 1fr;
      }

      .hero h1 { font-size: 2.9rem; }

      .hero .eyebrow {
        font-size: .58rem;
        gap: 8px;
      }

      .hero-description { font-size: .87rem; }
      .hero-signature div > span { font-size: .59rem; }
      .hero-signature strong { font-size: .69rem; }

      .photo-note {
        bottom: 65px;
        left: -18px;
        padding: 13px 18px;
        gap: 10px;
      }

      .photo-note p { font-size: .67rem; }
      .note-symbol { font-size: 1.8rem; }
      .hero-photo { border-top-left-radius: 95px; }

      .care-strip {
        margin-top: 30px;
        padding: 21px 0;
      }

      .care-strip span { font-size: .63rem; }
      .section-heading { gap: 50px; }
      .service-grid { gap: 12px; }
      .service-card { padding: 24px 18px 20px; }

      .service-card h3 {
        font-size: 1.65rem;
        min-height: 60px;
      }

      .service-card > p:not(.service-tag) {
        font-size: .76rem;
      }

      .service-tag {
        font-size: .51rem;
        letter-spacing: .07em;
      }

      .service-details summary { font-size: .7rem; }

      .service-link {
        font-size: .64rem;
        gap: 7px;
      }

      .urgent {
        gap: 15px;
        flex-wrap: wrap;
      }

      .urgent > div { flex: 1; }
      .urgent .text-link { margin-left: 51px; }

      .experience-grid,
      .doctor-grid {
        gap: 40px;
      }

      .faq-grid {
        gap: 40px;
        grid-template-columns: .75fr 1.25fr;
      }

      .contact-grid {
        gap: 40px;
        grid-template-columns: 1fr .95fr;
      }

      .booking-card { padding: 27px; }
      .location-grid { gap: 45px; }
      .visit-card { padding: 27px; }
      .footer-top { gap: 40px; }
      .footer-bottom { font-size: .56rem; }

      .experience h2,
      .doctor h2,
      .contact h2,
      .location h2 {
        font-size: 2.55rem;
      }

      .care-steps li { padding: 18px 0; }
      .care-steps p { font-size: .75rem; }
      .hero-actions { margin-top: 22px; }
    }

    /* ==========================================================
       CELULARES
       ========================================================== */

    @media (max-width: 700px) {
      .container { width: calc(100% - 40px); }

      .site-header {
        backdrop-filter: blur(12px);
      }

      .header-inner {
        height: 74px;
        gap: 14px;
        flex-wrap: wrap;
        position: relative;
      }

      .brand > span { font-size: 1.85rem; }

      .brand small {
        font-size: .4rem;
        margin-top: 7px;
      }

      .header-contact {
        margin-left: auto;
        font-size: .69rem;
        min-height: 42px;
        padding: 9px 12px;
        gap: 16px;
      }

      .main-nav {
        width: 100%;
        justify-content: flex-start;
        gap: 22px;
        padding: 0 0 12px;
        margin: 0;
        order: 4;
      }

      .main-nav a { font-size: .73rem; }

      .site-header:has(.main-nav) {
        padding-bottom: 48px;
      }

      .js .site-header { padding-bottom: 0; }

      .js .main-nav {
        display: none;
        position: absolute;
        top: 74px;
        left: -20px;
        right: -20px;
        width: calc(100% + 40px);
        padding: 15px 20px 20px;
        border-bottom: 1px solid var(--line);
        background: var(--paper);
        box-shadow: 0 15px 20px #343f390a;
        flex-direction: column;
        gap: 3px;
      }

      .js .main-nav.is-open { display: flex; }

      .js .menu-toggle {
        display: grid;
        place-items: center;
        border: 1px solid var(--line);
        background: transparent;
        width: 42px;
        height: 42px;
        padding: 10px;
        order: 3;
      }

      .menu-lines {
        width: 17px;
        height: 12px;
        display: block;
        border-top: 1px solid var(--ink);
        border-bottom: 1px solid var(--ink);
        position: relative;
      }

      .menu-lines::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 5px;
        border-top: 1px solid var(--ink);
      }

      .menu-toggle[aria-expanded="true"] .menu-lines {
        transform: rotate(45deg);
        border-bottom: 0;
        height: 1px;
      }

      .menu-toggle[aria-expanded="true"] .menu-lines::after {
        top: -1px;
        transform: rotate(90deg);
      }

      html { scroll-padding-top: 86px; }
      .hero { padding-top: 37px; }

      .hero-grid,
      .section-heading,
      .experience-grid,
      .doctor-grid,
      .faq-grid,
      .contact-grid,
      .location-grid {
        grid-template-columns: 1fr;
        gap: 35px;
      }

      .hero-copy { padding: 0; }

      .hero .eyebrow {
        font-size: .62rem;
        margin-bottom: 22px;
      }

      .hero h1 {
        font-size: clamp(2.85rem, 8.3vw, 4rem);
        line-height: 1.1;
      }

      .hero-description {
        font-size: .93rem;
        line-height: 1.85;
        margin-top: 24px;
        max-width: 470px;
      }

      .hero-actions {
        gap: 12px 23px;
        margin-top: 25px;
      }

      .hero-actions .button {
        font-size: .78rem;
        padding: 14px 19px;
        gap: 20px;
      }

      .hero-actions .text-link { font-size: .74rem; }
      .hero-signature { margin-top: 27px; }
      .hero-signature strong { font-size: .74rem; }
      .hero-signature div > span { font-size: .65rem; }

      .hero-visual {
        width: 100%;
        max-width: 520px;
        margin-inline: auto;
        padding-bottom: 0;
      }

      .hero-photo {
        aspect-ratio: 5 / 4;
        border-radius: 85px 3px 3px 3px;
      }

      .hero-photo img { object-position: 50% 61%; }

      .photo-note {
        left: 12px;
        bottom: 54px;
        padding: 13px 17px;
      }

      .photo-note p { font-size: .72rem; }
      .photo-caption { font-size: .6rem; }

      .care-strip {
        margin-top: 28px;
        gap: 10px;
        padding: 19px 0 21px;
      }

      .care-strip span {
        font-size: .61rem;
        line-height: 1.6;
        padding-inline: 5px;
      }

      .section { padding: 65px 0; }

      .eyebrow {
        margin-bottom: 18px;
        font-size: .63rem;
      }

      h2,
      .experience h2,
      .doctor h2,
      .contact h2,
      .location h2 {
        font-size: 2.55rem;
      }

      .section-heading {
        gap: 20px;
        margin-bottom: 30px;
      }

      .section-heading > p {
        font-size: .85rem;
        max-width: 480px;
      }

      .service-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }

      .service-card { padding: 27px; }
      .service-top { margin-bottom: 22px; }

      .service-card h3 {
        font-size: 2rem;
        min-height: 0;
        margin-bottom: 15px;
      }

      .service-card h3 br { display: none; }

      .service-tag {
        font-size: .6rem;
        letter-spacing: .13em;
        margin-bottom: 12px;
      }

      .service-card > p:not(.service-tag) {
        font-size: .85rem;
        max-width: 480px;
        margin-bottom: 22px;
        flex: none;
      }

      .service-details summary {
        font-size: .79rem;
        min-height: 51px;
      }

      .service-details p { font-size: .81rem; }

      .service-link {
        font-size: .78rem;
        padding-top: 16px;
      }

      .other-care {
        align-items: flex-start;
        gap: 12px;
        padding-top: 24px;
      }

      .other-care p > span {
        font-size: .74rem;
        line-height: 1.9;
        max-width: 340px;
      }

      .other-care strong { font-size: .76rem; }

      .other-care .text-link {
        font-size: .72rem;
        gap: 10px;
      }

      .urgent {
        margin-top: 29px;
        padding-top: 25px;
        gap: 13px;
      }

      .urgent > div {
        min-width: calc(100% - 50px);
      }

      .urgent h3 { font-size: .87rem; }
      .urgent p { font-size: .75rem; }

      .urgent .text-link {
        margin-left: 49px;
        font-size: .75rem;
        flex-shrink: 1;
      }

      .experience-copy { order: 1; }
      .experience-visual { order: 2; }

      .experience-photo {
        aspect-ratio: 5 / 4;
        border-radius: 3px 65px 3px 3px;
      }

      .experience-photo img { object-position: 50% 47%; }
      .image-caption { font-size: .63rem; }

      .section-intro {
        margin-top: 22px;
        font-size: .86rem;
      }

      .care-steps { margin-top: 26px; }
      .care-steps li { padding: 21px 0; }
      .care-steps h3 { font-size: .9rem; }

      .care-steps p {
        font-size: .82rem;
        max-width: 480px;
      }

      .experience .text-link {
        margin-top: 9px;
        font-size: .8rem;
      }

      .doctor-grid { gap: 30px; }

      .doctor-copy > p:not(.eyebrow):not(.doctor-registration) {
        font-size: .86rem;
        max-width: 100%;
      }

      .doctor-registration {
        font-size: .69rem;
        margin-top: 16px;
        margin-bottom: 24px;
      }

      .education strong { font-size: .78rem; }
      .education span { font-size: .73rem; }

      .doctor-visual {
        max-width: 480px;
        width: 100%;
        margin-inline: auto;
      }

      .doctor-photo {
        aspect-ratio: 4 / 4.5;
        border-bottom-right-radius: 75px;
      }

      .doctor-photo img { object-position: 50% 40%; }

      .doctor-quote {
        padding-top: 20px;
        gap: 15px;
      }

      .doctor-quote p { font-size: 1.18rem; }
      .faq-grid { gap: 30px; }

      .faq-grid > div:first-child > p:not(.eyebrow) {
        font-size: .86rem;
        max-width: 370px;
        margin-top: 19px;
      }

      .faq-grid .text-link { margin-top: 18px; }

      .faq-list summary {
        font-size: .86rem;
        min-height: 73px;
        gap: 25px;
        padding: 20px 0;
      }

      .faq-answer {
        font-size: .82rem;
        padding-right: 15px;
      }

      .contact-grid { gap: 30px; }

      .contact-copy > p:not(.eyebrow) {
        font-size: .87rem;
        margin-top: 22px;
        max-width: 430px;
      }

      .contact-method { margin-top: 23px; }
      .contact-method > a { font-size: 1.4rem; }
      .booking-card { padding: 28px; }
      .booking-card h3 { font-size: 1.85rem; }
      .booking-card select { font-size: .85rem; }
      .booking-card label { font-size: .76rem; }
      .booking-note { font-size: .71rem; }
      .booking-footnote { font-size: .7rem; }
      .booking-card > .button { font-size: .83rem; }

      .location address {
        font-size: .86rem;
        margin-top: 23px;
      }

      .location-actions .button {
        font-size: .74rem;
        gap: 18px;
      }

      .visit-card { padding: 28px; }

      .visit-card dl > div {
        font-size: .78rem;
        gap: 20px;
      }

      .visit-card > p {
        font-size: .76rem;
        max-width: 100%;
      }

      .copy-status { font-size: .73rem; }

      .site-footer {
        padding-top: 40px;
        padding-bottom: 96px;
      }

      .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
      }

      .footer-top > div:first-child {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: 30px;
      }

      .footer-top > div:first-child > p {
        margin-top: 0;
        font-size: .7rem;
      }

      .footer-top nav a {
        font-size: .75rem;
        min-height: 42px;
      }

      .footer-contact a {
        font-size: .7rem;
        min-height: 42px;
      }

      .footer-contact a span { margin-left: 5px; }

      .footer-bottom {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 5px 22px;
        font-size: .6rem;
        margin-top: 25px;
        padding-top: 19px;
      }

      .footer-bottom > span { display: block; }
      .footer-bottom > span:nth-child(2) { width: 100%; }
      .footer-bottom button { font-size: .65rem; }

      .mobile-contact {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 35;
        background: #fdfbf9f5;
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--line);
        padding: 11px 20px calc(11px + env(safe-area-inset-bottom));
        gap: 12px;
      }

      .mobile-contact > span {
        font-size: .68rem;
        color: var(--muted);
      }

      .mobile-contact .button {
        min-height: 43px;
        font-size: .73rem;
        gap: 16px;
        padding-inline: 16px;
      }

      .privacy-content { padding: 35px 26px; }
      .privacy-content h2 { font-size: 2rem; }

      .privacy-content > p:not(.eyebrow) {
        font-size: .83rem;
      }

      dialog { max-height: calc(100dvh - 125px); }
    }

    /* ==========================================================
       CELULARES MENORES
       ========================================================== */

    @media (max-width: 370px) {
      .container { width: calc(100% - 32px); }
      .header-inner { gap: 10px; }
      .brand > span { font-size: 1.65rem; }
      .brand small { font-size: .35rem; }

      .header-contact {
        font-size: .63rem;
        gap: 12px;
        padding-inline: 10px;
      }

      .js .main-nav {
        left: -16px;
        right: -16px;
        width: calc(100% + 32px);
        padding-inline: 16px;
      }

      .hero h1 { font-size: 2.75rem; }
      .hero-description { font-size: .86rem; }
      .hero-actions { gap: 8px; }

      .hero-actions > .button {
        width: 100%;
        justify-content: space-between;
      }

      .hero-actions > .text-link { font-size: .74rem; }
      .hero-signature div > span { font-size: .58rem; }
      .hero-photo { aspect-ratio: 1 / 1; }
      .hero-photo img { object-position: 54% 60%; }
      .care-strip span { font-size: .54rem; }
      .service-card { padding: 24px; }
      .other-care { flex-direction: column; }
      .urgent .text-link { margin-left: 0; }
      .booking-card { padding: 24px; }
      .booking-card h3 { font-size: 1.65rem; }
      .visit-card { padding: 25px 22px; }
      .visit-card dl > div { font-size: .7rem; }
      .mobile-contact { padding-inline: 16px; }
      .mobile-contact > span { font-size: .59rem; }

      .mobile-contact .button {
        font-size: .67rem;
        padding-inline: 12px;
        gap: 14px;
      }

      .footer-top { gap: 24px; }
      .footer-top > div:first-child { gap: 25px; }
      .footer-contact a { font-size: .64rem; }
      .photo-note { padding: 11px 14px; }
      .photo-note p { font-size: .65rem; }

      h2,
      .experience h2,
      .doctor h2,
      .contact h2,
      .location h2 {
        font-size: 2.3rem;
      }
    }

    /* Ajustes finais de legibilidade. */

    .service-card > p:not(.service-tag) { font-size: .9rem; }
    .service-details p { font-size: .85rem; }
    .service-link { font-size: .78rem; }
    .care-steps p { font-size: .86rem; }

    .doctor-copy > p:not(.eyebrow):not(.doctor-registration) {
      font-size: .93rem;
    }

    .faq-list summary { font-size: .94rem; }
    .faq-answer { font-size: .9rem; }
    .booking-note { font-size: .75rem; }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }

      *,
      *::before,
      *::after {
        transition: none !important;
        animation: none !important;
      }
    }

/* Páginas dos sitelinks: o mesmo visual da página inicial. */
.breadcrumb{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:.72rem;color:var(--muted);padding:22px 0 0;margin-bottom:28px}
.breadcrumb a{text-decoration:underline;text-underline-offset:4px;min-height:30px;display:inline-flex;align-items:center}
.page-hero{padding:0 0 62px;border-bottom:1px solid var(--line)}
.page-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:80px;align-items:center}
.page-hero h1{font-size:clamp(2.8rem,4.5vw,4.1rem);max-width:660px}
.page-hero .hero-description{max-width:540px;font-size:.96rem}
.page-photo{aspect-ratio:5/4;border-radius:95px 3px 3px 3px}
.page-photo img{object-position:center}
.page-photo.office img{object-position:50% 45%}
.page-photo.doctor img{object-position:50% 56%}
.page-facts{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:26px;font-size:.69rem;color:var(--muted)}
.page-facts span+span:before{content:'·';margin-right:20px;color:var(--accent)}
.page-intro{max-width:690px;font-size:.95rem;line-height:1.9;margin-top:24px}
.care-card h3{font-size:1.6rem;min-height:0;line-height:1.2}
.care-card>p:not(.service-tag){flex:none;margin-bottom:0}
.care-card .service-number{display:block;margin-bottom:24px}
.care-card .text-link{margin-top:20px;font-size:.78rem}
.explain-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:90px;align-items:start}
.explain-copy p{font-size:.91rem;line-height:1.9;margin-bottom:20px}
.explain-copy p:last-child{margin-bottom:0}
.simple-steps{list-style:none;padding:0;counter-reset:steps;margin-top:26px}
.simple-steps li{display:grid;grid-template-columns:32px 1fr;gap:18px;padding:20px 0;border-top:1px solid var(--line);counter-increment:steps}
.simple-steps li:before{content:'0' counter(steps);font-size:.68rem;color:var(--accent);margin-top:4px}
.simple-steps h3{font-size:.96rem;margin-bottom:7px}
.simple-steps p{font-size:.88rem;line-height:1.8}
.section-soft{background:#eeece6;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.page-quote{font-family:var(--serif);font-size:1.45rem;color:var(--accent-dark);line-height:1.5;border-left:2px solid #b59c85;padding-left:22px;margin:24px 0}
.doctor-mini{padding:25px 0 0;margin-top:26px;border-top:1px solid var(--line);font-size:.82rem}
.doctor-mini strong{display:block;font-weight:500;margin-bottom:5px}
.doctor-mini p{font-size:.78rem;line-height:1.8}
.related{padding:40px 0;background:#fdfcf9;border-top:1px solid var(--line)}
.related-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}
.related p{font-size:.77rem;flex-shrink:0}
.related nav{display:flex;flex-wrap:wrap;gap:10px 30px}
.related a{font-size:.76rem;min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:4px}
.contact-page .contact{padding-top:30px}
.contact-page .breadcrumb{margin-bottom:0}
.arrival-list{padding-left:20px;margin-top:24px;color:var(--muted);font-size:.9rem;line-height:1.9}
.arrival-list li{margin-bottom:12px}
.referral-note{font-size:.78rem;margin-top:20px;line-height:1.8;max-width:450px}
.referral-note a{text-decoration:underline;text-underline-offset:4px;color:var(--accent-dark)}
@media(max-width:1100px){.page-hero-grid{gap:45px}.explain-grid{gap:55px}.related-inner{align-items:flex-start;flex-direction:column;gap:10px}}
@media(max-width:850px){.page-hero-grid{gap:35px}.page-hero h1{font-size:2.8rem}.page-photo{aspect-ratio:4/5}.explain-grid{gap:40px}.page-facts{font-size:.65rem}.care-card h3{font-size:1.5rem}}
@media(max-width:700px){.breadcrumb{padding-top:17px;margin-bottom:22px;font-size:.66rem}.page-hero{padding-bottom:40px}.page-hero-grid,.explain-grid{grid-template-columns:1fr;gap:30px}.page-hero h1{font-size:clamp(2.65rem,8.6vw,3.6rem)}.page-hero .hero-description{font-size:.91rem}.page-photo{aspect-ratio:5/4;border-top-left-radius:65px}.page-photo.office img{object-position:50% 43%}.page-facts{font-size:.65rem;gap:8px 16px}.page-facts span+span:before{margin-right:16px}.page-intro{font-size:.89rem}.explain-copy p{font-size:.88rem}.care-card h3{font-size:1.7rem}.page-quote{font-size:1.3rem}.related{padding:26px 0}.related nav{gap:5px 24px}.related a{font-size:.73rem}.contact-page .contact{padding-top:25px}.simple-steps{margin-top:20px}.arrival-list{font-size:.87rem}}
@media(max-width:370px){.page-hero h1{font-size:2.5rem}.page-facts span+span:before{display:none}.page-facts{flex-direction:column;gap:5px}}

/* Identificadores tipográficos das instituições (não são logotipos oficiais) */
.education li { display: flex; align-items: center; gap: 14px; }
.education-mark { display: inline-flex; flex: 0 0 46px; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent-dark); background: #f3efe9; font-family: Georgia, serif; font-size: .85rem !important; font-weight: 600; letter-spacing: -.03em; }
.education-details { min-width: 0; }
.education-details strong { margin-bottom: 5px; }

.education-logo { display:block; flex:0 0 56px; width:56px; height:56px; object-fit:contain; background:#fff; border-radius:4px; padding:4px; }
.education-logo-mandic { object-position:left center; }

/* Paleta editorial clara — branco, bege suave e cinza.
   Mantém componentes, espaçamento e responsividade existentes. */
.site-header { background: rgba(250, 249, 247, .97); }
.hero { background: radial-gradient(ellipse at 10% 20%, #ffffff 0%, var(--paper) 72%); }
.photo-slot { background: #e7e5e1; }
.photo-note { border-color: #e8e6e2; box-shadow: 0 8px 40px #3335360c; }
.signature-rule { background: #b8b4ae; }
.services, .location, .related { background: #fff; }
.service-card { border-color: #e2e0dc; }
.service-featured { background: #efeeeb; border-color: #d9d7d3; }
.service-number { color: #77716c; }
.urgent-icon { border-color: #bdbab5; }
.experience { background: #eeece9; color: var(--ink); }
.experience .eyebrow, .experience em { color: var(--accent-dark); }
.experience p { color: var(--muted); }
.experience h2, .experience h3, .experience li, .experience strong { color: var(--ink); }
.contact { background: #f0eeeb; }
.section-soft { background: #f2f0ed; }
.booking-card { background: #fff; }
.button:hover { background: #3f3e3d; border-color: #3f3e3d; }
.button-outline { border-color: #a8a5a1; }
.button-outline:hover { background: #eeece8; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline-color: #77716c; }
