/*
Theme Name: Pharmadinâmica
Author: Pharmadinâmica
Description: Tema institucional com atendimento pelo WhatsApp e conteúdo editável no Personalizador.
Version: 1.4.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pharmadinamica
*/
:root{--green:#193e30;--ink:#233e32;--paper:#faf9f3;--muted:#5e6e61;--line:#d7ddce;--lime:#e8ed9b}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 Arial,sans-serif}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid #997c22;outline-offset:6px}header{max-width:1440px;margin:auto;padding:28px 5%;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:9px;align-items:center;font:27px Georgia,serif;letter-spacing:-1px;white-space:nowrap}.brand small{display:block;font:8px Arial,sans-serif;letter-spacing:2.4px;margin-top:5px}.brand-symbol{font:45px Georgia;color:#517048}nav{display:flex;gap:28px;font-size:14px}.button{display:inline-block;background:var(--green);color:white;padding:16px 23px;border-radius:5px;font-size:14px;line-height:1.5}.button:hover{background:#355b42}.small{padding:12px 18px}.hero{max-width:1440px;margin:auto;display:grid;grid-template-columns:1.1fr 1fr;min-height:660px}.hero-copy{padding:86px 8% 70px 10%}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:bold;margin:0 0 23px}h1,h2,h3{font-family:Georgia,serif;font-weight:normal;line-height:1.12;margin:0}h1{font-size:clamp(54px,6.3vw,90px);letter-spacing:-4px;max-width:600px}h2{font-size:clamp(36px,4vw,55px);letter-spacing:-1.8px}h3{font-size:28px;letter-spacing:-.6px}.lead{max-width:430px;font-size:18px;color:var(--muted);margin:28px 0 32px}.note{font-size:12px;color:var(--muted);margin-top:15px}.hero-art{background:#e7ebdc;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.hero-art svg{width:90%;height:90%;position:relative;z-index:1}.orbit{position:absolute;width:75%;aspect-ratio:1;border:1px solid #c1ccb4;border-radius:50%}.art-caption{position:absolute;bottom:30px;left:32px;font:italic 20px Georgia}.art-label{position:absolute;right:25px;top:32px;font-size:9px;letter-spacing:2px}.ribbon{background:var(--green);color:var(--paper);display:flex;justify-content:space-around;gap:20px;padding:22px 5%;font-size:13px;letter-spacing:.3px}.ribbon span:before{content:'✳';color:var(--lime);padding-right:14px}.section{padding:90px 7%;max-width:1440px;margin:auto}.section-heading{display:grid;grid-template-columns:1fr 1fr;gap:0 10%;align-items:end}.section-heading .eyebrow{grid-column:1/-1}.section-heading>p:last-child{max-width:440px;color:var(--muted);margin-bottom:0}.care-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;margin-top:60px}.care-grid article{border-top:1px solid #aeba9f;padding-top:24px}.number{font-size:12px;color:#6a7c58}.care-grid h3{margin:27px 0 18px}.care-grid p{font-size:15px;color:var(--muted);max-width:320px}.about{background:#eceee2;display:grid;grid-template-columns:1fr 1.1fr;gap:12%;align-items:center}.since{display:flex;flex-direction:column;border:1px solid #b7c3a6;border-radius:48% 48% 0 0;padding:70px 15px;text-align:center;font-size:13px}.since strong{font:100px Georgia;letter-spacing:-6px;padding:12px 0}.about p:not(.eyebrow){color:var(--muted);margin:27px 0}.text-link{display:inline-block;border-bottom:1px solid #879778;font-size:14px;padding:6px 0}.steps{display:grid;grid-template-columns:1fr 1fr;gap:10%;border-bottom:1px solid var(--line)}ol{margin:0;padding:0;list-style:none;counter-reset:steps}li{counter-increment:steps;position:relative;padding:0 0 24px 47px;margin-bottom:20px;border-bottom:1px solid var(--line)}li:before{content:'0' counter(steps);position:absolute;left:0;font-size:12px;color:#71815f}li strong,li span{display:block}li strong{font-size:17px}li span{font-size:14px;color:var(--muted);margin-top:7px}.unit-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:45px}.unit-grid article{background:#efeee5;padding:36px}.unit-grid article:nth-child(2){background:#e7ebdc}.unit-number{font-size:11px;letter-spacing:1.7px;margin:0 0 28px}.unit-grid h3{font-size:34px;margin-bottom:25px}address{font-style:normal}.unit-grid article>p:not(.unit-number){font-size:13px;color:var(--muted);max-width:350px}.contact{background:var(--green);color:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:40px}.contact .eyebrow{color:var(--lime)}.light{background:var(--lime);color:var(--green);white-space:nowrap}.light:hover{background:#f2f5bc}footer{max-width:1440px;margin:auto;padding:55px 7% 25px}.footer-top{display:flex;justify-content:space-between;gap:30px;align-items:center}.footer-top>div{display:flex;flex-direction:column;font-size:13px;gap:5px}.footer-bottom{display:flex;justify-content:space-between;gap:25px;border-top:1px solid var(--line);margin-top:40px;padding-top:20px;font-size:11px;color:var(--muted)}.skip{position:absolute;left:10px;top:-100px;background:white;padding:12px;z-index:10}.skip:focus{top:10px}.custom-logo{max-width:240px;height:auto} @media(max-width:900px){header{flex-wrap:wrap;padding:20px 5%}header nav{order:3;width:100%;justify-content:center}.brand{font-size:23px}.hero-copy{padding:65px 10%}h1{font-size:64px}.hero{min-height:550px}.hero-art svg{width:110%}.section{padding:65px 6%}.ribbon{font-size:11px}.contact{align-items:flex-start;flex-direction:column}.footer-top{flex-wrap:wrap}}@media(max-width:600px){header .small{font-size:11px;padding:10px}.brand{font-size:20px}.brand-symbol{font-size:34px}.brand small{font-size:6px;letter-spacing:1.8px}nav{gap:24px;font-size:12px}.hero{grid-template-columns:1fr}.hero-copy{padding:55px 7% 45px}h1{font-size:66px}.lead{font-size:17px}.hero-art{height:385px}.hero-art svg{height:110%;width:auto}.art-caption{font-size:17px}.ribbon{flex-direction:column;gap:10px;padding:22px 7%}.section-heading,.care-grid,.about,.steps,.unit-grid{grid-template-columns:1fr;gap:30px}.section-heading>p:last-child{margin-top:0}.care-grid{margin-top:38px}.care-grid h3{margin-top:17px}.about{gap:40px}.since{max-width:350px;width:100%;margin:auto;padding:40px 15px}.since strong{font-size:84px}.unit-grid article{padding:27px}.contact h2{font-size:38px}.footer-top{align-items:flex-start;flex-direction:column}.footer-bottom{flex-direction:column;gap:9px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Identidade oficial: verde, laranja e grafite */
:root{--green:#006c4b;--ink:#3d3d3d;--paper:#fff;--muted:#666c68;--line:#dce5de;--lime:#fff0e4;--orange:#e64600}
header{padding-top:15px;padding-bottom:15px;gap:20px}.official-logo{display:block;width:190px;height:128px;object-fit:contain}.brand{white-space:normal}nav{gap:20px;font-size:13px}.hero{background:#f4f8f4;min-height:650px;grid-template-columns:1.05fr 1fr;gap:30px;padding:32px 5% 40px}.hero-copy{padding:45px 6% 35px 0;align-self:center}h1{font-family:Arial,sans-serif;font-weight:700;font-size:clamp(46px,5.4vw,74px);line-height:1.06;letter-spacing:-3.5px}.eyebrow{color:#007c55}h2,h3{font-family:Arial,sans-serif;font-weight:600}h2{font-size:clamp(34px,3.6vw,48px);line-height:1.15;letter-spacing:-1.9px}.hero-copy .button{background:var(--orange)}.hero-copy .button:hover{background:#b83a00}.hero-art{margin:0;min-height:570px;border-radius:100px 14px 14px 14px;display:block;background:#eee}.people-photo{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 42%}.hero-art figcaption{position:absolute;bottom:12px;right:14px;background:#fffdf5e8;color:#444;padding:3px 7px;font-size:9px;border-radius:3px;z-index:3}.photo-label{position:absolute;left:22px;bottom:50px;background:#fffef4ed;padding:15px 22px;border-left:4px solid #ff5000;border-radius:0 8px 8px 0;font-size:15px}.photo-label span,.photo-label strong{display:block}.photo-label strong{color:var(--green);font-size:20px}.ribbon{background:#00a969}.ribbon span:before{color:white}.about{background:#f0f6f1}.since{border-color:#add4bd}.since strong{color:#00875b}.care-grid article{border-color:#b6d8c4}.number{color:var(--orange)}.unit-grid article{background:#f3f7f4;border-radius:12px}.unit-grid article:nth-child(2){background:#fff3e9}.unit-number{color:var(--green)}.steps{background:#fafbf9}.steps-intro{color:var(--muted);max-width:340px}.steps li:before{background:#e5f4e9;color:var(--green);width:32px;height:32px;display:grid;place-items:center;border-radius:50%}.faq{display:grid;grid-template-columns:1fr 1fr;gap:9%}.faq details{border-bottom:1px solid var(--line);padding:20px 0}.faq summary{font-weight:600;cursor:pointer;font-size:16px}.faq details p{color:var(--muted);font-size:14px}.contact .eyebrow{color:#fff0e4}.contact{border-radius:18px;margin:0 4%;max-width:none;background:#006c4b}.contact .light{background:#fff;color:#006c4b}.footer-top .official-logo{width:180px;height:120px}.footer-bottom{line-height:1.6}
@media(min-width:1600px){.contact{max-width:1320px;margin:auto}}@media(max-width:1000px){header{flex-wrap:wrap}header nav{order:3;width:100%;justify-content:center}.hero{gap:15px}.hero-art{min-height:540px}.photo-label{left:12px;right:12px;padding:12px}.photo-label strong{font-size:17px}}@media(max-width:600px){.official-logo{width:142px;height:96px}header{gap:12px;padding:10px 5%}header nav{flex-wrap:wrap;gap:8px 20px}.hero{display:flex;flex-direction:column;padding:20px 6% 28px}.hero-copy{padding:20px 0 15px}h1{font-size:51px;letter-spacing:-2.8px}.hero-art{min-height:440px;border-radius:60px 10px 10px 10px}.people-photo{object-position:center 40%}.photo-label{left:15px;right:auto;bottom:46px}.faq{grid-template-columns:1fr;gap:20px}.contact{margin:0 4%;padding:40px 6%}.contact h2{font-size:34px}.ribbon{background:#008b5b}.care-grid h3{font-size:25px}.footer-top .official-logo{width:170px}}

/* Correção 1.1.1: limites de colunas e quebra de texto */
main,section,article,figure,nav,header,footer,div,ol,li{min-width:0}
main p,main h1,main h2,main h3,main span,main strong,main address,main a,footer a{white-space:normal;overflow-wrap:anywhere;word-break:normal}
.hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:stretch}
.hero-copy{width:100%;max-width:100%}.hero-copy h1{max-width:100%;line-height:1.14;letter-spacing:-2px}.lead{width:100%;max-width:430px}
.hero-art{width:100%;min-width:0;min-height:540px;border-radius:20px;isolation:isolate}
.people-photo{width:100%;max-width:100%;height:100%;object-fit:cover}
.photo-label{max-width:calc(100% - 44px)}
.section-heading,.steps,.faq{grid-template-columns:repeat(2,minmax(0,1fr))}
.care-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.unit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.about{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
.care-grid article,.unit-grid article{min-width:0}.care-grid p{max-width:100%}
.button{max-width:100%;white-space:normal;text-align:center}.footer-top>div{min-width:0}
@media(max-width:1000px){.hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.hero-copy h1{font-size:clamp(38px,5.3vw,56px)}.care-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.hero{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;min-height:0}.hero-copy{padding:24px 0 0}.hero-copy h1{font-size:clamp(38px,7vw,56px);max-width:650px}.hero-art{min-height:0;height:auto;aspect-ratio:4/3;max-width:650px;justify-self:center}.people-photo{object-position:center 37%}.section-heading,.about,.steps,.faq{grid-template-columns:minmax(0,1fr);gap:30px}.since{max-width:340px;margin:auto;width:100%}}
@media(max-width:600px){.hero-art{width:100%;aspect-ratio:4/5;height:auto;min-height:0;border-radius:18px}.hero-copy h1{font-size:42px;letter-spacing:-1.5px}.care-grid,.unit-grid{grid-template-columns:minmax(0,1fr)}.photo-label{left:14px;right:14px;max-width:calc(100% - 28px);bottom:48px}.photo-label strong{font-size:18px}.hero-art figcaption{font-size:9px;left:12px;right:12px;text-align:center}.section{padding:48px 6%}.footer-top{align-items:flex-start}.footer-bottom{overflow-wrap:anywhere}}

/* Paleta acolhedora: areia, bege e marrom claro */
:root{--green:#71533d;--ink:#44382f;--paper:#fffdf9;--muted:#77685d;--line:#e4d7c8;--lime:#f3e8d8;--orange:#95633e}
body{background:#fffdf9;color:#44382f}header{background:#fffdf9;border-color:#e4d7c8}
.hero{background:#f3ece2}.eyebrow{color:#866347}.hero-copy .button,.button{background:#805d43;color:#fff}.hero-copy .button:hover,.button:hover{background:#644632}
.ribbon{background:#bda084;color:#30261f}.ribbon span:before{color:#5f4532}
.care-grid article{border-color:#d6c1ac}.number,.unit-number{color:#886044}
.about{background:#ede1d1}.since{border-color:#c6ab8c}.since strong{color:#8a6548}
.steps{background:#f8f3eb}.steps li:before{background:#eaddcc;color:#705139}
.unit-grid article{background:#f2e9dd}.unit-grid article:nth-child(2){background:#eaddcd}
.text-link{border-color:#b79b7d}.faq details{border-color:#dfd0bf}
.contact{background:#82644c;color:#fffdf9}.contact .eyebrow{color:#f5e7d4}.contact .light{background:#f5e7d4;color:#503a29}.contact .light:hover{background:#fff7eb}
.photo-label{background:#fffaf1ed;border-left-color:#bb8e60}.photo-label strong{color:#705139}
.hero-art{background:#e9dccb}.footer-bottom{border-color:#dfd0bf;color:#77685d}
@media(max-width:600px){.ribbon{background:#bda084;color:#30261f}}

.unit-map{display:block;width:100%;max-width:100%;height:270px;margin-top:24px;border:0;border-radius:8px;background:#eaddcd}.faq-channels{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:18px 0 8px}.faq-channels a{overflow-wrap:anywhere;max-width:100%}.faq-channels .button{font-size:13px}.faq-channels .text-link{font-size:13px}

/* Fotografias da unidade enviadas pelo cliente, com iluminação ajustada */
.hero{display:flex;align-items:center;position:relative;min-height:690px;padding:60px 6%;background-color:#eee2d3;background-image:linear-gradient(90deg,#f3ece2 0%,rgba(243,236,226,.97) 35%,rgba(243,236,226,.70) 53%,rgba(243,236,226,0) 68%),none;background-size:auto,auto 150%;background-position:center,right 44%;background-repeat:no-repeat}
.hero-copy{width:53%;max-width:620px;padding:25px 35px 25px 0;position:relative}.hero-copy h1{font-size:clamp(42px,4.6vw,66px)}
.about-people{margin:0;position:relative;overflow:hidden;border-radius:18px;max-width:440px}.about-people img{display:block;width:100%;height:460px;object-fit:cover}.about-people figcaption{position:absolute;bottom:12px;left:12px;right:12px;text-align:center;background:#fffaf0e6;padding:4px;font-size:10px}
.unit-photo{display:block;width:100%;height:300px;object-fit:cover;object-position:50% 53%;border-radius:8px;margin-bottom:26px}
@media(max-width:1000px){.hero-copy{width:60%}.hero-copy h1{font-size:46px}.hero{background-size:auto,auto 140%}}
@media(max-width:800px){.hero{display:block;min-height:0;padding:0;background:none}.hero:before{content:'';display:block;width:100%;height:420px;background:none center 42%/cover no-repeat}.hero-copy{background:#f3ece2;width:100%;max-width:none;padding:35px 7%;margin:0}.hero-copy h1{font-size:46px}.about-people{margin:auto;width:100%}}
@media(max-width:600px){.hero:before{height:370px;background-size:100% auto;background-position:center 43%}.hero-copy{padding:30px 7%}.hero-copy h1{font-size:40px}.about-people img{height:410px}.unit-photo{height:280px}}

/* Ajustes da revisão do cliente */
.ribbon span{display:flex;align-items:center;gap:12px}.ribbon span:before{content:none}.pill-icon{width:23px;height:23px;flex:0 0 23px;color:#503a29}
.history-mark{margin:0;display:flex;flex-direction:column;align-items:center;align-self:center;text-align:center;max-width:410px;width:100%;justify-self:center}.history-mark .eyebrow{margin-bottom:16px}.drop-badge{width:100%;max-width:330px;position:relative;aspect-ratio:650/780}.official-drop{width:100%;height:100%;display:block;mix-blend-mode:multiply}.year-band{position:absolute;top:52%;left:-7%;width:114%;padding:14px 20px 18px;background:#bda084;color:#30261f;box-shadow:0 7px 18px #48332616}.year-band span{display:block;font-size:11px;letter-spacing:4px}.year-band strong{display:block;font:72px/1 Georgia,serif;letter-spacing:-2px}.history-mark figcaption{font-size:13px;margin-top:22px;color:#71533d}.about{gap:7%}.about>div p{line-height:1.85}.unit-map{display:block!important;visibility:visible!important;min-height:300px;width:100%;background:#eaddcd}.unit-photo{height:280px}
@media(max-width:800px){.history-mark{margin:0 auto 20px}.drop-badge{max-width:260px}.year-band strong{font-size:62px}.about{gap:35px}}

/* Revisão 4: verde institucional e fachada com porta branca */
:root{--green:#153f32;--ink:#303e35} .button,.hero-copy .button{background:#153f32;color:#fff}.button:hover,.hero-copy .button:hover{background:#245b46}.contact{background:#153f32;color:#fffdf9}.contact .light{background:#f3e8d8;color:#153f32}.contact .light:hover{background:#fffaf1}.ribbon{background:#153f32;color:#fffdf9}.pill-icon{color:#eee1c9}.eyebrow{color:#265540}.contact .eyebrow{color:#f3e8d8}
.year-band{top:55%;left:10%;width:80%;padding:6px 12px 9px;background:rgba(189,160,132,.24);box-shadow:none;color:#244b39;border-top:1px solid rgba(145,115,83,.2);border-bottom:1px solid rgba(145,115,83,.2)}.year-band span{font-size:9px;letter-spacing:3px}.year-band strong{font-size:52px;line-height:1.05}
.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:36px;min-height:0;padding:46px 5%;background:#f3ece2;align-items:center}.hero:before{content:none;display:none}.hero-copy{width:100%;max-width:none;padding:20px 0;background:none}.hero-copy h1{font-size:clamp(40px,4.5vw,64px)}.facade-visual{margin:0;min-width:0}.facade-visual img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:12px}.facade-visual figcaption{font-size:10px;color:#77685d;margin-top:8px;text-align:right}
@media(max-width:800px){.hero{grid-template-columns:minmax(0,1fr);gap:18px;padding:22px 6% 32px}.facade-visual{order:-1}.hero-copy{padding:10px 0}.hero-copy h1{font-size:44px}.year-band strong{font-size:48px}}@media(max-width:600px){.hero-copy h1{font-size:40px}.ribbon{background:#153f32;color:#fffdf9}.facade-visual img{border-radius:8px}.year-band strong{font-size:46px}}

/* Ano abaixo da gota e WhatsApps por unidade */
.history-mark .year-band{position:static;inset:auto;width:auto;max-width:100%;padding:0;margin:15px 0 0;background:transparent;border:0;box-shadow:none;color:#153f32}.history-mark .year-band span{font-size:10px;letter-spacing:3px}.history-mark .year-band strong{font-size:48px;line-height:1.2;margin-top:4px}.history-mark figcaption{margin-top:12px}.unit-whatsapp{display:inline-block;margin:-8px 0 22px}.footer-top>div a{line-height:1.7}

/* Navegação com a gota oficial e tipografia marrom */
header nav{gap:22px}header nav a{display:inline-flex;align-items:center;gap:8px;color:#4b3528;font-family:Georgia,"Times New Roman",serif;font-size:15px;font-weight:700;line-height:1.35;text-decoration:none}header nav a:hover,header nav a:focus-visible{color:#153f32}header nav .nav-drop{display:block;width:19px;height:24px;flex:0 0 19px;overflow:hidden;mix-blend-mode:multiply}@media(max-width:1000px){header nav{gap:14px 20px;flex-wrap:wrap;justify-content:center}header nav a{font-size:14px}}@media(max-width:600px){header nav{gap:12px 18px}header nav a{font-size:14px}header nav .nav-drop{width:16px;height:20px;flex-basis:16px}}
