/* RM Clínica Dentária — CSS completo */
/* Cores extraídas do logo: teal #4a9e8c | lime #a8c84a */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #4a9e8c;
  --teal-dark:   #357a6c;
  --teal-deep:   #1e5249;
  --teal-navy:   #112e2a;
  --teal-light:  #7ec4b8;
  --teal-pale:   #e0f4f0;
  --teal-ultra:  #f2fbf9;
  --lime:        #a8c84a;
  --lime-dark:   #7fa332;
  --lime-pale:   #eef5d0;
  --dark:        #111827;
  --mid:         #374151;
  --muted:       #6b7280;
  --border:      #d9ede9;
  --bg:          #f8fdfb;
  --white:       #ffffff;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--dark); font-size: 16px; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(248,253,251,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 70px; transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(74,158,140,.1); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 56px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: .05rem; list-style: none; }
.nav-links a { font-size: .875rem; color: var(--mid); padding: .4rem .65rem; border-radius: 8px; transition: color .2s, background .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--teal-dark); background: var(--teal-ultra); }
.nav-cta { display: flex !important; align-items: center; gap: .4rem; background: var(--teal) !important; color: white !important; padding: .5rem 1.1rem !important; border-radius: 100px !important; font-weight: 500 !important; transition: background .2s !important; }
.nav-cta:hover { background: var(--teal-dark) !important; color: white !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .3s; }

/* ── BUTTONS ── */
.btn-primary { display: inline-flex; align-items: center; gap: .5rem; background: var(--teal); color: white; padding: .875rem 1.75rem; border-radius: 100px; font-size: .95rem; font-weight: 500; font-family: 'DM Sans', sans-serif; border: none; cursor: pointer; transition: background .2s, transform .15s; }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); color: white; }
.btn-ghost { display: inline-flex; align-items: center; gap: .4rem; background: var(--teal-pale); color: var(--teal-dark); padding: .875rem 1.5rem; border-radius: 100px; font-size: .95rem; font-weight: 500; border: none; cursor: pointer; transition: background .2s; }
.btn-ghost:hover { background: #c8e8e2; color: var(--teal-deep); }
.btn-white { display: inline-flex; align-items: center; gap: .5rem; background: white; color: var(--teal-dark); padding: .875rem 1.75rem; border-radius: 100px; font-size: .95rem; font-weight: 600; border: none; cursor: pointer; transition: background .2s, transform .15s; }
.btn-white:hover { background: var(--teal-pale); transform: translateY(-2px); color: var(--teal-dark); }
.btn-white.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-outline-w { display: inline-flex; align-items: center; gap: .5rem; background: transparent; color: white; border: 2px solid rgba(255,255,255,.5); padding: .875rem 1.75rem; border-radius: 100px; font-size: .95rem; font-weight: 500; transition: background .2s, border-color .2s; }
.btn-outline-w:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.85); color: white; }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 70px; background: var(--bg); }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem; display: grid; grid-template-columns: 1.15fr 1fr; gap: 5rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--teal-pale); color: var(--teal-dark); font-size: .78rem; font-weight: 500; padding: .375rem 1rem; border-radius: 100px; margin-bottom: 1.75rem; width: fit-content; letter-spacing: .02em; }
.badge-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero-text h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem,4vw,3.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; margin-bottom: 1.5rem; color: var(--dark); }
.hero-text h1 em { font-style: italic; color: var(--teal); }
.hero-lead { font-size: 1.05rem; color: var(--mid); font-weight: 300; margin-bottom: 2rem; line-height: 1.8; max-width: 480px; }
.hero-ctas { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-hours { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--muted); }
.hero-hours svg { stroke: var(--muted); flex-shrink: 0; }
.hero-visual { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-logo-card { background: var(--teal); border-radius: 24px; padding: 2.5rem 2rem; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; box-shadow: 0 12px 48px rgba(74,158,140,.25); }
.hero-logo-img { width: 200px; height: auto; }
.hero-logo-tagline { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-style: italic; color: rgba(255,255,255,.75); text-align: center; }
.hero-feats { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.hero-feat { background: white; border-radius: 14px; padding: 1rem; border: 1px solid var(--border); display: flex; align-items: flex-start; gap: .75rem; }
.feat-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feat-icon svg { width: 18px; height: 18px; stroke: var(--teal); }
.hero-feat strong { display: block; font-size: .82rem; font-weight: 500; color: var(--dark); margin-bottom: .15rem; line-height: 1.3; }
.hero-feat span { font-size: .75rem; color: var(--muted); line-height: 1.3; }

/* ── PHONE BAR ── */
.phone-bar { background: var(--teal-deep); padding: 1rem 2rem; }
.phone-bar-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; font-size: .875rem; color: rgba(255,255,255,.8); }
.phone-bar-inner svg { stroke: rgba(255,255,255,.6); flex-shrink: 0; }
.phone-pill { background: rgba(255,255,255,.15); color: white; padding: .3rem .9rem; border-radius: 100px; font-weight: 600; font-size: .875rem; border: 1px solid rgba(255,255,255,.25); transition: background .2s; }
.phone-pill:hover { background: rgba(255,255,255,.25); color: white; }
.phone-sep { color: rgba(255,255,255,.35); font-size: .8rem; }

/* ── SECTIONS ── */
.sec { padding: 6rem 2rem; }
.sec-light { background: var(--teal-ultra); }
.sec-teal { background: var(--teal-deep); }
.wrap { max-width: 1200px; margin: 0 auto; }
.sec-head { margin-bottom: 3.5rem; }
.sec-head p { font-size: .95rem; color: var(--muted); margin-top: .75rem; font-weight: 300; line-height: 1.75; max-width: 560px; }
.sec-tag { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem; }
.sec-tag-light { display: inline-block; font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem; }
h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; color: var(--dark); }
h2 em { font-style: italic; color: var(--teal); }
.h2-white { color: white !important; }
.h2-white em { color: var(--teal-light) !important; }

/* ── TREATMENTS ── */
.treat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-bottom: 2.5rem; }
.treat-card { background: white; border-radius: 18px; padding: 1.75rem; border: 1px solid var(--border); transition: transform .25s, box-shadow .25s, border-color .25s; }
.treat-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(74,158,140,.12); border-color: var(--teal-pale); }
.treat-card.treat-featured { border: 2px solid var(--lime); background: linear-gradient(135deg, var(--teal-ultra) 0%, white 100%); }
.treat-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.treat-card.treat-featured .treat-icon { background: var(--lime-pale); }
.treat-icon svg { width: 24px; height: 24px; stroke: var(--teal); }
.treat-card.treat-featured .treat-icon svg { stroke: var(--lime-dark); }
.treat-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; color: var(--dark); line-height: 1.3; }
.treat-card p { font-size: .85rem; color: var(--muted); line-height: 1.75; }
.treat-cta { display: inline-block; margin-top: .75rem; font-size: .78rem; font-weight: 600; color: var(--lime-dark); text-transform: uppercase; letter-spacing: .06em; }
.treat-cta-wrap { text-align: center; }

/* ── ABOUT ── */
.about-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: center; }
.about-left p { font-size: .95rem; color: rgba(255,255,255,.65); font-weight: 300; line-height: 1.85; margin-bottom: 1rem; }
.about-checks { display: flex; flex-direction: column; gap: .85rem; }
.ac { display: flex; align-items: center; gap: .85rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: .75rem 1rem; }
.ac svg { stroke: var(--lime); flex-shrink: 0; }
.ac span { font-size: .875rem; color: rgba(255,255,255,.8); }

/* ── TEAM ── */
.team-wrap { max-width: 640px; }
.team-card { background: var(--bg); border-radius: 20px; padding: 2.5rem; border: 1px solid var(--border); display: flex; align-items: flex-start; gap: 1.5rem; }
.team-av { width: 64px; height: 64px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 700; color: white; flex-shrink: 0; box-shadow: 0 4px 16px rgba(74,158,140,.3); }
.team-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; margin-bottom: .2rem; color: var(--dark); }
.team-role { font-size: .72rem; color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; display: block; margin-bottom: .75rem; }
.team-info p { font-size: .88rem; color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.team-specs { display: flex; flex-wrap: wrap; gap: .5rem; }
.team-specs span { background: var(--teal-pale); color: var(--teal-dark); font-size: .75rem; font-weight: 500; padding: .25rem .75rem; border-radius: 100px; }

/* ── COMODIDADES ── */
.como-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1rem; }
.como-item { background: white; border-radius: 16px; padding: 1.5rem 1rem; text-align: center; border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: .75rem; transition: transform .2s, box-shadow .2s; }
.como-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(74,158,140,.1); }
.como-item svg { stroke: var(--teal); }
.como-item span { font-size: .8rem; color: var(--mid); font-weight: 500; line-height: 1.3; }

/* ── CTA BIG ── */
.cta-big { background: var(--teal); padding: 6rem 2rem; text-align: center; }
.cta-big-inner { max-width: 680px; margin: 0 auto; }
.cta-big h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem,3vw,2.6rem); font-weight: 700; color: white; line-height: 1.25; letter-spacing: -.03em; margin-bottom: 1rem; }
.cta-big h2 em { font-style: italic; color: rgba(255,255,255,.75); }
.cta-big > div > p { color: rgba(255,255,255,.7); font-size: .95rem; font-weight: 300; margin-bottom: 2rem; }
.cta-phones { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-left h2 { margin-bottom: 1.5rem; }
.ci-list { display: flex; flex-direction: column; gap: 1.5rem; }
.ci { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-icon svg { width: 18px; height: 18px; stroke: var(--teal); }
.ci span { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; display: block; margin-bottom: .2rem; }
.ci p { font-size: .93rem; color: var(--dark); line-height: 1.6; }
.ci a { color: var(--teal); transition: opacity .2s; }
.ci a:hover { opacity: .75; }
.contact-map { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 4px 24px rgba(74,158,140,.08); }

/* ── FOOTER ── */
.footer { background: var(--teal-navy); padding: 4rem 2rem 2rem; }
.footer-top { max-width: 1200px; margin: 0 auto 3rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-logo { height: 80px; width: auto; margin-bottom: 1rem; }
.footer-brand > p { font-size: .85rem; color: rgba(255,255,255,.35); font-style: italic; line-height: 1.6; }
.footer-col h4 { font-size: .7rem; font-weight: 600; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { font-size: .875rem; color: rgba(255,255,255,.4); margin-bottom: .6rem; line-height: 1.55; }
.footer-col li.closed { color: rgba(255,255,255,.2); }
.footer-col b { color: rgba(255,255,255,.6); }
.footer-col a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.25); }
.footer-bottom a { font-size: .75rem; color: rgba(255,255,255,.3); border: 1px solid rgba(255,255,255,.1); padding: .3rem .75rem; border-radius: 6px; transition: color .2s, border-color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.3); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .treat-grid { grid-template-columns: repeat(2,1fr); }
  .como-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 2rem; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .about-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 1rem; gap: .25rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .treat-grid, .contact-wrap { grid-template-columns: 1fr; }
  .como-grid { grid-template-columns: repeat(2,1fr); }
  .hero-feats { grid-template-columns: 1fr; }
  .phone-bar-inner { justify-content: center; text-align: center; }
  .sec { padding: 4rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-phones, .hero-ctas { flex-direction: column; align-items: center; }
  .team-card { flex-direction: column; }
}
@media (max-width: 480px) {
  .como-grid { grid-template-columns: 1fr 1fr; }
  .hero-logo-img { width: 160px; }
}
