/* =============================================
   DESIGN SYSTEM — ACM Elegant · Financial
   Display: Plus Jakarta Sans (headings)
   Body: Inter (text)
   Colors: Deep Navy #0F1B3D | Gold #D4AF37
   Effects: premium cards, calm motion, gold accents
   ============================================= */

:root {
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --color-primary: #0F1B3D;
  --color-primary-light: #1E3A8A;
  --color-primary-dark: #0A1229;
  --color-accent: #CFA052;
  --color-accent-hover: #D4AF37;
  --color-accent-soft: rgba(207, 160, 82, 0.12);
  --color-white: #FFFFFF;
  --color-bg: #F8F9FA;
  --color-surface: #FFFFFF;
  --color-text: #1F2937;
  --color-text-strong: #111827;
  --color-text-muted: #4B5563;
  --color-border: #E5E7EB;
  --color-dark: #111827;
  --color-dark-deep: #0F1B3D;

  --color-dark-text: #F8F9FA;
  --color-dark-text-muted: rgba(255, 255, 255, 0.78);
  --color-dark-text-dim: rgba(255, 255, 255, 0.6);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05);
  --shadow-md: 0 4px 6px rgba(17, 24, 39, 0.07);
  --shadow-lg: 0 10px 15px rgba(17, 24, 39, 0.08);
  --shadow-xl: 0 20px 25px rgba(17, 24, 39, 0.1);

  --max-width: 1120px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

::selection {
  background: var(--color-accent-soft);
  color: var(--color-text-strong);
}

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

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

ul { list-style: none; }

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

.section {
  padding: 96px 0;
  position: relative;
}

.section--dark {
  background: var(--color-dark-deep);
  color: var(--color-dark-text);
}

.section--dark .section__title:not(.section__title--light) { color: var(--color-dark-text); }
.section--dark p, .section--dark li, .section--dark span:not(.pricing-card__value):not(.pricing-card__badge):not(.hero__stat-number) { color: var(--color-dark-text-muted); }
.section--dark small, .section--dark .text-dim { color: var(--color-dark-text-dim); }

.section__header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 6px 18px;
  border-radius: var(--radius-full, 9999px);
  background: var(--color-accent-soft);
  margin-bottom: 16px;
}

.section__tag--light {
  background: rgba(207, 160, 82, 0.15);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-text-strong);
  margin-bottom: 16px;
}

.section__title--light {
  color: var(--color-white);
  font-weight: 800;
}

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

.section__desc--light {
  color: var(--color-dark-text-muted);
}

/* === GRADIENT TEXT (ACM style) === */
.text-gradient {
  background: linear-gradient(90deg, #2563EB, #06B6D4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* === BUTTONS (ACM style) === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  transform: scale(1.03);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--color-accent);
  color: #000;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 8px rgba(17, 24, 39, 0.12);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}

.btn--whatsapp:hover {
  background: #20BD5A;
  box-shadow: 0 4px 8px rgba(37, 211, 102, 0.25);
}

/* === FLOATING WHATSAPP === */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: float-whatsapp 3s ease-in-out infinite;
}

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

@keyframes float-whatsapp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.btn--large {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn--xl {
  padding: 20px 48px;
  font-size: 1.05rem;
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-accent);
  color: #000;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 16px;
}

/* === HEADER (ACM style) === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  transition: all 0.3s ease-in-out;
}

.header--scrolled {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  height: 68px;
}

.header--scrolled .header__nav-link {
  color: var(--color-text-muted);
}

.header--scrolled .header__nav-link:hover {
  color: var(--color-accent);
}

.header--scrolled .header__menu-bar {
  background: var(--color-text);
}

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

.header__logo-link {
  position: relative;
  z-index: 10;
}

.header__logo-img {
  height: 64px;
  width: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-accent);
  box-shadow: 0 4px 20px rgba(207, 160, 82, 0.25);
  transition: all 0.3s;
}

.header--scrolled .header__logo-img {
  height: 54px;
  width: 54px;
}

.header__logo-text {
  display: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.header--scrolled .header__logo-text {
  color: var(--color-text-strong);
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color 0.3s ease-in-out;
}

.header__nav-link:hover {
  color: var(--color-accent);
}

.header--scrolled .nav-link--active {
  color: var(--color-accent) !important;
  font-weight: 600;
}

.header__nav-link.nav-link--active {
  color: var(--color-accent);
}

.header--scrolled .header__nav-link[href="#contato"].nav-link--active {
  color: var(--color-white) !important;
}

.header__nav-cta {
  background: var(--color-accent) !important;
  color: #000 !important;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 8px 20px;
}

.header__nav-cta:hover {
  background: var(--color-accent-hover) !important;
  color: #000 !important;
  transform: scale(1.03);
}

.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.header__menu-bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s;
}

.header__menu-toggle[aria-expanded="true"] .header__menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__menu-toggle[aria-expanded="true"] .header__menu-bar:nth-child(2) {
  opacity: 0;
}

.header__menu-toggle[aria-expanded="true"] .header__menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === HERO (ACM style) === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a2a5e 100%);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 15% 60%, rgba(207, 160, 82, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 500px 300px at 80% 30%, rgba(207, 160, 82, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero__content {
  padding: 40px 0;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  background: linear-gradient(90deg, var(--color-accent), #EADB8A, var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
}

.hero__stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-number::after {
  content: "+";
}

.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ACM Dashboard Mockup */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero__visual-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform 0.6s ease-in-out;
  animation: float-card 6s ease-in-out infinite;
}

@keyframes float-card {
  0%, 100% { transform: rotateY(-3deg) rotateX(2deg) translateY(0); }
  50% { transform: rotateY(-3deg) rotateX(2deg) translateY(-8px); }
}

.hero__visual-card:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot--red { background: #EF4444; }
.mockup-dot--yellow { background: #EAB308; }
.mockup-dot--green { background: #22C55E; }

.mockup-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.mockup-body {
  padding: 20px;
}

.mockup-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #F3F4F6;
}

.mockup-row:last-child { border-bottom: none; }

.mockup-bar {
  flex: 1;
  height: 10px;
  border-radius: 5px;
  background: #F3F4F6;
  overflow: hidden;
  position: relative;
}

.mockup-bar-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--color-accent), #EADB8A);
  width: 0%;
  animation: fill-bar 1.5s ease-out forwards;
}

.mockup-bar-fill--70 { width: 70%; animation-delay: 0.1s; }
.mockup-bar-fill--85 { width: 85%; animation-delay: 0.2s; }
.mockup-bar-fill--60 { width: 60%; animation-delay: 0.3s; }
.mockup-bar-fill--90 { width: 90%; animation-delay: 0.4s; }

@keyframes fill-bar {
  from { width: 0%; }
}

.mockup-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  min-width: 70px;
}

.mockup-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-strong);
  min-width: 50px;
  text-align: right;
}

.mockup-gold-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-top: 12px;
  background: var(--color-accent-soft);
  border-radius: var(--radius-sm);
}

.mockup-gold-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-gold-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text-strong);
  margin-left: auto;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* === ABOUT / TIMELINE === */
.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about__text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

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

.about__timeline {
  position: relative;
  padding-left: 32px;
}

.about__timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-primary-light));
}

.timeline__item {
  position: relative;
  padding-bottom: 40px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__marker {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-accent);
  z-index: 1;
  transition: transform 0.3s;
}

.timeline__item:hover .timeline__marker {
  transform: scale(1.3);
}

.timeline__year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  padding: 2px 12px;
  border-radius: var(--radius-full, 9999px);
  margin-bottom: 8px;
}

.timeline__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-strong);
  margin-bottom: 6px;
}

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

/* === SERVICES (ACM cards on dark) === */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s ease-in-out;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(207, 160, 82, 0.3);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(207, 160, 82, 0.1);
  color: var(--color-accent);
  margin-bottom: 16px;
  transition: all 0.3s;
}

.service-card:hover .service-card__icon {
  background: rgba(207, 160, 82, 0.2);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 8px;
  transition: color 0.3s;
}

.service-card:hover .service-card__title {
  color: var(--color-accent);
}

.service-card__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

/* === TESTIMONIALS (ACM white cards) === */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(207, 160, 82, 0.3);
  box-shadow: var(--shadow-lg);
}

.testimonial__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--color-accent);
  font-size: 0.95rem;
  letter-spacing: 3px;
}

.testimonial__text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-strong);
  font-style: normal;
  display: block;
}

.testimonial__role {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* === PRICING (ACM style on dark) === */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(207, 160, 82, 0.3);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.pricing-card--featured {
  background: rgba(207, 160, 82, 0.06);
  border-color: var(--color-accent);
  border-width: 2px;
  transform: scale(1.03);
}

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

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 20px;
  border-radius: var(--radius-full, 9999px);
}

.pricing-card__header {
  margin-bottom: 24px;
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 8px;
}

.pricing-card__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.pricing-card__price {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-card__value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-accent);
}

.pricing-card__period {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.pricing-card__features {
  margin-bottom: 32px;
  flex: 1;
}

.pricing-card__features li {
  padding: 10px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

.pricing-card__btn {
  width: 100%;
}

.pricing-card .btn--outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}

.pricing-card .btn--outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

/* === FAQ (ACM style) === */
.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq__item:hover {
  border-color: rgba(207, 160, 82, 0.3);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-strong);
  cursor: pointer;
  list-style: none;
  transition: color 0.3s;
  -webkit-user-select: none;
  user-select: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

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

.faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.35s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--color-accent);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__icon::before {
  width: 12px;
  height: 2px;
}

.faq__icon::after {
  width: 2px;
  height: 12px;
  transition: transform 0.35s ease;
}

.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__answer {
  padding: 0 22px 18px;
  animation: slide-down 0.3s ease;
}

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

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === CONTACT === */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact__form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}

.contact__form-row {
  position: relative;
  margin-bottom: 20px;
}

.contact__input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all 0.3s;
}

.contact__input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.contact__input:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.08);
}

.contact__input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #1a2a5e inset;
  -webkit-text-fill-color: white;
}

.contact__label { display: none; }

.contact__textarea {
  resize: vertical;
  min-height: 100px;
}

.contact__submit {
  width: 100%;
  margin-top: 8px;
}

.contact__info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  margin-bottom: 20px;
}

.contact__info-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 20px;
}

.contact__info-list li {
  padding: 10px 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.contact__info-list li:last-child { border-bottom: none; }

.contact__info-list strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 2px;
}

.contact__info-list a {
  color: var(--color-accent);
  transition: color 0.3s;
}

.contact__info-list a:hover {
  color: var(--color-accent-hover);
}

.contact__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
}

.contact__social-link svg {
  width: 18px;
  height: 18px;
}

.contact__social-link:hover {
  background: var(--color-accent);
  color: #000;
}

.contact__whatsapp-btn {
  width: 100%;
}

/* === FINAL CTA === */
.cta-final {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a2a5e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 30% 50%, rgba(207, 160, 82, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 600px 300px at 70% 50%, rgba(207, 160, 82, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.cta-final__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-final__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin-bottom: 36px;
}

/* === FOOTER === */
.footer {
  background: var(--color-dark-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 32px;
}

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

.footer__logo {
  height: 72px;
  width: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-accent);
  box-shadow: 0 4px 20px rgba(207, 160, 82, 0.2);
  margin-bottom: 16px;
}

.footer__logo-text {
  display: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.3);
}

.footer__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer__links ul li,
.footer__contact ul li {
  margin-bottom: 10px;
}

.footer__links a,
.footer__contact a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--color-accent);
}

.footer__contact li {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer__credit {
  color: rgba(255, 255, 255, 0.25);
}

/* === ANIMATIONS (ACM calm motion) === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.6s ease-out forwards;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* staggered delays for grids */
.services__grid .fade-up:nth-child(1) { transition-delay: 0s; }
.services__grid .fade-up:nth-child(2) { transition-delay: 0.06s; }
.services__grid .fade-up:nth-child(3) { transition-delay: 0.12s; }
.services__grid .fade-up:nth-child(4) { transition-delay: 0.18s; }
.services__grid .fade-up:nth-child(5) { transition-delay: 0.24s; }
.services__grid .fade-up:nth-child(6) { transition-delay: 0.3s; }
.services__grid .fade-up:nth-child(7) { transition-delay: 0.36s; }
.services__grid .fade-up:nth-child(8) { transition-delay: 0.42s; }

.testimonials__grid .fade-up:nth-child(1) { transition-delay: 0s; }
.testimonials__grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.testimonials__grid .fade-up:nth-child(3) { transition-delay: 0.2s; }
.testimonials__grid .fade-up:nth-child(4) { transition-delay: 0.3s; }

.pricing__grid .fade-up:nth-child(1) { transition-delay: 0s; }
.pricing__grid .fade-up:nth-child(2) { transition-delay: 0.12s; }
.pricing__grid .fade-up:nth-child(3) { transition-delay: 0.24s; }

.contact__grid .fade-up:nth-child(1) { transition-delay: 0s; }
.contact__grid .fade-up:nth-child(2) { transition-delay: 0.15s; }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

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

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

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

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual { display: none; }

  .about__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

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

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

  .header__menu-toggle {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    padding: 100px 28px 28px;
    transition: right 0.35s ease-in-out;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  }

  .header--scrolled .header__nav-link { color: var(--color-text-muted); }

  .header__nav-link {
    color: var(--color-text);
    font-size: 1rem;
  }

  .header__nav--open { right: 0; }

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .header__nav-link {
    padding: 10px 16px;
    width: 100%;
  }

  .header__nav-cta {
    margin-top: 12px;
    text-align: center;
    width: 100%;
  }

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

  .hero__scroll-indicator { display: none; }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn { width: 100%; }

  .contact__form {
    padding: 24px 20px;
  }
}

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

  html { scroll-behavior: auto; }

  .reveal,
  .fade-up {
    opacity: 1;
    transform: none;
  }
}
