/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0ea5a4;        /* teal inspired by dental chair */
  --primary-dark: #0b7b7a;
  --primary-light: #e6f7f7;
  --accent: #1e3a5f;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 10px 30px rgba(14,165,164,.12);
  --shadow-lg: 0 20px 60px rgba(14,165,164,.2);
  --radius: 14px;
  --radius-lg: 24px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--accent); font-weight: 700; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: 2px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: .75rem;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: .75rem; }
.section-head p { color: var(--text-light); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,.25); }
.btn-whatsapp:hover { background: #1ebe57; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: .65rem 1.25rem; font-size: .88rem; }
.btn-full { width: 100%; }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-icon { font-size: 1.8rem; }
.logo-text strong { display: block; font-size: 1rem; color: var(--accent); }
.logo-text em { font-style: normal; font-size: .8rem; color: var(--primary); font-weight: 500; }
.nav { display: flex; gap: 2rem; }
.nav a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--text);
  transition: color .2s;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .25s;
}
.nav a:hover { color: var(--primary); }
.nav a:hover::after { width: 100%; }
.burger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ============ HERO ============ */
.hero {
  padding: 5rem 0 6rem;
  background:
    radial-gradient(circle at 10% 20%, rgba(14,165,164,.08), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(14,165,164,.1), transparent 40%),
    var(--bg-soft);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
}
.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.highlight {
  background: linear-gradient(120deg, var(--primary) 0%, #4dd0cf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2rem; max-width: 540px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.trust-item strong {
  display: block;
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 700;
}
.trust-item span { font-size: .85rem; color: var(--text-light); }

.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-photo {
  width: 420px; height: 420px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: float 6s ease-in-out infinite;
  border: 8px solid #fff;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pulse {
  position: absolute;
  inset: -20px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  opacity: .3;
  animation: pulse 2.5s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.95); opacity: .5; }
  100% { transform: scale(1.15); opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ============ SERVICES ============ */
.services { padding: 6rem 0; background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  padding: 2.25rem 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px;
  background: var(--primary-light);
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.service-card p { color: var(--text-light); font-size: .95rem; }

/* ============ ABOUT ============ */
.about { padding: 6rem 0; background: var(--bg-soft); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.img-placeholder {
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border: 2px dashed var(--primary);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  font-weight: 600;
  aspect-ratio: 4/5;
  font-size: .95rem;
}
.img-placeholder.big { aspect-ratio: 3/4; font-size: 1.1rem; }
.about h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.about-text > p { color: var(--text-light); margin-bottom: 1.5rem; }
.check-list { list-style: none; margin-bottom: 2rem; }
.check-list li {
  padding: .6rem 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

/* ============ GALLERY ============ */
.gallery { padding: 6rem 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.08); }

.about-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ============ REVIEWS ============ */
.reviews { padding: 6rem 0; background: var(--bg-soft); }
.stars-big {
  margin-top: 1rem;
  font-size: 1.5rem;
  color: #fbbf24;
  letter-spacing: 3px;
}
.stars-big span { color: var(--accent); font-weight: 700; margin-left: .5rem; letter-spacing: normal; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .3s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { color: #fbbf24; margin-bottom: 1rem; letter-spacing: 2px; }
.review-card p { color: var(--text); margin-bottom: 1rem; font-style: italic; }
.review-card footer { color: var(--text-light); font-size: .9rem; font-weight: 500; }

/* ============ CTA STRIP ============ */
.cta-strip {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .5rem; }
.cta-strip p { opacity: .95; }

/* ============ CONTACT ============ */
.contact { padding: 6rem 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}
.contact-info h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.contact-info > p { color: var(--text-light); margin-bottom: 2rem; }
.contact-list { list-style: none; margin-bottom: 2rem; }
.contact-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.contact-list a { color: var(--primary); font-weight: 600; }
.socials { display: flex; gap: 1rem; }
.socials a {
  padding: .6rem 1.1rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  transition: all .2s;
}
.socials a:hover { background: var(--primary); color: #fff; }

.contact-form {
  background: var(--bg-soft);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.contact-form h3 { margin-bottom: 1.5rem; font-size: 1.35rem; }
.contact-form label {
  display: block;
  margin-bottom: 1rem;
}
.contact-form label span {
  display: block;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: .35rem;
  color: var(--text);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,165,164,.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form small {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: var(--text-light);
  font-size: .8rem;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--accent);
  color: #cbd5e1;
  padding: 3.5rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer strong { color: #fff; display: block; margin-bottom: .5rem; font-size: 1.05rem; }
.footer h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.footer a {
  display: block;
  padding: .3rem 0;
  color: #cbd5e1;
  font-size: .9rem;
  transition: color .2s;
}
.footer a:hover { color: var(--primary); }
.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: .85rem;
}

/* ============ HEADER CTAS ============ */
.header-ctas { display: flex; gap: .6rem; align-items: center; }

/* ============ SECTION CTA ============ */
.section-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
}
.section-cta p {
  margin-bottom: 1.25rem;
  font-weight: 500;
  color: var(--accent);
}
.section-cta .btn { margin: .35rem; }

/* ============ FLOATING BUTTONS ============ */
.floats {
  position: fixed;
  bottom: 24px; right: 24px;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  z-index: 100;
}
.float-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  transition: all .25s;
  position: relative;
}
.float-btn:hover { transform: scale(1.1); }
.float-wa { background: #25D366; animation: float 3s ease-in-out infinite; }
.float-call { background: var(--primary); animation: float 3s ease-in-out infinite .5s; }
.float-label {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: #1f2937;
  color: #fff;
  padding: .4rem .8rem;
  border-radius: 6px;
  font-size: .8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.float-btn:hover .float-label { opacity: 1; }

/* ============ MOBILE STICKY BAR ============ */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  padding: .6rem;
  gap: .5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  z-index: 99;
  border-top: 1px solid var(--border);
}
.mobile-cta {
  flex: 1;
  text-align: center;
  padding: .75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: .9rem;
  color: #fff;
}
.mobile-cta.call { background: var(--primary); }
.mobile-cta.wa { background: #25D366; }
.mobile-cta.rdv { background: var(--accent); }

/* ============ MODAL ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.open { display: flex; animation: modalFade .2s ease; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .7);
  backdrop-filter: blur(4px);
}
.modal-box {
  position: relative;
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalPop .25s ease;
}
.modal-icon {
  width: 72px; height: 72px;
  margin: 0 auto 1rem;
  background: var(--primary-light);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2rem;
}
.modal-box h3 { margin-bottom: .75rem; font-size: 1.4rem; }
.modal-box p { color: var(--text-light); margin-bottom: .75rem; }
.modal-box strong { color: var(--accent); }
.modal-hours {
  background: var(--bg-soft);
  padding: .75rem;
  border-radius: 8px;
  font-size: .88rem;
  margin: 1rem 0 1.5rem !important;
}
.modal-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.modal-actions .btn { flex: 1; min-width: 140px; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop {
  from { transform: scale(.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner,
  .about-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .hero-photo { width: 300px; height: 300px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-ctas .btn-outline { display: none; }
  .mobile-bar { display: flex; }
  .floats { bottom: 80px; right: 16px; }
  .floats .float-btn { width: 52px; height: 52px; }
  body { padding-bottom: 70px; }
  .hero-ctas .btn { width: 100%; }
  .hero { padding: 3rem 0 4rem; }
  .services, .about, .gallery, .reviews, .contact { padding: 4rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-trust { gap: 1.5rem; }
  .trust-item strong { font-size: 1.3rem; }
  .contact-form { padding: 1.75rem; }
}
