
:root{
  --navy:#003f70;
  --navy-deep:#00335d;
  --navy-darker:#002c50;
  --blue:#006bb6;
  --cyan:#11c8df;
  --cyan-soft:#dff9fd;
  --text:#103f71;
  --muted:#587390;
  --line:#dce7ef;
  --bg:#ffffff;
  --soft:#f8fbfd;
  --shadow:0 10px 32px rgba(0,58,99,.10);
  --radius:8px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--text);font-family:Arial,Helvetica,sans-serif}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
.container{width:min(1170px,calc(100% - 32px));margin:0 auto}
.topbar{min-height:28px;background:#fff;font-size:11px;color:#064678}
.topbar .container{min-height:28px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 14px;padding:3px 0}
.topbar strong{font-weight:800}
.topbar a{text-decoration:underline;color:inherit}
.topbar a:hover,.topbar a:focus-visible{color:#0ca8dd}
.topbar-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.topbar-main-call{font-weight:800;text-decoration:none;white-space:nowrap}
.langs{display:flex;gap:12px;align-items:center}
.langs a{opacity:.55;font-weight:700}
.langs a.active{opacity:1}
.langs a:hover,.langs a:focus-visible{opacity:1}
.navbar{height:72px;background:linear-gradient(90deg,#004073,#003763);color:white;position:sticky;top:0;z-index:80}
.navbar .container{height:100%;display:flex;align-items:center;justify-content:space-between}
.brand img{height:43px;width:auto}
.nav{display:flex;align-items:center;gap:26px;font-size:12px}
.nav a{opacity:.95}
.nav a:hover,.nav a:focus-visible{opacity:1;text-decoration:underline}
.nav a[aria-current="page"]{opacity:1;text-decoration:underline;text-decoration-color:#11c8df;text-decoration-thickness:2px}
.footer-links a[aria-current="page"]{text-decoration:underline}
.nav .book{padding:13px 24px;border:1px solid #2bc7ea;border-radius:3px;background:#0ca8dd;font-weight:700;box-shadow:0 3px 12px rgba(6,182,226,.22);text-decoration:none!important}
.nav .book:hover,.nav .book:focus-visible{background:#11c0f0}
.nav-call{display:flex;align-items:center;gap:6px;font-weight:700;white-space:nowrap}
.nav-pending{opacity:.5;cursor:default}
.menu-btn{display:none;color:#fff;background:none;border:0;font-size:28px}
:focus-visible{outline:2px solid #11c8df;outline-offset:2px}
.btn:focus-visible{outline-offset:3px}
.btn-primary:hover,.btn-primary:focus-visible{background:linear-gradient(90deg,#0ca0d6,#1fd8e8)}
.btn-outline:hover,.btn-outline:focus-visible{background:rgba(255,255,255,.14)}
.btn-white:hover,.btn-white:focus-visible{background:#eaf7fc}
.btn-pending{opacity:.55;cursor:default}
.more:hover,.more:focus-visible{text-decoration:underline}
.footer-links a:hover,.footer-links a:focus-visible{text-decoration:underline;color:#fff}
.phone-alt{display:block;font-size:11px;opacity:.75;margin-top:2px}

.hero{background:linear-gradient(90deg,#033e70 0%,#033e70 42%,#0a588e 100%);color:white;overflow:hidden}
.hero-inner{display:flex;align-items:stretch;min-height:410px;padding-left:max(16px,calc((100vw - 1170px)/2))}
.hero-copy{flex:0 0 auto;width:clamp(420px,40vw,560px);padding:48px 24px 56px 0;display:flex;flex-direction:column;justify-content:center}
.hero h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:50px;line-height:1.04;margin:0 0 18px;letter-spacing:-.02em}
.hero h1 .accent{color:#20d5e5}
.hero p{max-width:480px;margin:0;color:#ecf4f8;line-height:1.45;font-size:15px}
.hero-actions{display:flex;gap:12px;margin-top:24px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;border-radius:3px;font-size:12px;font-weight:800;letter-spacing:.01em}
.btn-primary{background:linear-gradient(90deg,#09aee1,#11c8df);color:#fff}
.btn-outline{border:1px solid #a9d5e9;color:#fff;background:rgba(0,0,0,.05)}
.hero-photo{flex:1 1 auto;min-width:0;position:relative;background:url("images/hero/hero-clinic.webp") 88% center/auto 115% no-repeat;min-height:410px;-webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.12) 12%,rgba(0,0,0,.34) 26%,rgba(0,0,0,.58) 40%,rgba(0,0,0,.8) 52%,rgba(0,0,0,.94) 62%,#000 72%,#000 100%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.12) 12%,rgba(0,0,0,.34) 26%,rgba(0,0,0,.58) 40%,rgba(0,0,0,.8) 52%,rgba(0,0,0,.94) 62%,#000 72%,#000 100%)}

.trust-wrap{position:relative;z-index:6;margin-top:-23px}
.trust{background:#fff;box-shadow:var(--shadow);border-radius:6px;display:grid;grid-template-columns:repeat(4,1fr);padding:13px 16px}
.trust-item{display:flex;align-items:center;gap:12px;padding:5px 18px;border-right:1px solid #dbe6ee}
.trust-item:last-child{border-right:0}
.trust-icon{width:42px;height:42px;display:grid;place-items:center;color:#006ab6;flex:none}
.trust-icon svg{width:38px;height:38px}
.trust-item b{display:block;font-size:12px;line-height:1.18}
.trust-item small{display:block;color:#5e7890;font-size:10px;line-height:1.25;margin-top:2px}

.section{padding:34px 0}
.title{font-family:Georgia,'Times New Roman',serif;font-size:31px;font-weight:400;text-align:center;margin:0 0 26px;color:#124778}
.title:after{content:"";display:block;width:42px;height:2px;background:#19d0dc;margin:8px auto 0}
.help-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.help-card{border:1px solid #e2ebf1;background:#fff;border-radius:5px;text-align:center;padding:18px 10px 16px;min-height:160px}
.help-card:first-child{background:linear-gradient(180deg,#dcf7fd,#fff)}
.help-card svg{width:50px;height:50px;color:#0068b2;margin:0 auto 5px}
.help-card h3{font-family:Georgia,serif;font-size:17px;margin:0 0 7px;color:#10477b}
.help-card p{font-size:11px;line-height:1.35;color:#5b7790;margin:0}

.story{display:grid;grid-template-columns:53% 47%;background:linear-gradient(90deg,#f9fcfd,#fff);border-radius:5px;overflow:hidden}
.story-image{overflow:hidden}
.story-image img{width:100%;height:100%;min-height:290px;object-fit:cover;object-position:38% 55%}
.story-image.reveal-ready{opacity:0;transform:translateX(-110vw)}
.story-image.reveal-ready.is-in{opacity:1;transform:none;transition:opacity .9s ease-out,transform .9s ease-out}
@media (prefers-reduced-motion:reduce){.story-image.reveal-ready{opacity:1;transform:none;transition:none}}
.story-copy{padding:28px 34px}
.story-copy h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:31px;line-height:1.08;margin:0 0 12px;color:#124778}
.story-copy h2 span{color:#16c5d7}
.story-copy p{font-size:13px;line-height:1.45;color:#5b7790;margin:0 0 10px}
.story-copy strong{display:block;font-size:12px;margin:10px 0 18px}
.btn-white{height:38px;border:1px solid #168cc6;color:#0d5688;background:#fff;padding:0 18px}

.treatment-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.t-card{border:1px solid #dfe9f0;border-radius:4px;overflow:hidden;background:#fff}
.t-card img{width:100%;height:116px;object-fit:cover}
.t-body{padding:10px 11px 12px}
.t-body h3{font-family:Georgia,serif;font-size:14px;margin:0 0 4px;color:#10477b}
.t-body p{font-size:10px;line-height:1.3;color:#667f94;min-height:40px;margin:0 0 7px}
.more{font-size:10px;font-weight:800;color:#006bcc}

.team-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;align-items:stretch}
.member{background:#f8fafb;text-align:center;border-radius:8px;overflow:hidden}
.member img{width:100%;height:155px;object-fit:cover;object-position:center top;display:block}
.member h3{font-size:12px;color:#10477b;margin:8px 6px 2px}
.member p{font-size:10px;color:#668095;margin:0 8px 10px;min-height:2.4em}
.team-actions{text-align:right;margin-top:8px}

.two-panels{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.panel{display:grid;grid-template-columns:1.03fr .97fr;background:#f3f9fc;min-height:220px;overflow:hidden;border-radius:4px}
.panel-copy{padding:22px 20px}
.panel-copy h3{font-family:Georgia,serif;font-size:23px;line-height:1.04;font-weight:400;margin:0 0 6px;color:#10477b}
.panel-copy p{font-size:11px;color:#5d7890;margin:0 0 8px}
.checks{margin:8px 0 12px;padding:0;list-style:none}
.checks li{font-size:10px;color:#54738d;line-height:1.65}
.checks li:before{content:"✓";color:#08aee4;font-weight:800;margin-right:6px}
.panel img{width:100%;height:100%;object-fit:cover}

.reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.review{border:1px solid #dfe9f0;border-radius:4px;padding:14px 16px;background:#fff;min-height:110px}
.stars{color:#f5b212;font-size:15px;letter-spacing:1px}
.review p{font-size:11px;color:#59748b;line-height:1.35;margin:6px 0}
.review strong{font-size:10px;color:#10477b}

.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:0;align-items:start}
.step{text-align:center;position:relative;padding:0 15px}
.step:not(:last-child):after{content:"";position:absolute;right:-15%;top:18px;width:30%;height:1px;background:#bcd4e4}
.n{width:38px;height:38px;border-radius:50%;background:#22c5d8;color:#fff;display:grid;place-items:center;margin:0 auto 7px;font-weight:800}
.step h4{font-size:11px;margin:0 0 3px;color:#10477b}
.step p{font-size:10px;line-height:1.3;color:#668094;margin:0}

.location-strip{display:grid;grid-template-columns:29% 35% 36%;min-height:230px;background:#f7fbfd}
.location-copy{padding:16px 22px}
.location-copy h2{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:0 0 9px}
.location-copy p{font-size:11px;line-height:1.5;margin:0 0 10px}
.location-img img{width:100%;height:100%;object-fit:cover}
.map{position:relative;background:#eaf5f8;overflow:hidden}
.map:before{content:"";position:absolute;inset:0;background:
 linear-gradient(25deg,transparent 47%,rgba(55,130,165,.15) 48%,rgba(55,130,165,.15) 50%,transparent 51%),
 linear-gradient(-18deg,transparent 47%,rgba(55,130,165,.12) 48%,rgba(55,130,165,.12) 50%,transparent 51%)}
.map .pin{position:absolute;left:58%;top:43%;font-size:38px}
.map .maplabel{position:absolute;left:48%;top:56%;font-size:12px;font-weight:800;color:#e32d2d}

.cta{background:linear-gradient(90deg,#16a8e0,#2478c9);color:white}
.cta .container{min-height:70px;display:flex;align-items:center;justify-content:center;gap:60px}
.cta h3{font-family:Georgia,serif;font-weight:400;font-size:24px;margin:0}
.cta p{font-size:11px;margin:2px 0 0;color:#e7f5fb}
.cta .btn{background:#fff;color:#0a639d;height:37px}

footer{background:linear-gradient(90deg,#00345d,#003d6b);color:white;padding:28px 0 16px}
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:32px;align-items:center}
.footer-brand{display:flex;flex-direction:column;align-items:center;text-align:center}
.footer-logo{height:44px;margin-bottom:10px}
footer h4{font-size:11px;margin:0 0 10px}
footer p,footer a{font-size:10px;color:#d5e7f2;line-height:1.65}
.footer-links{display:flex;flex-direction:column}
.social{display:flex;gap:14px;margin-top:14px;justify-content:center}
.social a{width:36px;height:36px;border:1px solid rgba(255,255,255,.5);border-radius:50%;display:grid;place-items:center;font-size:16px;color:#fff;transition:background .2s ease,border-color .2s ease}
.social a:hover,.social a:focus-visible{background:rgba(255,255,255,.14);border-color:#fff}
.social svg{width:18px;height:18px;fill:currentColor}
.copy{text-align:center;margin-top:20px;border-top:1px solid rgba(255,255,255,.14);padding-top:12px;font-size:10px;color:#bfd6e5}
.footer-signature{text-align:center;margin-top:6px;font-size:14px;color:#0a6ebd}
.footer-signature a{font-size:inherit;line-height:inherit;color:#0a6ebd;font-weight:700;text-decoration:none}
.footer-signature a:hover,.footer-signature a:focus-visible{text-decoration:underline;color:#2fa0f5}

.mobile-actions{display:none}

@media(max-width:1200px){
  .navbar{height:64px}.brand img{height:38px}.nav{display:none}.menu-btn{display:block}
  .navbar.nav-open .nav{display:flex;flex-direction:column;align-items:stretch;gap:0;position:absolute;top:64px;left:0;right:0;background:#003763;padding:8px 16px 16px;box-shadow:0 12px 24px rgba(0,20,40,.25)}
  .navbar.nav-open .nav a,.navbar.nav-open .nav .nav-pending{padding:12px 2px;border-bottom:1px solid rgba(255,255,255,.12);display:block}
  .navbar.nav-open .nav .book{margin-top:12px;text-align:center;border-bottom:none}
  .navbar.nav-open .nav .nav-call{padding:12px 2px;border-bottom:1px solid rgba(255,255,255,.12)}
  .topbar-urgent{display:none}
}
@media(max-width:900px){
  .hero-inner{flex-direction:column;padding-left:0}.hero-copy{width:auto;padding:34px 16px 18px max(16px,calc((100vw - 1170px)/2))}.hero h1{font-size:42px}.hero-photo{min-height:310px;mask-image:none;-webkit-mask-image:none}
  .trust{grid-template-columns:1fr 1fr}.trust-item:nth-child(2){border-right:0}
  .help-grid{grid-template-columns:repeat(3,1fr)}
  .story{grid-template-columns:1fr}.story-copy{padding:26px}
  .treatment-grid{grid-template-columns:repeat(3,1fr)}
  .team-grid{grid-template-columns:repeat(3,1fr)}
  .two-panels{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr;gap:18px}.step:after{display:none}
  .location-strip{grid-template-columns:1fr}.map{min-height:210px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .mobile-actions{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;bottom:0;left:0;right:0;z-index:100;background:#fff;box-shadow:0 -5px 18px rgba(0,0,0,.12)}
  .mobile-actions a{padding:12px 6px;text-align:center;color:#064678;font-size:11px;font-weight:800;border-right:1px solid #dce7ef}
  body{padding-bottom:48px}
}
@media(max-width:560px){
  .container{width:min(100% - 20px,1170px)}
  .topbar{font-size:9px}
  .hero h1{font-size:35px}.hero p{font-size:13px}
  .hero-actions{gap:8px}.btn{padding:0 14px;font-size:10px}
  .trust{grid-template-columns:1fr}.trust-item{border-right:0;border-bottom:1px solid #dbe6ee}.trust-item:last-child{border-bottom:0}
  .title{font-size:28px}.help-grid{grid-template-columns:repeat(2,1fr)}
  .story-copy h2{font-size:27px}
  .treatment-grid{grid-template-columns:1fr 1fr}
  .team-grid{grid-template-columns:1fr 1fr}
  .panel{grid-template-columns:1fr}.panel img{height:190px}
  .reviews{grid-template-columns:1fr}.steps{grid-template-columns:1fr}
  .cta .container{gap:18px;flex-direction:column;padding:18px 0}.cta{text-align:center}
  .footer-grid{grid-template-columns:1fr}
  .footer-signature{text-align:center;font-size:13px}
}


.team-carousel-wrap{display:flex;align-items:center;gap:14px}
.team-carousel{flex:1;min-width:0;overflow:hidden}
.team-track{display:flex;width:max-content;will-change:transform}
.team-track-set{display:flex}
.team-track .member{flex:0 0 clamp(148px,16vw,210px);width:clamp(148px,16vw,210px);margin-right:18px;box-shadow:0 4px 14px rgba(3,62,112,.05)}
.team-track .member img{width:100%;aspect-ratio:1122/1402;height:auto;object-fit:cover;object-position:center 18%}
.team-note{font-size:12px;color:#6b8599;margin:10px 0 0;text-align:center}
.team-nav{flex:none;width:42px;height:42px;border-radius:50%;border:1px solid #dce7ef;background:#fff;color:#0a6ebd;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 14px rgba(3,62,112,.08);transition:background .2s ease,border-color .2s ease,transform .15s ease}
.team-nav svg{width:20px;height:20px;pointer-events:none}
.team-nav:hover{background:#f0f8fc;border-color:#b8d8ea}
.team-nav:focus-visible{outline:2px solid #0a6ebd;outline-offset:2px}
.team-nav:active{transform:scale(.94)}
@media(max-width:900px){
  .team-carousel{overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;scrollbar-width:none}
  .team-carousel::-webkit-scrollbar{display:none}
  .team-track{width:max-content}
  .team-track-set[aria-hidden]{display:none}
  .team-track .member{flex-basis:148px;width:148px;scroll-snap-align:start}
  .team-nav{width:36px;height:36px}
  .team-nav svg{width:17px;height:17px}
}
@media(max-width:560px){
  .team-track .member{flex-basis:132px;width:132px;margin-right:12px}
  .team-carousel-wrap{gap:8px}
}

/* TAREFA 03.9.2: ícones de serviços, cartões de tratamentos alinhados, opiniões Google, mapa real */
.help-card svg{width:46px;height:46px;margin:0 auto 8px}
.t-card{display:flex;flex-direction:column}
.t-card img{aspect-ratio:4/3;height:auto;max-height:150px}
.t-body{display:flex;flex-direction:column;flex:1}
.t-body h3 a{color:inherit}
.t-body h3 a:hover,.t-body h3 a:focus-visible{text-decoration:underline}
.t-body .more{margin-top:auto;padding-top:2px}
.reviews-note{text-align:center;font-size:12px;color:#5b7790;margin:-6px 0 16px}
.review{display:flex;flex-direction:column;padding:18px 20px}
.review p{font-size:12px;line-height:1.55;margin:8px 0 12px;flex:1}
.review strong{font-size:12px}
.review-src{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:1;color:#5f6368;margin-top:6px}
.review-src .g-logo{width:16px;height:16px;flex:none;display:block}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.map-open{position:absolute;left:10px;bottom:10px;background:#fff;color:#034c83;font-size:11px;font-weight:700;padding:6px 10px;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.map:before{display:none}
@media(max-width:900px){.map{min-height:300px}}

/* TAREFA 04.1: paginas de tratamento (implantes/ortodontia) mantem o botao de avaliacao visivel em mobile;
   ancoras nao ficam por baixo do cabecalho sticky; o botao flutuante de implantes nao tapa conteudo em mobile */
section[id]{scroll-margin-top:76px}
@media(max-width:900px){
  .treatment-page .nav{display:flex;gap:0}
  .treatment-page .nav a:not(.book){display:none}
  .treatment-page .brand img{height:32px}
  .treatment-page .nav .book{padding:9px 12px;font-size:11px;line-height:1.2}
  section[id]{scroll-margin-top:72px}
}

/* TAREFA 04.3: ligação discreta "Conhecer perfil" nos cartões da equipa (não altera o carrossel) */
.member-link{display:inline-block;margin:-2px 8px 12px;padding:4px 2px;font-size:11px;font-weight:700;color:#0a6ebd;border-bottom:1px solid transparent;transition:color .25s ease,border-color .25s ease}
.member-link:hover,.member-link:focus-visible{color:#10477b;border-bottom-color:currentColor}
.member-link:focus-visible{outline:2px solid #0a6ebd;outline-offset:2px;border-radius:3px}

/* Google Maps «clicar para carregar» (sem ligação à Google até ao clique) */
.map-consent{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:18px 18px 52px;text-align:center;color:#0b3a63;font-size:13px;line-height:1.5}
.map-consent p{margin:0;max-width:340px}
.map-consent-btn{cursor:pointer;border:0;border-radius:8px;padding:12px 22px;min-height:44px;background:linear-gradient(90deg,#004073,#003763);color:#fff;font:700 14px/1 inherit;font-family:inherit}
.map-consent-btn:hover{background:#0a5a9a}
.map-consent-btn:focus-visible,.map-open:focus-visible{outline:3px solid #0ca8dd;outline-offset:2px}
