/* ============================================
   DOMIRIC — Landing Page
   Paleta extraída da identidade visual real:
   navy  #001E32 | green #1E8C50 | teal (logo) #4FB3A6
   ============================================ */

:root {
  --navy: #001E32;
  --navy-soft: #0B3149;
  --green: #1E8C50;
  --green-dark: #146B3D;
  --teal: #4FB3A6;
  --mint-bg: #EEF6F3;
  --ink: #14201F;
  --ink-muted: #5B6B69;
  --white: #FFFFFF;
  --border: #E2ECE9;

  --shadow-sm: 0 2px 10px rgba(0, 30, 50, 0.06);
  --shadow-md: 0 12px 30px rgba(0, 30, 50, 0.10);
  --shadow-lg: 0 24px 60px rgba(0, 30, 50, 0.16);

  --radius: 18px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--green); }
.text-light { color: var(--white); }
.text-light-muted { color: rgba(255,255,255,0.75); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(30, 140, 80, 0.30);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30,140,80,0.38); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-outline-light {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  margin-top: 8px;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  transition: padding 0.3s ease;
}
.site-header.scrolled .header-inner { padding: 10px 24px; }

.brand-logo { height: 58px; transition: height 0.3s ease; }
.site-header.scrolled .brand-logo { height: 46px; }

.nav-desktop { display: flex; gap: 32px; }
.nav-desktop a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-desktop a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 0.25s ease;
}
.nav-desktop a:hover::after { width: 100%; }

.nav-cta { display: inline-flex; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.nav-mobile a { padding: 10px 0; font-weight: 500; }
.nav-mobile .btn { margin-top: 10px; width: 100%; }
.nav-mobile.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background: linear-gradient(180deg, #F7FBFA 0%, #FFFFFF 70%);
}
.hero-blobs { position: absolute; inset: 0; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  animation: drift 14s ease-in-out infinite;
}
.blob-1 { width: 480px; height: 480px; background: radial-gradient(circle at 30% 30%, #DCF1E9, transparent 70%); top: -180px; right: -140px; }
.blob-2 { width: 320px; height: 320px; background: radial-gradient(circle at 40% 40%, #CFEDE6, transparent 70%); bottom: -120px; right: 200px; animation-delay: -4s; }
.blob-3 { width: 260px; height: 260px; background: radial-gradient(circle at 50% 50%, rgba(0,30,50,0.06), transparent 70%); top: 220px; left: -80px; animation-delay: -8s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -24px) scale(1.05); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(30,140,80,0.10);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.eyebrow-light { background: rgba(255,255,255,0.12); color: #8FE0BC; }

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.18;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 20px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 520px;
}

.hero-checklist { margin-bottom: 32px; }
.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 0.96rem;
}
.ico-check {
  width: 20px; height: 20px;
  flex-shrink: 0;
  background: var(--green);
  border-radius: 50%;
  padding: 4px;
  stroke: white;
  stroke-width: 2.5;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero visual — foto real + card flutuante */
.hero-visual { position: relative; padding-bottom: 30px; }

.hero-photo { position: relative; }

.hero-photo-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 434 / 610;
  max-height: 620px;
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,30,50,0) 55%, rgba(0,30,50,0.55) 100%);
}

.hero-photo-card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -40px;
  z-index: 2;
  background: var(--white);
  border-radius: 20px;
  padding: 26px 26px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-card-icon {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.ico-caduceus { width: 26px; height: 26px; stroke: var(--teal); }
.hero-card-title { font-weight: 700; font-size: 1.08rem; color: var(--navy); margin: 0 0 6px; }
.hero-card-text { color: var(--ink-muted); font-size: 0.88rem; line-height: 1.5; margin: 0 0 14px; }
.hero-card-link { font-weight: 600; color: var(--green-dark); font-size: 0.9rem; }

.floating-stat {
  position: absolute;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  animation: float 5s ease-in-out infinite;
  animation-delay: calc(var(--i) * -1.6s);
  min-width: 150px;
}
.floating-stat strong { display: block; font-size: 1.4rem; color: #8FE0BC; }
.floating-stat span { font-size: 0.76rem; color: rgba(255,255,255,0.75); }
.floating-stat { top: -22px; left: -22px; }
.floating-stat-2 { top: 42%; left: auto; bottom: auto; right: -22px; background: var(--white); border: 1px solid var(--border); }
.floating-stat-2 strong { color: var(--green-dark); }
.floating-stat-2 span { color: var(--ink-muted); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--navy); padding: 44px 0 30px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat strong { display: block; font-size: 2.1rem; font-weight: 700; color: #8FE0BC; }
.stat span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.stats-note { text-align: center; color: rgba(255,255,255,0.35); font-size: 0.72rem; margin: 18px 0 0; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--mint-bg); }
.section-navy { background: var(--navy); }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); font-weight: 700; margin: 0 0 14px; line-height: 1.25; }
.section-sub { color: var(--ink-muted); font-size: 1rem; line-height: 1.6; }

/* Cards */
.cards-grid { display: grid; gap: 28px; }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 48px; height: 48px;
  background: var(--mint-bg);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.05rem; color: var(--navy); margin: 0 0 8px; }
.card p { color: var(--ink-muted); font-size: 0.92rem; line-height: 1.55; margin: 0; }

.service-card {
  background: var(--white);
  border-radius: 22px;
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid transparent;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: white;
}
.service-icon svg { width: 28px; height: 28px; }
.icon-navy { background: var(--navy); }
.icon-green { background: var(--green); }
.icon-teal { background: var(--teal); }
.service-card h3 { font-size: 1.25rem; color: var(--navy); margin: 0 0 10px; }
.service-card > p { color: var(--ink-muted); font-size: 0.95rem; line-height: 1.6; margin: 0 0 18px; }
.service-list li {
  font-size: 0.88rem;
  color: var(--ink);
  padding: 8px 0 8px 22px;
  border-top: 1px solid var(--border);
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute; left: 0; top: 16px;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--mint-bg);
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--navy);
  color: #8FE0BC;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 18px;
}
.step h3 { color: var(--navy); font-size: 1.1rem; margin: 0 0 8px; }
.step p { color: var(--ink-muted); font-size: 0.92rem; line-height: 1.6; margin: 0; }

/* Credibility / Quem somos */
.credibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.credibility-grid h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 10px 0 16px; line-height: 1.3; }
.credibility-grid p { line-height: 1.7; margin: 0 0 8px; }

.badges { display: flex; flex-direction: column; gap: 16px; }
.badge-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 18px 22px;
}
.badge-item strong { display: block; color: #8FE0BC; font-size: 0.95rem; margin-bottom: 4px; }
.badge-item span { color: rgba(255,255,255,0.65); font-size: 0.85rem; line-height: 1.5; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  padding: 80px 0;
}
.cta-banner-inner { text-align: center; max-width: 620px; margin: 0 auto; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 14px; }
.cta-banner p { color: rgba(255,255,255,0.9); margin: 0 0 28px; font-size: 1.02rem; }
.cta-banner .btn-primary { background: var(--navy); box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.cta-banner .btn-primary:hover { background: #000; }

/* ---------- Footer ---------- */
.site-footer { background: #001420; padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-chip {
  background: var(--white);
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 14px;
  margin-bottom: 14px;
}
.footer-logo-chip img { height: 34px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.88rem; max-width: 260px; line-height: 1.5; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; margin: 0 0 16px; }
.footer-col a, .footer-col span {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: #8FE0BC; }
.footer-bottom {
  padding: 22px 24px;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  z-index: 200;
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-icon { width: 30px; height: 30px; fill: white; stroke: none; }
.whatsapp-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse-ring 2.4s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.7; }
  80% { transform: scale(1.6); opacity: 0; }
  100% { opacity: 0; }
}
.whatsapp-tooltip {
  position: absolute;
  right: 74px;
  background: var(--navy);
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--d, 0) * 0.1s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 40px; }
  .credibility-grid { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-desktop, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 48px 0 72px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .floating-stat { position: static; margin-top: 16px; display: inline-block; }
  .cards-grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .whatsapp-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .whatsapp-tooltip { display: none; }
}
