/*
Theme Name: Paola Azoni
Theme URI: https://drapaolaazoni.com.br
Author: Dra. Paola Azoni
Description: Tema institucional personalizado para ortodontia e Invisalign.
Version: 1.5.6
Text Domain: paola-azoni
*/

:root {
  --ink: #182858;
  --muted: #667085;
  --cream: #f7f5f0;
  --paper: #fffdf9;
  --sage: #e8edf7;
  --sage-deep: #243b73;
  --sun: #f0b048;
  --line: rgba(24, 40, 88, .14);
  --radius: 30px;
  --shadow: 0 24px 70px rgba(24, 40, 88, .13);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { display: inline-flex; gap: 9px; align-items: center; margin: 0 0 18px; color: var(--sage-deep); font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--sun); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: 1.04; }
h1 { max-width: 700px; margin-bottom: 26px; font-size: clamp(3.2rem, 7.1vw, 6.7rem); }
h2 { margin-bottom: 24px; font-size: clamp(2.3rem, 4.6vw, 4.5rem); }
h3 { line-height: 1.2; }
.lead { max-width: 620px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.btn { display: inline-flex; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; align-items: center; justify-content: center; gap: 10px; font-size: .95rem; font-weight: 750; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: white; box-shadow: 0 14px 35px rgba(24,40,88,.18); }
.btn-primary:hover { background: var(--sage-deep); }
.btn-whatsapp svg { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }
.btn-light { background: white; color: var(--ink); }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 34px; }
.brand { display: inline-flex; flex: 0 0 auto; padding-block: 10px; align-items: center; }
.brand img { display: block; width: 126px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .88rem; font-weight: 700; }
.main-nav a:not(.btn):hover { color: var(--sage-deep); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: white; font-size: 1.3rem; }

.hero { position: relative; display: grid; min-height: 820px; padding-top: 88px; overflow: hidden; background: var(--cream); align-items: center; }
.hero::before { content: ''; position: absolute; top: -210px; left: -180px; width: 620px; height: 620px; border: 1px solid rgba(24,40,88,.18); border-radius: 50%; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 20px; }
.hero-copy { padding: 75px 0 90px; }
.hero-copy em { color: var(--sage-deep); font-weight: 400; }
.hero-actions { display: flex; margin-top: 34px; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-socials { display: flex; align-items: center; gap: 18px; margin-top: 30px; color: var(--muted); font-size: .78rem; }
.hero-socials span { color: var(--ink); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-socials a { border-bottom: 1px solid var(--line); font-weight: 700; }
.quiet-link { border-bottom: 1px solid var(--ink); font-weight: 700; }
.hero-photo { position: relative; align-self: end; }
.hero-photo::before { content: ''; position: absolute; z-index: -1; inset: 8% -10% -7% 12%; border-radius: 50% 50% 0 0; background: var(--sage); }
.hero-photo img { width: 100%; height: 700px; object-fit: cover; object-position: 62% center; border-radius: 48% 48% 0 0; filter: saturate(.9) contrast(.98); }
.hero-badge { position: absolute; left: -36px; bottom: 38px; width: 168px; height: 168px; display: grid; padding: 20px; border-radius: 50%; place-content: center; text-align: center; background: var(--sun); font-weight: 850; line-height: 1.2; transform: rotate(-7deg); box-shadow: var(--shadow); }
.hero-badge small { display: block; margin-top: 6px; font-size: .67rem; letter-spacing: .11em; text-transform: uppercase; }

.trust-strip { border-block: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-item { padding: 31px 24px; border-right: 1px solid var(--line); text-align: center; font-weight: 750; }
.trust-item:last-child { border-right: 0; }
.trust-item span { display: block; color: var(--sage-deep); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }

.treatments { background: white; }
.treatments-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(45px, 8vw, 120px); align-items: end; margin-bottom: 54px; }
.treatments-head h2 { margin-bottom: 0; }
.treatment-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.treatment-card { grid-column: span 2; min-height: 290px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); transition: transform .2s ease, box-shadow .2s ease; }
.treatment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.treatment-card.featured { grid-column: span 3; background: var(--ink); color: white; }
.treatment-card:nth-child(2) { grid-column: span 3; }
.treatment-card > span { color: var(--sun); font-size: .72rem; font-weight: 850; letter-spacing: .14em; }
.treatment-card h3 { margin: 46px 0 14px; font-family: var(--serif); font-size: 1.65rem; line-height: 1.1; }
.treatment-card p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.treatment-card.featured p { color: rgba(255,255,255,.7); }
.treatment-card a { margin-top: auto; padding-top: 22px; color: var(--sun); font-weight: 800; font-size: .82rem; }

.section { padding: 92px 0; }
.split { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(48px, 6vw, 86px); }
.portrait-wrap { position: relative; }
.portrait-wrap img { width: 100%; max-height: 610px; aspect-ratio: .88; object-fit: cover; object-position: center 18%; border-radius: var(--radius); box-shadow: var(--shadow); }
.portrait-note { position: absolute; right: -24px; bottom: 28px; max-width: 230px; padding: 22px; border-radius: 20px; background: white; box-shadow: var(--shadow); font-size: .9rem; font-weight: 720; }
.check-list { display: grid; margin: 32px 0 0; padding: 0; gap: 15px; list-style: none; }
.check-list li { position: relative; padding-left: 34px; color: var(--muted); }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 1px; display: grid; width: 22px; height: 22px; border-radius: 50%; place-content: center; background: var(--sun); color: var(--ink); font-size: .72rem; font-weight: 900; }

.invisalign { background: var(--ink); color: white; }
.invisalign .split { min-height: 620px; }
.invisalign .eyebrow { color: #c7d3ec; }
.invisalign .lead { color: #c8d0e0; }
.feature-photo { position: relative; }
.feature-photo img { width: 100%; max-height: 600px; aspect-ratio: .9; object-fit: cover; object-position: center 30%; border-radius: var(--radius); }
.product-showcase { min-height: 520px; display: grid; place-items: center; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 50% 55%, #304a86 0, #1d3268 48%, #101c3e 100%); }
.product-showcase > img:first-child { width: min(92%, 650px); height: auto; max-height: 470px; aspect-ratio: auto; object-fit: contain; border-radius: 0; filter: drop-shadow(0 28px 34px rgba(0,0,0,.32)); }
.product-showcase .aligner-detail { position: absolute; right: -5%; bottom: -5%; width: 44%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; opacity: .82; transform: rotate(-9deg); }
.feature-number { position: absolute; right: -22px; top: -26px; display: grid; width: 104px; height: 104px; border-radius: 50%; place-content: center; background: var(--sun); color: var(--ink); font-family: var(--serif); font-size: 2.6rem; }
.benefits { display: grid; grid-template-columns: repeat(2,1fr); margin-top: 44px; gap: 18px; }
.benefit { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.18); }
.benefit strong { display: block; color: white; }
.benefit span { color: #b9c3d6; font-size: .88rem; }

.process { background: var(--sage); }
.center-heading { max-width: 820px; margin: 0 auto 65px; text-align: center; }
.center-heading .eyebrow { justify-content: center; }
.center-heading .lead { margin-inline: auto; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step { min-height: 255px; padding: 34px; border-radius: 24px; background: rgba(255,255,255,.76); }
.step span { display: inline-grid; width: 42px; height: 42px; margin-bottom: 42px; border-radius: 50%; place-content: center; background: var(--ink); color: white; font-weight: 800; }
.step p { margin-bottom: 0; color: var(--muted); font-size: .95rem; }
.process-image { margin-top: 24px; overflow: hidden; border-radius: var(--radius); }
.process-image img { width: 100%; height: 420px; object-fit: cover; object-position: center 43%; }

.itero { overflow: hidden; background: white; }
.itero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(50px, 8vw, 120px); }
.itero-copy { position: relative; z-index: 2; }
.itero-points { display: grid; gap: 0; margin-top: 38px; border-top: 1px solid var(--line); }
.itero-points div { display: grid; grid-template-columns: 145px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.itero-points strong { color: var(--ink); }
.itero-points span { color: var(--muted); font-size: .9rem; }
.itero-visual { position: relative; min-height: 610px; display: grid; place-items: center; border-radius: 48% 48% 24px 24px; background: var(--cream); }
.itero-visual::before { content: ''; position: absolute; inset: 11% 9%; border: 1px solid rgba(24,40,88,.16); border-radius: 50%; }
.itero-visual img { position: relative; z-index: 1; width: min(92%, 610px); height: 580px; object-fit: contain; }
.tech-label { position: absolute; z-index: 2; top: 28px; left: 28px; padding: 9px 13px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }

.video-feature { background: #f2eee5; }
.video-editorial-head { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(45px, 8vw, 130px); align-items: end; margin-bottom: 54px; }
.video-editorial-head h2 { max-width: 760px; margin-bottom: 0; }
.video-copy { max-width: 510px; padding-bottom: 8px; }
.video-stage { padding: 14px; border-radius: 30px; background: var(--ink); color: white; box-shadow: 0 34px 80px rgba(24,40,88,.18); }
.video-stage video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; object-fit: cover; background: #0e1835; }
.video-stage-label, .video-stage-footer { display: flex; justify-content: space-between; align-items: center; padding: 7px 8px 18px; color: rgba(255,255,255,.62); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.video-stage-label span { display: inline-flex; margin-right: auto; margin-left: 0; padding: 7px 10px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 800; }
.video-stage-label { justify-content: flex-start; gap: 12px; }
.video-stage-footer { padding: 16px 8px 5px; }

.stories { background: var(--ink); color: var(--cream); }
.stories .eyebrow { color: var(--yellow); }
.stories .lead { color: rgba(249, 246, 239, .72); }
.testimonials-shell { display: grid; grid-template-columns: minmax(330px,.78fr) 1.22fr; gap: 42px; align-items: stretch; margin-top: 54px; }
.testimonial-player { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; background: #111c3d; }
.testimonial-player-top { display: flex; justify-content: space-between; padding: 18px 20px; color: rgba(255,255,255,.58); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.testimonial-player-top strong { color: var(--sun); }
.testimonial-player video { display: block; width: 100%; aspect-ratio: 9 / 13; object-fit: contain; background: #080f24; }
.testimonial-caption { display: flex; flex-direction: column; gap: 4px; padding: 20px; }
.testimonial-caption strong { color: white; font-family: var(--serif); font-size: 1.2rem; }
.testimonial-caption span { color: rgba(255,255,255,.52); font-size: .82rem; }
.story-playlist { display: grid; align-content: stretch; border-top: 1px solid rgba(255,255,255,.15); }
.story-choice { display: grid; grid-template-columns: 48px 1fr auto 34px; gap: 16px; align-items: center; width: 100%; padding: 21px 12px; border: 0; border-bottom: 1px solid rgba(255,255,255,.15); background: transparent; color: white; text-align: left; cursor: pointer; transition: background .2s ease, padding .2s ease; }
.story-choice:hover, .story-choice.active { padding-left: 22px; background: rgba(255,255,255,.075); }
.story-number { color: rgba(255,255,255,.42); font-family: var(--serif); font-size: 1.35rem; }
.story-title { display: flex; flex-direction: column; gap: 3px; }
.story-title strong { font-size: .94rem; }
.story-title small, .story-duration { color: rgba(255,255,255,.48); font-size: .72rem; }
.story-play { display: grid; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; place-content: center; color: var(--sun); font-size: .62rem; }
.story-choice.active .story-number, .story-choice.active .story-duration { color: var(--sun); }

.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.faq-list { border-top: 1px solid var(--line); }
details { padding: 23px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-weight: 800; }
summary::-webkit-details-marker { display: none; }
details p { max-width: 680px; margin: 14px 0 0; color: var(--muted); }

.contact { padding: 45px 0 110px; }
.contact-card { position: relative; padding: clamp(38px, 7vw, 90px); border-radius: 38px; overflow: hidden; background: var(--sage-deep); color: white; }
.contact-card::after { content: ''; position: absolute; right: -120px; bottom: -220px; width: 500px; height: 500px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; }
.contact-card h2 { max-width: 650px; }
.contact-card p { color: #dce3f0; }
.clinic-map { position: relative; min-height: 520px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 26px; background: #dce3f0; box-shadow: 0 24px 60px rgba(7,18,44,.28); }
.clinic-map iframe { display: block; width: 100%; height: 100%; min-height: 520px; border: 0; filter: saturate(.78) contrast(.96); }
.map-caption { position: absolute; right: 18px; bottom: 18px; left: 18px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.34); border-radius: 16px; background: rgba(16,28,62,.92); box-shadow: 0 12px 28px rgba(7,18,44,.28); backdrop-filter: blur(10px); }
.map-caption span { font-weight: 800; }
.map-caption a { padding-bottom: 3px; border-bottom: 1px solid var(--sun); color: white; font-size: .82rem; font-weight: 800; white-space: nowrap; }
.contact-info { display: grid; gap: 24px; }
.contact-block { padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.18); }
.contact-block strong { display: block; margin-bottom: 6px; color: var(--sun); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.contact-location { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: rgba(255,255,255,.07); }
.location-icon { display: grid; width: 42px; height: 42px; border-radius: 50%; place-content: center; background: var(--sun); color: var(--sage-deep); font-size: 1.3rem; font-weight: 900; }
.contact-location b { display: block; margin-bottom: 7px; font-family: var(--serif); font-size: 1.35rem; }
.contact-location address { color: #dce3f0; font-style: normal; line-height: 1.65; }
.map-link { display: inline-block; margin-top: 12px; padding-bottom: 3px; border-bottom: 1px solid var(--sun); color: white; font-size: .86rem; font-weight: 800; }
.socials { display: flex; margin-top: 22px; gap: 14px; }
.socials a { border-bottom: 1px solid rgba(255,255,255,.5); }

.site-footer { padding: 74px 0 24px; background: #101c3e; color: white; }
.footer-main { display: grid; grid-template-columns: 1.35fr .9fr 1fr .65fr; gap: clamp(32px, 5vw, 74px); }
.footer-brand img { width: 190px; height: auto; margin-bottom: 24px; object-fit: contain; }
.footer-brand p { max-width: 340px; color: rgba(255,255,255,.68); font-size: .92rem; }
.footer-cta { display: inline-flex; align-items: center; gap: 18px; margin-top: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--sun); font-weight: 800; }
.footer-cta span { color: var(--sun); }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.68); font-size: .86rem; }
.footer-column strong { margin-bottom: 10px; color: var(--sun); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-column b { color: white; font-size: .95rem; }
.footer-column a { transition: color .2s ease; }
.footer-column a:hover { color: white; }
.footer-column .footer-map-link { margin-top: 4px; padding-bottom: 3px; border-bottom: 1px solid var(--sun); color: white; font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 62px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.46); font-size: .76rem; }
.whatsapp-float { position: fixed; z-index: 30; right: 22px; bottom: 22px; display: grid; width: 58px; height: 58px; border-radius: 50%; place-content: center; background: #25d366; color: white; font-size: 1.5rem; box-shadow: 0 12px 35px rgba(37,211,102,.35); }

@media (max-width: 920px) {
  .main-nav { position: absolute; top: 82px; right: 20px; display: none; width: min(340px, calc(100% - 40px)); padding: 24px; border-radius: 22px; align-items: stretch; flex-direction: column; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 90px 0 45px; }
  .hero-photo { width: 88%; margin-left: auto; }
  .hero-photo img { height: 620px; }
  .split, .faq-grid, .contact-grid, .video-editorial-head, .treatments-head, .itero-grid { grid-template-columns: 1fr; }
  .treatment-card, .treatment-card.featured, .treatment-card:nth-child(2) { grid-column: span 3; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .video-copy { max-width: 680px; }
  .testimonials-shell { grid-template-columns: .9fr 1.1fr; gap: 22px; }
  .invisalign .split { min-height: auto; }
  .invisalign .feature-photo { order: 2; }
  .product-showcase { min-height: 480px; }
  .itero-visual { min-height: 540px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: auto; }
  .step span { margin-bottom: 24px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand img { width: 112px; }
  .header-inner { min-height: 78px; }
  .hero { padding-top: 78px; }
  h1 { font-size: 3.3rem; }
  .hero-copy { padding-top: 62px; }
  .hero-photo { width: 100%; }
  .hero-photo img { height: 490px; border-radius: 46% 46% 0 0; object-position: 61% center; }
  .hero-badge { left: -6px; bottom: 20px; width: 132px; height: 132px; font-size: .85rem; }
  .hero-socials { align-items: flex-start; flex-wrap: wrap; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 68px 0; }
  .portrait-note { right: 8px; }
  .benefits { grid-template-columns: 1fr; }
  .treatment-grid { grid-template-columns: 1fr; }
  .treatment-card, .treatment-card.featured, .treatment-card:nth-child(2) { grid-column: auto; min-height: 245px; }
  .product-showcase { min-height: 390px; }
  .product-showcase > img:first-child { width: 100%; }
  .itero-points div { grid-template-columns: 1fr; gap: 4px; }
  .itero-visual { min-height: 430px; }
  .itero-visual img { height: 420px; }
  .process-image img { height: 300px; }
  .video-editorial-head { gap: 24px; margin-bottom: 34px; }
  .video-stage { margin-inline: -6px; padding: 8px; border-radius: 20px; }
  .video-stage video { border-radius: 14px; }
  .testimonials-shell { grid-template-columns: 1fr; }
  .testimonial-player video { max-height: 68vh; }
  .story-choice { grid-template-columns: 42px 1fr auto 30px; gap: 10px; padding-block: 18px; }
  .contact { padding-top: 12px; }
  .contact-card { border-radius: 26px; }
  .clinic-map, .clinic-map iframe { min-height: 390px; }
  .map-caption { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 42px; }
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
