/* ===========================
   Board Digital - Website Clone
   CSS Styles
   =========================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto+Slab:wght@400;500;700&family=Roboto:wght@300;400;500;700&display=swap');

/* CSS Variables */
/* CSS Variables */
:root {
  /* Light Theme (Default) */
  --bg-dark: #f8fafc;
  --bg-dark-2: #ffffff;
  --bg-dark-3: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  
  --header-bg: rgba(255, 255, 255, 0.88);
  --header-bg-scrolled: rgba(255, 255, 255, 0.96);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-strong: rgba(0, 0, 0, 0.15);
  --nav-hover-bg: rgba(0, 0, 0, 0.05);
  
  --gradient-primary: linear-gradient(135deg, #ff6b35, #ff1493, #c850c0);
  --gradient-button: linear-gradient(135deg, #ff6b35, #e91e8a);
  --gradient-text: linear-gradient(135deg, #ff6b35, #ff1493);
  --gradient-accent: linear-gradient(135deg, #ff8a50, #ff1493, #9b59b6);
  
  --text-white: #0f172a;
  --text-light: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  
  --accent-orange: #ff6b35;
  --accent-pink: #ff1493;
  --accent-purple: #c850c0;
  
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Roboto Slab', serif;
  --font-body: 'Roboto', sans-serif;
  
  --container-width: 1200px;
  --header-height: 80px;
  
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.1);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-button: 0 4px 20px rgba(255, 107, 53, 0.25);
}

/* Dark Theme */
[data-theme="dark"] {
  --bg-dark: #0a0a0f;
  --bg-dark-2: #111118;
  --bg-dark-3: #1a1a24;
  --bg-card: #16161f;
  --bg-card-hover: #1e1e2a;
  
  --header-bg: rgba(10, 10, 15, 0.85);
  --header-bg-scrolled: rgba(10, 10, 15, 0.95);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-strong: rgba(255, 255, 255, 0.12);
  --nav-hover-bg: rgba(255, 255, 255, 0.06);
  
  --text-white: #ffffff;
  --text-light: #c8c8d4;
  --text-muted: #8888a0;
  --text-subtle: #666680;
  
  --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-button: 0 4px 20px rgba(255, 107, 53, 0.3);
}

:root:not([data-theme="dark"]) .header__logo img,
:root:not([data-theme="dark"]) .footer__logo img,
[data-theme="light"] .header__logo img,
[data-theme="light"] .footer__logo img {
  filter: brightness(0.2) contrast(1.5);
}

[data-theme="dark"] .header__logo img,
[data-theme="dark"] .footer__logo img {
  filter: none;
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  transition: all var(--transition-medium);
}

.header.scrolled {
  background: var(--header-bg-scrolled);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo img {
  height: 50px;
  width: auto;
  transition: transform var(--transition-medium);
}

.header__logo:hover img {
  transform: scale(1.05);
}

/* Navigation */
.header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__nav-link {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  padding: 8px 18px;
  border-radius: 8px;
  transition: all var(--transition-fast);
  text-transform: capitalize;
  position: relative;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--text-white);
  background: var(--nav-hover-bg);
}

.header__nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

/* Header CTA Button */
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-button);
  color: var(--text-white);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-button);
}

/* Header Actions (CTA + Theme Toggle) */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle Button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color-strong);
  color: var(--text-white);
  cursor: pointer;
  transition: all var(--transition-medium);
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.theme-toggle:hover {
  transform: scale(1.08);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }

[data-theme="dark"] .theme-toggle .sun-icon { display: block; }
[data-theme="dark"] .theme-toggle .moon-icon { display: none; }

.header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 107, 53, 0.4);
}

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

.header__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-medium);
}

.header__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float-glow 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 80, 192, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float-glow 10s ease-in-out infinite reverse;
}

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 560px;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero__title span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 480px;
}

.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero__image-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: var(--gradient-primary);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(60px);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.15; transform: translate(-50%, -50%) scale(1.05); }
}

.hero__image-wrapper img {
  width: 100%;
  position: relative;
  z-index: 1;
  border-radius: 20px;
}

.hero__scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  animation: bounce-scroll 2s ease-in-out infinite;
}

.hero__scroll-indicator svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
}

@keyframes bounce-scroll {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-medium);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-button);
  color: var(--text-white);
  box-shadow: var(--shadow-button);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(255, 107, 53, 0.4);
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s;
}

.btn--primary:hover::before {
  left: 100%;
}

.btn--outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 107, 53, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: var(--accent-orange);
  transform: translateY(-2px);
}

.btn__icon {
  display: flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

.btn__icon svg {
  width: 18px;
  height: 18px;
}

/* ===========================
   SECTION BASE
   =========================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section__subtitle {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: inline-block;
}

.section__title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section__description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

.section--center {
  text-align: center;
}

.section--center .section__description {
  margin: 0 auto;
}

/* ===========================
   WHY CHOOSE US
   =========================== */
.why-us {
  background: var(--bg-dark-2);
}

.why-us .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-us__content {
  max-width: 540px;
}

.why-us__image {
  position: relative;
  display: flex;
  justify-content: center;
}

.why-us__image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  max-width: 450px;
}

.why-us__image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 107, 53, 0.15);
  pointer-events: none;
}

.why-us__image-wrapper img {
  width: 100%;
  border-radius: 20px;
  transition: transform var(--transition-slow);
}

.why-us__image-wrapper:hover img {
  transform: scale(1.03);
}

/* ===========================
   HOW IT WORKS
   =========================== */
.how-it-works {
  background: var(--bg-dark);
  overflow: hidden;
}

.how-it-works__header {
  text-align: center;
  margin-bottom: 60px;
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-medium);
}

.step-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-8px);
  border-color: rgba(255, 107, 53, 0.15);
  box-shadow: var(--shadow-glow);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-card__icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(200, 80, 192, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all var(--transition-medium);
}

.step-card:hover .step-card__icon {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(200, 80, 192, 0.2));
  transform: scale(1.1);
}

.step-card__icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent-orange);
}

.step-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.step-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===========================
   PORTFOLIO
   =========================== */
.portfolio {
  background: var(--bg-dark-2);
  overflow: hidden;
}

.portfolio__header {
  text-align: center;
  margin-bottom: 20px;
}

.portfolio__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.portfolio__intro-content {
  max-width: 500px;
}

.portfolio__intro-image {
  display: flex;
  justify-content: center;
}

.portfolio__intro-image img {
  max-width: 400px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-medium);
}

.portfolio__intro-image img:hover {
  transform: scale(1.03);
}

/* Portfolio Grid (Substituindo o carrossel) */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 40px auto 0;
}

.portfolio-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-medium);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(255, 107, 53, 0.3);
}

.portfolio-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.portfolio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-card__image img {
  transform: scale(1.06);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.5) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0.9;
  transition: opacity var(--transition-medium);
}

.portfolio-card:hover .portfolio-card__overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.98) 0%, rgba(10, 10, 15, 0.6) 60%, transparent 100%);
}

.portfolio-card__tag {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-orange);
  margin-bottom: 6px;
}

.portfolio-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.portfolio-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-pink);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===========================
   PRICING / PLANOS
   =========================== */
.pricing {
  background: var(--bg-dark);
}

.pricing__header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing__header .section__description {
  margin: 0 auto;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-medium);
}

.pricing-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.pricing-card--featured {
  border: 2px solid var(--accent-orange);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.pricing-card--featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.pricing-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  text-align: center;
  margin-bottom: 8px;
}

.pricing-card__subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

.pricing-card__price-box {
  text-align: center;
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.pricing-card__currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
}

.pricing-card__amount {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.pricing-card__cents {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
}

.pricing-card__period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 6px;
  font-weight: 500;
}

.pricing-card__recurring {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-orange);
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.pricing-card__features li svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: #10b981;
  margin-top: 2px;
}

.btn--full {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ===========================
   FEATURES
   =========================== */
.features {
  background: var(--bg-dark);
}

.features__header {
  text-align: center;
  margin-bottom: 60px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 36px 30px;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-medium);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  border-color: rgba(255, 107, 53, 0.12);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  opacity: 0.9;
  transition: all var(--transition-medium);
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.15);
  opacity: 1;
}

.feature-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.2);
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.feature-card__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--bg-dark-3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  margin-bottom: 20px;
}

.footer__logo img {
  height: 45px;
  width: auto;
}

.footer__brand-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer__heading {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.footer__link:hover {
  color: var(--accent-orange);
  transform: translateX(4px);
}

.footer__link svg {
  width: 12px;
  height: 12px;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  text-align: center;
}

.footer__copyright {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.footer__copyright span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* ===========================
   WHATSAPP FLOAT BUTTON
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-medium);
  animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ===========================
   ANIMATIONS (Scroll Reveal)
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal--left {
  transform: translateX(-40px);
}

.reveal--left.visible {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(40px);
}

.reveal--right.visible {
  transform: translateX(0);
}

.reveal--scale {
  transform: scale(0.95);
}

.reveal--scale.visible {
  transform: scale(1);
}

/* Stagger delays */
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .header__cta {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-dark-3);
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 20px;
    transition: right var(--transition-medium);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  }

  .header__nav.open {
    right: 0;
  }

  .header__nav-link {
    font-size: 1rem;
    padding: 14px 20px;
    width: 100%;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__description {
    margin: 0 auto 36px;
  }

  .hero__image-wrapper {
    max-width: 350px;
    margin: 0 auto;
  }

  .why-us .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-us__content {
    text-align: center;
    max-width: 100%;
  }

  .why-us__content .section__description {
    margin: 0 auto 24px;
  }

  .how-it-works__grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto 50px;
  }

  .portfolio__intro {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .portfolio__intro-content {
    max-width: 100%;
  }

  .portfolio__intro-content .section__description {
    margin: 0 auto;
  }

  .portfolio__slide {
    min-width: calc(100% - 0px);
  }

  .features__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 50px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero__scroll-indicator {
    display: none;
  }

  .portfolio__carousel {
    padding: 0 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer__heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer__link {
    justify-content: center;
  }

  .footer__brand {
    max-width: 100%;
  }

  .footer__logo {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.8rem;
  }

  .section__title {
    font-size: 1.6rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.88rem;
  }

  .portfolio__carousel {
    padding: 0 0;
  }

  .carousel__btn {
    width: 38px;
    height: 38px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

/* ===========================
   HERO COMPACT (inner pages)
   =========================== */
.hero--compact {
  min-height: auto;
  padding: 140px 0 80px;
}

.hero--compact .container {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 800px;
}

.hero--compact .hero__content {
  max-width: 100%;
}

.hero--compact .hero__description {
  max-width: 600px;
  margin: 0 auto 36px;
}

/* ===========================
   SERVICE TYPES (criacao-de-sites)
   =========================== */
.services-types {
  background: var(--bg-dark-2);
}

.services-types__header {
  text-align: center;
  margin-bottom: 60px;
}

.services-types__header .section__description {
  margin: 0 auto;
}

.services-types__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-type-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.service-type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.service-type-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.service-type-card:hover::before {
  opacity: 1;
}

.service-type-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 14px;
  margin-bottom: 24px;
}

.service-type-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-orange);
}

.service-type-card:nth-child(2) .service-type-card__icon {
  background: rgba(255, 20, 147, 0.1);
}

.service-type-card:nth-child(2) .service-type-card__icon svg {
  color: var(--accent-pink);
}

.service-type-card:nth-child(3) .service-type-card__icon {
  background: rgba(200, 80, 192, 0.1);
}

.service-type-card:nth-child(3) .service-type-card__icon svg {
  color: var(--accent-purple);
}

.service-type-card:nth-child(4) .service-type-card__icon {
  background: rgba(255, 107, 53, 0.1);
}

.service-type-card__title {
  font-size: 1.2rem;
  color: var(--text-white);
  margin-bottom: 12px;
}

.service-type-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===========================
   INCLUDED FEATURES
   =========================== */
.included-features__header {
  text-align: center;
  margin-bottom: 60px;
}

.included-features__header .section__description {
  margin: 0 auto;
}

.included-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.included-feature {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-medium);
}

.included-feature:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.included-feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 12px;
}

.included-feature__icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-orange);
}

.included-feature__title {
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 6px;
}

.included-feature__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===========================
   WORK PROCESS TIMELINE
   =========================== */
.work-process {
  background: var(--bg-dark-2);
}

.work-process__header {
  text-align: center;
  margin-bottom: 60px;
}

.work-process__header .section__description {
  margin: 0 auto;
}

.work-process__timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.work-process__timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-orange), var(--accent-pink), var(--accent-purple));
  opacity: 0.3;
}

.process-step {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  position: relative;
}

.process-step__number {
  width: 58px;
  height: 58px;
  min-width: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-button);
  border-radius: 50%;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-white);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.process-step__title {
  font-size: 1.15rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.process-step__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===========================
   FAQ ACCORDION
   =========================== */
.faq {
  background: var(--bg-dark);
}

.faq__header {
  text-align: center;
  margin-bottom: 50px;
}

.faq__list {
  max-width: 750px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  text-align: left;
  transition: color var(--transition-fast);
}

.faq__question:hover {
  color: var(--accent-orange);
}

.faq__chevron {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-medium);
}

.faq__item.active .faq__chevron {
  transform: rotate(180deg);
  color: var(--accent-orange);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
}

.faq__item.active .faq__answer {
  max-height: 300px;
  padding-bottom: 22px;
}

.faq__answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===========================
   FINAL CTA
   =========================== */
.final-cta {
  background: var(--bg-dark-2);
}

.final-cta__content {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.final-cta__content .section__description {
  margin: 0 auto 32px;
}

.final-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   ABOUT STORY (sobre-nos)
   =========================== */
.about-story {
  background: var(--bg-dark-2);
}

.about-story__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story__text .section__description {
  margin-bottom: 20px;
}

.about-story__image img {
  width: 100%;
  border-radius: 20px;
}

/* ===========================
   VALUE CARDS (sobre-nos)
   =========================== */
.about-values__header {
  text-align: center;
  margin-bottom: 60px;
}

.about-values__header .section__description {
  margin: 0 auto;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 36px 28px;
  transition: all var(--transition-medium);
}

.value-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.value-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 14px;
  margin-bottom: 20px;
}

.value-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--accent-orange);
}

.value-card:nth-child(2) .value-card__icon {
  background: rgba(255, 20, 147, 0.1);
}

.value-card:nth-child(2) .value-card__icon svg {
  color: var(--accent-pink);
}

.value-card:nth-child(3) .value-card__icon {
  background: rgba(200, 80, 192, 0.1);
}

.value-card:nth-child(3) .value-card__icon svg {
  color: var(--accent-purple);
}

.value-card__title {
  font-size: 1.15rem;
  color: var(--text-white);
  margin-bottom: 10px;
}

.value-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===========================
   ABOUT NUMBERS
   =========================== */
.about-numbers {
  background: var(--bg-dark-2);
  padding: 70px 0;
}

.about-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.number-item {
  padding: 30px 20px;
}

.number-item__value {
  display: block;
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.number-item__label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===========================
   CONTACT CARDS (contato)
   =========================== */
.contact-channels__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  transition: all var(--transition-medium);
  display: block;
}

a.contact-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.contact-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
}

.contact-card__icon svg {
  width: 32px;
  height: 32px;
}

.contact-card--whatsapp .contact-card__icon {
  background: rgba(37, 211, 102, 0.12);
}

.contact-card--whatsapp .contact-card__icon svg {
  fill: #25d366;
}

.contact-card--email .contact-card__icon {
  background: rgba(255, 107, 53, 0.1);
}

.contact-card--email .contact-card__icon svg {
  color: var(--accent-orange);
}

.contact-card--location .contact-card__icon {
  background: rgba(200, 80, 192, 0.1);
}

.contact-card--location .contact-card__icon svg {
  color: var(--accent-purple);
}

.contact-card__title {
  font-size: 1.2rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.contact-card__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 10px;
}

.contact-card__description {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-card__action {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-orange);
  transition: color var(--transition-fast);
}

a.contact-card:hover .contact-card__action {
  color: var(--accent-pink);
}

/* ===========================
   CONTACT INFO / HOURS TABLE
   =========================== */
.contact-info {
  background: var(--bg-dark-2);
}

.contact-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hours-table {
  margin-top: 24px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hours-row__day {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

.hours-row__time {
  font-size: 0.95rem;
  color: var(--accent-orange);
  font-weight: 600;
}

.hours-row--closed .hours-row__time {
  color: var(--text-subtle);
}

.map-container {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===========================
   RESPONSIVE - New Pages
   =========================== */
@media (max-width: 1024px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-6px);
  }

  .services-types__grid {
    grid-template-columns: 1fr 1fr;
  }

  .included-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-numbers__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-channels__grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .contact-info__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-story__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-values__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero--compact {
    padding: 120px 0 60px;
  }

  .services-types__grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .included-features__grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }

  .work-process__timeline::before {
    left: 20px;
  }

  .process-step__number {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 1rem;
  }

  .about-numbers__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .about-story__text {
    text-align: center;
  }

  .about-story__text .section__description {
    margin: 0 auto 20px;
  }

  .final-cta__buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .about-numbers__grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-step {
    gap: 18px;
  }
}

/* Overlay for mobile menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

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