/* ============================================
   RAMADA MANAUS — GLOBAL STYLES
   Paleta oficial Ramada: Pantone 193 / #D11242
   ============================================ */

:root {
  /* Cores oficiais Ramada */
  --ramada-red: #D11242;
  --ramada-red-dark: #A50E35;
  --ramada-red-light: #F5E1E6;

  /* Neutros */
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F4F4F5;
  --gray-200: #E4E4E7;
  --gray-300: #D4D4D8;
  --gray-400: #A1A1AA;
  --gray-500: #71717A;
  --gray-600: #52525B;
  --gray-700: #3F3F46;
  --gray-800: #27272A;
  --gray-900: #18181B;

  /* WhatsApp */
  --whatsapp-green: #25D366;
  --whatsapp-green-dark: #128C7E;

  /* Tipografia */
  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  /* Espaçamento */
  --container: 1240px;
  --header-h: 84px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);

  /* Transições */
  --t-fast: 180ms ease;
  --t-mid: 320ms ease;
}

/* ============================================
   RESET
   ============================================ */
*, *::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-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ramada-red);
  margin-bottom: 14px;
  padding-left: 28px;
  position: relative;
}
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--ramada-red);
}

.section-lead {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 720px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.site-logo__img {
  height: 56px;
  width: auto;
}
.site-logo__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--ramada-red);
  letter-spacing: 0.04em;
}
.site-logo__sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gray-500);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav__list {
  display: flex;
  gap: 6px;
}
.nav__link {
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  transition: color var(--t-fast);
}
.nav__link:hover, .nav__link.is-active {
  color: var(--ramada-red);
}
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--ramada-red);
}
.nav__cta {
  margin-left: 12px;
  padding: 10px 20px;
  background: var(--ramada-red);
  color: var(--white) !important;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background var(--t-fast), transform var(--t-fast);
}
.nav__cta:hover { background: var(--ramada-red-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  position: relative;
}
.nav-toggle__bar::before, .nav-toggle__bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  transition: transform var(--t-fast);
}
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all var(--t-fast);
  cursor: pointer;
  letter-spacing: 0.01em;
}
.btn--primary {
  background: var(--ramada-red);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--ramada-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(209, 18, 66, 0.3);
}
.btn--whatsapp {
  background: var(--whatsapp-green);
  color: var(--white);
}
.btn--whatsapp:hover {
  background: var(--whatsapp-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn--outline {
  background: transparent;
  color: var(--gray-900);
  border: 2px solid var(--gray-900);
}
.btn--outline:hover {
  background: var(--gray-900);
  color: var(--white);
}
.btn--light {
  background: var(--white);
  color: var(--gray-900);
}
.btn--light:hover { background: var(--gray-100); }

.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.wa-float:hover {
  transform: scale(1.08);
  background: var(--whatsapp-green-dark);
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  opacity: 0.4;
  z-index: -1;
  animation: pulse 2.4s ease-out infinite;
}
.wa-float__icon {
  width: 32px;
  height: 32px;
  color: var(--white);
}
.wa-float__label {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-900);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast);
}
.wa-float:hover .wa-float__label { opacity: 1; }

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 80px 0 32px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.footer-brand__sub {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--ramada-red);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-brand__text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray-400);
  max-width: 320px;
}
.footer-col__title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col__list li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col__list a {
  color: var(--gray-400);
  transition: color var(--t-fast);
}
.footer-col__list a:hover { color: var(--ramada-red); }

.footer-contact {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--gray-400);
}
.footer-contact strong { color: var(--white); font-weight: 600; display: block; margin-bottom: 4px; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-contact a { color: var(--gray-400); transition: color var(--t-fast); }
.footer-contact a:hover { color: var(--ramada-red); }
.footer-contact + .footer-contact { margin-top: 18px; }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ============================================
   HERO (compartilhado)
   ============================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gray-900);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.15) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  color: var(--white);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 800ms 200ms ease forwards;
}
.hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--ramada-red);
}
.hero__title {
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  max-width: 900px;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 800ms 350ms ease forwards;
}
.hero__title em {
  font-style: normal;
  color: var(--ramada-red);
  font-weight: 800;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 800ms 500ms ease forwards;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 800ms 650ms ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SVG ICONS (utility)
   ============================================ */
.icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .section { padding: 64px 0; }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .nav__list, .nav__cta { display: none; }
  .nav-toggle { display: flex; }

  .nav--open .nav__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }
  .nav--open .nav__list li { width: 100%; }
  .nav--open .nav__link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    width: 100%;
  }
  .nav--open .nav__cta {
    display: inline-flex;
    margin: 16px 0 0;
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .hero { min-height: 78vh; }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .wa-float {
    width: 56px;
    height: 56px;
    bottom: 16px;
    right: 16px;
  }
  .wa-float__icon { width: 28px; height: 28px; }
  .wa-float__label { display: none; }
}
