/* Landing Saiba-Mais - estilos críticos (sem Tailwind CDN) para FCP */
*, *::before, *::after { box-sizing: border-box; }
:root {
    --brand-orange: #ea580c;
    --brand-dark: #1f2937;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* Layout */
.container { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 768px) { .md\:px-12 { padding-left: 3rem; padding-right: 3rem; } }
.min-w-0 { min-width: 0; }

/* Nav */
nav {
    background: #fff;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
}
@media (min-width: 768px) { nav { padding-left: 3rem; padding-right: 3rem; } }
nav > div {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}
@media (min-width: 768px) { nav > div { font-size: 2.25rem; } }
nav img { height: 3.5rem; width: 3.5rem; object-fit: contain; }
@media (min-width: 768px) { nav img { height: 4rem; width: 4rem; } }

/* Hero */
header {
    color: #fff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    z-index: 0;
}
@media (min-width: 768px) { header { padding: 8rem 0; } }
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}
header > div:first-of-type {
    position: absolute;
    inset: 0;
    background: rgba(31, 41, 55, 0.7);
}
@media (max-width: 767px) {
    header > div:first-of-type { background: rgba(31, 41, 55, 0.88); }
    .hero h1 { font-size: 1.75rem; line-height: 1.3; }
    .hero-sub { font-size: 1rem; }
    section h2.text-3xl { font-size: 1.5rem; line-height: 1.35; }
    nav > div { font-size: 1.5rem; }
}
header .container { position: relative; z-index: 10; text-align: center; }
.hero-badge { display: inline-block; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-size: 1.125rem; margin-bottom: 1rem; padding: 0.75rem 1.5rem; border-radius: 9999px; }
@media (min-width: 768px) { .hero-badge { font-size: 1.25rem; } }
.hero h1 { font-size: 2.25rem; font-weight: 700; margin-top: 0.5rem; margin-bottom: 1.5rem; line-height: 1.2; max-width: 56rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero h1 .text-brand-orange { color: var(--brand-orange); }
.hero-sub { color: #d1d5db; font-size: 1.125rem; margin-bottom: 2.5rem; max-width: 42rem; margin-left: auto; margin-right: auto; font-weight: 300; }
@media (min-width: 768px) { .hero-sub { font-size: 1.25rem; } }
.hero-cta {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    color: #fff;
    background: #b45309;
    text-decoration: none;
    transition: transform .3s, box-shadow .3s, opacity .3s;
}
.hero-cta:hover { background: #8c3d07; transform: scale(1.05); }
@media (max-width: 767px) {
    .hero-cta { width: 100%; max-width: 100%; justify-content: center; box-sizing: border-box; }
}
/* Ícones: tamanhos fixos e centralização em qualquer contexto */
.ico, .icon-whatsapp { display: block; flex-shrink: 0; fill: currentColor; margin: 0 auto; }
.ico { width: 1.5rem; height: 1.5rem; min-width: 1.5rem; min-height: 1.5rem; }
.ico--sm { width: 1.25rem; height: 1.25rem; min-width: 1.25rem; min-height: 1.25rem; }
.ico--md { width: 1.75rem; height: 1.75rem; min-width: 1.75rem; min-height: 1.75rem; }
.ico--lg { width: 2rem; height: 2rem; min-width: 2rem; min-height: 2rem; }
.icon-whatsapp { width: 1.5rem; height: 1.5rem; min-width: 1.5rem; min-height: 1.5rem; }
.hero-cta .ico, .hero-cta .icon-whatsapp { margin: 0; }
.icon-box { display: flex; align-items: center; justify-content: center; }
.icon-box svg { display: block; margin: 0; }
.hero-stars { margin-top: 1.5rem; font-size: 0.875rem; color: #9ca3af; font-weight: 500; }
.hero-stars .text-yellow-400 { color: #facc15; }

/* Sections */
section { padding: 5rem 0; width: 100%; max-width: 100%; overflow-x: hidden; box-sizing: border-box; }
.bg-white { background: #fff; }
.bg-gray-50 { background: var(--gray-50); }
.bg-gray-100 { background: var(--gray-100); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.max-w-2xl { max-width: min(42rem, 100%); }
.max-w-3xl { max-width: min(48rem, 100%); }
.max-w-4xl { max-width: min(56rem, 100%); }
.max-w-5xl { max-width: min(64rem, 100%); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Typography */
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
@media (min-width: 768px) {
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:text-5xl { font-size: 3rem; }
    .md\:text-6xl { font-size: 3.75rem; }
}
@media (min-width: 1024px) { .lg\:text-6xl { font-size: 3.75rem; } }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-light { font-weight: 300; }
.text-brand-dark { color: var(--brand-dark); }
.text-brand-orange { color: var(--brand-orange); }
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-800 { color: var(--gray-800); }
.text-white { color: #fff; }
.text-2xl { font-size: 1.5rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
h1, h2, h3, h4, p, .container { overflow-wrap: break-word; word-wrap: break-word; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-10 { gap: 2.5rem; }
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:gap-8 { gap: 2rem; }
}

/* Flex */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.shrink-0 { flex-shrink: 0; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }

/* Spacing */
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mr-3 { margin-right: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* Cards & boxes */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: var(--gray-200); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,.05); }
.bg-gray-50 { background: var(--gray-50); }
.bg-white { background: #fff; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.object-contain { object-fit: contain; }
.bg-orange-100 { background: #ffedd5; }
.cursor-pointer { cursor: pointer; }
.outline-none { outline: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
.bg-no-repeat { background-repeat: no-repeat; }
.w-full { width: 100%; }
.top-0 { top: 0; }

/* Transitions */
.transition { transition-property: color, background-color, border-color, box-shadow, transform, opacity; transition-duration: .15s; transition-timing-function: cubic-bezier(.4,0,.2,1); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:opacity-95:hover { opacity: .95; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.group[open] .group-open\:rotate-180 { transform: rotate(180deg); }

/* Animações (já existentes inline, movidas para CSS) */
.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .6s ease-out, transform .6s ease-out; }
.animate-on-scroll.in-view { opacity: 1; transform: translateY(0); }
.animate-on-scroll.delay-1 { transition-delay: .1s; }
.animate-on-scroll.delay-2 { transition-delay: .2s; }
.animate-on-scroll.delay-3 { transition-delay: .3s; }
.animate-on-scroll.delay-4 { transition-delay: .4s; }
.hover-lift { transition: transform .3s ease, box-shadow .3s ease; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -8px rgba(0,0,0,.15); }
.hover-scale { transition: transform .3s ease; }
.hover-scale:hover { transform: scale(1.03); }
.hero-enter { animation: heroFadeIn 1s ease-out forwards; }
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.btn-pulse { animation: btnPulse 2s ease-in-out infinite; }
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255,122,41,.6), 0 0 40px rgba(255,122,41,.3); }
    50% { box-shadow: 0 0 28px rgba(255,122,41,.7), 0 0 50px rgba(255,122,41,.25); }
}
.btn-glow { box-shadow: 0 0 20px rgba(255,122,41,.55), 0 0 40px rgba(255,122,41,.25); }
.btn-glow:hover { box-shadow: 0 0 25px rgba(255,122,41,.65), 0 0 50px rgba(255,122,41,.3); }
@media (max-width: 767px) {
    #contato .inline-flex, #contato a.inline-flex { width: 100%; max-width: 100%; box-sizing: border-box; }
    footer { padding-left: 1rem; padding-right: 1rem; }
    footer .text-gray-400, footer p { overflow-wrap: break-word; max-width: 100%; }
}
