/* ================================================
   BIOGALENUS – Farmácia de Manipulação
   Paleta: Verde #009A44 | Azul #003087
   Tipografia: Montserrat (display) + Inter (body)
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --green:       #009A44;
  --green-dark:  #007A36;
  --green-light: #E8F7EE;
  --green-mid:   #C5EDD6;
  --blue:        #003087;
  --blue-dark:   #001F5B;
  --blue-light:  #EBF0FF;
  --white:       #FFFFFF;
  --gray-50:     #F8FAFB;
  --gray-100:    #F1F4F7;
  --gray-300:    #D0D9E4;
  --gray-500:    #7A8A9A;
  --gray-700:    #3D4F60;
  --dark:        #0D1B2A;
  --text:        #2C3E50;

  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

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

  --shadow-sm:  0 2px 8px rgba(0,48,135,.07);
  --shadow-md:  0 6px 24px rgba(0,48,135,.12);
  --shadow-lg:  0 16px 48px rgba(0,48,135,.16);

  --transition: .3s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ── TYPOGRAPHY ───────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--blue);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { line-height: 1.75; }

/* ── LAYOUT ───────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--sm { padding: 50px 0; }
.section--lg { padding: 110px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; }

/* ── SECTION HEADER ───────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto;
}
.divider-bar {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: 4px;
  margin: 18px auto 0;
}

/* ── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: .9rem; font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-secondary:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline-green {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline-green:hover { background: var(--green); color: var(--white); }

.btn-lg { padding: 17px 40px; font-size: 1rem; }

/* ── NAVBAR ───────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  max-width: 1240px; margin: 0 auto;
}
.navbar-logo {
  display: flex; align-items: center; gap: 12px;
}
.navbar-logo img {
  height: 50px; width: auto;
  border-radius: 8px;
  background: white;
  padding: 4px;
}
.navbar-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.1;
}
.navbar-logo-text span { display: block; font-size: .65rem; font-weight: 500; letter-spacing: .08em; opacity: .75; }
.navbar.scrolled .navbar-logo-text { color: var(--blue); }
.navbar:not(.scrolled) .navbar-logo-text { color: var(--white); }

.navbar-nav {
  display: flex; align-items: center; gap: 8px;
}
.navbar-nav a {
  font-family: var(--font-display);
  font-size: .85rem; font-weight: 600;
  padding: 8px 16px; border-radius: 8px;
  transition: var(--transition);
      

}
.navbar:not(.scrolled) .navbar-nav a { color: rgb(19 12 117 / 88%); }
.navbar:not(.scrolled) .navbar-nav a:hover { color: #1c1f43; background: rgba(255,255,255,.12); }
.navbar.scrolled .navbar-nav a { color: var(--gray-700); }
.navbar.scrolled .navbar-nav a:hover { color: var(--blue); background: var(--blue-light); }
.navbar-nav a.active { color: var(--green) !important; }

.navbar-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 10px 22px !important;
}
.navbar-cta:hover { background: var(--green-dark) !important; transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; border: none; background: #080761; ;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--blue); }

/* ── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, #005A9E 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(0,154,68,.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0,154,68,.15) 0%, transparent 60%);
}
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.hero-video-wrap video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .18;
}
.hero-pattern {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0,154,68,.08) 0%, transparent 50%);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 2;
  padding-top: 100px;
  width: 100%;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  max-width: 1200px; margin: 0 auto;
  padding: 80px 24px;
}
.hero-text { color: var(--white); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: .8rem; font-weight: 600;
  color: #A8E6C0;
  letter-spacing: .05em;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--green); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

.hero-text h1 {
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-text h1 em { color: #7ED9A0; font-style: normal; }
.hero-text p {
  font-size: 1.1rem; line-height: 1.75;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; gap: 32px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-num em { color: #7ED9A0; font-style: normal; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: 4px; }

.hero-visual {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-end;
}
.hero-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--white);
  width: 100%;
}
.hero-card-icon {
  width: 48px; height: 48px;
  background: var(--green);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.hero-card h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.hero-card p  { font-size: .85rem; color: rgba(255,255,255,.7); margin: 0; line-height: 1.5; }
.hero-card-sm {
  background: var(--green);
  border: none;
  padding: 20px 28px;
  display: flex; align-items: center; gap: 16px;
  border-radius: var(--radius-md);
}
.hero-card-sm .icon { font-size: 28px; }
.hero-card-sm p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.9); }
.hero-card-sm strong { display: block; font-size: 1.1rem; color: var(--white); }

/* ── SCROLL INDICATOR ─────────────────────────── */
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2; text-align: center;
  color: rgba(255,255,255,.6);
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
}
.scroll-hint .arrow {
  display: block; width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,.4);
  border-bottom: 2px solid rgba(255,255,255,.4);
  transform: rotate(45deg); margin: 8px auto 0;
  animation: bounce .9s ease-in-out infinite alternate;
}
@keyframes bounce { from{transform:rotate(45deg) translateY(0)} to{transform:rotate(45deg) translateY(6px)} }

/* ── SERVICES STRIP ───────────────────────────── */
.services-strip {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-xl);
  margin: -48px auto 0;
  max-width: 1100px;
  position: relative; z-index: 10;
  display: grid; grid-template-columns: repeat(5,1fr);
  overflow: hidden;
}
.strip-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 28px 16px;
  border-right: 1px solid var(--gray-100);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: var(--green-light); }
.strip-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  transition: var(--transition);
}
.strip-item:hover .strip-icon { transform: scale(1.1); }
.strip-item h4 { font-size: .82rem; color: var(--blue); margin: 0; }

/* ── SOBRE / EMPRESA ──────────────────────────── */
.empresa-section { background: var(--gray-50); }
.empresa-text-block { max-width: 100%; }
.empresa-text-block .lead {
  font-size: 1.15rem; line-height: 1.85;
  color: var(--text);
  margin-bottom: 24px;
  font-weight: 400;
}
.empresa-text-block p { color: var(--gray-700); margin-bottom: 18px; }
.empresa-highlight {
  background: linear-gradient(135deg, var(--blue) 0%, #005A9E 100%);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  color: var(--white);
  margin-bottom: 32px;
}
.empresa-highlight h3 { color: var(--white); margin-bottom: 8px; font-size: 1.1rem; }
.empresa-highlight p  { color: rgba(255,255,255,.85); margin: 0; font-size: .95rem; }

.mvv-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
  margin-top: 40px;
}
.mvv-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.mvv-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
}
.mvv-card.missao::before { background: var(--green); }
.mvv-card.visao::before  { background: var(--blue); }
.mvv-card.valores::before{ background: linear-gradient(90deg, var(--green), var(--blue)); }
.mvv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.mvv-card .icon { font-size: 28px; margin-bottom: 14px; }
.mvv-card h4 { color: var(--blue); margin-bottom: 10px; }
.mvv-card p  { font-size: .9rem; color: var(--gray-700); margin: 0; }

.empresa-image-wrap {
  position: relative;
}
.empresa-image-main {
  width: 100%; border-radius: var(--radius-lg);
  object-fit: cover; height: 520px;
  box-shadow: var(--shadow-lg);
}
.empresa-image-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--green);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  color: var(--white);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.empresa-image-badge strong {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 800;
  display: block; line-height: 1;
}
.empresa-image-badge span { font-size: .8rem; letter-spacing: .05em; opacity: .85; }

/* ── VALUES & PRINCIPLES ──────────────────────── */
.valores-section { background: var(--white); }
.valor-card {
  display: flex; gap: 20px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.valor-card:hover { box-shadow: var(--shadow-md); border-color: var(--green-mid); background: var(--green-light); }
.valor-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.valor-text h4 { color: var(--blue); margin-bottom: 8px; font-size: 1rem; }
.valor-text p  { font-size: .88rem; color: var(--gray-700); margin: 0; line-height: 1.65; }

/* ── SERVICES ─────────────────────────────────── */
.servicos-section { background: var(--gray-50); }
.servico-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  display: flex; flex-direction: column;
}
.servico-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.servico-card-img {
  width: 100%; height: 200px;
  object-fit: cover;
}
.servico-card-img-placeholder {
  width: 100%; height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 60px;
}
.servico-card-body {
  padding: 28px;
  flex: 1; display: flex; flex-direction: column;
}
.servico-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); background: var(--green-light);
  padding: 4px 12px; border-radius: 50px;
  margin-bottom: 12px;
}
.servico-card h3 { color: var(--blue); margin-bottom: 10px; font-size: 1.2rem; }
.servico-card p  { font-size: .9rem; color: var(--gray-700); line-height: 1.7; flex: 1; }
.servico-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  font-size: .85rem; font-weight: 700;
  color: var(--green);
  font-family: var(--font-display);
}
.servico-card-link:hover { color: var(--green-dark); gap: 10px; }

/* ── DIFERENCIAIS ─────────────────────────────── */
.diferenciais-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  position: relative; overflow: hidden;
}
.diferenciais-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.diferenciais-section .section-header h2,
.diferenciais-section .section-header p { color: var(--white); }
.diferenciais-section .section-header p { color: rgba(255,255,255,.75); }
.diferenciais-section .eyebrow { background: rgba(255,255,255,.15); color: #A8E6C0; }
.diferenciais-section .divider-bar { background: linear-gradient(90deg, #A8E6C0, rgba(255,255,255,.4)); }

.dif-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
}
.dif-card:hover { background: rgba(255,255,255,.18); transform: translateY(-4px); }
.dif-num {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 800;
  color: rgba(255,255,255,.1);
  position: absolute; top: 16px; right: 20px;
  line-height: 1;
}
.dif-icon { font-size: 36px; margin-bottom: 18px; }
.dif-card h4 { color: var(--white); margin-bottom: 10px; font-size: 1rem; }
.dif-card p  { font-size: .88rem; color: rgba(255,255,255,.75); margin: 0; line-height: 1.65; }

/* ── CTA WHATSAPP ─────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 540px; margin: 0 auto 36px; }
.cta-section .btn-white {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.cta-section .btn-white:hover { background: var(--green-light); border-color: var(--green-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ── VIDEO SECTION ────────────────────────────── */
.video-section { background: var(--dark); padding: 80px 0; }
.video-section .section-header h2 { color: var(--white); }
.video-section .section-header p   { color: rgba(255,255,255,.7); }
.video-section .eyebrow { background: rgba(0,154,68,.2); color: #7ED9A0; }
.video-section .divider-bar { background: linear-gradient(90deg, var(--green), #7ED9A0); }

.video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-700);
  aspect-ratio: 16/9;
  max-width: 860px; margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.video-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, #1a2d3a 0%, #0d1b2a 100%);
}
.play-btn {
  width: 80px; height: 80px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: white;
  cursor: pointer;
  transition: var(--transition);
  padding-left: 6px;
}
.play-btn:hover { background: var(--green-dark); transform: scale(1.1); }
.video-placeholder p { color: rgba(255,255,255,.6); font-size: .9rem; }

/* ── MAP ──────────────────────────────────────── */
.mapa-section { background: var(--gray-50); }
.mapa-inner {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start;
}
.mapa-info h3 { color: var(--blue); margin-bottom: 24px; }
.info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}
.info-item:last-child { border-bottom: none; }
.info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--green-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--green);
}
.info-item h5 { color: var(--blue); margin-bottom: 4px; font-size: .9rem; }
.info-item p  { font-size: .88rem; color: var(--gray-700); margin: 0; line-height: 1.6; }
.mapa-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}
.mapa-embed iframe { width: 100%; height: 100%; border: none; }

/* ── FOOTER ───────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo img { height: 48px; border-radius: 8px; background: white; padding: 4px; }
.footer-logo-text { font-family: var(--font-display); font-weight: 800; color: var(--white); font-size: 1.05rem; }
.footer-logo-text small { display: block; font-weight: 400; font-size: .7rem; color: rgba(255,255,255,.55); letter-spacing: .05em; }
.footer-about p  { font-size: .88rem; line-height: 1.75; max-width: 300px; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: var(--transition);
  text-decoration: none;
}
.social-btn.ig  { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); color: #fff; }
.social-btn.fb  { background: #1877F2; color: #fff; }
.social-btn.wpp { background: #25D366; color: #fff; }
.social-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.footer-col h5 {
  font-family: var(--font-display);
  font-size: .85rem; font-weight: 700;
  color: var(--white);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--green); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact-item .ico { font-size: 16px; flex-shrink: 0; margin-top: 2px; color: var(--green); }
.footer-contact-item p { font-size: .85rem; margin: 0; line-height: 1.55; }

.footer-bottom {
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--green); }

/* ── WHATSAPP FLOAT ───────────────────────────── */
.wpp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.wpp-float-btn {
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: white;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  transition: var(--transition);
  cursor: pointer; text-decoration: none;
}
.wpp-float-btn:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(37,211,102,.5); color: white; }
.wpp-float-tooltip {
  background: var(--dark); color: var(--white);
  padding: 8px 16px; border-radius: 50px;
  font-size: .8rem; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}
.wpp-float:hover .wpp-float-tooltip { opacity: 1; transform: translateX(0); }

/* ── INNER PAGE HERO ──────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(0,154,68,.2) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,.35); }

/* ── CONTATO FORM ─────────────────────────────── */
.form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: .85rem; font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: .95rem;
  font-family: var(--font-body);
  color: var(--text);
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,154,68,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── ANIMATIONS ───────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-28px); transition: opacity .6s ease, transform .6s ease; }
.reveal-left.visible  { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(28px);  transition: opacity .6s ease, transform .6s ease; }
.reveal-right.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .services-strip { grid-template-columns: repeat(5,1fr); }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-5 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .mapa-inner { grid-template-columns: 1fr; }
  .services-strip { grid-template-columns: repeat(3,1fr); gap: 0; }
  .hero-inner { grid-template-columns: 1fr; padding: 60px 24px 80px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.5rem; }
  .hamburger { display: flex; }
  .navbar-nav { display: none; position: fixed; inset: 0; top: 72px; background: var(--white); flex-direction: column; align-items: center; justify-content: center; gap: 24px; z-index: 999; }
  .navbar-nav.open { display: flex; }
  .navbar-nav a { color: var(--gray-700) !important; font-size: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .empresa-image-badge { right: 0; bottom: -20px; }
  .empresa-image-main { height: 320px; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .services-strip { grid-template-columns: repeat(2,1fr); border-radius: var(--radius-md); }
  .strip-item:nth-child(5) { border-top: 1px solid var(--gray-100); }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-badge { font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ═══════════════════════════════════════════════
   HERO SPLIT – Imagem real da farmácia
═══════════════════════════════════════════════ */

.hero-split {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
  background: none;
}

/* ── LADO ESQUERDO ── */
.hero-left {
  flex: 0 0 52%;
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 55%, #005A9E 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 2;
}

/* padrão sutil no fundo azul */
.hero-left::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 100% 50%, rgba(0,154,68,.18) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-left-inner {
  position: relative; z-index: 1;
  padding: 130px 60px 80px 80px;
  max-width: 600px;
}

/* ── LADO DIREITO ── */
.hero-right {
  flex: 0 0 48%;
  position: relative;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* curva de transição esquerda→direita */
.hero-curve {
  position: absolute;
  top: 0; left: -2px; bottom: 0;
  width: 90px;
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 55%, #005A9E 100%);
  clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%);
  z-index: 3;
  pointer-events: none;
}

/* sobreposição suave na foto para suavizar bordas */
.hero-right::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,48,135,.12) 0%,
    transparent 40%
  );
  z-index: 1;
  pointer-events: none;
}

/* ── BADGES FLUTUANTES SOBRE A IMAGEM ── */
.hero-img-badge {
  position: absolute;
  top: 22%;
  right: 28px;
  z-index: 4;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,48,135,.18);
  min-width: 200px;
  animation: floatBadge 4s ease-in-out infinite;
}

.hero-img-badge--bottom {
  top: auto;
  bottom: 18%;
  right: auto;
  left: 16px;
  animation-delay: 2s;
  animation-direction: alternate-reverse;
}

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

.hib-icon {
  width: 40px; height: 40px;
  background: var(--green);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.hero-img-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

.hero-img-badge span {
  font-size: .75rem;
  color: var(--gray-500);
  line-height: 1;
}

/* ── TRUST PILLS ── */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  font-family: var(--font-display);
  white-space: nowrap;
}

/* ── SCROLL HINT POSICIONADO ── */
.hero-split .scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 26%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(255,255,255,.55);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-left  { flex: 0 0 55%; }
  .hero-right { flex: 0 0 45%; }
  .hero-left-inner { padding: 120px 40px 70px 48px; }
  .hero-img-badge { right: 12px; min-width: 170px; }
}

@media (max-width: 768px) {
  .hero-split {
    flex-direction: column;
    min-height: auto;
  }

  .hero-left {
    flex: none;
    order: 2;
  }

  .hero-left-inner {
    padding: 48px 28px 56px;
    max-width: 100%;
  }

  .hero-right {
    flex: none;
    order: 1;
    height: 56vw;
    min-height: 280px;
    max-height: 460px;
  }

  .hero-photo {
    object-position: center 30%;
  }

  .hero-curve {
    /* curva vira horizontal no mobile: topo */
    top: auto;
    bottom: -2px; left: 0; right: 0;
    width: 100%; height: 64px;
    clip-path: polygon(0 100%, 100% 100%, 100% 30%, 50% 0%, 0 30%);
    background: linear-gradient(160deg, var(--blue-dark), var(--blue));
  }

  .hero-right::after { display: none; }

  .hero-img-badge        { top: 12px; right: 10px; min-width: auto; }
  .hero-img-badge--bottom{ display: none; }

  .hero-split .scroll-hint { left: 50%; }

  .hero-trust { display: none; }
}

@media (max-width: 480px) {
  .hero-left-inner { padding: 40px 20px 48px; }
  .hero-right { height: 64vw; }
  .hib-icon { width: 32px; height: 32px; font-size: 16px; }
  .hero-img-badge strong { font-size: .78rem; }
  .hero-img-badge span   { font-size: .68rem; }
}

/* ═══════════════════════════════════════════════
   HERO FOTO — seção da imagem sozinha no topo
═══════════════════════════════════════════════ */

.hero-foto {
  position: relative;
  width: 100%;
  /* empurra para baixo da navbar fixa (72px) */
  margin-top: 72px;
  line-height: 0;          /* remove espaço fantasma abaixo do img */
  overflow: hidden;
  background: #f5f0ea;     /* fallback enquanto a imagem carrega */
}

.hero-foto-img {
  width: 100%;
  height: clamp(320px, 55vw, 720px);
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* ondinha SVG de transição para o azul */
.hero-foto-wave {
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: clamp(40px, 5.5vw, 80px);
  pointer-events: none;
}
.hero-foto-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Hero azul: remove o min-height total de tela
      pois não é mais o primeiro elemento ── */
.hero-texto {
  min-height: auto !important;
  padding-top: 0 !important;      /* navbar já não está sobreposta aqui */
}

.hero-texto .hero-bg {
  background: linear-gradient(135deg, #001F5B 0%, #003087 55%, #005A9E 100%);
}

.hero-texto .hero-inner {
  padding-top: 60px;
  padding-bottom: 72px;
}

/* ── RESPONSIVO ── */
@media (max-width: 768px) {
  .hero-foto {
    margin-top: 64px;
  }
  .hero-foto-img {
    height: clamp(220px, 62vw, 420px);
    object-position: center 25%;
  }
  .hero-foto-wave {
    height: 36px;
  }
  .hero-texto .hero-inner {
    padding-top: 40px;
    padding-bottom: 56px;
  }
}

@media (max-width: 480px) {
  .hero-foto-img {
    height: 58vw;
    object-position: 60% 20%;
  }
}
