/* ==========================================================================
   Modelo 2 — Theme CSS
   Variáveis, fontes, container e keyframes
   ========================================================================== */

/* --------------------------------------------------------------------------
   @font-face — declarados inline em _critical-css.blade.php com asset() helper.
   Removidos daqui para evitar 404 em subdiretórios e manutenção duplicada.
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   CSS Custom Properties (light only — sem dark mode)
   -------------------------------------------------------------------------- */

:root {
  /* Cores base */
  --background: 210 20% 99%;
  --foreground: 215 25% 15%;

  /* Card */
  --card: 0 0% 100%;
  --card-foreground: 215 25% 15%;

  /* Popover */
  --popover: 0 0% 100%;
  --popover-foreground: 215 25% 15%;

  /* Primary */
  --primary: 224 76% 40%;
  --primary-foreground: 0 0% 100%;
  --primary-dark: 224 76% 34%;
  --primary-light: 217 91% 60%;

  /* Secondary */
  --secondary: 38 92% 50%;
  --secondary-foreground: 0 0% 100%;

  /* Muted */
  --muted: 214 20% 96%;
  --muted-foreground: 215 16% 47%;

  /* Accent */
  --accent: 214 20% 96%;
  --accent-foreground: 215 25% 15%;

  /* Destructive */
  --destructive: 0 72% 51%;
  --destructive-foreground: 0 0% 100%;

  /* Success */
  --success: 160 84% 39%;
  --success-foreground: 0 0% 100%;

  /* Warning */
  --warning: 38 92% 50%;
  --warning-foreground: 0 0% 100%;

  /* WhatsApp */
  --whatsapp: 142 70% 45%;
  --whatsapp-foreground: 0 0% 100%;

  /* Borders / Input / Ring */
  --border: 214 20% 90%;
  --input: 214 20% 90%;
  --ring: 224 76% 40%;

  /* Surface & text helpers */
  --surface: 210 20% 98%;
  --text-light: 215 14% 45%;
  --text-muted: 215 13% 60%;

  /* Border radius */
  --radius: 0.625rem;

  /* Fontes */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* --------------------------------------------------------------------------
   Base resets
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  border-color: hsl(var(--border));
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* --------------------------------------------------------------------------
   Utility classes
   -------------------------------------------------------------------------- */

.font-heading {
  font-family: var(--font-heading);
}

.font-body {
  font-family: var(--font-body);
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */

.container-site {
  margin-left: auto;
  margin-right: auto;
  max-width: 1400px;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-site {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-site {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1536px) {
  .container-site {
    max-width: 1600px;
  }
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes count-up {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slide-in-right {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes accordion-down {
  from {
    height: 0;
  }
  to {
    height: var(--accordion-content-height, auto);
  }
}

@keyframes accordion-up {
  from {
    height: var(--accordion-content-height, auto);
  }
  to {
    height: 0;
  }
}

/* --------------------------------------------------------------------------
   Animation utility classes
   -------------------------------------------------------------------------- */

.animate-fade-in {
  animation: fade-in 0.5s ease-out forwards;
}

.animate-count-up {
  animation: count-up 0.6s ease-out forwards;
}

.animate-slide-in-right {
  animation: slide-in-right 0.3s ease-out;
}

.animate-accordion-down {
  animation: accordion-down 0.2s ease-out;
}

.animate-accordion-up {
  animation: accordion-up 0.2s ease-out;
}
