/* =========================================================
   FullTec Ar-Condicionado — folha de estilos
   Convertido do projeto Lovable (Tailwind) para CSS puro
   ========================================================= */

:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.129 0.042 264.695);
  --card: oklch(1 0 0);
  --navy: oklch(0.31 0.088 259);
  --navy-deep: oklch(0.21 0.072 260);
  --navy-foreground: oklch(0.98 0.005 240);
  --ice: oklch(0.93 0.033 220);
  --ice-deep: oklch(0.72 0.11 226);
  --gold: oklch(0.74 0.16 62);
  --gold-foreground: oklch(0.22 0.05 60);
  --whats: oklch(0.65 0.17 148);
  --whats-foreground: oklch(0.99 0.01 150);
  --secondary: oklch(0.95 0.02 220);
  --muted-foreground: oklch(0.5 0.035 255);
  --border: oklch(0.9 0.018 235);

  --gradient-navy: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, oklch(0.42 0.1 234) 100%);
  --gradient-ice: linear-gradient(180deg, oklch(0.99 0.005 230) 0%, var(--ice) 100%);
  --gradient-gold: linear-gradient(135deg, oklch(0.79 0.15 74), var(--gold));
  --shadow-card: 0 1px 2px oklch(0.31 0.088 259 / 8%), 0 12px 30px -12px oklch(0.31 0.088 259 / 22%);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--border); }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  line-height: 1.5;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; cursor: pointer; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; }

.icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.container-narrow { width: 100%; max-width: 48rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container, .container-narrow { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem; line-height: 1rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ice-deep);
}
.section-title {
  margin-top: 0.75rem;
  font-size: 1.875rem; line-height: 2.25rem;
  font-weight: 800; letter-spacing: -0.025em; color: var(--navy);
}
@media (min-width: 640px) { .section-title { font-size: 2.25rem; line-height: 2.5rem; } }

.section-head { max-width: 42rem; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.reveal-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.25rem; padding: 0 1.75rem;
  border-radius: 9999px;
  font-size: 1rem; line-height: 1.5rem; font-weight: 700;
  transition: transform 0.15s, background-color 0.15s;
}
.btn .icon { width: 1.25rem; height: 1.25rem; }
.btn-whats { background: var(--whats); color: var(--whats-foreground); box-shadow: var(--shadow-card); }
.btn-gold { background-image: var(--gradient-gold); color: var(--gold-foreground); box-shadow: var(--shadow-card); }
.btn-whats:hover, .btn-gold:hover { transform: translateY(-0.125rem); }
.btn-ghost {
  border: 1px solid oklch(0.93 0.033 220 / 40%);
  background: oklch(0.93 0.033 220 / 10%);
  color: var(--navy-foreground);
}
.btn-ghost:hover { background: oklch(0.93 0.033 220 / 20%); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: oklch(1 0 0 / 70%);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.site-header.scrolled {
  background: oklch(1 0 0 / 90%);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-card);
}
.header-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem;
  padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.logo { display: inline-flex; align-items: center; min-width: 0; }
.logo img { height: 3rem; width: auto; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 640px) { .header-actions { gap: 1rem; } }

.main-nav { display: none; align-items: center; gap: 1.75rem; }
.main-nav a {
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600;
  color: oklch(0.129 0.042 264.695 / 80%);
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--ice-deep); }

.header-cta {
  display: none;
  border-radius: 9999px; padding: 0.625rem 1.25rem;
  background-image: var(--gradient-gold); color: var(--gold-foreground);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 700;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s;
}
.header-cta:hover { transform: translateY(-0.125rem); }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.menu-toggle {
  display: grid; place-items: center; flex-shrink: 0;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--border); border-radius: 0.75rem;
  color: var(--navy);
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu { display: none; border-top: 1px solid var(--border); background: var(--background); }
.mobile-menu.open { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.mobile-menu nav a:not(.mobile-cta) {
  padding: 0.875rem 0;
  border-bottom: 1px solid oklch(0.9 0.018 235 / 70%);
  font-size: 1rem; line-height: 1.5rem; font-weight: 600;
}
.mobile-cta {
  margin: 0.75rem 0; padding: 0.875rem 1.25rem;
  border-radius: 9999px; text-align: center;
  background-image: var(--gradient-gold); color: var(--gold-foreground);
  font-weight: 700;
}

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .menu-toggle, .mobile-menu, .mobile-menu.open { display: none; }
}

/* ---------- Seções com imagem de fundo (Hero / Contato) ---------- */
.bg-image-section { position: relative; isolation: isolate; overflow: hidden; }
.bg-image-section > .bg-img {
  position: absolute; inset: 0; z-index: -20;
  width: 100%; height: 100%; max-width: none; object-fit: cover;
}
.bg-image-section > .bg-overlay {
  position: absolute; inset: 0; z-index: -10;
  background-image: var(--gradient-navy); opacity: 0.92;
}

/* ---------- Hero ---------- */
.hero { padding-top: 6rem; padding-bottom: 4rem; }
@media (min-width: 640px) { .hero { padding-top: 8rem; padding-bottom: 6rem; } }
.hero-content { max-width: 48rem; }
.hero h1 {
  font-size: 2.25rem; line-height: 1.08; font-weight: 800; letter-spacing: -0.025em;
  color: var(--navy-foreground);
}
.hero h1 .accent { color: var(--ice); }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero p {
  max-width: 42rem; margin-top: 1rem;
  font-size: 1rem; line-height: 1.625;
  color: oklch(0.98 0.005 240 / 80%);
}
.hero p:first-of-type { margin-top: 1.5rem; }
@media (min-width: 640px) { .hero p { font-size: 1.125rem; } }
.hero-actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; align-items: center; } }

/* ---------- Intro ---------- */
.intro { background-image: var(--gradient-ice); padding: 4rem 0; }
@media (min-width: 640px) { .intro { padding: 6rem 0; } }
.intro-content { max-width: 48rem; margin: 0 auto; text-align: center; }
.intro h2 {
  margin-top: 1rem;
  font-size: 1.875rem; line-height: 2.25rem; font-weight: 800; letter-spacing: -0.025em;
  color: var(--navy);
}
@media (min-width: 640px) { .intro h2 { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 1024px) { .intro h2 { font-size: 3rem; line-height: 1; } }
.intro p { margin-top: 1rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
.intro p:first-of-type { margin-top: 1.5rem; }
@media (min-width: 640px) { .intro p { font-size: 1.125rem; } }

/* ---------- Cards ---------- */
.grid-4, .grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card {
  display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--border); border-radius: 1rem;
  background: var(--card); padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: opacity 0.7s var(--ease-out), transform 0.3s var(--ease-out), border-color 0.3s;
}
.card.reveal { transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), border-color 0.3s; }
.card.reveal-in:hover, .card:not(.reveal):hover { transform: translateY(-0.25rem); border-color: oklch(0.72 0.11 226 / 40%); }
.card h3 { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; color: var(--navy); }
.card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

.card-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background-image: var(--gradient-navy); color: var(--ice);
}
.card-icon--light { background-image: none; background-color: var(--secondary); color: var(--ice-deep); transition: background-color 0.15s, color 0.15s; }
.card:hover .card-icon--light { background-image: var(--gradient-navy); color: var(--ice); }

/* ---------- Trust ---------- */
.trust { padding: 4rem 0; }
@media (min-width: 640px) { .trust { padding: 6rem 0; } }

/* ---------- Services ---------- */
.services {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: oklch(0.95 0.02 220 / 40%);
  padding: 5rem 0;
}
@media (min-width: 640px) { .services { padding: 7rem 0; } }
.services .grid-3 { margin-top: 3rem; }

/* ---------- Segments ---------- */
.segments { padding: 5rem 0; }
@media (min-width: 640px) { .segments { padding: 7rem 0; } }
.segments .section-head { text-align: center; }
.segments .section-head p { margin-top: 1rem; font-size: 1rem; line-height: 1.5rem; color: var(--muted-foreground); }
.chips { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--border); border-radius: 9999px;
  background: var(--card); padding: 0.75rem 1.25rem;
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow-card);
  transition: transform 0.15s;
}
.chip:hover { transform: translateY(-0.125rem); }
.chip .icon { width: 1rem; height: 1rem; color: var(--ice-deep); }

/* ---------- Brands ---------- */
.brands {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background-image: var(--gradient-navy);
  padding: 3.5rem 0;
}
.brands h2 {
  text-align: center;
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: oklch(0.98 0.005 240 / 70%);
}
.brands p {
  max-width: 42rem; margin: 0.75rem auto 0; text-align: center;
  font-size: 1rem; line-height: 1.5rem; color: oklch(0.98 0.005 240 / 80%);
}
.marquee { position: relative; margin-top: 2rem; overflow: hidden; }
.marquee-track {
  display: flex; width: max-content; align-items: center; gap: 1rem;
  animation: fulltec-marquee 28s linear infinite;
}
.brand-pill {
  display: grid; place-items: center; flex-shrink: 0;
  width: 10rem; height: 4rem;
  border: 1px solid oklch(0.93 0.033 220 / 20%); border-radius: 0.75rem;
  background: oklch(0.98 0.005 240 / 10%);
  font-size: 1.125rem; font-weight: 800; letter-spacing: -0.025em;
  color: oklch(0.98 0.005 240 / 90%);
}
@keyframes fulltec-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Why Us ---------- */
.why { background-image: var(--gradient-ice); padding: 5rem 0; }
@media (min-width: 640px) { .why { padding: 7rem 0; } }
.why .grid-4 { margin-top: 3rem; }

/* ---------- Contact ---------- */
.contact { padding: 5rem 0; }
@media (min-width: 640px) { .contact { padding: 7rem 0; } }
.contact .bg-overlay { opacity: 0.94; }
.contact-content { max-width: 48rem; margin: 0 auto; text-align: center; }
.contact .eyebrow { color: var(--ice); }
.contact h2 {
  margin-top: 1rem;
  font-size: 1.875rem; line-height: 2.25rem; font-weight: 800; letter-spacing: -0.025em;
  color: var(--navy-foreground);
}
@media (min-width: 640px) { .contact h2 { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 1024px) { .contact h2 { font-size: 3rem; line-height: 1; } }
.contact-content > p {
  margin-top: 1.5rem; font-size: 1rem; line-height: 1.625; color: oklch(0.98 0.005 240 / 80%);
}
@media (min-width: 640px) { .contact-content > p { font-size: 1.125rem; } }
.contact-actions { margin-top: 2.25rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
@media (min-width: 640px) { .contact-actions { flex-direction: row; } }

.contact-list { margin-top: 3rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .contact-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.contact-list li {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  border: 1px solid oklch(0.93 0.033 220 / 20%); border-radius: 1rem;
  background: oklch(0.93 0.033 220 / 10%);
  padding: 1.25rem; color: var(--navy-foreground);
}
.contact-list .icon { color: var(--ice); }
.contact-list .label {
  font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: oklch(0.98 0.005 240 / 60%);
}
.contact-list a, .contact-list .value { font-weight: 700; text-align: center; transition: color 0.15s; }
.contact-list a:hover { color: var(--ice); }
.contact-list .emails { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 0.5rem; }
.contact-list .emails a { width: 100%; word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--background); padding: 3rem 0; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-grid > div { min-width: 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.footer-about { margin-top: 1rem; max-width: 20rem; }
.footer-title { font-weight: 700; color: var(--navy); }
.footer-grid a { transition: color 0.15s; }
.footer-grid a:hover { color: var(--ice-deep); }
.footer-links { margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.copyright {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-size: 0.75rem; line-height: 1rem; color: var(--muted-foreground);
}

/* ---------- WhatsApp FAB ---------- */
.whats-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50;
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; border-radius: 9999px;
  background: var(--whats); color: var(--whats-foreground);
  box-shadow: var(--shadow-card);
  animation: fulltec-pulse-ring 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  transition: transform 0.15s;
}
.whats-fab:hover { transform: scale(1.05); }
.whats-fab svg { width: 1.75rem; height: 1.75rem; }
@media (min-width: 640px) {
  .whats-fab { width: 4rem; height: 4rem; }
  .whats-fab svg { width: 2rem; height: 2rem; }
}
@keyframes fulltec-pulse-ring {
  0% { box-shadow: 0 0 0 0 oklch(0.65 0.17 148 / 55%); }
  70% { box-shadow: 0 0 0 18px oklch(0.65 0.17 148 / 0%); }
  100% { box-shadow: 0 0 0 0 oklch(0.65 0.17 148 / 0%); }
}

/* ---------- Política de privacidade ---------- */
.policy-hero { background-image: var(--gradient-navy); padding: 4rem 0; }
.policy-hero h1 {
  font-size: 1.875rem; line-height: 2.25rem; font-weight: 800; letter-spacing: -0.025em;
  color: var(--navy-foreground);
}
@media (min-width: 640px) { .policy-hero h1 { font-size: 2.25rem; line-height: 2.5rem; } }
.policy-hero p { margin-top: 0.75rem; color: oklch(0.98 0.005 240 / 80%); }
.policy-body { padding-top: 3.5rem; padding-bottom: 3.5rem; display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
.policy-body h2 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; color: var(--navy); }
.policy-body p { margin-top: 0.5rem; color: var(--muted-foreground); }
.policy-body p a { font-weight: 600; color: var(--ice-deep); }
.back-link { display: inline-flex; font-weight: 700; color: var(--ice-deep); }

/* ---------- 404 ---------- */
.notfound { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 0 1rem; text-align: center; }
.notfound h1 { font-size: 4.5rem; line-height: 1; font-weight: 700; }
.notfound h2 { margin-top: 1rem; font-size: 1.25rem; font-weight: 600; }
.notfound p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.notfound a {
  display: inline-flex; margin-top: 1.5rem; padding: 0.5rem 1rem; border-radius: 0.5rem;
  background: var(--navy); color: var(--navy-foreground); font-size: 0.875rem; font-weight: 500;
}

/* ---------- Acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .whats-fab { animation: none; }
}
