/*
  ╔══════════════════════════════════════════════════════════╗
  ║  INNER FLOWING — style.css                               ║
  ║  CSS global: variáveis, reset, componentes reutilizáveis ║
  ╚══════════════════════════════════════════════════════════╝

  ATENÇÃO: Este arquivo controla o visual de todo o site.
  Edite com cuidado. Para mudar cores ou fontes, altere as
  variáveis na seção ":root" abaixo.
*/

/* ─────────────────────────────────────────
   GOOGLE FONTS
   ───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=DM+Sans:wght@300;400;500&display=swap');

/* ─────────────────────────────────────────
   VARIÁVEIS
   ───────────────────────────────────────── */
:root {
  /* Paleta */
  --teal-profundo: #073E4C;
  --teal:          #0B5E6F;
  --teal-medio:    #1A8FA8;
  --teal-claro:    #5BBFD4;
  --teal-gelo:     #D0EEF3;
  --rosa-vivo:     #E05C7A;
  --rosa-suave:    #ECA8C0;
  --grafite:       #2C3E45;
  --offwhite:      #F9F5F6;
  --branco:        #FFFFFF;

  /* Tipografia */
  --font-display:  'Bebas Neue', sans-serif;
  --font-elegance: 'Cormorant Garamond', serif;
  --font-body:     'DM Sans', sans-serif;

  /* Spacing */
  --section-padding:        96px 0;
  --section-padding-mobile: 64px 0;
  --container-max:  1160px;
  --container-pad:  0 24px;

  /* Transitions */
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* WhatsApp */
  --wa-green: #25D366;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--grafite);
  background: var(--branco);
  overflow-x: hidden;
  line-height: 1.7;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ─────────────────────────────────────────
   CONTAINER
   ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

/* ─────────────────────────────────────────
   ESCALA TIPOGRÁFICA
   ───────────────────────────────────────── */
.t-hero-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.t-hero-elegance {
  font-family: var(--font-elegance);
  font-weight: 400;
  font-style: italic;
  font-size: 46px;
  line-height: 1.0;
}

.t-section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.t-card-title {
  font-family: var(--font-elegance);
  font-weight: 400;
  font-style: italic;
  font-size: 28px;
  line-height: 1.1;
}

.t-body-lg {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
}

.t-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
}

.t-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.t-caption {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .t-hero-display  { font-size: 72px; }
  .t-hero-elegance { font-size: 58px; }
  .t-section-title { font-size: 46px; }
}

@media (min-width: 1024px) {
  .t-hero-display  { font-size: 96px; }
  .t-hero-elegance { font-size: 78px; }
  .t-section-title { font-size: 56px; }
}

/* ─────────────────────────────────────────
   WORDMARK
   ───────────────────────────────────────── */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15em;
  line-height: 1;
  text-decoration: none;
}

.wm-inner {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wm-flowing {
  font-family: var(--font-elegance);
  font-weight: 400;
  font-style: italic;
}

/* Tamanhos */
.wordmark[data-size="lg"] .wm-inner  { font-size: 48px; }
.wordmark[data-size="lg"] .wm-flowing{ font-size: 36px; }
.wordmark[data-size="md"] .wm-inner  { font-size: 32px; }
.wordmark[data-size="md"] .wm-flowing{ font-size: 24px; }
.wordmark[data-size="sm"] .wm-inner  { font-size: 20px; letter-spacing: 0.04em; }
.wordmark[data-size="sm"] .wm-flowing{ font-size: 15px; }

/* Fundo escuro */
.wordmark.on-dark .wm-inner  { color: #fff; }
.wordmark.on-dark .wm-flowing{ color: var(--rosa-vivo); }

/* Fundo claro */
.wordmark.on-light .wm-inner  { color: var(--teal-profundo); }
.wordmark.on-light .wm-flowing{ color: var(--rosa-vivo); }

/* ─────────────────────────────────────────
   SÍMBOLO ORBITAL (SVG)
   ───────────────────────────────────────── */
.symbol {
  display: inline-block;
  flex-shrink: 0;
}

.symbol[data-size="xs"] { width: 24px;  height: 24px; }
.symbol[data-size="sm"] { width: 36px;  height: 36px; }
.symbol[data-size="md"] { width: 52px;  height: 52px; }
.symbol[data-size="lg"] { width: 72px;  height: 72px; }

/* ─────────────────────────────────────────
   ANÉIS DECORATIVOS
   ───────────────────────────────────────── */
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}

@keyframes orbit-drift {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.04); }
  100% { transform: rotate(360deg) scale(1); }
}

.ring-1 { animation: orbit-drift 35s linear infinite; }
.ring-2 { animation: orbit-drift 50s linear infinite reverse; }
.ring-3 { animation: orbit-drift 28s linear infinite; opacity: 0.6; }

/* ─────────────────────────────────────────
   BOTÕES
   ───────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  padding: 16px 32px;
  transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover  { transform: scale(1.02); }
.btn:active { transform: scale(0.98); }

.btn:focus-visible {
  outline: 2px solid var(--rosa-vivo);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--rosa-vivo);
  color: #fff;
  border: none;
}
.btn-primary:hover { background: #c94d6a; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.8); }

.btn-outline {
  background: transparent;
  color: var(--teal-profundo);
  border: 1.5px solid var(--teal-profundo);
}
.btn-outline:hover {
  background: var(--teal-profundo);
  color: #fff;
}

/* ─────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: rgba(7,62,76,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  position: relative;
  transition: color var(--transition-base);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--rosa-vivo);
  transition: width var(--transition-base);
}

.nav-links a:not(.btn):hover { color: #fff; }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-links a.active::after { width: 100%; }

.nav-links .nav-cta {
  padding: 10px 22px;
  font-size: 12px;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
#mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--teal-profundo);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  aria-hidden: true;
}

#mobile-menu.open {
  transform: translateX(0);
}

#mobile-menu a {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--transition-base);
}

#mobile-menu a:hover { color: #fff; }

#mobile-menu .btn {
  margin-top: 8px;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-hamburger { display: none; }
}

/* ─────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────── */
footer {
  background: #052830;
  padding: 64px 0 40px;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
  text-align: center;
}

.footer-brand .footer-tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-contact::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--rosa-vivo);
  margin-bottom: 6px;
}

.footer-contact a {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-contact a:hover { color: #fff; }

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 40px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr 1fr;
    text-align: left;
  }
  .footer-brand .footer-tagline { margin-left: 0; }
  .footer-contact { align-items: flex-start; }
  .footer-contact::before { margin-left: 0; }
  .footer-right { align-items: flex-end; }
}

/* ─────────────────────────────────────────
   BOTÃO WHATSAPP FLUTUANTE
   ───────────────────────────────────────── */
#wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform var(--transition-base), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

#wa-float.visible {
  opacity: 1;
  pointer-events: auto;
}

#wa-float:hover { transform: scale(1.08); }

#wa-float:focus-visible {
  outline: 2px solid var(--rosa-vivo);
  outline-offset: 3px;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 24px rgba(37,211,102,0.65); transform: scale(1.05); }
}

#wa-float.visible {
  animation: wa-pulse 3s ease-in-out infinite;
}

#wa-float.visible:hover {
  animation: none;
  transform: scale(1.08);
}

@media (min-width: 768px) {
  #wa-float {
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
  }
}

/* ─────────────────────────────────────────
   SCROLL REVEAL
   ───────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }

/* ─────────────────────────────────────────
   SEÇÃO HERO COMPACTO (sobre / contato)
   ───────────────────────────────────────── */
.hero-compact {
  background: var(--teal-profundo);
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 80px 0 48px;
  position: relative;
  overflow: hidden;
}

.hero-compact .container {
  position: relative;
  z-index: 1;
}

.hero-compact .hero-eyebrow {
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
  display: block;
}

.hero-compact .hero-title {
  color: #fff;
  margin-bottom: 8px;
}

.hero-compact .hero-subtitle {
  font-family: var(--font-elegance);
  font-style: italic;
  font-size: 22px;
  color: var(--rosa-vivo);
}

@media (min-width: 768px) {
  .hero-compact {
    min-height: 320px;
    padding: 100px 0 64px;
  }
  .hero-compact .hero-subtitle { font-size: 28px; }
}

/* ─────────────────────────────────────────
   SEÇÃO PADDING UTILITÁRIOS
   ───────────────────────────────────────── */
.section-pad {
  padding: var(--section-padding-mobile);
}

@media (min-width: 1024px) {
  .section-pad {
    padding: var(--section-padding);
  }
}

/* ─────────────────────────────────────────
   SECTION HEADER UTILITÁRIO
   ───────────────────────────────────────── */
.section-header {
  margin-bottom: 56px;
}

.section-header .section-label {
  display: block;
  margin-bottom: 12px;
}

.section-header .section-title {
  line-height: 1;
}

.section-header .section-subtitle {
  font-family: var(--font-elegance);
  font-style: italic;
  margin-top: 4px;
}

/* ─────────────────────────────────────────
   PREFERS-REDUCED-MOTION
   ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ring-1, .ring-2, .ring-3 {
    animation: none;
  }

  #wa-float.visible {
    animation: none;
  }
}
