/* Dra. Letícia Soares: mobile redesign v3. Place AFTER styles.css and v2. */
@media (max-width: 800px) {
  :root { --m-pad: 22px; }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-padding-top: 80px; }
  body { overflow-x: clip; font-size: 15px; }
  .shell { width: calc(100% - var(--m-pad)*2); max-width: 580px; margin-inline: auto; }
  .site-announcement { display: none !important; }
  .header { top: 0; position: sticky; z-index: 80; background: rgba(250,247,242,.98); }
  .header-inner { height: 68px; gap: 8px; }
  .brand { gap: 9px; min-width: 0; flex: 0 1 auto; }
  .brand-mark { width: 39px; height: 39px; flex: 0 0 39px; }
  .brand-mark { background:transparent; overflow:visible; }
  .brand-mark img { width: 43px; min-width: 0; max-width:43px; height:39px; object-fit:contain; }
  .brand-copy { min-width: 0; gap: 1px; }
  .brand-copy strong { font-size: clamp(14px,4vw,17px); letter-spacing: -.035em; white-space: nowrap; line-height: 1.2; }
  .brand-copy small { font-size: clamp(5.6px,1.6vw,6.5px); letter-spacing: .04em; line-height: 1.35; }
  .brand-copy small span { margin-top: 2px; }
  .header-cta { display: none !important; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width:44px;height:44px; gap:7px; z-index:92; }
  .menu-toggle span { width: 24px; height: 1.5px; }
  .nav { display: none; position: absolute; top:68px; left:0; right:0; z-index:90; background:#faf7f2; flex-direction:column; gap:0; align-items:stretch; padding:6px var(--m-pad) 20px; box-shadow:0 18px 28px #251d1820; max-height:calc(100dvh - 68px); overflow:auto; }
  .nav.open { display:flex; }
  .nav a { display:block; width:100%; padding:14px 5px; min-height:48px; font-size:14px; border-bottom:1px solid #e7ded3; }
  .section { padding: 64px 0; }
  .section h2 { font-size: clamp(34px, 8.9vw, 44px); line-height: 1.13; letter-spacing:-.047em; }
  .eyebrow { font-size:10px; letter-spacing:.12em; margin-bottom:14px; gap:9px; }
  .eyebrow .line { width:21px; }
  .btn { min-height: 47px; padding: 13px 18px; font-size:13px; gap:12px; max-width:100%; white-space: normal; text-align:center; line-height:1.25; }
  .btn > span { font-family:Arial, sans-serif; font-size:17px; line-height:1; }
  .text-link { font-size:13px; gap:9px; max-width:100%; white-space:normal; }
  .text-link span, .service-card a span { font-family:Arial,sans-serif; font-size:16px; }
  .hero { padding: 31px 0 0; min-height: 0; }
  .hero-grid { display:flex; flex-direction:column; align-items:stretch; min-height:0; }
  .hero-copy { padding:0; }
  .hero h1 { font-size: clamp(39px, 10.6vw, 49px); line-height: 1.1; letter-spacing:-.056em; margin:0; max-width:580px; }
  .hero h1 span { white-space:normal; }
  .hero-copy > p { font-size:14px; color:#6e655b; margin:17px 0 21px; max-width:510px; line-height:1.65; }
  .hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:17px; margin:0; }
  .hero-actions .btn { min-height:47px; padding:13px 17px; }
  .hero-actions .text-link { padding-bottom:5px; }
  .hero-foot { display:none !important; }
  .hero-image-area { width:calc(100% - 34px); margin:28px auto 0; height: min(380px, 92vw); position:relative; }
  .hero-photo-frame { height:100%; width:100%; top:0; right:0; bottom:auto; border-radius:48% 48% 0 0 / 42% 42% 0 0; box-shadow:0 0 0 7px #ece4d9; }
  .hero-photo-frame img { object-fit:cover; object-position:center 24%; }
  .hero-image-caption, .hero-seal, .hero-side-note, .hero-art { display:none !important; }
  .value-grid { display:grid; grid-template-columns:1fr; padding:11px 0; }
  .value-grid > span { justify-content:flex-start; border-right:0; border-bottom:1px solid #d9cdbf; padding:11px 0; min-height:0; font-size:12px; gap:12px; }
  .value-grid > span:last-child {border:0}
  .value-grid svg { width:20px;height:20px;flex:0 0 20px; }
  .about-grid { display:flex; flex-direction:column; align-items:stretch; gap:30px; }
  .about-visual { padding:0 16px 16px 5px; }
  .about-img { height:min(430px,108vw); object-fit:cover; object-position:center 29%; }
  .about-floating { width:140px; min-height:88px; padding:12px 14px; }
  .about-floating>span { font-size:25px; }
  .about-floating small { font-size:12px; }
  .about-content { padding:0; }
  .about-content .lead { font-size:22px; margin:20px 0 13px; }
  .about-content>p:not(.lead) { font-size:14px; line-height:1.78; }
  .signature { margin:26px 0 21px; padding-top:19px; gap:16px; }
  .signature .script-name { font-size:25px; }
  .section-header { display:block; margin-bottom:25px; }
  .section-header>p { margin:17px 0 0; padding-left:12px; border-left:2px solid #ad8c63; line-height:1.65; font-size:13px; max-width:100%; }
  .services-grid { display:grid; grid-template-columns:1fr; gap:12px; }
  .service-card { display:grid; grid-template-columns:42px minmax(0,1fr); align-content:start; gap:0 14px; min-height:0 !important; padding:21px 19px 18px; }
  .service-num { grid-column:1; grid-row:1; font-size:10px; margin:0; }
  .service-icon { grid-column:1; grid-row:2 / span 2; align-self:start; margin:16px 0 0; height:auto; min-height:0; line-height:1; font-size:25px; color:#b18a5d; }
  .service-card:first-child .service-icon { font-size:0; }
  .service-card:first-child .service-icon::before { content:'✧'; font:normal 27px/1 Georgia,serif; color:#b18a5d; }
  .service-card h3 { grid-column:2; grid-row:1 / 3; font-size:clamp(22px,6.3vw,26px); line-height:1.18; margin:0 0 7px; }
  .service-card p { grid-column:2; grid-row:3; font-size:13px; line-height:1.55; margin:0 0 14px; max-width:100%; }
  .service-card a { grid-column:2; grid-row:4; margin:0; padding-top:12px; font-size:12px; color:#7b5836; }
  .statement-inner { min-height:0; padding:39px 0; }
  .statement-inner p { font-size:clamp(27px,8vw,37px); line-height:1.22; }
  .gallery-grid { display:grid; grid-template-columns:1fr; gap:18px; }
  .case-card, .case-card-large { grid-column:auto; width:100%; color:#332a23 !important; background:#eee6dc; border:1px solid #e4d8cb; }
  .case-card .case-image, .case-card-large .case-image { display:block; height:auto; width:100%; aspect-ratio:auto; overflow:hidden; background:#e7ded3; }
  .case-card .case-image>img, .case-card-large .case-image>img { width:100%;height:auto;max-height:none;object-fit:contain; }
  .case-bottom { padding:17px 18px 19px; align-items:center; }
  .case-bottom small { font-size:9px; letter-spacing:.09em; line-height:1.5; color:#886642; }
  .case-bottom b { font:400 clamp(23px,6.5vw,27px)/1.15 var(--serif); color:#332a23 !important; overflow-wrap:anywhere; }
  .case-bottom .circle-arrow, .circle-arrow { color:#8b6741 !important; border-color:#b8a184; width:35px; height:35px; flex:0 0 35px; font:normal 19px/35px Arial,sans-serif; }
  .gallery-foot { display:flex;flex-direction:column;gap:18px;align-items:flex-start; }
  .gallery-foot p { font-size:12px; line-height:1.65; }
  .clinic-section { padding:64px 0 70px; }
  .clinic-grid { display:flex;flex-direction:column;gap:29px;align-items:stretch; }
  .clinic-copy { padding:0; }
  .clinic-copy h2 { font-size:clamp(36px,9.1vw,45px); line-height:1.15; }
  .clinic-copy>p { margin:18px 0 21px; font-size:14px; line-height:1.7; }
  .clinic-images { min-height:0; height:340px; width:100%; position:relative; }
  .clinic-photo-main { width:85%; height:315px; }
  .clinic-photo-small { width:43%;height:150px; bottom:0; border-width:5px; }
  .faq-grid { display:flex;flex-direction:column;gap:28px; }
  .faq-grid>div:first-child>p { margin:18px 0; font-size:14px;line-height:1.7; }
  .faq-items summary { font-size:17px; padding:17px 0; line-height:1.35; }
  .end-cta { padding:52px 0 59px; }
  .end-cta-inner { display:flex;flex-direction:column;gap:20px;align-items:stretch; }
  .end-cta h2 { font-size:clamp(36px,9vw,48px); }
  .end-cta p { font-size:14px;line-height:1.7; }
  .end-cta .btn { align-self:flex-start; }
  .footer-top { padding:35px 0 22px;display:flex;flex-direction:column;gap:14px; }
  .footer-top>p { font-size:13px;line-height:1.6; }
  .footer-links { grid-template-columns:1fr; }
  .footer-links a { padding:15px 0; font-size:14px; border-bottom:1px solid #e2d7cb; overflow-wrap:anywhere; }
  .footer-links a:last-child { border-bottom:0; }
  .footer-bottom { display:flex;flex-direction:column;gap:6px;padding-bottom:88px;font-size:11px; }
  .mobile-wa { display:flex; position:fixed; left:auto;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));width:auto;height:46px;min-height:46px;padding:0 17px; z-index:90; justify-content:center;gap:10px;border-radius:999px;background:#403b34;color:#fff;box-shadow:0 6px 25px #30221935;font-size:12px; font-weight:600; white-space:nowrap; }
  .mobile-wa span {font:normal 16px Arial,sans-serif; }
  /* The hero and end-of-page already have CTAs: do not cover photos while scrolling. */
  .mobile-wa {display:none !important;}
  .result-hero { padding:44px 0 43px; }
  .result-hero:after { font-size:200px;right:-20px;top:-38px; }
  .result-hero h1 {font:400 clamp(39px,10vw,50px)/1.13 var(--serif);letter-spacing:-.05em;}
  .result-hero p {font-size:14px;line-height:1.7;margin:17px 0 0;}
  .result-hero .breadcrumb {font-size:10px;margin-top:23px;}
  .case-list {display:grid;grid-template-columns:1fr;gap:18px;}
  .case-tile {width:100%;color:#322c25;}
  .case-tile button {color:inherit;}
  .case-tile>button {padding:0;width:100%;}
  .case-tile>button>img {display:block;width:100%;height:auto;max-height:none;object-fit:contain;}
  .case-tile-info {padding:18px 19px 20px;}
  .case-tile-info h2 {font:400 25px/1.2 var(--serif);color:#332b25; margin:10px 0;}
  .case-tile-info p {font-size:13px;line-height:1.5;}
  .case-tile-info .tile-btn {font-size:12px;color:#876744;}
  .result-note {padding:19px;font-size:12px;line-height:1.6;}
  .lightbox {padding:50px 12px 34px;}
  .lightbox img {max-width:calc(100vw - 24px);max-height:72dvh;object-fit:contain;}
  .lightbox-close {top:14px;right:14px;width:44px;height:44px;}
  .patient-pair {display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;align-items:stretch;background:#e8dfd5;}
  .pair-photo {display:block;position:relative;overflow:hidden;min-width:0;}
  .pair-photo img {display:block;width:100%;height:245px;object-fit:cover;object-position:center;}
  .pair-label {position:absolute;bottom:10px;left:9px;color:white;background:#372d28ce;border-radius:3px;padding:5px 9px;font:600 11px/1.2 var(--sans);}
  .case-tile .patient-pair .pair-photo img {height:290px;}
  a,button { -webkit-tap-highlight-color:transparent; }
}
@media (max-width:370px){
  :root { --m-pad:17px; }
  .brand-copy strong {font-size:14px;}
  .brand-copy small {font-size:5.4px;}
  .hero h1 {font-size:38px;}
  .hero-actions {gap:13px;}
  .hero-actions .btn {font-size:12px;}
  .hero-image-area {height:325px;}
  .service-card {padding:17px 14px;}
  .service-card h3 {font-size:21px;}
  .service-card p {font-size:12px;}
}
@media (min-width: 801px) {
  .services-grid:has(> .service-card:nth-child(5)) { grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
  .services-grid:has(> .service-card:nth-child(5)) .service-card {padding-inline:19px;}
}
@media (min-width:801px) and (max-width:1199px){ .services-grid:has(> .service-card:nth-child(5)) {grid-template-columns:repeat(3,minmax(0,1fr));} }
@media (prefers-reduced-motion:reduce){.reveal{transition:none;}}
