/* ============================================================
   STUDIO IDEIA — style.css
   Paleta: #1F3A34 (verde) | #C9A24F (dourado) | #F3F0E9 (bege)
   Fontes: Cormorant Garamond (serif) + Montserrat (sans)
   ============================================================ */

/* ===== VARIÁVEIS ===== */
:root {
  --green:        #1F3A34;
  --green-dark:   #142921;
  --gold:         #C9A24F;
  --gold-hover:   #ae8a3d;
  --beige:        #F3F0E9;
  --white:        #FFFFFF;
  --text:         #2D2D2D;
  --text-muted:   #666666;
  --border:       #e0dbd1;
  --header-h:     72px;
  --section-pad:  100px;
  --radius:       10px;
  --transition:   0.3s ease;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Montserrat', Arial, sans-serif;
  --max-w:        1200px;
}

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

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

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

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* ===== TIPOGRAFIA ===== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.7rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

/* ===== UTILITÁRIOS ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.text-center  { text-align: center; }
.text-white   { color: var(--white) !important; }
.text-muted-w { color: rgba(255, 255, 255, 0.72); }
.gold         { color: var(--gold); }

.bg-dark  { background: var(--green); }
.bg-light { background: var(--white); }
.bg-beige { background: var(--beige); }

.section-title {
  margin-bottom: 18px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 52px;
}

.section-body {
  font-size: 1.05rem;
  line-height: 1.82;
  max-width: 660px;
}

.label-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: background var(--transition),
              border-color var(--transition),
              color var(--transition),
              transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 79, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 58, 52, 0.18);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 0.85rem;
  padding: 18px 44px;
}

.btn-sm {
  font-size: 0.72rem;
  padding: 10px 20px;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  background: var(--green);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 36px;
  overflow: hidden; /* impede logo de vazar para fora da barra */
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  flex-shrink: 0;
}

.logo-studio {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.45em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.logo-ideia {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Nav desktop */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav-desktop a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-desktop a:hover {
  color: var(--gold);
}

.nav-desktop a:hover::after {
  transform: scaleX(1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-left: auto;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

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

/* Nav mobile */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--green);
  padding: 0 28px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding var(--transition);
}

.nav-mobile.open {
  display: flex;
  max-height: 600px;
}

.nav-mobile a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--transition);
}

.nav-mobile a:hover {
  color: var(--gold);
}

.nav-mobile .btn {
  margin-top: 20px;
  text-align: center;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--green);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative background texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    ellipse 80% 60% at 60% 50%,
    rgba(201, 162, 79, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 64px;
  align-items: center;
  padding-top: 40px;
}

.hero-content { }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(201, 162, 79, 0.35);
  border-radius: 20px;
}

.hero-headline {
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.12;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 440px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-trust {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.hero-trust strong {
  color: var(--gold);
  font-weight: 600;
}

/* Hero video */
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(201, 162, 79, 0.3);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  border-radius: 0;
}

/* Gold decorative line below video (irmão externo ao video-wrap) */
.video-line {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto 0;
  opacity: 0.5;
  border-radius: 2px;
}

.hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-media .video-wrap {
  width: 100%;
}

.btn-guia {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(201, 162, 79, 0.06);
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-guia:hover {
  background: rgba(201, 162, 79, 0.15);
}

@media (max-width: 540px) {
  .btn-guia {
    width: 100%;
    padding: 14px 20px;
  }
}

/* ===== SEÇÃO A DOR ===== */
.section-dor {
  padding: var(--section-pad) 0;
  text-align: center;
}

.section-dor .section-title {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 22px;
}

.section-dor .section-body {
  max-width: 580px;
  margin: 0 auto;
}

/* ===== SEÇÃO COMO FUNCIONA ===== */
.section-como {
  padding: var(--section-pad) 0;
}

.section-como .section-title {
  margin-bottom: 60px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 17%;
  right: 17%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold) 20%,
    var(--gold) 80%,
    transparent
  );
  opacity: 0.3;
  pointer-events: none;
}

.step {
  text-align: center;
  padding: 0 12px;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 22px;
  display: inline-block;
  position: relative;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  color: var(--green);
  margin-bottom: 14px;
  font-weight: 600;
}

.step-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ===== SEÇÃO PLANOS ===== */
.section-planos {
  padding: var(--section-pad) 0;
}

.section-planos .section-title {
  margin-bottom: 10px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 52px;
  margin-bottom: 36px;
}

/* Card base */
.plan-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.09);
}

/* Card destaque */
.plan-featured {
  background: var(--green);
  border-color: var(--gold);
  transform: scale(1.05);
  box-shadow: 0 24px 64px rgba(31, 58, 52, 0.3);
  z-index: 2;
}

.plan-featured:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 32px 72px rgba(31, 58, 52, 0.38);
}

.plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Plan header */
.plan-header {
  margin-bottom: 26px;
}

.plan-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}

.plan-featured .plan-name {
  color: var(--white);
}

.plan-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}

.plan-currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  padding-top: 10px;
}

.plan-value {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.plan-cents {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  padding-top: 8px;
}

/* Plan features */
.plan-features {
  flex: 1;
  margin-bottom: 28px;
}

.plan-features li {
  font-size: 0.88rem;
  color: #4a4a4a;
  padding: 11px 0 11px 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  line-height: 1.5;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.plan-featured .plan-features li {
  color: rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.plan-featured .plan-features li::before {
  background: var(--gold);
}

/* Plan button */
.plan-card .btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.plan-featured .btn-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.plans-note {
  text-align: center;
  font-size: 0.78rem;
  color: #999;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ===== SEÇÃO GALERIA ===== */
.section-galeria {
  padding: var(--section-pad) 0;
}

.section-galeria .section-title {
  margin-bottom: 52px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
}

/* Quando as imagens reais forem inseridas, adicione: img { width: 100%; height: 100%; object-fit: cover; } */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 162, 79, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.img-placeholder::after {
  content: 'Render';
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
}

.gallery-item:hover .img-placeholder {
  background: rgba(255, 255, 255, 0.07);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover figcaption {
  opacity: 1;
}

/* ===== SEÇÃO QUEM SOMOS ===== */
.section-sobre {
  padding: var(--section-pad) 0;
}

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}

.sobre-photo {
  position: relative;
}

.sobre-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  display: block;
}


.sobre-content .section-body {
  color: var(--text-muted);
  margin-bottom: 38px;
}

.selos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.selo {
  display: flex;
  flex-direction: column;
  background: var(--beige);
  border-left: 3px solid var(--gold);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  min-width: 155px;
}

.selo-num {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.selo-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

/* ===== SEÇÃO DEPOIMENTOS ===== */
.section-depoimentos {
  padding: var(--section-pad) 0;
}

.section-depoimentos .section-title {
  margin-bottom: 52px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.07);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 0.8;
  opacity: 0.35;
  margin-bottom: 6px;
  display: block;
}

.testimonial-text {
  font-size: 0.93rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 22px;
  font-style: italic;
}

.testimonial-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== SEÇÃO FAQ ===== */
.section-faq {
  padding: var(--section-pad) 0;
}

.faq-inner {
  max-width: 780px;
  margin: 0 auto;
}

.section-faq .section-title {
  margin-bottom: 52px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--green);
}

.faq-item.open .faq-question {
  color: var(--green);
}

/* Plus/minus icon */
.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
  border: 1.5px solid rgba(201, 162, 79, 0.5);
  border-radius: 50%;
  transition: border-color var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  border-radius: 1px;
  top: 50%;
  left: 50%;
  transition: transform var(--transition), background var(--transition);
}

.faq-icon::before {
  width: 10px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after {
  background: var(--white);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding-bottom: 24px;
  padding-right: 40px;
}

/* ===== CTA FINAL ===== */
.section-cta {
  padding: 120px 0;
  text-align: center;
}

.section-cta .section-title {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.section-cta .section-body {
  max-width: 460px;
  margin: 0 auto 44px;
}

/* ===== RODAPÉ ===== */
.site-footer {
  background: var(--green-dark);
  padding: 52px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
}

.footer-logo .logo-studio {
  font-size: 0.58rem;
  letter-spacing: 0.45em;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-sans);
  font-weight: 300;
  text-transform: uppercase;
}

.footer-logo .logo-ideia {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--gold);
}

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

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.06em;
}

/* ===== BOTÃO FLUTUANTE WHATSAPP ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 22px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  color: var(--white);
}

.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-fab svg {
  width: 30px;
  height: 30px;
}

/* Pulse animation on fab */
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.25);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.2); opacity: 0; }
}

/* ===== ANIMAÇÕES FADE-IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger em grids */
.steps-grid       .step:nth-child(2)            { transition-delay: 0.14s; }
.steps-grid       .step:nth-child(3)            { transition-delay: 0.28s; }
.plans-grid       .plan-card:nth-child(2)       { transition-delay: 0.1s; }
.plans-grid       .plan-card:nth-child(3)       { transition-delay: 0.2s; }
.testimonials-grid .testimonial-card:nth-child(2) { transition-delay: 0.14s; }
.testimonials-grid .testimonial-card:nth-child(3) { transition-delay: 0.28s; }
.gallery-grid     .gallery-item:nth-child(2)   { transition-delay: 0.06s; }
.gallery-grid     .gallery-item:nth-child(3)   { transition-delay: 0.12s; }
.gallery-grid     .gallery-item:nth-child(4)   { transition-delay: 0.18s; }
.gallery-grid     .gallery-item:nth-child(5)   { transition-delay: 0.24s; }
.gallery-grid     .gallery-item:nth-child(6)   { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */

/* Tablet grande */
@media (max-width: 1080px) {
  .hero-inner      { gap: 44px; }
  .sobre-inner     { gap: 52px; }
  .plans-grid      { gap: 16px; }
  .plan-featured   { transform: scale(1.03); }
}

/* Tablet */
@media (max-width: 860px) {
  :root { --section-pad: 80px; }

  .nav-desktop,
  .header-inner > .btn { display: none; }

  .hamburger { display: flex; }

  /* Hero: empilha — conteúdo em cima, vídeo embaixo */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content   { order: 1; }
  .hero-media     { order: 2; }

  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .steps-grid::before { display: none; }

  /* Plans */
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .plan-featured { transform: scale(1); }
  .plan-featured:hover { transform: translateY(-5px); }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Sobre */
  .sobre-inner { grid-template-columns: 1fr; gap: 44px; }
  .sobre-photo { max-width: 300px; margin: 0 auto; }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile */
@media (max-width: 540px) {
  :root {
    --header-h: 60px;
    --section-pad: 64px;
  }

  .container { padding: 0 18px; }

  .logo-ideia { font-size: 1.3rem; }

  .hero { padding-bottom: 56px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }

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

  .selos { flex-direction: column; gap: 14px; }

  .hero-cta-group { flex-direction: column; align-items: center; }

  .footer-links { flex-direction: column; gap: 16px; }

  .whatsapp-fab { bottom: 18px; right: 18px; width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }

  .faq-answer p { padding-right: 0; }

  .section-cta { padding: 80px 0; }
}

/* ===== LIGHTBOX ===== */

/* display: flex sempre presente; visibilidade controlada por opacity + pointer-events
   para que a transition de opacidade funcione corretamente */
.lb-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  cursor: pointer;
}

.lb-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lb-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  cursor: default;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.7);
  display: block;
}

.lb-caption {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  cursor: default;
}

.lb-close {
  position: fixed;
  top: 14px;
  right: 16px;
  width: 48px;
  height: 48px;
  min-width: 44px;   /* área de toque mínima (mobile) */
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 10000;
}

.lb-close:hover,
.lb-close:focus {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  outline: none;
}

/* Cursor zoom-in nas imagens da galeria para indicar que são clicáveis */
.gallery-grid .gallery-item img {
  cursor: zoom-in;
}
