/* Jocamp Contabilidade — folha de estilo única do site estático (23/10/2026).
   Ordem: tokens → reset → animações → componentes → páginas. Sem framework. */

/* ==========================================================================
   Design Tokens — Jocamp Contabilidade
   Ported from Next.js globals.css (HSL-based design token system)
   ========================================================================== */

:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 3.9%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 3.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 3.9%;
  --primary: 0 0% 9%;
  --primary-foreground: 0 0% 98%;
  --secondary: 0 0% 96.1%;
  --secondary-foreground: 0 0% 9%;
  --muted: 0 0% 96.1%;
  --muted-foreground: 0 0% 45.1%;
  --accent: 0 0% 96.1%;
  --accent-foreground: 0 0% 9%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 0 0% 89.8%;
  --input: 0 0% 89.8%;
  --ring: 0 0% 3.9%;
  --radius: 0.5rem;
}

/* Dark theme via system preference */
@media (prefers-color-scheme: dark) {
  :root:not(.light) {
    --background: 0 0% 3.9%;
    --foreground: 0 0% 98%;
    --card: 0 0% 3.9%;
    --card-foreground: 0 0% 98%;
    --popover: 0 0% 3.9%;
    --popover-foreground: 0 0% 98%;
    --primary: 0 0% 98%;
    --primary-foreground: 0 0% 9%;
    --secondary: 0 0% 14.9%;
    --secondary-foreground: 0 0% 98%;
    --muted: 0 0% 14.9%;
    --muted-foreground: 0 0% 63.9%;
    --accent: 0 0% 14.9%;
    --accent-foreground: 0 0% 9%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 0 0% 14.9%;
    --input: 0 0% 14.9%;
    --ring: 0 0% 83.1%;
  }
}

/* Explicit dark class override */
.dark {
  --background: 0 0% 3.9%;
  --foreground: 0 0% 98%;
  --card: 0 0% 3.9%;
  --card-foreground: 0 0% 98%;
  --popover: 0 0% 3.9%;
  --popover-foreground: 0 0% 98%;
  --primary: 0 0% 98%;
  --primary-foreground: 0 0% 9%;
  --secondary: 0 0% 14.9%;
  --secondary-foreground: 0 0% 98%;
  --muted: 0 0% 14.9%;
  --muted-foreground: 0 0% 63.9%;
  --accent: 0 0% 14.9%;
  --accent-foreground: 0 0% 9%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 0 0% 98%;
  --border: 0 0% 14.9%;
  --input: 0 0% 14.9%;
  --ring: 0 0% 83.1%;
}

/* Force light theme */
.light {
  --background: 0 0% 100%;
  --foreground: 0 0% 3.9%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 3.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 3.9%;
  --primary: 0 0% 9%;
  --primary-foreground: 0 0% 98%;
  --secondary: 0 0% 96.1%;
  --secondary-foreground: 0 0% 9%;
  --muted: 0 0% 96.1%;
  --muted-foreground: 0 0% 45.1%;
  --accent: 0 0% 96.1%;
  --accent-foreground: 0 0% 9%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 0 0% 89.8%;
  --input: 0 0% 89.8%;
  --ring: 0 0% 3.9%;
}

/* --- Reset & Defaults --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 400;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin: 0;
}

hr {
  border: none;
  border-top: 1px solid hsl(var(--border));
}

/* --- Logo Dark/Light Toggle --- */
.logo-light {
  display: block;
}

.logo-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not(.light) .logo-light {
    display: none;
  }

  :root:not(.light) .logo-dark {
    display: block;
  }
}

.dark .logo-light {
  display: none;
}

.dark .logo-dark {
  display: block;
}

/* --- Card icon dark mode invert --- */
.card-icon {
  filter: none;
}

@media (prefers-color-scheme: dark) {
  :root:not(.light) .card-icon {
    filter: invert(1);
  }
}

.dark .card-icon {
  filter: invert(1);
}

/* --- Utilidades que as páginas usam (iguais às do site antigo) --- */
.bg-background { background-color: hsl(var(--background)); }
.min-h-screen { min-height: 100vh; }
.rounded { border-radius: var(--radius); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.list-disc { list-style-type: disc; }
.pl-5 { padding-left: 1.25rem; }
.gradient-text {
  background: linear-gradient(to right, hsl(var(--primary)), #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-gradient-primary { background: linear-gradient(to bottom, hsl(var(--primary) / 0.1), hsl(var(--background)), hsl(var(--background))); }

/* ==========================================================================
   Animations — Ported from Next.js globals.css
   ========================================================================== */

/* --- Entrance Animations --- */
.text-entrance-left {
    animation: text-entrance-left 0.6s ease 0s 1 normal forwards;
}

.text-entrance-right {
    animation: text-entrance-right 0.6s ease 0s 1 normal forwards;
}

.text-entrance-top {
    animation: text-entrance-top 0.6s ease 0s 1 normal forwards;
}

.text-entrance-bottom {
    animation: text-entrance-bottom 0.6s ease 0s 1 normal forwards;
}

/* --- Scroll-reveal: elements start hidden, animate in when .visible --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Badge bouncing --- */
.arrow-home {
    animation: btn-home-optimized 3s ease-in-out infinite;
}

.arrow-home:hover {
    transform: translateY(-4px);
}

/* --- Counter entrance --- */
.counter-animate {
    will-change: contents;
    animation: counter-entrance 0.8s ease-out forwards;
}

/* --- Pulse on hover --- */
.hover-pulse:hover {
    transform: scale(1.05);
    transition: transform 0.15s ease;
}

/* --- Spinner --- */
.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid hsl(var(--primary-foreground) / 0.6);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* --- Marquee (CSS-only infinite scroll) --- */
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* --- Keyframes --- */
@keyframes text-entrance-left {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes text-entrance-right {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes text-entrance-top {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes text-entrance-bottom {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes btn-home-optimized {

    0%,
    85%,
    100% {
        transform: translateY(0);
    }

    10% {
        transform: translateY(-4px);
    }

    20% {
        transform: translateY(2px);
    }

    30% {
        transform: translateY(-2px);
    }
}

@keyframes counter-entrance {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Components — Shared UI component styles
   ========================================================================== */

/* --- Header --- */
.site-header {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.site-header .logo-link {
    display: flex;
    align-items: center;
}

.site-header .logo-img {
    max-width: 11rem;
    width: 100%;
    height: auto;
}

.site-header nav {
    display: flex;
    gap: 1.5rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.site-header nav a {
    color: hsl(var(--foreground));
    font-weight: 700;
    transition: color 150ms ease;
}

.site-header nav a:hover {
    color: hsl(var(--muted-foreground));
}

.site-header .login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-weight: 700;
    padding: 0.75rem 2.25rem;
    border-radius: 9999px;
    transition: background-color 150ms ease;
}

.site-header .login-btn:hover {
    background-color: hsl(var(--primary) / 0.8);
}

@media (min-width: 640px) {
    .site-header {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .site-header .logo-link {
        margin-bottom: 0;
    }
}

/* Header variants */
.header-transparent {
    background-color: transparent;
}

.header-secondary {
    background-color: hsl(var(--secondary));
}

.header-rounded {
    border-radius: 70px;
}

/* --- Footer --- */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 1.5rem 0;
}

.site-footer .footer-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer .footer-logo {
    margin: 2rem 0;
}

.site-footer .footer-logo img {
    width: 250px;
    height: auto;
}

.site-footer .footer-divider {
    border-top: 1px solid #d1d5db;
    width: 70%;
    max-width: 70%;
    margin: 1rem;
}

.site-footer .footer-nav {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer .footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-footer .footer-nav a {
    font-size: 0.875rem;
    color: #fff;
    transition: text-decoration 150ms ease;
}

.site-footer .footer-nav a:hover {
    text-decoration: underline;
}

.site-footer .footer-bottom {
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    margin-top: 2rem;
    padding: 0 2.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-footer .footer-bottom p,
.site-footer .footer-bottom a {
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.site-footer .footer-bottom a:hover {
    text-decoration: underline;
}

.site-footer .footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* --- Banner CTA --- */
.banner-cta {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    overflow: hidden;
}

.banner-cta .banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-cta .banner-content {
    position: relative;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.banner-cta .banner-content h2 {
    font-weight: 700;
    color: #fff;
    font-size: 1.875rem;
}

.banner-cta .banner-content a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #fff;
    color: #000;
    font-size: 0.875rem;
    border-radius: var(--radius);
    font-weight: 700;
    text-align: center;
    transition: background-color 150ms ease;
}

.banner-cta .banner-content a:hover {
    background-color: #d1d5db;
}

@media (min-width: 768px) {
    .banner-cta .banner-content {
        flex-direction: row;
        justify-content: space-around;
    }

    .banner-cta .banner-content h2 {
        width: 50%;
    }
}

/* --- Service Card (marquee card) --- */
.service-card {
    width: 18rem;
    height: 20rem;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    padding: 1.5rem 2.75rem 2.5rem;
    background-color: hsl(var(--secondary));
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.service-card:hover {
    transform: scale(1.05);
}

.service-card .icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
    width: 3rem;
    border-radius: 9999px;
    background-color: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    margin-bottom: 1rem;
}

.service-card .icon-circle img {
    width: 1.5rem;
    height: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: hsl(var(--card-foreground));
    text-align: center;
}

.service-card hr {
    border-top: 1px solid hsl(var(--border));
    width: 100%;
    margin: 1rem 0;
}

.service-card p {
    color: hsl(var(--card-foreground));
    font-size: 1rem;
    text-align: center;
}

/* --- Card (generic) --- */
.card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border) / 0.6);
    border-radius: var(--radius);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
}

.card-content {
    padding: 0 1.5rem 1.5rem;
}

.card-title {
    font-weight: 700;
    color: hsl(var(--card-foreground));
}

.card-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.card-hover:hover {
    border-color: hsl(var(--primary) / 0.5);
    transition: border-color 150ms ease;
}

/* --- WhatsApp Widget --- */
.whatsapp-widget {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
}

.whatsapp-widget a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-widget a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgb(0 0 0 / 0.3);
}

.whatsapp-widget svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: #fff;
}

/* --- Form Inputs --- */
.form-input {
    width: 100%;
    border-radius: 0.375rem;
    border: 1px solid hsl(var(--input));
    background-color: transparent;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    color: hsl(var(--foreground));
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition: box-shadow 150ms ease;
}

.form-input::placeholder {
    color: hsl(var(--muted-foreground));
}

.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 1px hsl(var(--ring));
}

.form-input:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.form-textarea {
    width: 100%;
    min-height: 7rem;
    border-radius: 0.375rem;
    border: 1px solid hsl(var(--input));
    background-color: transparent;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    color: hsl(var(--foreground));
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    resize: vertical;
    font-family: inherit;
    transition: box-shadow 150ms ease;
}

.form-textarea::placeholder {
    color: hsl(var(--muted-foreground));
}

.form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 1px hsl(var(--ring));
}

.form-textarea:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 150ms ease, opacity 150ms ease;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.btn-primary:hover:not(:disabled) {
    background-color: hsl(var(--primary) / 0.8);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
}

.btn-outline:hover:not(:disabled) {
    background-color: hsl(var(--accent));
}

.btn-green {
    background-color: #22c55e;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 700;
}

.btn-green:hover:not(:disabled) {
    opacity: 0.8;
}

/* --- Toast Notification --- */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
    animation: text-entrance-right 0.3s ease forwards;
    max-width: 24rem;
}

.toast-success {
    background-color: #22c55e;
    color: #fff;
}

.toast-error {
    background-color: hsl(0 84.2% 60.2%);
    color: #fff;
}

.toast-exit {
    animation: text-entrance-right 0.3s ease reverse forwards;
}

/* --- Overlay gradient  --- */
.overlay-gradient {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}

/* ==========================================================================
   Pages — Page-specific styles
   ========================================================================== */

/* --- Home: Hero Section --- */
.hero-section {
    position: relative;
    background-image: url('../img/fundos/home.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-section {
        margin-left: 1.25rem;
        margin-right: 1.25rem;
        border-radius: 70px;
        text-align: left;
    }
}

/* Dark mode overlay for hero */
@media (prefers-color-scheme: dark) {
    :root:not(.light) .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.7);
        border-radius: inherit;
        z-index: 1;
    }

    :root:not(.light) .hero-section>* {
        position: relative;
        z-index: 2;
    }
}

.dark .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: inherit;
    z-index: 1;
}

.dark .hero-section>* {
    position: relative;
    z-index: 2;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.hero-content {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    border-radius: var(--radius);
}

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .hero-text {
        width: 50%;
    }
}

.hero-image {
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .hero-image {
        width: 50%;
        margin-top: 0;
    }

    .hero-image img {
        margin-left: 0.75rem;
    }
}

/* --- Home: Crowd/Stats Overlay --- */
.crowd-section {
    position: relative;
    width: 100%;
    min-height: 350px;
    overflow: hidden;
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .crowd-section {
        border-radius: 70px;
        margin-left: 1.25rem;
        margin-right: 1.25rem;
    }
}

.crowd-section img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.crowd-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.55);
}

@media (min-width: 768px) {
    .crowd-overlay {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 2rem 10rem 2rem 4rem;
    }
}

.crowd-title {
    width: 100%;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .crowd-title {
        width: 50%;
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
}

.crowd-counter {
    display: flex;
    flex-direction: column;
    text-align: left;
}

@media (min-width: 768px) {
    .crowd-counter {
        text-align: right;
        margin-bottom: 1rem;
    }
}

.crowd-counter .counter-number {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .crowd-counter .counter-number {
        font-size: 3.5rem;
    }
}

.crowd-counter .counter-label {
    color: #fff;
    font-size: 1rem;
    margin-top: 0.25rem;
}

/* --- Home: Marquee Section --- */
.marquee-section {
    overflow: hidden;
    padding: 3rem 0;
}

.marquee-track {
    gap: 1rem;
    padding: 1rem 0;
}

.marquee-track .service-card {
    margin-right: 1rem;
}

/* --- Home: Stats Section --- */
.stats-section {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: hsl(var(--secondary));
    padding: 2.5rem;
    border-radius: 1.5rem;
    gap: 2rem;
}

@media (min-width: 768px) {
    .stats-section {
        flex-direction: row;
        align-items: center;
    }
}

.stats-image {
    width: 100%;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .stats-image {
        width: 45%;
    }
}

.stats-image img {
    border-radius: 1rem;
    width: 100%;
    height: auto;
    display: block;
}

.stats-content {
    width: 100%;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .stats-content {
        width: 50%;
        margin-top: 0;
        margin-left: 1.5rem;
    }
}

.stats-grid {
    display: flex;
    text-align: center;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.stats-grid .stat-item {
    width: 40%;
    margin: 0.5rem;
}

.stats-grid .stat-number {
    font-weight: 700;
    font-size: 2.25rem;
}

/* --- Home: Tech Section --- */
.tech-section {
    width: 100%;
    max-width: 72rem;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 5rem;
    gap: 2rem;
}

@media (min-width: 768px) {
    .tech-section {
        flex-direction: row;
    }
}

.tech-text {
    width: 100%;
}

.tech-section img {
    max-width: 30rem;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .tech-text {
        width: 55%;
    }
}

.tech-text h2 {
    font-weight: 700;
    font-size: 2.25rem;
    color: hsl(var(--foreground));
}

.tech-text p {
    margin-top: 1.5rem;
    font-weight: 400;
    color: hsl(var(--muted-foreground));
    line-height: 1.75;
}

/* --- About: Essence Cards --- */
.essence-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .essence-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.essence-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border) / 0.5);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: border-color 150ms ease;
}

.essence-card:hover {
    border-color: hsl(var(--primary) / 0.5);
}

.essence-card .icon-wrapper {
    height: 3rem;
    width: 3rem;
    border-radius: 50%;
    background-color: hsl(var(--primary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.essence-card .icon-wrapper svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--primary));
    stroke: currentColor;
    fill: none;
}

.essence-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0.75rem;
    color: hsl(var(--card-foreground));
}

.essence-card p {
    color: hsl(var(--muted-foreground));
    margin-top: 0.5rem;
}

/* --- About: Map Section --- */
.map-embed {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border) / 0.6);
    padding-top: 56.25%;
}

.map-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Contact: Info Card --- */
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info-item.align-top {
    align-items: flex-start;
}

.contact-info-item svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
}

.contact-info-item .icon-primary {
    color: hsl(var(--primary));
}

.contact-info-item .icon-green {
    color: #16a34a;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* --- Legal Pages (Privacidade & Termos) --- */
.legal-page {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .legal-page {
        grid-template-columns: 3fr 9fr;
    }
}

.legal-sidebar {
    display: none;
}

@media (min-width: 768px) {
    .legal-sidebar {
        display: block;
    }
}

.legal-sidebar .sidebar-card {
    position: sticky;
    top: 6rem;
}

.legal-sidebar nav a {
    display: block;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    padding: 0.25rem 0;
    transition: color 150ms ease;
}

.legal-sidebar nav a:hover {
    color: hsl(var(--foreground));
}

.legal-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* --- Login Page --- */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: hsl(var(--background));
}

.login-card {
    background-color: hsl(var(--card));
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    width: 100%;
    max-width: 24rem;
    border: 1px solid hsl(var(--border));
}

.login-card .logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.login-card .logo-container img {
    width: 5rem;
    height: 6rem;
}

.login-card .form-group {
    margin-bottom: 1rem;
}

.login-card .form-group label {
    display: block;
    color: hsl(var(--card-foreground));
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-card .form-group input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.375rem;
    background-color: hsl(var(--background));
    color: hsl(var(--card-foreground));
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
    font-family: inherit;
}

.login-card .form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 2px hsl(var(--ring) / 0.3);
}

.login-card .forgot-password {
    font-weight: 700;
    font-size: 0.875rem;
    color: #3b82f6;
}

.login-card .forgot-password:hover {
    color: #1e40af;
}

@media (min-width: 640px) {
    .login-card {
        margin-top: 7rem;
        margin-bottom: 7rem;
    }
}

/* --- Grades das páginas Contato e Sobre (eram <style> nas páginas) --- */
.pagina { min-height: 100vh; background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--background) / 0.6)); }
.conteudo { max-width: 80rem; margin: 0 auto; padding: 3rem 1.5rem; color: hsl(var(--foreground)); }
.conteudo-estreito { max-width: 64rem; margin: 0 auto; padding: 2.5rem 1.5rem; color: hsl(var(--foreground)); }
.contact-grid, .about-hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.about-hero-grid { align-items: center; }
.contact-header-text, .about-hero-text { text-align: center; }
@media (min-width: 768px) { .conteudo { padding: 4rem 2rem; } }
@media (min-width: 1024px) {
  .conteudo { padding: 4rem 3rem; }
  .contact-grid, .about-hero-grid { grid-template-columns: 1fr 1fr; }
  .contact-header-text, .about-hero-text { text-align: left; }
}
