/* ============================================
   DESIGN SYSTEM — Plaquinhas Google
   Cores oficiais Google + branco
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&family=Product+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

/* ─── CSS Variables ─── */
:root {
  /* Google Brand Colors */
  --google-blue:   #4285F4;
  --google-red:    #EA4335;
  --google-yellow: #FBBC05;
  --google-green:  #34A853;

  /* Palette */
  --blue-dark:     #1A73E8;
  --blue-light:    #E8F0FE;
  --blue-xlight:   #F0F5FF;

  /* Neutrals */
  --white:         #FFFFFF;
  --gray-50:       #F8F9FA;
  --gray-100:      #F1F3F4;
  --gray-200:      #E8EAED;
  --gray-400:      #BDC1C6;
  --gray-600:      #5F6368;
  --gray-800:      #3C4043;
  --gray-900:      #202124;

  /* Typography */
  --font-primary: 'DM Sans', sans-serif;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(60,64,67,0.12), 0 1px 2px rgba(60,64,67,0.08);
  --shadow-md:  0 4px 12px rgba(60,64,67,0.15), 0 2px 6px rgba(60,64,67,0.10);
  --shadow-lg:  0 8px 32px rgba(60,64,67,0.18), 0 4px 12px rgba(60,64,67,0.12);
  --shadow-xl:  0 16px 48px rgba(66,133,244,0.18), 0 8px 24px rgba(60,64,67,0.12);

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden; /* bloqueia scroll horizontal em todos os browsers iOS */
}

body {
  font-family: var(--font-primary);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ─── Utilities ─── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: 60px 0;
}

.section--alt {
  background: var(--gray-50);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--google-blue);
  margin-bottom: var(--space-md);
  display: block;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header .section-subtitle {
  margin: var(--space-md) auto 0;
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes pulse-ring {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(66,133,244,0.4); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 16px rgba(66,133,244,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(66,133,244,0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.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; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--google-blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(66,133,244,0.35);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66,133,244,0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--google-blue);
  border: 2px solid var(--google-blue);
}

.btn-outline:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

.btn-large {
  font-size: 18px;
  padding: 20px 40px;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
}

/* ─── Stars ─── */
.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: var(--google-yellow);
  font-size: 20px;
  line-height: 1;
}

/* ─── Google "G" Logo SVG inline ─── */
.google-g {
  width: 24px;
  height: 24px;
}

/* ─── Section Divider ─── */
.divider {
  width: 48px;
  height: 4px;
  border-radius: 2px;
  margin: var(--space-md) auto var(--space-lg);
  background: linear-gradient(90deg, var(--google-blue), var(--google-red), var(--google-yellow), var(--google-green));
}
