/* ==========================================================
   CLIVET SUL — Landing Page Moderna
   versao-html/css/style.css
   ========================================================== */

/* ── Variáveis ──────────────────────────────────────────── */
:root {
  --blue-900: #0d2044;
  --blue-800: #1a4782;
  --blue-700: #1e5494;
  --blue-600: #2d7fb0;
  --blue-400: #82a7c7;
  --yellow:   #edc731;
  --yellow-d: #d4ae24;
  --white:    #ffffff;
  --dark:     #102033;
  --bg:       #d8eaf7;
  --bg2:      #c2d9ef;
  --border:   #b8d0e8;

  --shadow-xs: 0 2px 8px rgba(16,32,51,.06);
  --shadow-sm: 0 6px 24px rgba(16,32,51,.09);
  --shadow:    0 16px 48px rgba(16,32,51,.12);
  --shadow-lg: 0 32px 80px rgba(16,32,51,.16);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-f:  9999px;

  --ease:    cubic-bezier(.4,0,.2,1);
  --dur:     .3s;
  --dur-lg:  .55s;

  --max-w: 1280px;
  --gap:   clamp(1rem, 4vw, 2rem);

  --z-float:  40;
  --z-header: 100;
  --z-menu:   90;
  --z-prog:   200;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 1rem; line-height: 1.65;
  color: var(--dark); background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }
p { max-width: 65ch; }

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ── Tipografia ─────────────────────────────────────────── */
h1 { font-size: clamp(2.25rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
h3 { font-size: clamp(1.0625rem, 2vw, 1.25rem); }
h1,h2,h3,h4 { font-family: 'Urbanist', ui-sans-serif, system-ui, sans-serif; font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }

/* ── Utilitários ────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gap); }
.section    { padding-block: clamp(4rem, 8vw, 5.5rem); }

.section-badge {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: .875rem;
}

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--c { text-align: center; }
.section-head--c p { margin-inline: auto; }
.section-head p { color: var(--blue-400); line-height: 1.75; margin-top: 1rem; }
.section-head h2 { color: var(--dark); }

/* ── Botões ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .9375rem; font-weight: 600; line-height: 1;
  padding: .9rem 1.75rem; border-radius: var(--r-f);
  transition: all var(--dur) var(--ease);
  white-space: nowrap; position: relative; overflow: hidden;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-yellow { background: var(--yellow); color: var(--dark); }
.btn-yellow:hover { background: var(--yellow-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(237,199,49,.35); }

.btn-white-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }
.btn-white-outline:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.65); transform: translateY(-2px); }

.btn-blue { background: var(--blue-800); color: var(--white); }
.btn-blue:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,71,130,.3); }

.btn-ghost { background: transparent; color: var(--dark); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--bg); border-color: var(--blue-400); }

/* ── Skip link / foco ───────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--blue-800); color: var(--white);
  padding: .625rem 1.25rem; font-weight: 600; z-index: 9999;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

/* ── Scroll progress ────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--blue-600));
  width: 0; z-index: var(--z-prog); pointer-events: none;
  transition: width .1s linear;
}

/* ── HEADER ─────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  padding: 1.25rem 0;
  background: rgba(10,28,54,.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: padding var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.header.scrolled {
  padding: .75rem 0;
  box-shadow: 0 4px 32px rgba(10,28,54,.3);
}

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.header__logo img { height: 44px; width: auto; }
.logo-mobile { display: none; }

.header__nav { display: none; align-items: center; gap: 1.875rem; }

.header__link {
  font-size: .875rem; font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: color var(--dur) var(--ease);
  position: relative;
}
.header__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--yellow);
  border-radius: 2px; transition: width var(--dur) var(--ease);
}
.header__link:hover { color: var(--white); }
.header__link:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px; padding: 8px;
  border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease);
}
.hamburger:hover { background: rgba(255,255,255,.1); }

.hamburger span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--white);
  transition: all var(--dur) var(--ease);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Menu mobile — drawer lateral ──────────────────────── */
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: calc(var(--z-menu) - 1);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility 0s .3s;
}
.mobile-overlay.open {
  opacity: 1; visibility: visible;
  transition: opacity .3s ease, visibility 0s;
}

.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(300px, 85vw);
  background: #07122a;
  border-left: 1px solid rgba(255,255,255,.08);
  z-index: var(--z-menu);
  display: flex; flex-direction: column;
  padding: 5.5rem 1.75rem 2.5rem;
  overflow-y: auto;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1), visibility 0s .35s;
}
.mobile-menu.open {
  visibility: visible;
  transform: translateX(0);
  transition: transform .35s cubic-bezier(.4,0,.2,1), visibility 0s;
}

/* Links de navegação */
.mobile-menu__link {
  display: block;
  font-family: 'Urbanist', ui-sans-serif, sans-serif;
  font-size: 1.25rem;
  font-weight: 700; letter-spacing: -.02em;
  color: rgba(255,255,255,.6);
  padding: .875rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .2s ease, padding-left .2s ease;
}
.mobile-menu__link:last-of-type { border-bottom: none; }
.mobile-menu__link:hover,
.mobile-menu__link:active { color: var(--white); padding-left: .375rem; }

/* Botão WA */
.mobile-menu .btn.mobile-menu__link {
  font-family: 'Plus Jakarta Sans', ui-sans-serif, sans-serif;
  font-size: .9375rem; letter-spacing: 0;
  color: var(--dark);
  padding: .875rem 1.5rem;
  border-bottom: none;
  margin-top: 1.75rem;
  text-align: center;
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  background: linear-gradient(145deg, #0b1e40 0%, #1a4782 45%, #1d5499 70%, #2d7fb0 100%);
  padding-top: 5rem;
}

/* Orbs */
.hero__orb {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.hero__orb--1 {
  top: -15%; right: -5%;
  width: clamp(300px,55vw,700px); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(237,199,49,.07) 0%, rgba(45,127,176,.12) 40%, transparent 70%);
  animation: orbFloat 14s ease-in-out infinite;
}
.hero__orb--2 {
  bottom: -20%; left: -8%;
  width: clamp(250px,40vw,500px); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);
  animation: orbFloat 18s ease-in-out infinite reverse;
}
.hero__orb--3 {
  top: 40%; right: 30%;
  width: clamp(80px,15vw,200px); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(237,199,49,.05) 0%, transparent 70%);
  animation: orbFloat 10s ease-in-out infinite 2s;
}

.hero__dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 40px 40px;
}

@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(-18px,14px) scale(1.04); }
  66%      { transform: translate(14px,-18px) scale(.97); }
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
  padding-block: 4rem 6rem;
}

/* Animação entrada hero */
.hero__badge,
.hero__title,
.hero__sub,
.hero__ctas,
.hero__micro {
  opacity: 0; transform: translateY(24px);
  animation: heroIn .85s var(--ease) forwards;
}
.hero__badge  { animation-delay: .15s; }
.hero__title  { animation-delay: .3s; }
.hero__sub    { animation-delay: .45s; }
.hero__ctas   { animation-delay: .6s; }
.hero__micro  { animation-delay: .75s; }

@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-radius: var(--r-f);
  padding: .375rem 1rem .375rem .5rem;
  font-size: .8125rem; font-weight: 500;
  color: rgba(255,255,255,.9); margin-bottom: 1.5rem;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--yellow); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.45);opacity:.65} }

.hero__title {
  color: var(--white); font-weight: 900;
  line-height: 1.08; margin-bottom: 1.5rem;
}
.hero__title mark { background: none; color: var(--yellow); }

.hero__sub {
  font-size: clamp(.9375rem, 1.6vw, 1.125rem);
  color: rgba(255,255,255,.72); line-height: 1.75;
  margin-bottom: 2.5rem; max-width: 540px;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }

.hero__micro {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .5rem .75rem;
  font-size: .8125rem; color: rgba(255,255,255,.5);
}
.hero__micro-dot { color: var(--yellow); font-size: .4rem; }

/* Glass card lateral */
.hero__visual { display: none; justify-content: flex-end; }

.hero__card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r-xl); padding: 2.25rem;
  width: 100%; max-width: 360px;
  opacity: 0;
  animation: cardIn 1s var(--ease) .9s forwards, cardFloat 8s ease-in-out 1.9s infinite;
}
@keyframes cardIn    { to { opacity: 1; } }
@keyframes cardFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

.hero__card-logo { height: 34px; margin-bottom: 2rem; }

.hero__card-items { display: flex; flex-direction: column; gap: 1.125rem; }

.hero__card-item { display: flex; align-items: center; gap: .875rem; }

.hero__card-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(237,199,49,.14); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.hero__card-icon svg { width: 18px; height: 18px; color: var(--yellow); stroke: currentColor; fill: none; }

.hero__card-label { font-size: .8125rem; font-weight: 600; color: var(--white); }
.hero__card-sublabel { font-size: .75rem; color: rgba(255,255,255,.5); }

.hero__card-divider { height: 1px; background: rgba(255,255,255,.1); margin: 1.5rem 0; }

.hero__card-cta {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; padding: .875rem; border-radius: var(--r);
  background: var(--yellow); color: var(--dark);
  font-size: .875rem; font-weight: 700;
  transition: all var(--dur) var(--ease);
}
.hero__card-cta:hover { background: var(--yellow-d); transform: translateY(-2px); }

/* Curva de transição */
.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero__wave svg { width: 100%; display: block; height: clamp(100px, 14vw, 200px); }

/* ── TRUST BAR ──────────────────────────────────────────── */
.trust { background: var(--dark); }

.trust__grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}

.trust__card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); padding: 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.trust__card:hover { background: rgba(255,255,255,.11); transform: translateY(-3px); }

.trust__icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(237,199,49,.15);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: background var(--dur) var(--ease);
}
.trust__card:hover .trust__icon { background: rgba(237,199,49,.25); }
.trust__icon svg { width: 22px; height: 22px; color: var(--yellow); stroke: currentColor; fill: none; }

.trust__name { font-size: .875rem; font-weight: 700; color: var(--white); margin-bottom: .25rem; }
.trust__desc { font-size: .8125rem; color: rgba(255,255,255,.55); line-height: 1.6; max-width: none; }

/* ── SERVIÇOS ───────────────────────────────────────────── */
.services { background: var(--white); }

.services__grid { display: grid; gap: 1.25rem; }

.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.75rem;
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-7px); box-shadow: 0 20px 48px rgba(26,71,130,.12); border-color: var(--blue-400); }

.service-card__icon {
  width: 52px; height: 52px; background: var(--bg);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--dur) var(--ease);
}
.service-card:hover .service-card__icon { background: rgba(26,71,130,.1); }
.service-card__icon svg { width: 24px; height: 24px; color: var(--blue-800); stroke: currentColor; fill: none; stroke-width: 1.5; transition: transform var(--dur) var(--ease); }
.service-card:hover .service-card__icon svg { transform: scale(1.12); }

.service-card__title { font-size: .9375rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.service-card__desc { font-size: .875rem; color: var(--blue-400); line-height: 1.7; flex: 1; margin-bottom: 1rem; max-width: none; }
.service-card__note { font-size: .75rem; color: rgba(45,127,176,.6); font-style: italic; margin-bottom: 1rem; }

.service-card__link {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .875rem; font-weight: 600; color: var(--blue-800);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.service-card__link:hover { gap: .625rem; color: var(--blue-600); }
.service-card__link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; transition: transform var(--dur) var(--ease); }
.service-card__link:hover svg { transform: translateX(3px); }

/* ── TECNOLOGIA ─────────────────────────────────────────── */
.technology { background: #0a1e38; position: relative; overflow: hidden; }
.technology::before {
  content: ''; position: absolute; top: -40%; right: -15%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(237,199,49,.06) 0%, transparent 70%);
  pointer-events: none;
}
.technology h2 { color: var(--white); }
.technology .section-badge { color: var(--yellow); }
.technology p { color: rgba(255,255,255,.6) !important; }

.technology__inner { display: grid; gap: 3rem; align-items: center; }

.technology__accent { display: flex; align-items: center; gap: .75rem; margin-top: 2rem; }
.technology__accent span { height: 3px; border-radius: 99px; }

.technology__pillars { display: flex; flex-direction: column; gap: 1.25rem; }

.tech-pillar {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tech-pillar:hover { background: rgba(255,255,255,.11); transform: translateX(5px); }

.tech-pillar__num {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--yellow); color: var(--dark);
  font-size: .875rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tech-pillar__title { font-size: .9375rem; font-weight: 700; color: var(--white); margin-bottom: .375rem; }
.tech-pillar__desc { font-size: .875rem; color: rgba(255,255,255,.55); line-height: 1.7; max-width: none; }

/* ── ESTRUTURA ──────────────────────────────────────────── */
.structure { background: var(--white); }
.structure__grid { display: grid; gap: 1.25rem; }

.structure__card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.5rem 1.75rem;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.structure__card::before { content: ''; display: block; width: 32px; height: 3px; background: var(--yellow); border-radius: 99px; margin-bottom: 1.25rem; }
.structure__card:hover { box-shadow: var(--shadow-sm); border-color: var(--blue-400); }
.structure__card h3 { font-size: .9375rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.structure__card p { font-size: .875rem; color: var(--blue-400); line-height: 1.7; max-width: none; }
.structure__card small { font-size: .75rem; color: rgba(45,127,176,.6); font-style: italic; display: block; margin-top: .5rem; }

.structure__img-ph {
  border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--border);
  padding: 3rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem; text-align: center; min-height: 260px;
}
.structure__img-ph svg { width: 52px; height: 52px; color: rgba(130,167,199,.45); stroke: currentColor; fill: none; }
.structure__img-ph span { font-size: .875rem; color: var(--blue-400); }
.structure__img-ph code { font-size: .75rem; color: rgba(45,127,176,.5); }

/* ── SOBRE ──────────────────────────────────────────────── */
.about { background: var(--bg); }
.about__inner { display: grid; gap: 3rem; align-items: center; }

.about__img {
  border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border);
  aspect-ratio: 4/3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem; text-align: center; padding: 2rem;
}
.about__img svg { width: 56px; height: 56px; color: rgba(130,167,199,.4); stroke: currentColor; fill: none; }
.about__img span { font-size: .875rem; color: var(--blue-400); }

.about__text p { color: var(--blue-400); line-height: 1.8; margin-bottom: 1rem; }

.about__placeholder {
  background: var(--bg2); border-radius: var(--r-sm); padding: .875rem 1rem;
  font-size: .875rem; color: rgba(45,127,176,.6); font-style: italic; border: 1px dashed var(--border);
}

.about__stats {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem;
  padding-top: 2rem; border-top: 1px solid var(--border); margin-top: 2rem;
}
.about__stat-val { font-size: 1.75rem; font-weight: 900; color: var(--blue-800); margin-bottom: .2rem; }
.about__stat-lbl { font-size: .725rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-400); }

/* ── EQUIPE ─────────────────────────────────────────────── */
.team { background: var(--white); }
.team__grid { display: grid; gap: 1.5rem; max-width: 760px; margin-inline: auto; }

.team-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem 1.75rem; text-align: center;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }

.team-card__avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(26,71,130,.08); border: 3px solid var(--border);
  margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.team-card__avatar svg { width: 36px; height: 36px; color: rgba(130,167,199,.5); stroke: currentColor; fill: none; }

.team-card__name { font-size: 1.0625rem; font-weight: 800; color: var(--dark); margin-bottom: .25rem; }
.team-card__role { font-size: .875rem; font-weight: 500; color: var(--blue-600); margin-bottom: .25rem; }
.team-card__crmv { font-size: .75rem; color: var(--blue-400); margin-bottom: .875rem; }
.team-card__bio { font-size: .875rem; color: rgba(130,167,199,.75); line-height: 1.75; font-style: italic; max-width: none; }

/* ── DEPOIMENTOS ────────────────────────────────────────── */
.testimonials { background: var(--bg); }
.testimonials__grid { display: grid; gap: 1.25rem; }

.t-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.75rem; box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.t-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }

.t-card__stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.t-card__stars svg { width: 15px; height: 15px; fill: var(--yellow); }

.t-card__text { font-size: .9375rem; color: var(--blue-400); line-height: 1.8; font-style: italic; margin-bottom: 1.25rem; max-width: none; }

.t-card__author { display: flex; align-items: center; gap: .875rem; }
.t-card__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--bg2); border: 2px solid var(--border); flex-shrink: 0; }
.t-card__name { font-size: .875rem; font-weight: 700; color: var(--dark); }
.t-card__pet { font-size: .75rem; color: var(--blue-400); }

/* ── LOCALIZAÇÃO ────────────────────────────────────────── */
.location { background: var(--white); }
.location__inner { display: grid; gap: 3rem; align-items: center; }

.location__cards { display: flex; flex-direction: column; gap: 1rem; }

.location__card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r);
  transition: box-shadow var(--dur) var(--ease);
}
.location__card:hover { box-shadow: var(--shadow-sm); }

.location__icon {
  width: 42px; height: 42px; background: rgba(26,71,130,.1);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.location__icon svg { width: 20px; height: 20px; color: var(--blue-800); stroke: currentColor; fill: none; }

.location__lbl { font-size: .725rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .375rem; }
.location__val { font-size: .9375rem; color: var(--dark); line-height: 1.5; max-width: none; }
.location__val a { color: var(--blue-800); font-weight: 600; transition: color var(--dur) var(--ease); }
.location__val a:hover { color: var(--blue-600); }

.location__ctas { display: flex; flex-wrap: wrap; gap: .875rem; margin-top: .5rem; justify-content: center; }

.location__map {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border);
  height: min(440px, 70vw); background: var(--bg); position: relative;
}
.location__map iframe { width: 100%; height: 100%; border: none; display: block; }

/* Card mobile do mapa */
.map-card {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.25rem;
  padding: 2rem;
  background: linear-gradient(145deg, var(--bg2) 0%, var(--bg) 100%);
  text-align: center;
}
.map-card__pin {
  width: 3.5rem; height: 3.5rem;
  background: var(--yellow); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(237,199,49,.4);
}
.map-card__pin svg { width: 1.75rem; height: 1.75rem; color: var(--dark); }
.map-card__address {
  font-size: .9375rem; line-height: 1.6;
  color: var(--dark); font-weight: 500;
}
.map-card__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem;
}
.map-card__btn svg { width: 1rem; height: 1rem; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { background: var(--bg); }
.faq__list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: .75rem; }

.faq__item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.faq__item.open { box-shadow: var(--shadow-sm); border-color: var(--blue-400); }

.faq__trigger {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; text-align: left;
  font-size: .9375rem; font-weight: 600; color: var(--dark);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.faq__trigger:hover { color: var(--blue-800); background: var(--bg); }
.faq__item.open .faq__trigger { color: var(--blue-800); }

.faq__chevron { width: 22px; height: 22px; flex-shrink: 0; color: var(--blue-600); stroke: currentColor; fill: none; transition: transform .35s var(--ease); }
.faq__item.open .faq__chevron { transform: rotate(180deg); }

.faq__body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .3s var(--ease); padding: 0 1.5rem; }
.faq__item.open .faq__body { max-height: 400px; padding: 0 1.5rem 1.5rem; }
.faq__body p { font-size: .9375rem; color: var(--blue-400); line-height: 1.8; max-width: none; }

/* ── CTA FINAL ──────────────────────────────────────────── */
.cta-final {
  background: var(--blue-800); position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; top: -50%; right: -15%;
  width: 70vw; height: 70vw; max-width: 700px;
  background: radial-gradient(circle, rgba(237,199,49,.08) 0%, transparent 60%);
  border-radius: 50%; pointer-events: none;
}
.cta-final::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}

.cta-final__inner { position: relative; z-index: 2; text-align: center; max-width: 720px; margin-inline: auto; }
.cta-final .section-badge { color: rgba(237,199,49,.8); }
.cta-final h2 { color: var(--white); margin-bottom: 1.25rem; }
.cta-final p { font-size: 1.0625rem; color: rgba(255,255,255,.7); line-height: 1.8; margin: 0 auto 2.5rem; }
.cta-final__btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--dark); color: rgba(255,255,255,.65); }

.footer__top {
  padding: 4rem 0 3rem;
  display: grid; gap: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer__brand { width: fit-content; }
.footer__logo { height: 48px; width: auto; display: block; margin: 0 auto 1.125rem; }
.footer__tagline { font-size: .875rem; line-height: 1.75; max-width: 300px; margin-bottom: 1.5rem; }

.footer__contacts { display: flex; flex-direction: column; gap: .625rem; }
.footer__contact {
  display: flex; align-items: center; gap: .625rem;
  font-size: .875rem; transition: color var(--dur) var(--ease);
}
.footer__contact:hover { color: var(--white); }
.footer__contact svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--yellow); stroke: currentColor; fill: none; }

.footer__col h4 { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-bottom: 1.125rem; }

.footer__links { display: flex; flex-direction: column; gap: .625rem; }
.footer__link { font-size: .875rem; transition: color var(--dur) var(--ease); }
.footer__link:hover { color: var(--white); }

.footer__address { font-size: .875rem; line-height: 1.8; }
.footer__maps { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 600; color: var(--yellow); margin-top: .75rem; transition: opacity var(--dur) var(--ease); }
.footer__maps:hover { opacity: .8; }
.footer__maps svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }

.footer__bottom { padding: 1.25rem 0; display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center; }
.footer__lgpd { font-size: .725rem; line-height: 1.65; color: rgba(255,255,255,.3); max-width: 680px; }
.footer__copy { font-size: .725rem; color: rgba(255,255,255,.25); }

/* ── WhatsApp float ─────────────────────────────────────── */
/* ── Grupo flutuante (BTT + WA empilhados) ──────────────── */
.float-group {
  position: fixed; bottom: 1rem; right: 1rem;
  z-index: var(--z-float);
  display: flex; flex-direction: column; align-items: center;
  gap: .75rem;
}

.wa-float {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  /* max-height permite colapsar o espaço ao esconder */
  max-height: 56px; overflow: hidden;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              opacity var(--dur) var(--ease),
              max-height var(--dur) var(--ease),
              margin-top var(--dur) var(--ease);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37,211,102,.45); }
.wa-float svg { width: 28px; height: 28px; fill: var(--white); }
.wa-float.hidden {
  opacity: 0; pointer-events: none;
  transform: scale(.75);
  max-height: 0; margin-top: -.75rem; /* remove o gap quando colapsa */
}

/* ── Back to top ────────────────────────────────────────── */
.btt {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btt.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.btt:hover { box-shadow: var(--shadow); }
.btt svg { width: 18px; height: 18px; color: var(--blue-800); stroke: currentColor; fill: none; }

/* ── Scroll reveal ──────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: .78s;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}
[data-reveal="up"]    { transform: translateY(52px); }
[data-reveal="left"]  { transform: translateX(-52px); }
[data-reveal="right"] { transform: translateX(52px); }
[data-reveal="scale"] { transform: scale(.87); }
[data-reveal="fade"]  { transform: none; }
[data-reveal].on { opacity: 1; transform: none; }

[data-d="1"] { transition-delay: .08s; }
[data-d="2"] { transition-delay: .16s; }
[data-d="3"] { transition-delay: .24s; }
[data-d="4"] { transition-delay: .32s; }
[data-d="5"] { transition-delay: .40s; }
[data-d="6"] { transition-delay: .48s; }
[data-d="7"] { transition-delay: .56s; }
[data-d="8"] { transition-delay: .64s; }

/* ── Responsivo ─────────────────────────────────────────── */
@media (min-width: 480px) {
  .trust__grid { grid-template-columns: repeat(2,1fr); }
}

@media (min-width: 600px) {
  .services__grid        { grid-template-columns: repeat(2,1fr); }
  .team__grid            { grid-template-columns: repeat(2,1fr); }
  .testimonials__grid    { grid-template-columns: repeat(2,1fr); }
  .structure__grid       { grid-template-columns: repeat(2,1fr); }
  .footer__top           { grid-template-columns: repeat(2,1fr); }
}

@media (min-width: 768px) {
  .location__inner  { grid-template-columns: 1fr 1fr; }
  .about__inner     { grid-template-columns: 1fr 1fr; }
  .technology__inner{ grid-template-columns: 1fr 1fr; }
  .location__map    { height: 460px; }
}

@media (min-width: 1024px) {
  .header__nav  { display: flex; }
  .hamburger    { display: none; }

  .hero__inner  { grid-template-columns: 55fr 45fr; }
  .hero__visual { display: flex; }

  .trust__grid        { grid-template-columns: repeat(4,1fr); }
  .services__grid     { grid-template-columns: repeat(4,1fr); }
  .testimonials__grid { grid-template-columns: repeat(3,1fr); }
  .structure__grid    { grid-template-columns: repeat(3,1fr); }
  .structure__img-ph  { grid-column: span 2; }
  .footer__top        { grid-template-columns: 2fr 1fr 1fr; }
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 767px) {

  /* Previne overflow horizontal */
  html, body { overflow-x: hidden; max-width: 100%; }

  /* Hero — centraliza texto e badge */
  .hero__text { text-align: center; }
  .hero__badge { max-width: 100%; justify-content: center; white-space: normal; }
  .hero__ctas { justify-content: center; }
  .hero__micro { justify-content: center; }
  .hero__sub { max-width: 100%; }

  /* Section heads não centradas por padrão → centralizadas no mobile */
  .section-head { text-align: center; }
  .section-head p { margin-inline: auto; }
  .section-head h2 { text-align: center; }

  /* Tecnologia — centraliza bloco de texto */
  .technology__inner > div:first-child { text-align: center; }
  .technology__accent { justify-content: center; }

  /* Sobre — centraliza texto quando empilhado */
  .about__inner > div:last-child { text-align: center; }
  .about__stats { justify-items: center; }
  .about__stat-val, .about__stat-lbl { text-align: center; }
  .about__placeholder { text-align: left; }

  /* Localização — centraliza infos e CTAs */
  .location__card { text-align: left; } /* endereço fica melhor alinhado à esquerda */
  .location__ctas { justify-content: center; }

  /* CTA final */
  .cta-final__inner { text-align: center; }

  /* Navbar — troca para logo horizontal no mobile */
  .logo-desktop { display: none; }
  .logo-mobile  { display: block; height: 36px; width: auto; }

  /* Footer — centraliza marca, remove logo */
  .footer__logo { display: none; }
  .footer__top > div:first-child { text-align: center; }
  .footer__contacts { align-items: center; }
  .footer__tagline { max-width: 100%; }

  /* Botões no footer não ficam com texto cortado */
  .footer__maps { justify-content: center; }

  /* Mapa: oculto no mobile (já há botões de Maps na seção) */
  .location__map { display: none; }

  /* Padding hero menor no mobile */
  .hero__inner { padding-block: 2.5rem 4rem; }
}
