/* =========================================================
   FUKUUDA — Clínica Cássia Fukuda | Style v4
   Digital Bloom
   ========================================================= */

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

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--sans); color: var(--ink-80); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img  { display: block; max-width: 100%; height: auto; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

:root {
  --lime:      #b0d732;
  --lime-dk:   #8fb025;
  --lime-lt:   #f0f8d0;
  --lime-mid:  #dff076;

  --ink:       #181c10;
  --ink-80:    #2e3320;
  --ink-50:    #6b7055;
  --ink-30:    #9ea48e;
  --ink-10:    #eef0e8;

  --white:     #ffffff;
  --bg-soft:   #f8faf3;
  --bg-mid:    #f1f4e8;
  --border:    #e2e6d4;

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  --r:    10px;
  --r-lg: 20px;
  --r-xl: 36px;
  --sh:   0 2px 16px rgba(24,28,16,.07);
  --sh-md:0 8px 36px rgba(24,28,16,.10);
  --sh-lg:0 24px 64px rgba(24,28,16,.13);

  --ease: cubic-bezier(.4,0,.2,1);
  --t:    .26s;
  --w:    1140px;
}

/* ---- Tipografia ---- */
h1,h2,h3,h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { font-size: .975rem; }

/* ---- Layout ---- */
.wrap  { max-width: var(--w); margin: 0 auto; padding: 0 32px; }
.sec   { padding: 108px 0; }
.sec-sm{ padding: 72px 0; }

/* ---- Pill label ---- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-80); background: var(--lime-lt); border: 1px solid var(--border);
  padding: 5px 14px 5px 10px; border-radius: 50px; margin-bottom: 20px;
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }

/* ---- Linha decorativa ---- */
.ln { width: 36px; height: 3px; background: var(--lime); border-radius: 2px; margin: 14px 0 26px; }
.ln-c { margin-left: auto; margin-right: auto; }

/* ---- Texto secundário ---- */
.lead { font-size: 1.05rem; color: var(--ink-50); max-width: 500px; line-height: 1.75; }
.lead-c { margin: 0 auto; text-align: center; }
.tc { text-align: center; }

/* ---- Botões ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: 50px;
  font-size: .88rem; font-weight: 700; letter-spacing: .02em;
  transition: background var(--t), transform var(--t) var(--ease), box-shadow var(--t);
  white-space: nowrap;
}
.btn-lime {
  background: var(--lime); color: var(--ink);
  box-shadow: 0 4px 18px rgba(176,215,50,.28);
}
.btn-lime:hover { background: var(--lime-dk); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(176,215,50,.38); }

.btn-dark { background: var(--ink); color: var(--white); box-shadow: 0 4px 16px rgba(24,28,16,.22); }
.btn-dark:hover { background: var(--ink-80); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--lime); background: var(--lime-lt); }

.ico { width: 17px; height: 17px; flex-shrink: 0; }

/* ---- WhatsApp float ---- */
.waf {
  position: fixed; bottom: 26px; right: 26px; z-index: 990;
  width: 52px; height: 52px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.42); transition: transform var(--t);
}
.waf:hover { transform: scale(1.08); }
.waf svg { width: 27px; height: 27px; fill: #fff; }

/* =========================================================
   HEADER
   ========================================================= */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 900;
  transition: background var(--t), box-shadow var(--t);
}
.hdr.on {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.hdr-in {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--w); margin: 0 auto;
  padding: 20px 32px;
  transition: padding var(--t);
}
.hdr.on .hdr-in { padding: 12px 32px; }

/* Logo */
.logo { display: flex; align-items: center; }
.logo-img { height: 44px; width: auto; }
.hdr.on .logo-img { height: 36px; }

/* Nav */
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: .84rem; font-weight: 500; color: var(--ink-80);
  position: relative; transition: color var(--t);
}
.nav a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--lime); border-radius: 1px;
  transform: scaleX(0); transform-origin: right; transition: transform var(--t) var(--ease);
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }

.hdr-btn { padding: 10px 22px; font-size: .82rem; }

/* Hamburger */
.brg { display: none; flex-direction: column; gap: 5px; width: 24px; padding: 4px 0; }
.brg span { display: block; height: 1.5px; border-radius: 1px; background: var(--ink); transition: var(--t); }
.brg.on span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.brg.on span:nth-child(2) { opacity: 0; }
.brg.on span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mnav {
  display: none; position: fixed; inset: 0; z-index: 950;
  background: var(--ink); flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t);
}
.mnav.on { opacity: 1; pointer-events: all; }
.mnav a {
  font-family: var(--serif); font-size: 1.8rem; font-weight: 600;
  color: var(--white); transition: color var(--t);
}
.mnav a:hover { color: var(--lime); }
.mnav .btn-lime { font-family: var(--sans); font-size: .9rem; margin-top: 8px; }

.mnav-close {
  position: absolute; top: 24px; right: 28px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--t), background var(--t);
}
.mnav-close:hover { border-color: var(--lime); background: rgba(255,255,255,.05); }
.mnav-close svg { width: 18px; height: 18px; stroke: rgba(255,255,255,.7); }

/* =========================================================
   HERO — two-column grid
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-soft);
}

.hero-in {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

/* Left column — content */
.hero-left {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
}

/* Right column — photo */
.hero-img-wrap {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 80px;
}
.hero-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  box-shadow: 0 20px 56px rgba(24,28,16,.13);
  display: block;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 28px;
}
.hero-tag-line { width: 28px; height: 2px; background: var(--lime); border-radius: 1px; }
.hero-tag span { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-50); font-weight: 600; }

.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--lime-dk); position: relative; }
.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px;
  height: 3px; background: var(--lime); border-radius: 2px; opacity: .5;
}

.hero-lead { font-size: 1.05rem; color: var(--ink-50); max-width: 460px; margin-bottom: 40px; line-height: 1.75; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-trust {
  display: flex; gap: 40px; margin-top: 56px;
  padding-top: 36px; border-top: 1px solid var(--border);
}
.htrust strong {
  display: block; font-family: var(--serif);
  font-size: 1.9rem; color: var(--ink); line-height: 1;
}
.htrust span { font-size: .78rem; color: var(--ink-30); margin-top: 3px; display: block; }

/* ---- Divisor ---- */
.sec-divider {
  height: 1px;
  background: var(--border);
}

/* =========================================================
   SOBRE
   ========================================================= */
.sobre { background: var(--bg-soft); }
.sobre-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 88px; align-items: center; }

.sobre-foto {
  border-radius: var(--r-xl); overflow: hidden;
  height: 580px; background: var(--bg-mid); position: relative;
  box-shadow: var(--sh-lg);
}
.sobre-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.creds { display: flex; flex-direction: column; gap: 13px; margin-top: 26px; }
.cred  { display: flex; gap: 12px; align-items: flex-start; }
.cdot  { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-top: 6px; flex-shrink: 0; }
.cred p { font-size: .9rem; color: var(--ink-80); line-height: 1.5; }
.cred strong { color: var(--ink); }

.flags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.flag  { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border); border-radius: 50px; padding: 6px 15px; font-size: .8rem; color: var(--ink-80); background: var(--white); }

/* =========================================================
   SERVIÇOS — 3×3 cards
   ========================================================= */
.servicos { background: var(--white); }

.srv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.srv-card {
  padding: 30px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.srv-card:hover { border-color: var(--lime); box-shadow: var(--sh); transform: translateY(-4px); }

.srv-card-ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.srv-card-ico svg { width: 22px; height: 22px; stroke: var(--lime-dk); fill: none; }
.srv-card h3 { font-size: .975rem; color: var(--ink); margin-bottom: 8px; }
.srv-card p  { font-size: .855rem; color: var(--ink-50); line-height: 1.65; margin-bottom: 16px; }

.srv-tags-wrap { display: flex; gap: 7px; flex-wrap: wrap; }
.srv-tag {
  font-size: .72rem; font-weight: 600; padding: 4px 12px; border-radius: 50px;
  background: var(--white); border: 1px solid var(--border); color: var(--ink-50);
}

/* =========================================================
   DIFERENCIAIS
   ========================================================= */
.difs { background: var(--bg-soft); }

.dif-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.dif-card {
  padding: 32px 28px; border-radius: var(--r-lg);
  border: 1px solid var(--border); background: var(--white);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.dif-card:hover { border-color: var(--lime); box-shadow: var(--sh); transform: translateY(-4px); }
.dif-ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--lime-lt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.dif-ico svg { width: 22px; height: 22px; stroke: var(--lime-dk); fill: none; }
.dif-card h3 { font-size: .975rem; color: var(--ink); margin-bottom: 8px; }
.dif-card p  { font-size: .855rem; color: var(--ink-50); line-height: 1.65; }

/* =========================================================
   DEPOIMENTOS — slider
   ========================================================= */
.depoi { background: var(--white); }

.slider {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
  border-radius: var(--r-xl);
}
.slider-track {
  display: flex;
  transition: transform .45s var(--ease);
  will-change: transform;
}
.slide {
  min-width: 100%;
  padding: 52px 64px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  text-align: center;
}
.dep-stars { display: flex; gap: 4px; margin-bottom: 20px; justify-content: center; }
.dep-stars span { color: var(--lime-dk); font-size: 1rem; }
.dep-text {
  font-size: .95rem; color: var(--ink-80); font-style: italic;
  line-height: 1.8; max-width: 720px; margin: 0 auto;
}

.slider-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 28px;
}
.slider-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--t), background var(--t), transform var(--t);
  flex-shrink: 0;
}
.slider-btn:hover { border-color: var(--lime); background: var(--lime-lt); transform: scale(1.05); }
.slider-btn svg { width: 16px; height: 16px; stroke: var(--ink-50); }

.slider-dots { display: flex; gap: 8px; align-items: center; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; padding: 0;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.dot.on { background: var(--lime); transform: scale(1.3); }

/* =========================================================
   CONTATO
   ========================================================= */
.contato { background: var(--bg-soft); }
.cont-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }

.cont-items { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.cont-item  { display: flex; gap: 14px; align-items: flex-start; }
.cont-ico {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.cont-ico svg { width: 19px; height: 19px; stroke: var(--lime-dk); fill: none; }
.cont-lb  { font-size: .78rem; font-weight: 600; color: var(--ink-30); margin-bottom: 2px; }
.cont-val { font-size: .925rem; color: var(--ink); font-weight: 500; }
.cont-val a:hover { color: var(--lime-dk); }

/* Formulário */
.fbox {
  background: var(--white); border-radius: var(--r-xl);
  padding: 44px 40px; border: 1px solid var(--border); box-shadow: var(--sh-md);
}
.fbox h3 { color: var(--ink); margin-bottom: 6px; }
.fbox > p { font-size: .875rem; color: var(--ink-30); margin-bottom: 28px; }

.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: .79rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; letter-spacing: .02em; }
.fg input, .fg textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border); border-radius: var(--r);
  font-family: var(--sans); font-size: .9rem; color: var(--ink);
  background: var(--bg-soft); outline: none;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.fg input:focus, .fg textarea:focus {
  border-color: var(--lime); background: var(--white);
  box-shadow: 0 0 0 3px rgba(176,215,50,.16);
}
.fg input.err, .fg textarea.err { border-color: #d94f4f; }
.fg textarea { resize: vertical; min-height: 112px; }
.ferr { font-size: .76rem; color: #d94f4f; margin-top: 4px; display: none; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.bsend {
  width: 100%; padding: 15px; border-radius: 50px;
  background: var(--lime); color: var(--ink); border: none;
  font-family: var(--sans); font-size: .9rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px;
  transition: background var(--t), transform var(--t);
  box-shadow: 0 4px 16px rgba(176,215,50,.28);
}
.bsend:hover { background: var(--lime-dk); transform: translateY(-1px); }
.bsend:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.bsend svg { width: 17px; height: 17px; stroke: var(--ink); fill: none; stroke-width: 2; }
.fnote { text-align: center; font-size: .76rem; color: var(--ink-30); margin-top: 12px; }

/* =========================================================
   FOOTER
   ========================================================= */
.ftr { background: var(--ink); padding: 64px 0 0; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 52px; }

.ftr-logo { height: 40px; width: auto; margin-bottom: 18px; }
.ftr-brand p { font-size: .875rem; color: rgba(255,255,255,.35); line-height: 1.75; max-width: 260px; }
.ftr-soc { display: flex; gap: 10px; margin-top: 20px; }
.fsoc {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center; transition: background var(--t);
}
.fsoc:hover { background: var(--lime); }
.fsoc:hover svg { stroke: var(--ink); }
.fsoc svg { width: 16px; height: 16px; stroke: rgba(255,255,255,.5); fill: none; transition: stroke var(--t); }

.ftr-col h5 {
  font-family: var(--sans); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--lime); font-weight: 700; margin-bottom: 16px;
}
.ftr-col ul { display: flex; flex-direction: column; gap: 10px; }
.ftr-col li a { font-size: .875rem; color: rgba(255,255,255,.4); transition: color var(--t); }
.ftr-col li a:hover { color: var(--white); }

.ftr-bot {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 22px 0; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.ftr-bot p { font-size: .77rem; color: rgba(255,255,255,.25); }
.ftr-bot a { color: rgba(255,255,255,.35); transition: color var(--t); }
.ftr-bot a:hover { color: var(--white); }
.ftr-bot .bloom { color: var(--lime) !important; }

/* =========================================================
   ANIMAÇÕES
   ========================================================= */
.rev { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.rev.in { opacity: 1; transform: none; }
.stg > * { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.stg.in > *:nth-child(1) { transition-delay: .04s; }
.stg.in > *:nth-child(2) { transition-delay: .10s; }
.stg.in > *:nth-child(3) { transition-delay: .16s; }
.stg.in > *:nth-child(4) { transition-delay: .22s; }
.stg.in > *:nth-child(5) { transition-delay: .28s; }
.stg.in > *:nth-child(6) { transition-delay: .34s; }
.stg.in > * { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-in { grid-template-columns: 1.2fr 0.8fr; gap: 32px; }
  .sobre-grid, .cont-grid { gap: 52px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .srv-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav, .hdr-btn { display: none; }
  .brg { display: flex; }
  .mnav { display: flex; }

  /* Hero: stack vertically, photo on top */
  .hero { min-height: auto; }
  .hero-in {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 0;
  }
  .hero-img-wrap {
    order: -1;
    padding: 88px 0 24px;
    justify-content: flex-start;
  }
  .hero-img {
    aspect-ratio: 3 / 4;
    border-radius: 18px;
  }
  .hero-left {
    order: 1;
    padding: 16px 0 64px;
  }

  .sobre-grid, .cont-grid { grid-template-columns: 1fr; }
  .sobre-chip { right: 0; top: 16px; }

  .dif-grid { grid-template-columns: 1fr 1fr; }
  .srv-cards { grid-template-columns: 1fr 1fr; }

  .slide { padding: 40px 32px; }
  .frow { grid-template-columns: 1fr; }
  .fbox { padding: 32px 24px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 32px; }
  .ftr-bot { flex-direction: column; text-align: center; }
}

@media (max-width: 580px) {
  .sec { padding: 76px 0; }
  .wrap { padding: 0 20px; }
  .hero-in { padding: 0 20px; }
  .hero-left { padding: 12px 0 56px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }
  .hero-trust { gap: 20px; flex-wrap: wrap; }
  .dif-grid { grid-template-columns: 1fr; }
  .srv-cards { grid-template-columns: 1fr; }
  .sobre-foto { height: auto; }
  .sobre-img  { height: auto; object-fit: unset; }
  .slide { padding: 32px 20px; }
  .dep-text { font-size: .88rem; }
  .ftr-logo { height: 32px; }
}
