/* =========================================================
   MAIS FLUXO — Medicina Vascular
   Design system premium claro · identidade vermelha #b02137
   ========================================================= */

:root {
  /* Brand */
  --red:        #b02137;
  --red-600:    #c52a43;
  --red-500:    #d63a52;
  --red-400:    #e3596e;
  --red-700:    #8f1a2c;
  --red-900:    #5e1019;

  /* Neutrals */
  --ink:        #221820;
  --ink-2:      #3b2f37;
  --muted:      #756a71;
  --muted-2:    #9a909a;
  --bg:         #ffffff;
  --bg-soft:    #fcf7f8;
  --bg-rose:    #f8edef;
  --bg-rose-2:  #f3e1e5;
  --line:       #efe0e3;
  --line-2:     #e7d4d8;
  --white:      #ffffff;

  /* Gradients */
  --grad-red:   linear-gradient(135deg, #c52a43 0%, #b02137 45%, #8f1a2c 100%);
  --grad-red-soft: linear-gradient(135deg, #e3596e 0%, #b02137 100%);
  --grad-rose:  linear-gradient(160deg, #fdf6f7 0%, #f6e6e9 100%);
  --grad-ink:   linear-gradient(150deg, #2a1d24 0%, #160f14 100%);

  /* Shadows (red-tinted, layered) */
  --sh-sm:  0 2px 8px rgba(143,26,44,.06);
  --sh-md:  0 10px 30px -10px rgba(143,26,44,.18);
  --sh-lg:  0 24px 60px -18px rgba(143,26,44,.28);
  --sh-xl:  0 40px 90px -30px rgba(143,26,44,.35);
  --sh-card: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -22px rgba(89,16,25,.30);

  /* Shape */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Type */
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container: 1200px;
  --header-h: 84px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
/* Protecao: icone solto dentro de texto nunca estoura de tamanho */
li > svg, p > svg { width: 21px; height: 21px; flex: 0 0 21px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }

::selection { background: var(--red); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 44px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--rose { background: var(--grad-rose); }
.center { text-align: center; }
.narrow { max-width: 720px; margin-inline: auto; }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--red);
  padding: 8px 16px; border-radius: var(--r-pill);
  background: rgba(176,33,55,.07);
  border: 1px solid rgba(176,33,55,.14);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-red); box-shadow: 0 0 0 4px rgba(176,33,55,.14); }

.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; }
.section-title {
  font-size: clamp(2rem, 4.3vw, 3.15rem);
  margin: 20px 0 0;
}
.section-title .accent { color: var(--red); position: relative; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin-top: 18px; }

.lead { font-size: 1.18rem; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  --pad: 15px 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: var(--pad); border-radius: var(--r-pill);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .3s;
  will-change: transform; position: relative; white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn--primary {
  color: #fff; background: var(--grad-red);
  box-shadow: 0 12px 26px -10px rgba(176,33,55,.7);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(176,33,55,.75); }
.btn--ghost {
  color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-2);
  box-shadow: var(--sh-sm);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--red); color: var(--red); box-shadow: var(--sh-md); }
.btn--light { background: rgba(255,255,255,.14); color:#fff; border:1.5px solid rgba(255,255,255,.32); backdrop-filter: blur(6px); }
.btn--light:hover { background:#fff; color: var(--red); transform: translateY(-3px); }
.btn--lg { --pad: 18px 36px; font-size: 1.04rem; }

.link-arrow { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-head); font-weight:700; color:var(--red); font-size:.96rem; }
.link-arrow svg { width:18px; height:18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: height .4s var(--ease), background .4s, box-shadow .4s, backdrop-filter .4s;
}
.header::before{
  content:""; position:absolute; inset:0; opacity:0; transition:opacity .4s;
  background: rgba(255,255,255,.82); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.header.scrolled { height: 70px; }
.header.scrolled::before { opacity: 1; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(100% - 44px, 1340px); }

.brand { display: flex; align-items: center; gap: 12px; z-index: 2; flex: 0 0 auto; }
.brand img { height: 46px; width: auto; max-width: none; flex-shrink: 0; object-fit: contain; transition: height .4s var(--ease); }
.header.scrolled .brand img { height: 40px; }

.nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink-2);
  padding: 10px 11px; border-radius: var(--r-pill); position: relative; white-space: nowrap;
  transition: color .25s, background .25s;
}
.nav a::after{
  content:""; position:absolute; left:11px; right:11px; bottom:6px; height:2px;
  background: var(--grad-red); border-radius:2px; transform: scaleX(0); transform-origin:left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--red); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--red); }

.header-cta { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header-cta .btn { font-size: .9rem; padding: 13px 22px; }
.header-phone { display:flex; align-items:center; gap:9px; font-family:var(--font-head); font-weight:700; color:var(--ink); font-size:.95rem; }
.header-phone svg{ width:34px; height:34px; padding:8px; background:var(--bg-rose); border-radius:50%; color:var(--red); }
.nav-cta { display: none; }

.burger { display: none; width: 46px; height: 46px; border-radius: 13px; background:#fff; border:1px solid var(--line); position: relative; z-index: 2; box-shadow: var(--sh-sm);}
.burger span { position:absolute; left:12px; right:12px; height:2.4px; background: var(--ink); border-radius: 2px; transition: .35s var(--ease); }
.burger span:nth-child(1){ top:16px; } .burger span:nth-child(2){ top:22px; } .burger span:nth-child(3){ top:28px; }
body.menu-open .burger span:nth-child(1){ top:22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity:0; }
body.menu-open .burger span:nth-child(3){ top:22px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: calc(var(--header-h) + 60px) 0 90px; overflow: hidden; }
.hero-bg { position:absolute; inset:0; z-index:-2; background: var(--grad-rose); }
.hero-blob { position:absolute; border-radius:50%; filter: blur(50px); opacity:.5; z-index:-1; }
.hero-blob.b1 { width:520px; height:520px; background: radial-gradient(circle, rgba(214,58,82,.45), transparent 70%); top:-160px; right:-120px; animation: float1 14s ease-in-out infinite; }
.hero-blob.b2 { width:420px; height:420px; background: radial-gradient(circle, rgba(227,89,110,.35), transparent 70%); bottom:-180px; left:-100px; animation: float2 18s ease-in-out infinite; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); margin: 22px 0 0; }
.hero h1 .accent { background: var(--grad-red); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { margin-top: 24px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-trust { display:flex; gap: 30px; margin-top: 46px; flex-wrap: wrap; }
.hero-trust .t { display:flex; flex-direction:column; }
.hero-trust .t b { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--red); line-height: 1; }
.hero-trust .t span { font-size: .9rem; color: var(--muted); margin-top: 6px; font-weight: 500; }
.hero-trust .sep { width:1px; background: var(--line-2); align-self: stretch; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-xl); aspect-ratio: 4/4.6; background: var(--bg-rose);
  border: 8px solid #fff;
}
.hero-photo img { width:100%; height:100%; object-fit: cover; }
.hero-photo::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 55%, rgba(94,16,25,.28)); }

.float-card {
  position: absolute; background: rgba(255,255,255,.85); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--r); padding: 16px 18px;
  box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 13px;
  animation: floatY 5s ease-in-out infinite;
}
.float-card .ic { width: 44px; height: 44px; border-radius: 13px; display:grid; place-items:center; background: var(--grad-red); color:#fff; flex-shrink:0; }
.float-card .ic svg{ width:23px; height:23px; }
.float-card b { font-family: var(--font-head); font-size: .98rem; display:block; }
.float-card span { font-size: .8rem; color: var(--muted); }
.float-card.fc1 { top: 34px; left: -34px; }
.float-card.fc2 { bottom: 70px; right: -30px; animation-delay: 1.4s; }
.float-card.fc3 { bottom: -22px; left: 30px; animation-delay: .7s; }

.hero-badge{
  position:absolute; top:-26px; right:24px; z-index:3;
  width: 104px; height:104px; border-radius:50%; background: var(--grad-ink); color:#fff;
  display:grid; place-items:center; text-align:center; box-shadow: var(--sh-lg);
  font-family:var(--font-head); font-weight:800; line-height:1.05; animation: spinPulse 6s ease-in-out infinite;
}
.hero-badge b{ font-size:1.7rem; color:#fff; } .hero-badge span{ font-size:.62rem; letter-spacing:.12em; text-transform:uppercase; opacity:.85; display:block; margin-top:3px;}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--ink); color:#fff; padding: 20px 0; overflow: hidden; position: relative; }
.marquee-track { display:flex; gap: 50px; width: max-content; animation: scrollX 32s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; display:flex; align-items:center; gap: 50px; opacity:.92; }
.marquee-track span::after{ content:"✚"; color: var(--red-400); }

/* =========================================================
   STATS
   ========================================================= */
.stats-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.stat {
  background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 34px 26px;
  text-align:center; box-shadow: var(--sh-sm); transition: transform .4s var(--ease), box-shadow .4s;
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.stat .num { font-family: var(--font-head); font-weight:800; font-size: 3rem; line-height:1; background: var(--grad-red); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.stat .lbl { color: var(--muted); margin-top: 12px; font-weight:500; font-size:.98rem; }

/* =========================================================
   CARDS — generic grid
   ========================================================= */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Procedure / generic media card */
.card {
  background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  display:flex; flex-direction:column; position: relative;
}
.card:hover { transform: translateY(-9px); box-shadow: var(--sh-lg); border-color: var(--line-2); }
.card-media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--bg-rose); }
.card-media img { width:100%; height:100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.08); }
.card-media::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg,transparent 50%, rgba(34,24,32,.45)); opacity:.0; transition:opacity .45s; }
.card:hover .card-media::after{ opacity:1; }
.card-tag {
  position:absolute; top:14px; left:14px; z-index:2;
  background: rgba(255,255,255,.92); color: var(--red); font-family:var(--font-head); font-weight:700;
  font-size:.72rem; letter-spacing:.04em; padding: 6px 13px; border-radius: var(--r-pill); backdrop-filter: blur(6px);
}
.card-body { padding: 24px 24px 26px; display:flex; flex-direction:column; gap: 10px; flex:1; }
.card-body h3 { font-size: 1.22rem; }
.card-body p { color: var(--muted); font-size: .97rem; }
.card-foot { margin-top: auto; padding-top: 8px; }
.card-icon-float{
  position:absolute; top: calc(16/11 * 0px); right: 18px; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 15px; background: var(--grad-red); color:#fff;
  display:grid; place-items:center; box-shadow: var(--sh-md); z-index:3;
}

/* Procedure card with number index */
.proc-num { font-family: var(--font-head); font-weight:800; font-size:.85rem; color: var(--red-400); letter-spacing:.1em; }

/* Tech list rows */
.tech-row {
  display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items:center;
  padding: 30px 0;
}
.tech-row:nth-child(even) { direction: rtl; }
.tech-row:nth-child(even) > * { direction: ltr; }
.tech-figure { border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--sh-md); aspect-ratio: 16/12; background: var(--bg-rose); position: relative; }
.tech-figure img{ width:100%; height:100%; object-fit:cover; transition: transform .8s var(--ease); }
.tech-figure:hover img{ transform: scale(1.06); }
.tech-text h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.tech-text .eyebrow { margin-bottom: 16px; }
.tech-text p { color: var(--muted); margin-top: 14px; }
/* Lista com marcadores de confirmacao (vale em todo o site) */
ul.checks { margin-top: 18px; display:flex; flex-direction:column; gap:10px; list-style:none; padding:0; }
ul.checks li { display:flex; gap:11px; align-items:flex-start; color: var(--ink-2); font-size:.98rem; }
ul.checks li svg { width:21px; height:21px; min-width:21px; max-width:21px; flex:0 0 21px; color: var(--red); margin-top:2px; }

/* =========================================================
   MISSION / VISION / VALUES
   ========================================================= */
.mvv-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.mvv {
  background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 38px 30px;
  box-shadow: var(--sh-sm); transition: transform .4s var(--ease), box-shadow .4s; position: relative; overflow: hidden;
}
.mvv::before{ content:""; position:absolute; top:0; left:0; right:0; height:4px; background: var(--grad-red); transform: scaleX(0); transform-origin:left; transition: transform .5s var(--ease); }
.mvv:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.mvv:hover::before{ transform: scaleX(1); }
.mvv .ic { width:62px; height:62px; border-radius:18px; background: var(--bg-rose); color: var(--red); display:grid; place-items:center; margin-bottom: 22px; }
.mvv .ic svg{ width:30px; height:30px; }
.mvv h3 { font-size:1.3rem; margin-bottom:10px; }
.mvv p { color: var(--muted); font-size:.98rem; }

/* =========================================================
   TEAM
   ========================================================= */
.team-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 30px; max-width: 860px; margin-inline:auto; }
.team-card { position: relative; border-radius: var(--r-xl); overflow:hidden; box-shadow: var(--sh-md); aspect-ratio: 4/4.7; background: var(--bg-rose); }
.team-card img { width:100%; height:100%; object-fit: cover; transition: transform .8s var(--ease); }
.team-card:hover img { transform: scale(1.06); }
.team-card .ov { position:absolute; inset:auto 0 0 0; padding: 60px 26px 26px; background: linear-gradient(180deg, transparent, rgba(34,24,32,.86)); color:#fff; }
.team-card .ov span { color: var(--red-400); font-family:var(--font-head); font-weight:700; font-size:.82rem; letter-spacing:.1em; text-transform:uppercase; }
.team-card .ov h3 { color:#fff; font-size:1.5rem; margin-top:4px; }
.team-card .ov p { opacity:.85; font-size:.92rem; margin-top:4px; }

/* =========================================================
   SPLIT (image + text) — about / cta
   ========================================================= */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { position: relative; }
.split-media .ph { border-radius: var(--r-xl); overflow:hidden; box-shadow: var(--sh-lg); aspect-ratio: 5/5.4; border:7px solid #fff; }
.split-media .ph img{ width:100%; height:100%; object-fit: cover; }
.split-media .ph2 { position:absolute; width: 52%; aspect-ratio: 4/3; right: -18px; bottom: -30px; border-radius: var(--r-lg); overflow:hidden; border:6px solid #fff; box-shadow: var(--sh-lg); background:#fff; }
.split-media .ph2 img{ width:100%; height:100%; object-fit: cover; object-position: center; }
.split-deco { position:absolute; width: 140px; height:140px; border-radius: 30px; background: var(--grad-red); opacity:.12; top:-26px; left:-26px; z-index:-1; transform: rotate(12deg); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { position: relative; overflow:hidden; background: var(--grad-ink); color:#fff; border-radius: var(--r-xl); padding: clamp(44px,6vw,72px); text-align:center; }
.cta-band::before{ content:""; position:absolute; width:420px; height:420px; border-radius:50%; background: radial-gradient(circle, rgba(197,42,67,.55), transparent 70%); top:-160px; right:-120px; }
.cta-band::after{ content:""; position:absolute; width:360px; height:360px; border-radius:50%; background: radial-gradient(circle, rgba(227,89,110,.4), transparent 70%); bottom:-160px; left:-120px; }
.cta-band > * { position: relative; z-index:1; }
.cta-band h2 { color:#fff; font-size: clamp(2rem,4vw,3rem); }
.cta-band p { color: rgba(255,255,255,.82); max-width: 620px; margin: 18px auto 32px; font-size: 1.1rem; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero { position: relative; padding: calc(var(--header-h) + 70px) 0 80px; background: var(--grad-rose); overflow:hidden; }
.page-hero .hero-blob.b1 { width:440px;height:440px; top:-180px; right:-120px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-hero .lead { margin-top: 18px; max-width: 640px; }
.crumbs { display:flex; gap:8px; align-items:center; color: var(--muted); font-size:.9rem; font-weight:500; margin-bottom: 22px; }
.crumbs a:hover{ color: var(--red); } .crumbs .sep{ color: var(--muted-2); }

/* =========================================================
   FORM
   ========================================================= */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px,4vw,48px); box-shadow: var(--sh-md); }
.field { margin-bottom: 20px; }
.field label { display:block; font-family:var(--font-head); font-weight:600; font-size:.9rem; margin-bottom:8px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width:100%; padding: 14px 17px; border:1.5px solid var(--line-2); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--bg-soft);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color: var(--red); background:#fff; box-shadow: 0 0 0 4px rgba(176,33,55,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap: 18px; }

/* Contact info cards */
.info-list { display:flex; flex-direction:column; gap: 16px; }
.info-item { display:flex; gap:16px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.info-item:hover { transform: translateX(6px); box-shadow: var(--sh-md); }
.info-item .ic { width:48px;height:48px;border-radius:14px;background:var(--grad-red);color:#fff;display:grid;place-items:center;flex-shrink:0; }
.info-item .ic svg{ width:23px;height:23px; }
.info-item b { font-family:var(--font-head); font-size:1.02rem; display:block; margin-bottom:3px; }
.info-item span, .info-item a { color: var(--muted); font-size:.96rem; }
.info-item a:hover { color: var(--red); }

.map-embed { border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--sh-md); border:6px solid #fff; height: 100%; min-height: 320px; }
.map-embed iframe { width:100%; height:100%; border:0; display:block; min-height: 320px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--grad-ink); color: rgba(255,255,255,.8); padding: 80px 0 0; position: relative; overflow:hidden; }
.footer::before{ content:""; position:absolute; width:500px;height:500px;border-radius:50%; background: radial-gradient(circle, rgba(176,33,55,.3), transparent 70%); top:-220px; left:-140px; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 50px; position:relative; z-index:1; }
.footer-brand img { height: 52px; margin-bottom: 22px; }
.footer-brand p { font-size:.96rem; max-width: 360px; }
.footer-social { display:flex; gap:12px; margin-top: 24px; }
.footer-social a { width:44px;height:44px;border-radius:50%; background: rgba(255,255,255,.08); display:grid; place-items:center; color:#fff; transition: background .3s, transform .3s; }
.footer-social a:hover { background: var(--red); transform: translateY(-3px); }
.footer-social svg { width:20px; height:20px; }
.footer h4 { color:#fff; font-size:1.05rem; margin-bottom: 22px; }
.footer-links { display:flex; flex-direction:column; gap: 12px; }
.footer-links a { font-size:.96rem; transition: color .25s, padding .25s; }
.footer-links a:hover { color:#fff; padding-left: 6px; }
.footer-contact-item { display:flex; gap:12px; margin-bottom:16px; font-size:.95rem; }
.footer-contact-item svg{ width:20px;height:20px;color:var(--red-400);flex-shrink:0;margin-top:2px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top: 60px; padding: 26px 0; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; font-size:.86rem; position:relative; z-index:1; }

/* =========================================================
   FLOATING WHATSAPP + BACK TO TOP
   ========================================================= */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 60px; height:60px; border-radius:50%; background: #25D366; color:#fff; display:grid; place-items:center; box-shadow: 0 14px 34px -8px rgba(37,211,102,.7); animation: waPulse 2.6s infinite; transition: transform .3s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width:32px;height:32px; }
.to-top { position: fixed; right: 26px; bottom: 96px; z-index: 89; width:46px;height:46px;border-radius:50%; background:#fff; color:var(--red); border:1px solid var(--line); display:grid; place-items:center; box-shadow: var(--sh-md); opacity:0; pointer-events:none; transform: translateY(12px); transition: .4s var(--ease); }
.to-top.show { opacity:1; pointer-events:auto; transform: translateY(0); }
.to-top svg{ width:22px;height:22px; }

/* =========================================================
   WAVE DIVIDER
   ========================================================= */
.wave { display:block; width:100%; height: 70px; }
.wave svg{ width:100%; height:100%; display:block; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal].in { transform: none; }
[data-delay="1"]{ transition-delay:.08s; } [data-delay="2"]{ transition-delay:.16s; }
[data-delay="3"]{ transition-delay:.24s; } [data-delay="4"]{ transition-delay:.32s; }
[data-delay="5"]{ transition-delay:.40s; } [data-delay="6"]{ transition-delay:.48s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal]{ opacity:1 !important; transform:none !important; }
  html{ scroll-behavior:auto; }
}

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes floatY { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }
@keyframes float1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-30px,30px) scale(1.08);} }
@keyframes float2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(30px,-26px) scale(1.1);} }
@keyframes scrollX { from{ transform: translateX(0);} to{ transform: translateX(-50%);} }
@keyframes waPulse { 0%{ box-shadow: 0 14px 34px -8px rgba(37,211,102,.7), 0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow: 0 14px 34px -8px rgba(37,211,102,.7), 0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow: 0 14px 34px -8px rgba(37,211,102,.7), 0 0 0 0 rgba(37,211,102,0);} }
@keyframes spinPulse { 0%,100%{ transform: scale(1) rotate(-6deg);} 50%{ transform: scale(1.06) rotate(6deg);} }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px){
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 460px; margin-inline:auto; width:100%; }
  .split { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 920px){
  :root{ --header-h: 74px; }
  .header-phone { display:none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 6px; background:#fff; padding: calc(var(--header-h) + 20px) 24px 30px; box-shadow: var(--sh-xl);
    transform: translateX(105%); transition: transform .45s var(--ease); z-index:1;
  }
  body.menu-open .nav { transform: translateX(0); }
  .nav a { padding: 14px 16px; font-size: 1.05rem; border-bottom:1px solid var(--line); border-radius:0; }
  .nav a::after{ display:none; }
  .burger { display:block; }
  .header .btn--primary.header-cta-btn { display:none; }
  .nav-cta { display:inline-flex; justify-content:center; margin-top: 16px; }
  .nav-overlay { position: fixed; inset:0; background: rgba(34,24,32,.5); opacity:0; pointer-events:none; transition: opacity .4s; z-index: 99; }
  body.menu-open .nav-overlay { opacity:1; pointer-events:auto; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .mvv-grid { grid-template-columns: 1fr; }
  .tech-row, .tech-row:nth-child(even) { grid-template-columns: 1fr; direction: ltr; gap: 24px; }
  .split { grid-template-columns: 1fr; }
  .split-media { max-width: 480px; margin-inline:auto; width: 100%; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  body{ font-size: 16px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; }
  .hero-trust { gap: 18px; } .hero-trust .sep{ display:none; }
  .float-card.fc1 { left: -8px; top: 14px; } .float-card.fc2 { right: -6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align:center; }
  .btn { --pad: 14px 24px; }
  .hero-badge{ width:84px;height:84px; } .hero-badge b{ font-size:1.4rem; }
}
