/* ===================================================
   DESIGN TOKENS & RESET — Vermelho Profundo & Creme
   =================================================== */

:root {
  /* Navbar */
  --color-navbar: #5E0006;
  --color-navbar-scroll: rgba(94, 0, 6, 0.95);

  /* Backgrounds — Deep reds */
  --color-bg: #9B0F06;
  --color-bg-dark: #7A0C05;
  --color-bg-card: rgba(255, 255, 255, 0.06);
  --color-bg-card-hover: rgba(255, 255, 255, 0.1);
  --color-white: #FFFFFF;

  /* Text — Warm cream */
  --color-text: #EED9B9;
  --color-text-light: rgba(238, 217, 185, 0.8);
  --color-text-muted: rgba(238, 217, 185, 0.55);

  /* Elements — Orange-red accent */
  --color-accent: #D53E0F;
  --color-accent-dark: #B5330D;
  --color-accent-light: #E6623A;
  --color-accent-subtle: rgba(213, 62, 15, 0.15);

  /* WhatsApp */
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1da851;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --section-padding: 120px 0;

  /* Transitions */
  --transition-fast: 0.2s ease-out;
  --transition-base: 0.35s ease-out;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows — darker for dark backgrounds */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.25);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 40px;
  --radius-full: 50%;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ===================================================
   NAVBAR — Dark Maroon, Elegant
   =================================================== */

.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: var(--color-navbar);
  transition: background var(--transition-base),
              padding var(--transition-base),
              box-shadow var(--transition-base);
  border-bottom: 1px solid rgba(238, 217, 185, 0.08);
}

.site-navbar.scrolled {
  background: var(--color-navbar-scroll);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(238, 217, 185, 0.1);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
  transition: color var(--transition-fast);
}

.navbar-logo svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 0;
  padding-left: 0;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-accent);
  position: relative;
  transition: color var(--transition-fast);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--color-accent-light);
}

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

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================================================
   BUTTONS — Bold & Warm
   =================================================== */

.btn-cta,
.btn-wpp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 38px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-2xl);
  cursor: pointer;
  transition: transform var(--transition-fast),
              box-shadow var(--transition-base),
              background var(--transition-fast);
  letter-spacing: 0.03em;
  text-decoration: none;
}

.btn-cta:hover,
.btn-wpp:hover {
  transform: translateY(-3px);
}

.btn-cta:active,
.btn-wpp:active {
  transform: translateY(-1px);
}

.btn-cta {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 24px rgba(213, 62, 15, 0.35);
}

.btn-cta:hover {
  background: var(--color-accent-light);
  color: var(--color-white);
  box-shadow: 0 8px 36px rgba(213, 62, 15, 0.45);
}

.btn-wpp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.3);
  padding: 18px 44px;
  font-size: 0.95rem;
}

.btn-wpp:hover {
  background: var(--color-whatsapp-dark);
  color: var(--color-white);
  box-shadow: 0 8px 36px rgba(37, 211, 102, 0.4);
}

/* ===================================================
   HERO SECTION — Deep Red with Warm Glow
   =================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-bg);
  overflow: hidden;
}

/* Warm glow — top right */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(213, 62, 15, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

/* Subtle warm glow — bottom left */
.hero::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(238, 217, 185, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-container {
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.hero-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-greeting {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-name {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-crp {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 20px;
  max-width: 560px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 40px;
  max-width: 500px;
}

.highlight-online {
  color: var(--color-accent);
  font-weight: 600;
  position: relative;
}

.highlight-online::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  opacity: 0.5;
}

/* Hero image — warm glow frame */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-image-decoration {
  position: absolute;
  inset: -8px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, rgba(213, 62, 15, 0.2) 0%, rgba(238, 217, 185, 0.08) 100%);
  z-index: 0;
}

.hero-image {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.35);
}

/* Wave divider */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ===================================================
   SECTION HEADER — Cream on Red
   =================================================== */

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.2;
}

.section-divider {
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 20px auto 0;
  opacity: 0.6;
}

/* ===================================================
   ABOUT SECTION — Slightly darker red for contrast
   =================================================== */

.about {
  background: var(--color-bg-dark);
  padding: var(--section-padding);
}

.about-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 52px;
  position: relative;
  border: 1px solid rgba(238, 217, 185, 0.08);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  height: 100%;
  backdrop-filter: blur(12px);
}

.about-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--color-accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 28px;
}

.about-card p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-card strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Highlights */
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.highlight-item {
  flex: 1;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(238, 217, 185, 0.06);
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.highlight-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(238, 217, 185, 0.12);
  background: var(--color-bg-card-hover);
}

.highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.highlight-item h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
}

.highlight-item p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===================================================
   BOOKING SECTION — Main Red
   =================================================== */

.booking {
  background: var(--color-bg);
  padding: var(--section-padding);
}

.booking-content {
  max-width: 680px;
  margin: 0 auto;
}

.booking-steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-bottom: 64px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(213, 62, 15, 0.35);
}

.step-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
}

.step-info p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.booking-cta {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.booking-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.booking-note {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.booking-note strong {
  color: var(--color-text);
}

/* ===================================================
   FOOTER — Darkest Maroon
   =================================================== */

.footer {
  background: var(--color-navbar);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(238, 217, 185, 0.08);
}

.footer-container {
  text-align: center;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 6px;
}

.footer-crp {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(238, 217, 185, 0.25);
  margin-bottom: 6px;
}

.footer-dev {
  font-size: 0.78rem;
  color: rgba(238, 217, 185, 0.2);
}

.footer-dev a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.footer-dev a:hover {
  opacity: 1;
}

/* ===================================================
   SPECIALTIES SECTION — Cream Background (visual break)
   =================================================== */

.specialties {
  background: #EED9B9;
  padding: var(--section-padding);
}

/* Dark variant headers for light backgrounds */
.section-header--dark .section-label--dark {
  color: var(--color-accent);
}

.section-header--dark .section-title--dark {
  color: #2C3333;
}

.section-header--dark .section-divider--dark {
  background: var(--color-accent);
}

.specialty-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(155, 15, 6, 0.06);
  height: 100%;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow var(--transition-base), transform var(--transition-base);
}

.specialty-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.specialty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(94, 0, 6, 0.12);
}

.specialty-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(213, 62, 15, 0.1) 0%, rgba(155, 15, 6, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin: 0 auto 20px;
}

.specialty-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: #2C3333;
  margin-bottom: 10px;
}

.specialty-card p {
  font-size: 0.92rem;
  color: #5A6868;
  line-height: 1.7;
}

/* ===================================================
   FLOATING WHATSAPP BUTTON
   =================================================== */

.floating-wpp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--color-whatsapp);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--transition-fast), box-shadow var(--transition-base);
  animation: floatPulse 2.5s ease-in-out infinite;
}

.floating-wpp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  color: var(--color-white);
}

.floating-wpp:active {
  transform: scale(1.05);
}

/* ===================================================
   ANIMATIONS

   =================================================== */

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

@keyframes pulseGlow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.7;
  }
}

@keyframes floatPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 28px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1);
  }
}

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

@media (max-width: 991.98px) {
  .hero-container {
    padding-top: 130px;
    padding-bottom: 40px;
    text-align: center;
  }

  .hero-headline,
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    width: 100%;
    height: auto;
    max-height: 420px;
  }

  .hero-image-decoration {
    border-radius: var(--radius-lg);
  }

  .about-card {
    padding: 40px;
  }

  .about-highlights {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .highlight-item {
    flex: 1;
    min-width: 200px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-padding: 80px 0;
  }

  /* Mobile menu */
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-navbar);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 32px;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    z-index: 1000;
    border-left: 1px solid rgba(238, 217, 185, 0.08);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 0.95rem;
  }

  .hero-container {
    padding-top: 100px;
  }

  .hero-name {
    font-size: 1.3rem;
  }

  .hero-headline {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-image {
    width: 100%;
    height: auto;
    max-height: 320px;
    border-radius: var(--radius-md);
  }

  .hero-image-decoration {
    border-radius: var(--radius-md);
    inset: -6px;
  }

  .about-card {
    padding: 28px;
  }

  .about-highlights {
    flex-direction: column;
  }

  .highlight-item {
    min-width: 100%;
  }

  .step {
    gap: 18px;
  }

  .step-number {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .btn-wpp {
    padding: 16px 32px;
    font-size: 0.9rem;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .footer {
    padding: 36px 0 24px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.6rem;
  }

  .hero-crp {
    font-size: 0.9rem;
  }

  .about-card {
    padding: 24px;
  }

  .highlight-item {
    padding: 24px;
  }
}
