/* ============================================================
   Adesivos do Edu — estilos (tema claro)
   Paleta da logo: azul-marinho escuro + azul royal sobre branco
   ============================================================ */

:root {
  --navy-900: #0b1322;   /* dark band / footer        */
  --navy-800: #101a2e;
  --blue:     #1f6fff;   /* azul royal (marca)        */
  --blue-600: #1a5fe0;
  --blue-400: #4f95ff;
  --blue-50:  #eef4ff;   /* azul muito claro          */
  --white:    #ffffff;
  --ink:      #0f1726;   /* texto principal           */
  --muted:    #5b6577;   /* texto secundário          */
  --muted-d:  #9fb0c9;   /* texto secundário no escuro*/
  --bg:       #ffffff;   /* fundo claro principal     */
  --bg-alt:   #f4f7fc;   /* fundo claro alternado     */
  --card:     #ffffff;
  --border:   #e7ecf5;
  --wpp:      #25d366;

  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 18px 50px -20px rgba(15, 23, 38, .22);
  --shadow-sm: 0 8px 24px -12px rgba(15, 23, 38, .18);
  --shadow-blue: 0 16px 36px -14px rgba(31, 111, 255, .5);
  --maxw:      1180px;
  --ease:      cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand-text { font-family: "Plus Jakarta Sans", sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 800px; }

.text-grad {
  background: linear-gradient(100deg, var(--blue), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ============================== BOTÕES ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-outline {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

/* ============================== HEADER ============================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 19, 34, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.site-header.scrolled {
  background: var(--navy-900);
  box-shadow: 0 8px 30px -14px rgba(0, 0, 0, .55);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 46px; width: auto; }
.brand-fallback { align-items: center; gap: 10px; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: .85rem;
}
.brand-text { color: var(--white); font-size: .95rem; line-height: 1.1; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a {
  color: rgba(255, 255, 255, .82);
  font-size: .95rem;
  font-weight: 600;
  transition: color .2s;
}
.nav > a:hover { color: var(--white); }
.nav-cta { color: var(--white) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================== HERO ============================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 76vh, 760px);
  padding: 120px 0 90px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-800) 45%, #173d76 100%);
}
/* foto de fundo (paisagem no PC, retrato no mobile) */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.hero--noimg .hero-bg { display: none; }
/* escurecimento à esquerda para o texto ficar legível sobre a foto */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg,
    rgba(8, 13, 24, .94) 0%, rgba(8, 13, 24, .80) 30%,
    rgba(8, 13, 24, .42) 58%, rgba(8, 13, 24, .05) 100%);
}
.hero--noimg .hero-scrim { display: none; }

.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 600px; }

.hero .eyebrow { color: #dbe7ff; background: rgba(255, 255, 255, .12); }
.hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.9rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, .85);
  max-width: 540px;
  margin-bottom: 24px;
}
.hero-sub strong { color: var(--white); }

.hero-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .98rem;
  color: #fff;
}
.hero-checks svg { color: var(--blue-400); flex-shrink: 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }

.hero-stats { display: flex; gap: 38px; list-style: none; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.7rem; font-weight: 800; font-family: "Plus Jakarta Sans"; color: var(--white); }
.hero-stats span { font-size: .85rem; color: rgba(255, 255, 255, .7); }

/* ============================== TRUST BAR ============================== */
.trust { background: var(--bg); padding: 0; }
.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-top: -44px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 5;
  width: fit-content;
  max-width: 90%;
  box-shadow: var(--shadow);
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-icon {
  color: var(--blue);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--blue-50);
  border-radius: 12px;
  flex-shrink: 0;
}
.trust-item strong { display: block; font-size: .98rem; color: var(--ink); }
.trust-item span { font-size: .82rem; color: var(--muted); }

/* ============================== SEÇÕES ============================== */
.section { padding: 90px 0; }
.section-tint { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head code {
  background: var(--blue-50);
  color: var(--blue-600);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .85em;
}

/* ============================== CARDS PRODUTOS ============================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--blue-400);
}
.card-media {
  height: 120px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: linear-gradient(135deg, #eef4ff, #dfeaff);
}
.card-media svg { width: 34px; height: 34px; }
.card-body { padding: 24px 24px 26px; }
.card-body h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  font-size: .95rem;
}
.card-link span { transition: transform .25s var(--ease); }
.card-link:hover span { transform: translateX(5px); }
.card-highlight {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border-color: var(--navy-800);
  color: var(--white);
}
.card-highlight .card-media { background: linear-gradient(135deg, var(--blue), var(--blue-400)); color: var(--white); }
.card-highlight .card-body h3 { color: var(--white); }
.card-highlight .card-body p { color: var(--muted-d); }
.card-highlight .card-link { color: var(--blue-400); }

/* ============================== CARD PRODUTOS (NOVO LAYOUT BAMBU LAB) ============================== */
.card-product {
  display: flex;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card-product:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--blue-400);
}
.card-product img {
  width: 50%;
  object-fit: cover;
  object-position: center;
}
.card-product-body {
  width: 50%;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-product-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.card-product-body p {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}
.card-product-empty {
  width: 50%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-400));
  color: var(--white);
}
.card-product-empty svg {
  width: 40px;
  height: 40px;
}
.card-product.card-highlight {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border-color: var(--navy-800);
  color: var(--white);
}
.card-product.card-highlight .card-product-empty {
  background: linear-gradient(135deg, var(--blue), var(--blue-400));
}
.card-product.card-highlight .card-product-body h3 {
  color: var(--white);
}
.card-product.card-highlight .card-product-body p {
  color: var(--muted-d);
}
.card-product.card-highlight .btn {
  align-self: flex-start;
}

/* ============================== REVIEWS (AVALIAÇÕES) ============================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 42px;
  width: 100%;
}
.review {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  display: flex;
  flex-direction: column;
}
.review:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blue-400);
}
.review-stars {
  font-size: 1.2rem;
  color: #ffc107;
  margin-bottom: 16px;
}
.review blockquote {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 20px;
  border-left: 3px solid var(--blue);
  padding-left: 16px;
  font-style: italic;
  margin: 0 0 20px 0;
  flex-grow: 1;
}
.review footer {
  font-size: .85rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: auto;
}

/* ============================== INSTAGRAM FEED ============================== */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
  width: 100%;
}
.instagram-grid blockquote {
  margin: 0 !important;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  width: 100% !important;
}
.instagram-grid blockquote:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .instagram-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================== FEATURES ============================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: var(--blue-400);
  box-shadow: var(--shadow-sm);
}
.feature-num {
  font-family: "Plus Jakarta Sans";
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}
.feature h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ============================== COMO FUNCIONA ============================== */
.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-family: "Plus Jakarta Sans";
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: var(--shadow-blue);
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }
.step-arrow {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  color: var(--blue-400);
  font-weight: 700;
}
.center-cta { text-align: center; margin-top: 48px; }

/* ============================== GALERIA ============================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease);
}
.gallery-item:hover { transform: scale(1.02); }
/* placeholders coloridos — troque por: background-image: url('../assets/img/galeria/xxx.jpg') */
.g-1 { background: linear-gradient(135deg, #ff8fb1, #ff5c8a); }
.g-2 { background: linear-gradient(135deg, #1f6fff, #4f95ff); }
.g-3 { background: linear-gradient(135deg, #2ecc71, #1abc9c); }
.g-4 { background: linear-gradient(135deg, #f5a623, #f76b1c); }
.g-5 { background: linear-gradient(135deg, #8e7bff, #6a5cff); }
.g-6 { background: linear-gradient(135deg, #00c2cb, #0095ff); }
.gallery-item figcaption {
  width: 100%;
  padding: 14px 18px;
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55));
}

/* ============================== FAQ ============================== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: var(--blue-400); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--blue);
  font-weight: 400;
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding: 0 0 18px; font-size: .98rem; }

/* ============================== CTA FINAL ============================== */
.cta-final {
  background:
    radial-gradient(800px 360px at 50% 0%, rgba(31, 111, 255, .35), transparent 65%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  padding: 88px 0;
}
.cta-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-inner h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  color: var(--white);
}
.cta-inner p { color: var(--muted-d); font-size: 1.1rem; margin-bottom: 30px; }

/* ============================== FOOTER ============================== */
.site-footer { background: var(--navy-900); color: var(--white); padding: 56px 0 28px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-seal { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.footer-brand p { font-size: .92rem; color: var(--muted-d); line-height: 1.4; }
.footer-brand strong { color: var(--white); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--muted-d); font-size: .95rem; transition: color .2s; }
.footer-nav a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-d); font-size: .92rem; }
.footer-social:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: .82rem;
  color: var(--muted-d);
}
.footer-legal { font-style: normal; line-height: 1.5; color: var(--muted-d); }

/* ============================== WHATSAPP FLUTUANTE ============================== */
.wpp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  background: var(--wpp);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .25s var(--ease);
  animation: pulse 2.6s ease-in-out infinite;
}
.wpp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7), 0 0 0 0 rgba(37, 211, 102, .5); }
  50% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* Barra fixa de WhatsApp — só aparece no mobile (melhor conversão de Ads) */
.wpp-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px));
  background: var(--wpp);
  color: var(--white);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 -8px 24px -10px rgba(15, 23, 38, .35);
}
.wpp-bar:active { background: #1fbd5b; }

/* ============================== REVEAL (scroll) ============================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================== BLOG ============================== */
/* topo compacto das páginas de blog (sem foto hero) */
.page-head {
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-800) 55%, #173d76 100%);
  color: var(--white);
  padding: 130px 0 70px;
  text-align: center;
}
.page-head .eyebrow { color: #dbe7ff; background: rgba(255, 255, 255, .12); }
.page-head h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-head p { color: rgba(255, 255, 255, .85); max-width: 620px; margin: 0 auto; font-size: 1.08rem; }

/* breadcrumb */
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--blue); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* listagem de artigos */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--blue-400); }
.blog-card img { width: 100%; height: 190px; object-fit: cover; }
.blog-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-tag {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-50);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.blog-card h2 { font-size: 1.22rem; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.blog-card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; flex-grow: 1; }
.blog-card .blog-readmore {
  color: var(--blue);
  font-weight: 700;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-card .blog-readmore span { transition: transform .25s var(--ease); }
.blog-card:hover .blog-readmore span { transform: translateX(5px); }

/* artigo (página do post) */
.post { padding: 60px 0 90px; }
.post-body { max-width: 760px; margin: 0 auto; }
.post-meta { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.post-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 8px 0 36px;
  box-shadow: var(--shadow-sm);
}
.post-body h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.post-body h2 { font-size: 1.5rem; font-weight: 800; margin: 38px 0 14px; letter-spacing: -.01em; }
.post-body h3 { font-size: 1.2rem; font-weight: 700; margin: 26px 0 10px; }
.post-body p { color: #36405a; font-size: 1.08rem; line-height: 1.75; margin-bottom: 18px; }
.post-body ul, .post-body ol { margin: 0 0 18px 22px; color: #36405a; font-size: 1.08rem; line-height: 1.7; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: var(--ink); }
.post-body blockquote {
  border-left: 4px solid var(--blue);
  background: var(--blue-50);
  padding: 16px 22px;
  border-radius: 0 12px 12px 0;
  margin: 0 0 22px;
  font-size: 1.1rem;
  color: var(--navy-800);
}
/* caixa de CTA no fim do artigo */
.post-cta {
  margin-top: 44px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  border-radius: var(--radius);
  padding: 38px 32px;
  text-align: center;
}
.post-cta h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; color: var(--white); }
.post-cta p { color: var(--muted-d); margin-bottom: 22px; }

/* ============================== LANDING RECEITUÁRIOS ============================== */
.med-hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-800) 45%, #173d76 100%);
  padding: 140px 0 88px;
  overflow: hidden;
}
.med-hero::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(31,111,255,.35), transparent 70%);
  pointer-events: none;
}
.med-hero .container { position: relative; z-index: 2; }
.med-hero .eyebrow { color: #dbe7ff; background: rgba(255, 255, 255, .12); }
.med-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  max-width: 760px;
}
.med-hero h1 .text-grad { background: linear-gradient(100deg, var(--blue-400), #8fd0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.med-sub {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, .85);
  max-width: 600px;
  margin-bottom: 26px;
}
.med-sub strong { color: var(--white); }

/* hero em duas colunas: texto + foto do receituário */
.med-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.med-hero-copy { max-width: 620px; }
.med-hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
@media (max-width: 900px) {
  .med-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .med-hero-visual { order: -1; max-width: 540px; margin: 0 auto; width: 100%; }
  .med-hero h1 { max-width: 100%; }
}

/* grade dos 11 tipos de bloco */
.tipos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tipo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.tipo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: var(--blue-400); }
.tipo-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.tipo-card h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 6px; }
.tipo-card p { color: var(--muted); font-size: .92rem; line-height: 1.5; }

@media (max-width: 980px) {
  .tipos-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .tipos-grid { grid-template-columns: 1fr; }
  .med-hero { padding: 116px 0 64px; }
}

/* ============================== RESPONSIVO ============================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; width: 100%; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px 20px; }
  .card-product { flex-direction: column; }
  .card-product img { width: 100%; height: 220px; }
  .card-product-body { width: 100%; padding: 20px; }
  .card-product-empty { width: 100%; min-height: 220px; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 1.6rem; }
  .cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .trust-inner { grid-template-columns: 1fr; gap: 12px; padding: 16px; margin-top: -30px; }
  .instagram-grid { grid-template-columns: 1fr; gap: 12px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .page-head { padding: 100px 0 50px; }
  .post-body h2 { font-size: 1.3rem; }
  .post-body p, .post-body ul, .post-body ol { font-size: 1rem; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-900);
    backdrop-filter: blur(14px);
    padding: 12px 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6);
    transform: translateY(-135%);
    transition: transform .35s var(--ease);
  }
  .nav.open { transform: translateY(0); }
  .nav > a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-cta { margin-top: 12px; text-align: center; }
  .nav-toggle { display: flex; }

  .cards-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .step-arrow { transform: rotate(90deg); width: 100%; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-nav, .footer-contact { justify-content: center; align-items: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .section { padding: 64px 0; }

  /* MOBILE: hero retangular com foto ao fundo e texto sobreposto */
  .hero { min-height: auto; padding: 100px 0 56px; }
  .hero-bg img { object-position: center; }
  /* escurecimento mais forte para o título branco ficar 100% legível sobre a foto */
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(8, 13, 24, .92) 0%, rgba(8, 13, 24, .85) 40%,
      rgba(8, 13, 24, .80) 70%, rgba(8, 13, 24, .90) 100%);
  }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: 1.95rem; line-height: 1.15; margin-bottom: 16px; }
  .hero-sub { max-width: 100%; font-size: 1rem; margin-bottom: 20px; }
  .hero-checks { gap: 8px; margin-bottom: 26px; }
  .hero-checks li { font-size: .92rem; }
  .hero-stats { gap: 22px; }
  .hero-stats strong { font-size: 1.4rem; }
  .hero-stats span { font-size: .78rem; }

  /* botões ocupam a largura toda — alvo de toque grande */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  /* barra fixa de WhatsApp no lugar do ícone flutuante */
  .wpp-bar { display: flex; }
  .wpp-float { display: none; }
  body { padding-bottom: 68px; }
}

@media (max-width: 460px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}

/* acessibilidade: respeita preferência por menos movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
