/* =============================================
   ROGÉRIO MELARÉ — LIGHT THEME LANDING PAGE
   Design: Modern, Clean, Healthcare
   ============================================= */

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

:root {
  /* Color Palette - Light & Bright */
  --bg-white:    #ffffff;
  --bg-alt:      #f4f7f6;
  --bg-card:     #ffffff;
  
  --text-main:   #1e293b;
  --text-muted:  #475569;
  --text-light:  #94a3b8;
  
  /* Casa ÍRIS Inspired Accents */
  --teal:        #0f766e;
  --teal-light:  #14b8a6;
  --teal-dim:    rgba(20, 184, 166, 0.1);
  
  --purple:      #6d597a;
  --purple-light:#9b7aab;
  --purple-dim:  rgba(109, 89, 122, 0.1);

  --rose:        #e56b6f;
  --rose-dim:    rgba(229, 107, 111, 0.1);
  
  --gold:        #f0a500;
  --success:     #25d366;

  --border:      #e2e8f0;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.04);
  --shadow-md:   0 12px 32px rgba(0,0,0,0.08);
  --shadow-hover:0 20px 48px rgba(15, 118, 110, 0.12);

  --transition:  cubic-bezier(0.4, 0, 0.2, 1);
  --font-body:   'Inter', sans-serif;
  --font-display:'Playfair Display', serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- HELPERS ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.bg-alt { background-color: var(--bg-alt); }
.bg-white { background-color: var(--bg-white); }
.centered { text-align: center; }
.body-text { color: var(--text-muted); margin-bottom: 24px; font-size: 1.05rem; line-height: 1.7; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s var(--transition); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==============================
   NAVBAR
   ============================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: all 0.3s var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text-main);
}
.brand-logo {
  width: 40px; height: 40px;
  background: var(--teal); color: white;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.brand-sub { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem; font-weight: 500;
  padding: 8px 16px; border-radius: 100px;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--teal); background: var(--teal-dim); }
.nav-cta {
  background: var(--teal); color: white !important;
  margin-left: 12px; padding: 10px 24px; font-weight: 600;
}
.nav-cta:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: 0 4px 12px var(--teal-dim); }

.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text-main); border-radius: 2px; transition: 0.3s; }

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  min-height: 90vh;
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, #ffffff 100%);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-block;
  background: var(--teal-dim); color: var(--teal);
  padding: 6px 16px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 8px;
  color: var(--text-main);
}
.hero-title-accent { color: var(--teal); font-style: italic; }
.hero-role { font-size: 1.4rem; color: var(--purple); font-weight: 600; margin-bottom: 20px; }
.hero-desc { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; max-width: 500px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.tag {
  background: white; border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

.hero-actions { display: flex; align-items: center; gap: 16px; margin-bottom: 48px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  transition: all 0.3s var(--transition); border: none;
}
.btn-primary { background: var(--teal); color: white; }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 10px 20px var(--teal-dim); }
.btn-outline-color { border: 1.5px solid var(--border); background: white; color: var(--text-main); }
.btn-outline-color:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-dim); }
.btn-ghost { color: var(--text-muted); background: transparent; padding: 14px 20px; }
.btn-ghost:hover { color: var(--teal); background: var(--teal-dim); }
.btn-large { padding: 16px 36px; font-size: 1.05rem; }

.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--text-main); line-height: 1; }
.stat-suf { font-size: 1.5rem; color: var(--teal); font-weight: 700; }
.stat-lbl { font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; font-weight: 600; margin-top: 4px; }
.stat-sep { width: 1px; height: 40px; background: var(--border); }

.hero-photo-wrap {
  position: relative;
  width: 100%; max-width: 380px; margin: 0 auto;
}
.photo-frame {
  position: relative; z-index: 2;
  aspect-ratio: 1/1;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border: 4px solid white;
  border-radius: 32px;
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; }
.float-icon { font-size: 1.5rem; background: var(--bg-alt); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.photo-card-float strong, .photo-card-float-2 strong { display: block; font-size: 0.9rem; color: var(--text-main); }
.photo-card-float span, .photo-card-float-2 span { font-size: 0.8rem; color: var(--text-muted); }

@keyframes spin { 100% { transform: rotate(360deg); } }

.hero-wave {
  position: absolute; bottom: 0; left: 0; width: 100%; height: auto; z-index: 1;
  transform: translateY(1px); /* prevent gap */
}

/* ==============================
   SECTION HEADERS
   ============================== */
.section { padding: 100px 0; }
.section-tag {
  display: inline-block;
  background: var(--teal-dim); color: var(--teal);
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--text-main);
  line-height: 1.2; margin-bottom: 20px;
}
.section-title em { color: var(--teal); font-style: italic; }
.section-sub { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto 48px; line-height: 1.6; }

/* ==============================
   SOBRE
   ============================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cred-chips { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.chip {
  display: flex; align-items: center; gap: 16px;
  background: white; border: 1px solid var(--border);
  padding: 16px 20px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.chip-icon { font-size: 1.5rem; }
.chip strong { display: block; color: var(--text-main); font-size: 0.95rem; }
.chip span { color: var(--text-muted); font-size: 0.85rem; }

.values-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.values-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 24px; color: var(--purple); }
.values-list { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.values-list li { display: flex; align-items: flex-start; gap: 16px; }
.value-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--purple-dim); color: var(--purple);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.values-list strong { display: block; font-size: 1rem; color: var(--text-main); margin-bottom: 4px; }
.values-list p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* ==============================
   ESPECIALIDADES
   ============================== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spec-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--transition);
  display: flex; flex-direction: column;
}
.spec-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--teal-dim); }
.spec-featured { border: 2px solid var(--teal-dim); background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%); }

.spec-top { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 24px; gap: 16px; }
.spec-icon-wrap {
  width: 64px; height: 64px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.spec-icon-wrap.purple { background: var(--purple-dim); color: var(--purple); }
.spec-icon-wrap.teal { background: var(--teal-dim); color: var(--teal); }
.spec-icon-wrap.rose { background: var(--rose-dim); color: var(--rose); }
.spec-icon { width: 32px; height: 32px; }

.spec-badge {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 12px; border-radius: 100px;
  background: var(--bg-alt); color: var(--text-muted);
}
.featured-badge { background: var(--teal); color: white; }

.spec-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 12px; line-height: 1.3; color: var(--text-main); }
.spec-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; line-height: 1.6; }
.spec-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; flex-grow: 1; }
.spec-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9rem; color: var(--text-main); }
.spec-list li::before { content: '✓'; color: var(--teal); font-weight: bold; }
.spec-link {
  display: inline-flex; font-weight: 600; color: var(--teal); text-decoration: none;
  font-size: 0.95rem; margin-top: auto; transition: 0.2s;
}
.spec-link:hover { color: var(--teal-light); transform: translateX(4px); }

/* ==============================
   FORMAÇÃO TIMELINE
   ============================== */
.timeline-clean { max-width: 800px; margin: 0 auto; position: relative; }
.timeline-clean::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 40px;
  width: 2px; background: var(--border);
}
.tl-item { display: flex; gap: 32px; padding-bottom: 48px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-marker {
  width: 80px; height: 80px; flex-shrink: 0;
  background: white; border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2; box-shadow: var(--shadow-sm);
  padding: 12px;
}
.tl-logo { width: 100%; height: auto; object-fit: contain; }
.tl-icon-circle { font-size: 2rem; }
.tl-body {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); transition: 0.3s;
  flex-grow: 1;
}
.tl-body:hover { box-shadow: var(--shadow-md); border-color: var(--teal-dim); }
.tl-badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  margin-bottom: 12px;
}
.tl-primary { background: var(--teal-dim); color: var(--teal); }
.tl-secondary { background: var(--rose-dim); color: var(--rose); }
.tl-accent { background: var(--purple-dim); color: var(--purple); }

.tl-body h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 4px; color: var(--text-main); }
.tl-inst { font-weight: 600; color: var(--text-light); font-size: 0.9rem; margin-bottom: 16px; }
.tl-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ==============================
   CASA ÍRIS
   ============================== */
.iris-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 80px; }
.iris-photo-wrap { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.iris-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.iris-photo-wrap:hover .iris-photo { transform: scale(1.05); }
.iris-photo-tag {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  padding: 8px 16px; border-radius: 100px; font-weight: 600; font-size: 0.85rem;
}
.iris-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.iris-pilar {
  background: var(--bg-alt); padding: 12px 16px; border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text-main);
}
.services-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-item {
  background: white; border: 1px solid var(--border); padding: 32px 24px;
  border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-sm);
  transition: 0.3s;
}
.service-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.srv-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 20px; }
.srv-icon.purple { background: var(--purple-dim); }
.srv-icon.rose { background: var(--rose-dim); }
.srv-icon.teal { background: var(--teal-dim); }
.service-item h4 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 12px; }
.service-item p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; line-height: 1.5; }
.srv-btn {
  display: inline-block; font-size: 0.9rem; font-weight: 600; text-decoration: none; color: var(--teal);
}
.srv-btn:hover { color: var(--teal-light); }

/* ==============================
   CONTATO
   ============================== */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  background: white; border-radius: var(--radius-xl); padding: 64px;
  box-shadow: var(--shadow-md);
}
.contact-list { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; background: var(--bg-alt); border-radius: var(--radius-md);
  text-decoration: none; transition: 0.3s; border: 1px solid transparent;
}
a.contact-row:hover { border-color: var(--teal); background: white; box-shadow: var(--shadow-sm); transform: translateX(4px); }
.ctt-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ctt-icon.green { background: rgba(37,211,102,0.1); color: var(--success); }
.ctt-icon.purple { background: var(--purple-dim); color: var(--purple); }
.ctt-icon.teal { background: var(--teal-dim); color: var(--teal); }
.ctt-icon.gold { background: rgba(240,165,0,0.1); color: var(--gold); }
.contact-row strong { display: block; color: var(--text-main); font-size: 0.95rem; margin-bottom: 2px; }
.contact-row span { color: var(--text-muted); font-size: 0.85rem; }
.ctt-arrow { margin-left: auto; color: var(--teal); opacity: 0; transition: 0.3s; }
a.contact-row:hover .ctt-arrow { opacity: 1; transform: translateX(-4px); }

.contact-right { position: relative; }
.cta-box {
  background: var(--teal); color: white; padding: 48px 40px;
  border-radius: var(--radius-lg); text-align: center;
  position: relative; overflow: hidden; box-shadow: 0 20px 40px var(--teal-dim);
}
.cta-box-bg {
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  animation: spin 20s linear infinite;
}
.cta-photo { width: 96px; height: 96px; border-radius: 50%; border: 4px solid white; margin-bottom: 20px; position: relative; z-index: 2; object-fit: cover; }
.cta-box h3 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 12px; position: relative; z-index: 2; }
.cta-box p { font-size: 1rem; opacity: 0.9; margin-bottom: 32px; position: relative; z-index: 2; line-height: 1.6; }
.cta-box .btn { background: white; color: var(--teal); width: 100%; position: relative; z-index: 2; }
.cta-box .btn:hover { background: var(--bg-alt); transform: translateY(-2px); }
.cta-note { font-size: 0.8rem; opacity: 0.8; margin-top: 16px; position: relative; z-index: 2; }

/* ==============================
   FOOTER
   ============================== */
.footer { background: var(--text-main); color: white; padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand p { color: var(--text-light); margin-top: 16px; font-size: 0.9rem; }
.footer-nav h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 20px; }
.footer-nav a, .footer-nav span { display: block; color: var(--text-light); text-decoration: none; font-size: 0.9rem; margin-bottom: 12px; transition: 0.2s; }
.footer-nav a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-light); }
.footer-bottom a { color: var(--text-light); text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* ==============================
   WHATSAPP FLOAT
   ============================== */
.wa-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 60px; height: 60px; background: var(--success); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: white;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4); transition: 0.3s; animation: float 3s infinite;
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }
.wa-tooltip {
  position: absolute; right: 76px; background: white; color: var(--text-main);
  padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600;
  box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transition: 0.3s; transform: translateX(10px);
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
  .hero-actions { justify-content: center; }
  .photo-card-float, .photo-card-float-2 { display: none; }
  .two-col, .iris-grid, .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
  .cards-grid, .services-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .hero-title { font-size: 2.8rem; }
  .cards-grid, .services-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-wrap { padding: 32px 24px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; background: white;
    flex-direction: column; padding: 24px; box-shadow: var(--shadow-md);
    opacity: 0; pointer-events: none; transition: 0.3s; transform: translateY(-10px);
  }
  .nav-links.open { opacity: 1; pointer-events: all; transform: translateY(0); }
  .hamburger { display: flex; }
  .nav-cta { margin: 16px 0 0; text-align: center; }
  .timeline-clean::before { left: 24px; }
  .tl-marker { width: 48px; height: 48px; padding: 8px; }
  .tl-item { gap: 16px; }
  .tl-icon-circle { font-size: 1.2rem; }
}
