/* ===========================================================
   PulmoCor Fisioterapia Especializada — Design System
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --teal: #0B6F73;
  --teal-dark: #123B3E;
  --teal-deep: #0A2620;
  --coral: #C6604F;
  --coral-dark: #A84A3B;
  --gold: #A9843F;
  --gold-light: #D8C08B;
  --cream: #F6F2E9;
  --cream-2: #EFEAE0;
  --white: #FFFFFF;
  --ink: #1E2A29;
  --ink-soft: #5A6664;
  --line: #E3DDCD;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --container: 1180px;
  --radius: 4px;
  --radius-sm: 3px;
  --shadow: 0 18px 40px -28px rgba(10,38,32,0.45);
  --shadow-sm: 0 10px 24px -16px rgba(10,38,32,0.30);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:500;
  line-height:1.18;
  letter-spacing:-0.01em;
  margin:0 0 .5em;
  color:var(--teal-deep);
}
p{ margin:0 0 1em; }
.container{ max-width:var(--container); margin:0 auto; padding:0 32px; }
section{ padding:104px 0; }
@media (max-width:780px){ section{ padding:64px 0; } .container{ padding:0 22px; } }

.eyebrow{
  display:flex; align-items:center; gap:10px;
  font-size:11.5px; font-weight:600; letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold);
  margin-bottom:20px;
}
.eyebrow::before{ content:""; width:32px; height:1px; background:var(--gold); flex:none; }

.section-title{ font-size:clamp(28px,3.6vw,38px); max-width:680px; font-weight:400; }
.section-lede{ font-size:17px; color:var(--ink-soft); max-width:600px; margin-bottom:0; line-height:1.7; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 28px; border-radius:var(--radius-sm);
  font-weight:600; font-size:12.5px; letter-spacing:.08em; text-transform:uppercase;
  border:1px solid transparent;
  cursor:pointer; transition:border-color .2s ease, background .2s ease, color .2s ease, opacity .2s ease;
  white-space:nowrap;
}
.btn svg{ width:16px; height:16px; flex:none; }
.btn-primary{ background:var(--teal-deep); color:#fff; border-color:var(--teal-deep); }
.btn-primary:hover{ background:var(--teal-dark); border-color:var(--teal-dark); }
.btn-ghost{ background:transparent; border-color:rgba(255,255,255,.4); color:#fff; }
.btn-ghost:hover{ border-color:#fff; background:rgba(255,255,255,.06); }
.btn-outline{ background:transparent; border-color:var(--teal); color:var(--teal); }
.btn-outline:hover{ background:var(--teal); color:#fff; }
.btn-sm{ padding:10px 18px; font-size:13px; }
.btn-block{ width:100%; justify-content:center; }

/* ---------- Header ---------- */
body{ border-top:3px solid var(--gold); }
.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 0;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:38px; width:auto; }
.brand-text{ font-family:var(--font-display); font-weight:500; font-size:19px; color:var(--teal-deep); }
.brand-text span{ color:var(--coral); }

.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{
  font-size:12px; font-weight:600; color:var(--teal-deep);
  text-transform:uppercase; letter-spacing:.09em;
  position:relative; padding:6px 0;
}
.nav-links a:hover{ color:var(--gold); }
.nav-links a:hover{ color:var(--gold); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:24px; height:2px; background:var(--teal-deep);
  position:relative; transition:.2s;
}
.nav-toggle span::before{ position:absolute; top:-8px; }
.nav-toggle span::after{ position:absolute; top:8px; }

.dropdown{ position:relative; }
.dropdown-menu{
  position:absolute; top:100%; left:50%; transform:translateX(-50%);
  background:#fff; border:1px solid var(--line); box-shadow:var(--shadow);
  min-width:260px; padding:8px; margin-top:14px;
  opacity:0; visibility:hidden; translate:0 6px;
  transition:.18s ease;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu{
  opacity:1; visibility:visible; translate:0 0;
}
.dropdown-menu a{
  display:block; padding:10px 14px; font-size:14px;
}
.dropdown-menu a:hover{ background:var(--cream); color:var(--gold); }

@media (max-width:960px){
  .nav-links{
    position:fixed; inset:64px 0 0 0; background:#fff; flex-direction:column;
    align-items:flex-start; padding:24px; gap:4px; overflow:auto;
    transform:translateX(100%); transition:transform .25s ease; z-index:55;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ padding:14px 4px; width:100%; border-bottom:1px solid var(--line); }
  .dropdown-menu{ position:static; transform:none; opacity:1; visibility:visible; box-shadow:none; display:none; margin:0 0 6px; width:100%; }
  .dropdown.open .dropdown-menu{ display:block; }
  .nav-toggle{ display:block; }
  .nav-cta .btn-sm-desktop{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden;
  background:var(--teal-deep);
  color:#fff; padding:120px 0 130px;
}
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:80px; align-items:center; }
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; gap:48px; } }
.hero h1{ color:#fff; font-weight:400; font-size:clamp(32px,4.4vw,50px); line-height:1.22; max-width:600px; }
.hero .lede{ font-size:18px; line-height:1.75; color:rgba(255,255,255,.72); max-width:480px; margin-bottom:36px; font-family:var(--font-body); }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:52px; }
.hero-pills{ display:flex; gap:0; flex-wrap:wrap; border-top:1px solid rgba(255,255,255,.16); padding-top:28px; }
.hero-pill{ display:flex; flex-direction:column; gap:4px; padding-right:36px; margin-right:36px; border-right:1px solid rgba(255,255,255,.16); }
.hero-pill:last-child{ border-right:none; }
.hero-pill strong{ font-family:var(--font-display); font-weight:400; font-size:24px; }
.hero-pill span{ font-size:11px; color:rgba(255,255,255,.55); text-transform:uppercase; letter-spacing:.12em; }
.hero-media{ position:relative; border:1px solid rgba(255,255,255,.14); }
.hero-media img{ width:100%; height:100%; object-fit:cover; aspect-ratio:6/5; filter:grayscale(.15) contrast(1.05); }
.hero-badge{
  position:absolute; left:-1px; bottom:-1px; background:var(--cream); color:var(--teal-deep);
  padding:16px 20px; max-width:260px; border-top:1px solid var(--gold);
  display:flex; align-items:center; gap:12px;
}
@media (max-width:900px){ .hero-badge{ left:0; bottom:0; } }
.hero-badge-icon{ width:34px; height:34px; flex:none; object-fit:contain; }
.hero-media img.hero-badge-icon{ width:34px; height:34px; aspect-ratio:1; object-fit:contain; filter:none; }
.hero-badge strong{ display:block; font-family:var(--font-display); font-weight:500; font-size:15px; margin-bottom:2px; }
.hero-badge span{ font-size:11.5px; color:var(--ink-soft); line-height:1.5; text-transform:uppercase; letter-spacing:.04em; }

/* ---------- Pillars / Cards ---------- */
.pillars-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin-top:56px; background:var(--line); border:1px solid var(--line); }
@media (max-width:860px){ .pillars-grid{ grid-template-columns:1fr; } }
.pillar-card{
  background:#fff; padding:40px 34px;
}
.pillar-card .num{
  display:block; font-family:var(--font-display); font-weight:400; font-size:15px; color:var(--gold);
  margin-bottom:20px; letter-spacing:.05em;
}
.pillar-card h3{ font-size:19px; font-weight:500; margin-bottom:12px; }
.pillar-card p{ color:var(--ink-soft); font-size:14.5px; line-height:1.7; margin:0; }

/* ---------- Section variants ---------- */
.section-alt{ background:var(--cream); }
.section-dark{ background:var(--teal-deep); color:#fff; }
.section-dark h2, .section-dark h3{ color:#fff; }
.section-dark .section-lede{ color:rgba(255,255,255,.75); }

.split{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; gap:32px; } }
.split img, .split .img-wrap{ border:1px solid var(--line); filter:grayscale(.2) contrast(1.03); }
.split.reverse .split-media{ order:2; }
@media (max-width:900px){ .split.reverse .split-media{ order:0; } }

.checklist li{ display:flex; gap:12px; margin-bottom:14px; align-items:flex-start; font-size:15.5px; }
.checklist li svg{ flex:none; width:20px; height:20px; margin-top:2px; color:var(--coral); }

/* ---------- Team ---------- */
.team-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin-top:56px; background:var(--line); border:1px solid var(--line); }
@media (max-width:860px){ .team-grid{ grid-template-columns:1fr; max-width:420px; margin-left:auto; margin-right:auto; background:none; border:none; gap:24px; } }
.team-card{
  background:#fff; overflow:hidden; transition:opacity .2s ease;
}
.team-card:hover{ opacity:.92; }
.team-card .photo{ aspect-ratio:4/5; overflow:hidden; }
.team-card .photo img{ width:100%; height:100%; object-fit:cover; filter:grayscale(.2) contrast(1.03); }
.team-card .body{ padding:28px; }
.team-card h3{ font-size:19px; font-weight:500; margin-bottom:3px; }
.team-card .role{ color:var(--gold); font-weight:600; font-size:11.5px; text-transform:uppercase; letter-spacing:.1em; margin-bottom:14px; display:block; }
.team-card .crefito{ font-size:12.5px; color:var(--ink-soft); margin-bottom:14px; }
.team-card p{ font-size:14.5px; color:var(--ink-soft); line-height:1.7; }
.team-card .link{ font-weight:600; color:var(--teal-deep); font-size:13.5px; display:inline-flex; align-items:center; gap:6px; border-bottom:1px solid var(--gold); padding-bottom:2px; }

/* ---------- Services grid ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; margin-top:56px; background:var(--line); border:1px solid var(--line); }
@media (max-width:780px){ .services-grid{ grid-template-columns:1fr; } }
.service-card{
  display:flex; gap:20px; background:#fff;
  padding:32px; transition:background .2s;
}
.service-card:hover{ background:var(--cream); }
.service-card .icon{
  flex:none; width:44px; height:44px; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; color:var(--teal-deep);
}
.service-card .icon svg{ width:21px; height:21px; }
.service-card h3{ font-size:17px; font-weight:500; margin-bottom:8px; }
.service-card p{ font-size:14.5px; color:var(--ink-soft); margin-bottom:12px; line-height:1.7; }
.service-card a{ font-weight:600; font-size:13px; color:var(--teal-deep); border-bottom:1px solid var(--gold); padding-bottom:2px; }
.service-card.muted{ opacity:.6; }
.tag-soon{ font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.08em; background:var(--cream); color:var(--gold); border:1px solid var(--line); padding:3px 9px; margin-left:8px; }

/* ---------- Testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin-top:56px; background:var(--line); border:1px solid var(--line); }
@media (max-width:900px){ .testi-grid{ grid-template-columns:1fr; } }
.testi-card{ background:#fff; padding:34px; color:var(--ink); }
.stars{ color:var(--gold); font-size:13px; letter-spacing:2px; margin-bottom:16px; }
.testi-card p{ font-size:15px; color:inherit; font-family:var(--font-display); font-weight:400; line-height:1.6; margin-bottom:20px; }
.testi-name{ font-weight:600; font-size:13px; color:var(--teal-deep); }
.testi-meta{ font-size:11.5px; color:var(--ink-soft); margin-top:2px; }

/* dark-section variant (e.g. testimonials on the Home hero-dark band) */
.section-dark .testi-grid{ background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.14); }
.section-dark .testi-card{ background:var(--teal-deep); color:#fff; }
.section-dark .testi-name{ color:#fff; }
.section-dark .testi-meta{ color:rgba(255,255,255,.55); }

/* ---------- Stats strip ---------- */
.stats-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line); padding:0; margin-top:64px;
}
@media (max-width:780px){ .stats-strip{ grid-template-columns:repeat(2,1fr); } }
.stat{ text-align:center; background:var(--cream); padding:36px 20px; }
.stat strong{ display:block; font-family:var(--font-display); font-weight:400; font-size:28px; margin-bottom:6px; color:var(--teal-deep); }
.stat span{ font-size:11.5px; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.08em; }

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--teal-deep);
  padding:64px 56px; color:#fff; text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:24px;
  border-top:1px solid var(--gold);
}
.cta-band h2{ color:#fff; max-width:600px; font-weight:400; }
.cta-band .btn-primary{ background:#fff; color:var(--teal-deep); border-color:#fff; }
.cta-band .btn-primary:hover{ background:var(--cream); }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--line); }
.faq-item summary{
  cursor:pointer; list-style:none; padding:22px 0; font-weight:700; font-size:16.5px;
  display:flex; align-items:center; justify-content:space-between; color:var(--teal-deep);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; font-size:22px; color:var(--coral); font-weight:400; }
.faq-item[open] summary::after{ content:"–"; }
.faq-item .a{ padding:0 0 24px; color:var(--ink-soft); font-size:15px; max-width:760px; }

/* ---------- Timeline (Como funciona) ---------- */
.timeline{ position:relative; margin-top:50px; }
.timeline::before{
  content:""; position:absolute; left:23px; top:6px; bottom:6px; width:2px; background:var(--line);
}
@media (max-width:700px){ .timeline::before{ left:19px; } }
.tstep{ display:flex; gap:26px; position:relative; padding-bottom:44px; }
.tstep:last-child{ padding-bottom:0; }
.tstep .dot{
  flex:none; width:48px; height:48px; border-radius:50%; background:var(--teal);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:700; font-size:18px; z-index:1;
}
@media (max-width:700px){ .tstep .dot{ width:40px; height:40px; font-size:15px; } }
.tstep h3{ font-size:19px; margin-bottom:8px; }
.tstep p{ color:var(--ink-soft); font-size:15px; margin:0; }

/* ---------- Breadcrumb / page header ---------- */
.page-hero{
  background:var(--cream); padding:56px 0 48px; border-bottom:1px solid var(--line);
}
.breadcrumb{ font-size:13px; color:var(--ink-soft); margin-bottom:14px; }
.breadcrumb a{ color:var(--teal); font-weight:600; }
.page-hero h1{ font-size:clamp(30px,4.2vw,44px); max-width:760px; }
.page-hero .lede{ font-size:17px; color:var(--ink-soft); max-width:640px; }

/* ---------- Profile page ---------- */
.profile-grid{ display:grid; grid-template-columns:340px 1fr; gap:56px; align-items:start; }
@media (max-width:860px){ .profile-grid{ grid-template-columns:1fr; } }
.profile-photo{ overflow:hidden; position:sticky; top:120px; border:1px solid var(--line); }
@media (max-width:860px){ .profile-photo{ position:static; max-width:320px; margin:0 auto; } }
.profile-photo img{ width:100%; aspect-ratio:4/5; object-fit:cover; filter:grayscale(.2) contrast(1.03); }
.profile-card-info{ background:var(--cream); padding:22px; border-radius:0 0 var(--radius) var(--radius); }
.profile-card-info dt{ font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-soft); margin-top:12px; }
.profile-card-info dt:first-child{ margin-top:0; }
.profile-card-info dd{ margin:2px 0 0; font-weight:700; font-size:14.5px; color:var(--teal-deep); }

.profile-body h2{ font-size:24px; margin-top:40px; }
.profile-body h2:first-child{ margin-top:0; }
.profile-body p{ font-size:16px; color:var(--ink-soft); }
.quote-block{
  border-left:3px solid var(--coral); padding:6px 0 6px 22px; margin:28px 0;
  font-family:var(--font-display); font-size:20px; color:var(--teal-deep); font-style:italic;
}

/* ---------- Gallery ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:40px; }
@media (max-width:780px){ .gallery-grid{ grid-template-columns:1fr 1fr; } }
.gallery-grid img{ border-radius:0; aspect-ratio:1; object-fit:cover; width:100%; filter:grayscale(.2) contrast(1.03); }
.gallery-grid .tall{ aspect-ratio:1/1.4; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }
.info-card{
  background:var(--cream); padding:34px; margin-bottom:24px; border-top:1px solid var(--gold);
}
.info-row{ display:flex; gap:16px; margin-bottom:20px; align-items:flex-start; }
.info-row:last-child{ margin-bottom:0; }
.info-row .ic{ flex:none; width:36px; height:36px; border:1px solid var(--line); background:#fff; color:var(--teal-deep); display:flex; align-items:center; justify-content:center; }
.info-row .ic svg{ width:16px; height:16px; }
.info-row strong{ display:block; font-size:13px; color:var(--teal-deep); font-weight:600; }
.info-row span, .info-row a{ font-size:14.5px; color:var(--ink-soft); }
.map-wrap{ border:1px solid var(--line); overflow:hidden; }
.map-wrap iframe{ width:100%; height:280px; border:0; display:block; }

.whatsapp-menu{ display:flex; flex-direction:column; gap:10px; margin-top:14px; }
.wa-option{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  background:#fff; border:1px solid var(--line); padding:16px 18px;
  font-weight:600; font-size:14px; transition:.15s;
}
.wa-option:hover{ border-color:var(--gold); background:var(--cream); }
.wa-option svg{ width:18px; height:18px; color:#25D366; flex:none; }

/* ---------- Blog ---------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin-top:56px; background:var(--line); border:1px solid var(--line); }
@media (max-width:860px){ .blog-grid{ grid-template-columns:1fr; max-width:460px; margin:56px auto 0; background:none; border:none; gap:24px; } }
.blog-card{ background:#fff; overflow:hidden; }
.blog-card .thumb{ aspect-ratio:16/10; background:var(--teal-deep); display:flex; align-items:center; justify-content:center; }
.blog-card .thumb svg{ width:32px; height:32px; color:rgba(255,255,255,.5); }
.blog-card .body{ padding:26px; }
.blog-cat{ font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.08em; color:var(--gold); }
.blog-card h3{ font-size:17px; font-weight:500; margin:10px 0 12px; }
.blog-card p{ font-size:14px; color:var(--ink-soft); margin-bottom:16px; line-height:1.7; }
.blog-card .meta{ font-size:12px; color:var(--ink-soft); opacity:.8; }
article.post p{ font-size:16.5px; color:var(--ink); max-width:720px; line-height:1.8; }
article.post h2{ font-size:24px; font-weight:500; margin-top:40px; max-width:720px; }
article.post .lede{ font-size:19px; color:var(--ink-soft); max-width:720px; font-family:var(--font-display); font-weight:400; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--teal-deep); color:rgba(255,255,255,.75); padding:72px 0 32px; border-top:1px solid var(--gold); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.footer-brand img{ height:32px; }
.footer-brand span{ font-family:var(--font-display); font-weight:500; color:#fff; font-size:18px; }
.site-footer h4{ color:#fff; font-family:var(--font-body); font-weight:600; font-size:11.5px; text-transform:uppercase; letter-spacing:.1em; margin-bottom:18px; }
.site-footer a{ display:block; font-size:14px; margin-bottom:11px; color:rgba(255,255,255,.65); }
.site-footer a:hover{ color:var(--gold-light); }
.footer-bottom{
  margin-top:56px; padding-top:24px; border-top:1px solid rgba(255,255,255,.12);
  display:flex; justify-content:space-between; align-items:center; flex-wrap:nowrap; gap:20px;
  font-size:11.5px; color:rgba(255,255,255,.45); white-space:nowrap; overflow-x:auto;
}
.footer-bottom span{ overflow:hidden; text-overflow:ellipsis; }

/* ---------- WhatsApp float button ---------- */
.wa-float{
  position:fixed; right:24px; bottom:24px; z-index:70;
  width:54px; height:54px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center; box-shadow:0 10px 24px -8px rgba(0,0,0,.4);
  transition:transform .15s;
}
.wa-float:hover{ transform:scale(1.06); }
.wa-float svg{ width:24px; height:24px; color:#fff; }

/* ---------- Misc ---------- */
.badge-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:20px; }
.badge{
  font-size:11.5px; font-weight:600; padding:7px 14px;
  background:transparent; color:var(--ink-soft); border:1px solid var(--line); letter-spacing:.03em;
}
.divider{ height:1px; background:var(--line); margin:56px 0; }
.two-col-text{ columns:2; column-gap:40px; }
@media (max-width:780px){ .two-col-text{ columns:1; } }
