/**
 * Link Celular Theme Styles
 * 
 * Este arquivo contém:
 * - Variáveis CSS do design system (HSL)
 * - Todas as classes utilitárias Tailwind necessárias
 * - Estilos customizados para componentes
 */

/* ============================================
   DESIGN SYSTEM - Variáveis CSS HSL
   ============================================ */

:root {
    --background: 0 0% 100%;
    --foreground: 215 25% 15%;

    --card: 0 0% 100%;
    --card-foreground: 215 25% 15%;

    --popover: 0 0% 100%;
    --popover-foreground: 215 25% 15%;

    /* Azul tecnológico profissional */
    --primary: 210 90% 48%;
    --primary-foreground: 0 0% 100%;
    --primary-dark: 210 90% 38%;
    --primary-light: 210 90% 95%;

    /* Cinza neutro para fundos alternados */
    --secondary: 210 20% 96%;
    --secondary-foreground: 215 25% 15%;

    --muted: 210 15% 92%;
    --muted-foreground: 215 15% 45%;

    /* Laranja vibrante para urgência/destaque */
    --accent: 25 95% 53%;
    --accent-foreground: 0 0% 100%;
    --accent-light: 25 95% 95%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 100%;

    --border: 210 20% 88%;
    --input: 210 20% 88%;
    --ring: 210 90% 48%;

    --radius: 0.75rem;

    /* Cores específicas da landing page */
    --tech-blue: 210 90% 48%;
    --trust-blue: 210 70% 55%;
    --light-bg: 210 25% 98%;
    --warning-orange: 25 95% 53%;

    --sidebar-background: 0 0% 98%;
    --sidebar-foreground: 240 5.3% 26.1%;
    --sidebar-primary: 240 5.9% 10%;
    --sidebar-primary-foreground: 0 0% 98%;
    --sidebar-accent: 240 4.8% 95.9%;
    --sidebar-accent-foreground: 240 5.9% 10%;
    --sidebar-border: 220 13% 91%;
    --sidebar-ring: 217.2 91.2% 59.8%;
}

.dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;

    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;

    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;

    --primary: 210 40% 98%;
    --primary-foreground: 222.2 47.4% 11.2%;

    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;

    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;

    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;

    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;

    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 212.7 26.8% 83.9%;
    --sidebar-background: 240 5.9% 10%;
    --sidebar-foreground: 240 4.8% 95.9%;
    --sidebar-primary: 224.3 76.3% 48%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 240 3.7% 15.9%;
    --sidebar-accent-foreground: 240 4.8% 95.9%;
    --sidebar-border: 240 3.7% 15.9%;
    --sidebar-ring: 217.2 91.2% 59.8%;
}

/* ============================================
   BASE STYLES
   ============================================ */

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

html,
body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    overflow-x: hidden;
    max-width: 100vw;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Container */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

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

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

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

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

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

/* ============================================
   MOBILE MENU
   ============================================ */

.mobile-menu.hidden {
    display: none;
}

.mobile-menu:not(.hidden) {
    display: block;
}

.menu-icon.hidden,
.close-icon.hidden {
    display: none;
}

.menu-icon:not(.hidden),
.close-icon:not(.hidden) {
    display: block;
}

/* ============================================
   ACCORDION
   ============================================ */

.accordion-item {
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) + 4px);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: hsl(var(--card));
}

.accordion-item .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    transition: max-height 0.3s ease-in;
}

.accordion-item.active .accordion-trigger svg {
    transform: rotate(180deg);
}

.accordion-trigger {
    display: flex;
    flex: 1 1 0%;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    font-weight: 500;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    color: hsl(var(--foreground));
}

.accordion-trigger:hover {
    text-decoration: none;
}

.accordion-trigger:focus {
    outline: none;
}

/* ============================================
   CAROUSEL
   ============================================ */

.testimonials-carousel {
    position: relative;
    padding: 0 60px;
}

@media (max-width: 768px) {
    .testimonials-carousel {
        padding: 0 40px;
    }
}

.carousel-previous,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-previous {
    left: 8px;
}

@media (min-width: 768px) {
    .carousel-previous {
        left: -48px;
    }
}

.carousel-next {
    right: 8px;
}

@media (min-width: 768px) {
    .carousel-next {
        right: -48px;
    }
}

/* ============================================
   SMOOTH SCROLL
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   CUSTOM SCROLLBAR (opcional)
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: hsl(var(--muted));
}

::-webkit-scrollbar-thumb {
    background: hsl(var(--primary));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--primary-dark));
}

/* ============================================
   TAILWIND UTILITY CLASSES
   ============================================ */

/* Reset e Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Display */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Z-index */
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-\[100\] { z-index: 100; }
.z-20 { z-index: 20; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

/* Width & Height */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-32 { width: 8rem; }
.h-full { height: 100%; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-32 { height: 8rem; }
.min-h-\[90vh\] { min-height: 90vh; }
.min-h-\[400px\] { min-height: 400px; }

/* Spacing - Padding */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-1 { padding-top: 0.25rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-5 { padding-bottom: 1.25rem; }

/* Spacing - Margin */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.ml-2 { margin-left: 0.5rem; }

/* Flexbox */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-12 { gap: 3rem; }
.space-y-1 { }
.space-y-2 { }
.space-y-3 { }
.space-y-4 { }
.space-y-6 { }
.space-y-8 { }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Typography */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.break-words { word-break: break-word; }
.italic { font-style: italic; }
.text-left { text-align: left; }
.text-center { text-align: center; }

/* Colors - Background */
.bg-background { background-color: hsl(var(--background)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-primary { background-color: hsl(var(--primary)); }
.bg-primary-light { background-color: hsl(var(--primary-light)); }
.bg-primary-dark { background-color: hsl(var(--primary-dark)); }
.bg-secondary { background-color: hsl(var(--secondary)); }
.bg-accent { background-color: hsl(var(--accent)); }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-\[#25D366\] { background-color: #25D366; }

/* Colors - Text */
.text-foreground { color: hsl(var(--foreground)); }
.text-card-foreground { color: hsl(var(--card-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-secondary-foreground { color: hsl(var(--secondary-foreground)); }
.text-accent { color: hsl(var(--accent)); }
.text-accent-foreground { color: hsl(var(--accent-foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-white { color: #ffffff; }

/* Opacity */
.opacity-95 { opacity: 0.95; }

/* Borders */
.border { border-width: 1px; border-style: solid; border-color: hsl(var(--border)); }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: hsl(var(--border)); }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: hsl(var(--border)); }
.border-0 { border-width: 0; }
.border-border { border-color: hsl(var(--border)); }
.border-input { border-color: hsl(var(--input)); }
.border-primary { border-color: hsl(var(--primary)); }

/* Border Radius */
.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-lg { border-radius: var(--radius); }
.rounded-xl { border-radius: calc(var(--radius) + 4px); }
.rounded-2xl { border-radius: calc(var(--radius) + 8px); }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.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); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.shadow-3xl { box-shadow: 0 35px 60px -12px rgb(0 0 0 / 0.35); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }

/* Transforms */
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-y-1 { transform: translateY(-0.25rem); }

/* Transitions */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

/* Hover States */
.hover\:bg-accent:hover { background-color: hsl(var(--accent)); }
.hover\:bg-accent\/90:hover { background-color: hsl(var(--accent) / 0.9); }
.hover\:bg-primary:hover { background-color: hsl(var(--primary)); }
.hover\:bg-primary-foreground:hover { background-color: hsl(var(--primary-foreground)); }
.hover\:bg-primary-foreground\/90:hover { background-color: hsl(var(--primary-foreground) / 0.9); }
.hover\:bg-secondary:hover { background-color: hsl(var(--secondary)); }
.hover\:bg-muted:hover { background-color: hsl(var(--muted)); }
.hover\:bg-\[#20BA5A\]:hover { background-color: #20BA5A; }
.hover\:text-primary:hover { color: hsl(var(--primary)); }
.hover\:text-primary\/80:hover { color: hsl(var(--primary) / 0.8); }
.hover\:text-primary-foreground:hover { color: hsl(var(--primary-foreground)); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.hover\:shadow-3xl:hover { box-shadow: 0 35px 60px -12px rgb(0 0 0 / 0.35); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:no-underline:hover { text-decoration: none; }
.hover\:grayscale-0:hover { filter: grayscale(0); }

/* Aspect Ratio */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-auto { aspect-ratio: auto; }

/* Object Fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Filters */
.grayscale { filter: grayscale(100%); }
.blur-3xl { filter: blur(64px); }

/* Whitespace */
.whitespace-nowrap { white-space: nowrap; }

/* Max Width */
.max-w-\[1400px\] { max-width: 1400px; }
.max-w-2xl { max-width: 42rem; }
.max-w-\[100vw\] { max-width: 100vw; }

/* Top, Right, Bottom, Left */
.top-0 { top: 0px; }
.top-1\/2 { top: 50%; }
.right-2 { right: 0.5rem; }
.right-6 { right: 1.5rem; }
.bottom-6 { bottom: 1.5rem; }
.left-1\/2 { left: 50%; }
.left-2 { left: 0.5rem; }
.left-8 { left: 2rem; }
.-left-12 { left: -3rem; }
.-right-12 { right: -3rem; }
.-top-2 { top: -0.5rem; }
.-right-2 { right: -0.5rem; }
.-z-10 { z-index: -10; }

/* Gradients */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.from-primary-light { --tw-gradient-from: hsl(var(--primary-light)); --tw-gradient-to: hsl(var(--primary-light) / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-primary { --tw-gradient-from: hsl(var(--primary)); --tw-gradient-to: hsl(var(--primary) / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-background { --tw-gradient-to: hsl(var(--background) / 0); --tw-gradient-stops: var(--tw-gradient-from), hsl(var(--background)), var(--tw-gradient-to); }
.to-secondary { --tw-gradient-to: hsl(var(--secondary)); }
.to-primary-dark { --tw-gradient-to: hsl(var(--primary-dark)); }

/* Backdrop */
.backdrop-blur { backdrop-filter: blur(8px); }
.supports-\[backdrop-filter\]\:bg-background\/60 { }
@media (supports (backdrop-filter: blur(0))) {
    .supports-\[backdrop-filter\]\:bg-background\/60 { background-color: hsl(var(--background) / 0.6); }
}

/* Opacity with slash */
.bg-background\/95 { background-color: hsl(var(--background) / 0.95); }
.bg-accent\/10 { background-color: hsl(var(--accent) / 0.1); }
.bg-primary\/5 { background-color: hsl(var(--primary) / 0.05); }
.bg-primary\/20 { background-color: hsl(var(--primary) / 0.2); }

/* Order */
.order-first { order: -9999; }

/* Responsive - Mobile First */
@media (min-width: 640px) {
    .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:h-20 { height: 5rem; }
    .md\:w-16 { width: 4rem; }
    .md\:w-8 { width: 2rem; }
    .md\:h-8 { height: 2rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .md\:gap-12 { gap: 3rem; }
    .md\:gap-16 { gap: 4rem; }
    .md\:mb-0 { margin-bottom: 0px; }
    .md\:order-last { order: 9999; }
    .md\:aspect-auto { aspect-ratio: auto; }
    .md\:basis-1\/3 { flex-basis: 33.333333%; }
}

@media (min-width: 1024px) {
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* Special Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

/* List Styles */
.list-none { 
    list-style: none; 
    padding-left: 0;
    margin-left: 0;
}

ul.list-none,
ul.list-none li {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

/* Remove underline from all links */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* WhatsApp Colors */
.bg-\[#25D366\] {
    background-color: #25D366 !important;
}

.bg-\[#20BA5A\] {
    background-color: #20BA5A !important;
}

.hover\:bg-\[#20BA5A\]:hover {
    background-color: #20BA5A !important;
}

/* WhatsApp Floating Button - Force correct color */
a[href*="wa.me"] {
    background-color: #25D366 !important;
}

a[href*="wa.me"]:hover {
    background-color: #20BA5A !important;
}

