/* ============================================================
   CRESCER COM CORES — style.css
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  --cream:     #FDFAF4;
  --white:     #FFFFFF;
  --pink:      #F4A5A0;
  --yellow:    #F7D87C;
  --green:     #8DC5A4;
  --blue:      #A8D4E6;
  --lavender:  #C3A8D1;
  --text:      #4A4A4A;
  --text-soft: #7A7A7A;
  --text-dark: #2E2E2E;

  --pink-light:    #FFF0EF;
  --yellow-light:  #FFFBEB;
  --green-light:   #F0FAF5;
  --blue-light:    #EFF8FF;
  --lavender-light:#F5F0FA;

  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  28px;
  --radius-xl:  40px;
  --radius-full: 9999px;

  --shadow-sm:  0 2px 10px rgba(0,0,0,0.06);
  --shadow-md:  0 6px 30px rgba(0,0,0,0.09);
  --shadow-lg:  0 12px 50px rgba(0,0,0,0.12);

  --transition: 0.25s ease;
  --navbar-h:   72px;
}

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

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* Remove blue/gray tap highlight on mobile */
a, button, [role="button"], .nav-link, .drawer-social-link, .nav-drawer-close {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  text-decoration: none;
}

.btn:hover   { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active  { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, #F4A5A0 0%, #F7D87C 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(244,165,160,0.40);
}
.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(244,165,160,0.55);
}

.btn-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 50%, #fcaf45);
  color: #fff;
  box-shadow: 0 4px 20px rgba(253,29,29,0.30);
}
.btn-instagram:hover {
  box-shadow: 0 8px 30px rgba(253,29,29,0.45);
}

.btn-outline-insta {
  background: transparent;
  color: var(--text);
  border: 2.5px solid var(--pink);
  padding: 0.75rem 1.75rem;
}
.btn-outline-insta:hover {
  background: var(--pink);
  color: white;
}

.btn-lg  { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ── Section shared ─────────────────────────────────────────── */
.section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

/* Sections that are "cream" sit transparently on the body — no visible join.
   Sections that need a white/tinted interior fade to cream at both edges
   so adjacent sections always meet at the same cream colour.           */

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  padding: 0.3rem 1.1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--pink-light), var(--blue-light));
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
}

/* ── Scroll-reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* Direction variants — must come after .reveal so they override the base transform */
.reveal.reveal-left  { transform: translateX(-80px); }
.reveal.reveal-right { transform: translateX(80px); }
.reveal.reveal-scale { transform: scale(0.78) translateY(30px); }
/* Fade-only variant: element starts invisible but keeps its natural position.
   Use on elements that manage their own transition (e.g. cards with hover effects). */
.reveal.reveal-fade  { transform: none; }

/* Triggered state — resets all variants */
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Hero content entrance (CSS keyframes, fires on load) ─── */
.hero-headline {
  animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s both;
}
.hero-description {
  animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.38s both;
}
.hero-btns {
  animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.60s both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
  .hero-headline, .hero-description, .hero-btns { animation: none; }
}

/* ── Floating decorative elements ──────────────────────────── */
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg) scale(1); }
  33%      { transform: translateY(-14px) rotate(8deg) scale(1.05); }
  66%      { transform: translateY(-6px) rotate(-4deg) scale(0.97); }
}

.deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  color: var(--c, #F4A5A0);
  animation: float 7s ease-in-out infinite;
}

.deco-star   { font-size: 1.3rem; font-weight: 900; }
.deco-heart  { font-size: 1.2rem; }
.deco-x      { font-size: 1rem; font-weight: 700; }

.deco-dot {
  border-radius: 50%;
  background: var(--c, #F4A5A0);
  display: block;
  width: 12px;
  height: 12px;
}

.deco-squiggle { display: block; }

.section-deco-bg { position: absolute; inset: 0; pointer-events: none; }
.section-deco-bg .deco { position: absolute; }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  background: rgba(253, 250, 244, 1);
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}

.navbar.scrolled {
  background: rgba(253, 250, 244, 1);
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
  height: 62px;
}

.nav-container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-dark);
  flex-shrink: 0;
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform var(--transition);
}
.nav-logo:hover .nav-logo-img { transform: rotate(-5deg) scale(1.05); }

.nav-logo-text {
  background: linear-gradient(135deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.nav-link:hover { background: var(--pink-light); color: var(--pink); }
.nav-link.active { color: var(--pink); }

.nav-cta {
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  color: white !important;
  padding: 0.5rem 1.2rem;
  margin-left: 0.5rem;
  box-shadow: 0 3px 14px rgba(244,165,160,0.38);
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  color: white;
  opacity: 0.9;
  box-shadow: 0 5px 20px rgba(244,165,160,0.5);
  transform: translateY(-1px);
}

/* Drawer-only elements — hidden on desktop */
.nav-drawer-close,
.nav-overlay,
.drawer-header,
.drawer-nav-section,
.drawer-cta-section,
.drawer-footer { display: none; }

/* Desktop-only links always visible on desktop */
.desktop-link { display: contents; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
  background: var(--cream);
  overflow: hidden;
}

.hero-decos {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-decos .deco { position: absolute; }

.hero-content {
  position: absolute;
  top: var(--navbar-h);
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem 2rem;
  max-width: 800px;
}

/* ── Hero logo frame ─────────────────────────────────────
   Three-layer animation system (each element owns ONE transform):
   .hero-logo-pulse  → scale pulse (no rotation conflict)
   .hero-logo-frame  → rainbow ring rotates clockwise
   .hero-logo-mat    → counter-rotates so the logo stays upright
─────────────────────────────────────────────────────────── */

/* Pulse wrapper — owns only scale so it never fights the rotations */
.hero-logo-pulse {
  margin-inline: auto;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 8px 24px rgba(244,165,160,0.22));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 14px 42px rgba(168,212,230,0.42));
  }
}

.hero-logo-frame {
  width: 218px;
  height: 218px;
  border-radius: 50%;
  padding: 8px;
  background: conic-gradient(
    from 0deg,
    var(--pink)      0deg,
    var(--yellow)    72deg,
    var(--green)     144deg,
    var(--blue)      216deg,
    var(--lavender)  288deg,
    var(--pink)      360deg
  );
  animation: ringRotate 12s linear infinite;
  flex-shrink: 0;
  /* Cream halo gives the ring a little breathing room */
  box-shadow:
    0 0 0 5px var(--cream),
    0 12px 40px rgba(244,165,160,0.28);
}

.hero-logo-mat {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--cream);
  animation: ringCounterRotate 12s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@keyframes ringRotate        { to { transform: rotate(360deg);  } }
@keyframes ringCounterRotate { to { transform: rotate(-360deg); } }

.hero-logo {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.hero-headline {
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.headline-accent {
  background: linear-gradient(135deg, var(--pink) 0%, var(--yellow) 50%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero rainbow (positioned at bottom) */
.hero-rainbow {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin-top: auto;
  line-height: 0;
}
.hero-rainbow svg { width: 100%; display: block; }

/* ---- Hero rainbow load animation ---- */
.ra-arc {
  stroke-dasharray: var(--dash, 1200);
  stroke-dashoffset: var(--dash, 1200);
  animation: ra-drawArc 0.9s cubic-bezier(0.4, 0, 0.2, 1) var(--delay, 0s) forwards;
}
.ra-arc-1 { --dash: 1200; --delay: 0.05s; }
.ra-arc-2 { --dash: 1060; --delay: 0.25s; }
.ra-arc-3 { --dash:  930; --delay: 0.45s; }
.ra-arc-4 { --dash:  820; --delay: 0.65s; }

.ra-stitch {
  opacity: 0;
  animation: ra-fadeIn 0.5s ease 1.1s forwards;
}

.ra-confetti {
  opacity: 0;
  animation: ra-fadeIn 0.6s ease 1.3s forwards;
}

.ra-cloud-l {
  opacity: 0;
  animation: ra-cloudL 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards;
}
.ra-cloud-r {
  opacity: 0;
  animation: ra-cloudR 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards;
}

@keyframes ra-drawArc  { to { stroke-dashoffset: 0; } }
@keyframes ra-fadeIn   { to { opacity: 1; } }
@keyframes ra-cloudL {
  from { transform: translateX(-80px); opacity: 0; }
  to   { transform: translateX(-20px); opacity: 1; }
}
@keyframes ra-cloudR {
  from { transform: translateX(80px);  opacity: 0; }
  to   { transform: translateX(20px);  opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ra-arc { animation: none; stroke-dasharray: unset; stroke-dashoffset: 0; }
  .ra-stitch, .ra-confetti { animation: none; opacity: 1; }
  .ra-cloud-l { animation: none; opacity: 1; transform: translateX(-20px); }
  .ra-cloud-r { animation: none; opacity: 1; transform: translateX(20px); }
}

/* ============================================================
   SOBRE
============================================================ */
/* White core fades to cream at both edges → seamless join with neighbouring sections */
.sobre {
  background: linear-gradient(
    to bottom,
    var(--cream)  0%,
    var(--white)  9%,
    var(--white)  91%,
    var(--cream)  100%
  );
}

.sobre-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

/* Profile card */
.profile-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.profile-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  isolation: isolate;
}

/* Colourful blob shadow behind the photo */
.profile-avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -16px;
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--blue-light) 50%, var(--yellow-light) 100%);
  border-radius: 55% 45% 48% 52% / 48% 55% 45% 52%;
  z-index: -1;
  animation: blobMorph 8s ease-in-out infinite;
}

@keyframes blobMorph {
  0%,100% { border-radius: 55% 45% 48% 52% / 48% 55% 45% 52%; }
  25%      { border-radius: 45% 55% 55% 45% / 52% 42% 58% 48%; }
  50%      { border-radius: 50% 50% 40% 60% / 55% 45% 55% 45%; }
  75%      { border-radius: 58% 42% 52% 48% / 44% 56% 44% 56%; }
}

.avatar-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink) 0%, var(--yellow) 50%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  box-shadow: 0 8px 32px rgba(244,165,160,0.4);
}

.avatar-initials {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
  line-height: 1;
}

.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  object-fit: cover;
  margin-inline: auto;
  box-shadow: 0 8px 32px rgba(244,165,160,0.45);
  outline: 4px solid var(--yellow);
  outline-offset: 5px;
  transition: border-radius 0.6s ease;
  animation: photoBlobMorph 8s ease-in-out infinite;
}

@keyframes photoBlobMorph {
  0%,100% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
  25%      { border-radius: 42% 58% 55% 45% / 55% 42% 58% 45%; }
  50%      { border-radius: 50% 50% 42% 58% / 58% 48% 52% 42%; }
  75%      { border-radius: 56% 44% 48% 52% / 44% 56% 44% 56%; }
}

.avatar-deco {
  position: absolute;
}

.profile-name-badge {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.25rem;
}
.profile-name-badge strong { font-size: 1.15rem; font-weight: 900; color: var(--text-dark); }
.profile-name-badge span   { font-size: 0.88rem; color: var(--text-soft); font-weight: 600; }

.profile-badges {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
}
.badge-blue    { background: var(--blue-light);    color: #3a7fa8; }
.badge-green   { background: var(--green-light);   color: #3a8a63; }

/* Bio text */
.sobre-text p {
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
  color: var(--text);
}
.bio-greeting {
  font-size: 1.2rem !important;
  font-weight: 700;
  color: var(--text-dark) !important;
}

.sobre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
}
.tag-blue    { background: var(--blue-light);    color: #3a7fa8; }
.tag-green   { background: var(--green-light);   color: #3a8a63; }
.tag-pink    { background: var(--pink-light);    color: #c0564f; }

/* Institutions */
.instituicoes { padding-top: 1rem; }

.instituicoes-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--cream);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.instituicoes-title::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--yellow));
}

.inst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.inst-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(0,0,0,0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}
.inst-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.inst-logo { width: 48px; height: 48px; object-fit: contain; }

.inst-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.inst-blue  { background: var(--blue-light);    color: #3a7fa8; }
.inst-green { background: var(--green-light);   color: #3a8a63; }
.inst-pink  { background: var(--pink-light);    color: #c0564f; }

.inst-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.inst-info strong { font-size: 0.92rem; font-weight: 800; color: var(--text-dark); }
.inst-info span   { font-size: 0.82rem; color: var(--text-soft); font-weight: 600; }
.inst-info small  { font-size: 0.76rem; color: #aaa; }

/* ============================================================
   TÓPICOS
============================================================ */
/* Cream — same as body, no visible seam at all */
.topicos { background: var(--cream); }

.topicos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.topico-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  /* opacity + transform here so the reveal fade/slide is animated by this element's own transition;
     transitionDelay is cleared after reveal so hover never inherits the stagger delay */
  transition: opacity 0.75s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}
.topico-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.topico-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.topico-card h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
}
.topico-card p {
  font-size: 0.93rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* Color accent stripe at top */
.topico-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ── Blue topic ── */
.topico-blue .topico-icon-wrap { background: var(--blue-light);    color: #3a7fa8; }
.topico-blue .topico-accent    { background: var(--blue); }

/* ── Yellow topic ── */
.topico-yellow .topico-icon-wrap { background: var(--yellow-light); color: #c9930a; }
.topico-yellow .topico-accent    { background: var(--yellow); }

/* ── Green topic ── */
.topico-green .topico-icon-wrap  { background: var(--green-light);  color: #3a8a63; }
.topico-green .topico-accent     { background: var(--green); }

/* ── Pink topic ── */
.topico-pink .topico-icon-wrap   { background: var(--pink-light);   color: #c0564f; }
.topico-pink .topico-accent      { background: var(--pink); }

/* ============================================================
   PUBLICAÇÕES (INSTAGRAM)
============================================================ */
/* Same fade-to-cream treatment as .sobre */
.publicacoes {
  background: linear-gradient(
    to bottom,
    var(--cream)  0%,
    var(--white)  9%,
    var(--white)  91%,
    var(--cream)  100%
  );
}

/* Posts grid */
.instagram-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.instagram-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(0,0,0,0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}
.instagram-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* Post image area */
.post-image-wrapper {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
}

.post-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.post-image {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Carousel controls */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background var(--transition), opacity var(--transition);
  line-height: 1;
}
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-prev:hover,
.carousel-next:hover { background: white; }

.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.dot.active { background: white; transform: scale(1.3); }

.carousel-badge,
.video-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.55);
  color: white;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 0.7rem;
  z-index: 3;
}

/* Post content */
.post-content {
  padding: 1rem 1.25rem 1.25rem;
}

.post-caption {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--pink);
  transition: gap var(--transition);
}
.post-link:hover { gap: 0.7rem; }

/* Fallback */
.instagram-fallback {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem 2.5rem;
}

.fallback-inner {
  text-align: center;
  max-width: 480px;
}

.fallback-icon {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #833ab4, #fd1d1d 50%, #fcaf45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: white;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 30px rgba(253,29,29,0.3);
}

.fallback-inner h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.fallback-inner p {
  color: var(--text-soft);
  margin-bottom: 1.75rem;
  font-size: 0.97rem;
}

.instagram-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* ============================================================
   CONTACTO
============================================================ */
/* Cream — same as body */
.contacto { background: var(--cream); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
}

/* Form */
.contacto-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.87rem;
  font-weight: 800;
  color: var(--text-dark);
}

.req { color: var(--pink); }

.form-group input,
.form-group textarea {
  padding: 0.8rem 1.1rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(244,165,160,0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }

.form-status {
  font-size: 0.88rem;
  font-weight: 700;
  min-height: 1.2em;
  text-align: center;
}
.form-status.success { color: var(--green); }
.form-status.error   { color: var(--pink); }

/* Contact info sidebar */
.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm);
}

.contact-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-ig    { background: linear-gradient(135deg, #833ab4, #fd1d1d 50%, #fcaf45); color: white; }
.contact-li    { background: #0A66C2; color: white; }
.contact-email { background: var(--blue-light); color: #3a7fa8; }

.contact-detail { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-detail strong { font-size: 0.88rem; font-weight: 800; color: var(--text-dark); }
.contact-detail a      { font-size: 0.9rem; color: var(--pink); font-weight: 700; }
.contact-detail a:hover { text-decoration: underline; }

.contacto-mini-rainbow { width: 180px; margin-inline: auto; }
.contacto-mini-rainbow svg { width: 100%; }

.contacto-quote {
  background: linear-gradient(135deg, var(--pink-light), var(--blue-light));
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 4px solid var(--pink);
}
.contacto-quote p {
  font-size: 0.97rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 0.6rem;
}
.contacto-quote cite {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--pink);
  font-style: normal;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #2E2A2A;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand { display: flex; flex-direction: column; gap: 0.9rem; }

.footer-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  padding: 4px;
}

.footer-tagline {
  font-size: 0.92rem;
  opacity: 0.75;
  line-height: 1.5;
  max-width: 260px;
}

.footer-social { display: flex; gap: 0.75rem; margin-top: 0.25rem; }

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  transition: background var(--transition), transform var(--transition);
}
.social-link:hover       { background: var(--pink);  transform: translateY(-2px); }
.social-link-li:hover    { background: #0A66C2; }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1.2rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }

.footer-col li,
.footer-col a {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.footer-col a:hover { opacity: 1; color: var(--pink); }

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.5;
}

/* ============================================================
   STATS STRIP
============================================================ */
/* Very subtle pastel rainbow tint in the centre, fades to cream at both edges */
.stats-strip {
  background: var(--cream);
  padding: 3rem 1.5rem;
}

.stats-container {
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  padding: 0 2rem;
}

.stat-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-pink   { color: var(--pink); }
.stat-blue   { color: #3a7fa8;    font-size: clamp(1.5rem, 4vw, 2.2rem); }
.stat-green  { color: #3a8a63; }
.stat-yellow { color: #c9930a; }

.stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1), transparent);
  flex-shrink: 0;
}

/* ============================================================
   NEWSLETTER
============================================================ */
/* Warm yellow tint in the centre, fades to cream at top and bottom */
.newsletter {
  background: linear-gradient(
    to bottom,
    var(--cream)  0%,
    #FFFBEB       12%,
    #FFFBEB       88%,
    var(--cream)  100%
  );
}

/* Three feature cards */
.newsletter-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.newsletter-feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: opacity 0.75s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}
.newsletter-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.newsletter-feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-inline: auto;
  margin-bottom: 1.1rem;
}
.nfi-yellow { background: var(--yellow-light); color: #c9930a; }
.nfi-blue   { background: var(--blue-light);   color: #3a7fa8; }
.nfi-green  { background: var(--green-light);  color: #3a8a63; }

.newsletter-feature-card h3 {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.newsletter-feature-card p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Subscribe form block */
.newsletter-subscribe {
  max-width: 520px;
  margin-inline: auto;
  text-align: center;
}

.newsletter-subscribe-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin-inline: auto;
}

.newsletter-input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 2px solid rgba(247,216,124,0.6);
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.newsletter-input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(247,216,124,0.25);
}
.newsletter-input::placeholder { color: #bbb; }

.btn-newsletter {
  background: linear-gradient(135deg, var(--yellow), var(--pink));
  color: white;
  box-shadow: 0 4px 16px rgba(247,216,124,0.5);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-newsletter:hover {
  box-shadow: 0 8px 24px rgba(247,216,124,0.6);
}

.newsletter-privacy {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: #bbb;
}

.newsletter-status {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  min-height: 1.2em;
}
.newsletter-status.success { color: var(--green); }
.newsletter-status.error   { color: var(--pink); }

/* Rainbow deco behind newsletter */
.newsletter-rainbow-deco {
  transform: rotate(-90deg);
  position: absolute;
  bottom: 40px;
  right: -50px;
  width: 220px;
  opacity: 0.18;
  pointer-events: none;
}
.newsletter-rainbow-deco-left {
  position: absolute;
  top: 30px;
  left: -50px;
  width: 180px;
  opacity: 0.14;
  pointer-events: none;
  transform: rotate(90deg);
}

/* ============================================================
   BACK-TO-TOP BUTTON
============================================================ */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(244,165,160,0.5);
  opacity: 0;
  transform: translateY(16px) scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  box-shadow: 0 8px 30px rgba(244,165,160,0.6);
  transform: translateY(-3px) scale(1.05);
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 900px)
============================================================ */
@media (max-width: 900px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .profile-card { max-width: 380px; margin-inline: auto; }

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

  .topicos-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-features {
    grid-template-columns: 1fr;
  }

  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 640px) — stats strip & newsletter
============================================================ */
@media (max-width: 640px) {
  .stats-container { flex-wrap: wrap; gap: 1.5rem 0; }
  .stat-item        { flex: 0 0 50%; padding: 0.5rem 1rem; }
  .stat-divider     { display: none; }

  .newsletter-form  { flex-direction: column; }
  .newsletter-input { border-radius: var(--radius-lg); }
  .btn-newsletter   { border-radius: var(--radius-full); }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 640px)
============================================================ */
@media (max-width: 640px) {
  :root { --navbar-h: 62px; }

  .section { padding: 70px 0; }

  /* Navbar mobile */
  .hamburger { display: flex; }

  /* Hide desktop links, show drawer sections */
  .desktop-link { display: none; }

  /* ── Right-side full-height drawer ─────────────────────── */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100dvh;
    background:
      radial-gradient(ellipse at 100% 0%,   rgba(244,165,160,0.22) 0%, transparent 50%),
      radial-gradient(ellipse at 0%   100%,  rgba(168,212,230,0.18) 0%, transparent 50%),
      radial-gradient(ellipse at 50%  60%,   rgba(195,168,209,0.10) 0%, transparent 55%),
      var(--cream);
    padding: 0;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    overflow-y: auto;
  }

  .nav-links.open { transform: translateX(0); }

  /* Dark scrim behind the drawer (only visible on larger phones if you add a partial-width variant) */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.36s ease;
  }
  .nav-overlay.visible {
    opacity: 1;
    pointer-events: all;
  }

  /* ── Drawer header ──────────────────────────────────────── */
  .drawer-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(8px);
    border-bottom: 1.5px solid rgba(244,165,160,0.18);
    position: sticky;
    width: 100%;
    height: var(--navbar-h);
    top: 0;
    z-index: 1;
  }

  .drawer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .drawer-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(244,165,160,0.25);
  }

  .drawer-logo-text {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--pink), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* Close × button */
  .nav-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(244,165,160,0.1);
    border: 1.5px solid rgba(244,165,160,0.2);
    border-radius: 50%;
    font-size: 1rem;
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
  }
  .nav-drawer-close:hover {
    background: var(--pink);
    border-color: var(--pink);
    color: #fff;
    transform: rotate(90deg);
  }

  /* ── Nav links section ──────────────────────────────────── */
  .drawer-nav-section {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    padding: 2rem 1.4rem 1rem;
    flex: 1;
  }

  .drawer-nav-section .nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    border: 1.5px solid transparent;
    transition: background var(--transition), color var(--transition),
                transform var(--transition), border-color var(--transition);
  }

  .drawer-nav-section .nav-link i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.9rem;
    background: rgba(244,165,160,0.12);
    color: var(--pink);
    flex-shrink: 0;
    transition: background var(--transition), color var(--transition);
  }

  .drawer-nav-section .nav-link:nth-child(2) i { background: rgba(247,216,124,0.18); color: #c09600; }
  .drawer-nav-section .nav-link:nth-child(3) i { background: rgba(195,168,209,0.18); color: var(--lavender); }
  .drawer-nav-section .nav-link:nth-child(4) i { background: rgba(168,212,230,0.18); color: #4aaed4; }

  .drawer-nav-section .nav-link:hover,
  .drawer-nav-section .nav-link.active {
    background: rgba(244,165,160,0.08);
    border-color: rgba(244,165,160,0.2);
    color: var(--pink);
    transform: translateX(5px);
  }

  .drawer-nav-section .nav-link:hover i {
    background: var(--pink);
    color: #fff;
  }

  /* ── CTA section ────────────────────────────────────────── */
  .drawer-cta-section {
    display: flex !important;
    padding: 0.5rem 1.4rem 1.2rem;
  }

  .drawer-cta-section .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 1.05rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pink) 0%, var(--yellow) 100%);
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(244,165,160,0.38);
    transition: transform var(--transition), box-shadow var(--transition);
    margin: 0;
    letter-spacing: 0.01em;
  }

  .drawer-cta-section .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(244,165,160,0.55);
  }

  /* ── Drawer footer ──────────────────────────────────────── */
  .drawer-footer {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    padding: 1.25rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
    border-top: 1.5px solid rgba(168,212,230,0.2);
    background: rgba(255,255,255,0.45);
  }

  .drawer-social {
    display: flex;
    gap: 0.6rem;
  }

  .drawer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    color: var(--text-soft);
    border: 1.5px solid rgba(0,0,0,0.08);
    background: var(--white);
    transition: background var(--transition), color var(--transition),
                transform var(--transition), box-shadow var(--transition);
  }

  .drawer-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  }

  .drawer-social-link:first-child:hover {
    background: linear-gradient(135deg, #833ab4, #fd1d1d 50%, #fcaf45);
    color: #fff;
    border-color: transparent;
  }

  .drawer-social-link:last-child:hover {
    background: #0077B5;
    color: #fff;
    border-color: transparent;
  }

  .drawer-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-soft);
    text-align: right;
    line-height: 1.5;
  }

  /* Stagger-in animation when drawer opens */
  .nav-links.open .drawer-header       { animation: drawerSlideIn 0.32s 0.06s both; }
  .nav-links.open .drawer-nav-section  { animation: drawerSlideIn 0.32s 0.14s both; }
  .nav-links.open .drawer-cta-section  { animation: drawerSlideIn 0.32s 0.22s both; }
  .nav-links.open .drawer-footer       { animation: drawerSlideIn 0.32s 0.28s both; }

  @keyframes drawerSlideIn {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  /* Hero */
  .hero-logo-frame { width: 176px; height: 176px; }
  .hero-logo        { width: 90%; height: 90%; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 320px; }

  /* Rainbow: wider than the viewport so it's taller and more visible.
     The hero's overflow:hidden clips the sides cleanly. */
  /* .hero-rainbow {
    width: 160%;
  } */

  /* Decorations */
  .hero-decos .deco:nth-child(n+9) { display: none; }

  /* Instagram posts */
  .instagram-posts { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contacto-form-wrap { padding: 1.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   RESPONSIVE — Small mobile (≤ 400px)
============================================================ */
@media (max-width: 400px) {
  .hero-logo-frame { width: 146px; height: 146px; }
  .hero-logo        { width: 90%; height: 90%; }
  .hero-decos { display: none; }
}

/* ============================================================
   UTILITIES
============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Smooth transitions on all interactive elements */
a, button { transition: color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition), opacity var(--transition); }
