/* ==========================================================================
   FRIO FIX — Assistência Técnica Especializada em Hotelaria e Climatização
   ========================================================================== */

:root {
  --navy-900: #0a2a5e;
  --navy-800: #0d3578;
  --navy-700: #10409a;
  --blue-600: #1a56c4;
  --red-600: #e0352b;
  --red-700: #c22a21;
  --ice-100: #f3f7fc;
  --ice-200: #e8f0fa;
  --gray-500: #5a6b83;
  --gray-300: #c9d3e0;
  --white: #ffffff;
  --ink: #16233d;

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(10, 42, 94, 0.08);
  --shadow-md: 0 12px 30px rgba(10, 42, 94, 0.14);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  margin: 0 0 .5em;
  line-height: 1.15;
}

p { margin: 0 0 1em; color: var(--gray-500); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* focus visibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--red-600);
  outline-offset: 2px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-900);
  color: #d7e2f7;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
}
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- Header / nav ---------- */
header.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 500;
}

.brand-name img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.service-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: fill; /* fills the box without stretching */
  border-radius: 8px; /* optional, for nicer look */
}



.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo-mark { width: 48px; height: 48px; flex-shrink: 0; object-fit: contain; }
.brand-text { font-family: var(--font-display); line-height: 1.1; }
.brand-text .sub { font-size: 10px; letter-spacing: .12em; color: var(--red-600); font-weight: 600; display: block; }
.brand-text .name { font-size: 22px; font-weight: 700; color: var(--navy-900); }

nav.main-nav { display: flex; gap: 28px; }
nav.main-nav a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy-900);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--blue-600); border-bottom-color: var(--red-600); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.phone-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--red-600);
  color: var(--white);
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: var(--shadow-sm);
  transition: background .15s ease;
}
.phone-btn:hover { background: var(--red-700); }
.phone-btn svg { width: 17px; height: 17px; }

.menu-toggle {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 26px; height: 26px; color: var(--navy-900); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--ice-100) 0%, var(--white) 100%);
  padding: 64px 0 40px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.01em; }
.hero p.lead { font-size: 17px; max-width: 46ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0 30px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: var(--navy-800); transform: translateY(-1px); }
.btn-outline { background: var(--white); color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--ice-200); }
.btn-red { background: var(--red-600); color: var(--white); }
.btn-red:hover { background: var(--red-700); }

.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hero-badge { display: flex; gap: 10px; align-items: flex-start; }
.hero-badge svg { width: 26px; height: 26px; color: var(--blue-600); flex-shrink: 0; margin-top: 2px; }
.hero-badge .label { font-size: 13px; font-weight: 600; color: var(--navy-900); line-height: 1.25; }

.hero-art {
  position: relative;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: 18px;
  padding: 34px;
  color: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-art::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.10), transparent 55%);
}
.hero-art .van-icon { width: 100%; max-width: 300px; margin: 0 auto 22px; display: block; border-radius: 12px; box-shadow: 0 10px 26px rgba(0,0,0,.3); object-fit: cover; }
.hero-art ul { display: grid; gap: 10px; font-size: 14.5px; }
.hero-art li { display: flex; gap: 10px; align-items: center; }
.hero-art li svg { width: 16px; height: 16px; color: #7fb2ff; flex-shrink: 0; }
.hero-art .contact-line { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.hero-art .contact-line div { display: flex; gap: 8px; align-items: center; }
.hero-art .contact-line svg { width: 15px; height: 15px; color: var(--red-600); background: var(--white); border-radius: 50%; padding: 3px; box-sizing: content-box; }

.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 400;
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy-900);
}
.whatsapp-float .wa-icon {
  width: 40px; height: 40px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.whatsapp-float .wa-icon svg { width: 22px; height: 22px; color: var(--white); }

/* ---------- Section shell ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--ice-100); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--red-600);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }

/* ---------- Services grid ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--ice-200);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--ice-200);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon-wrap svg { width: 26px; height: 26px; color: var(--blue-600); }
.card h3 { font-size: 18px; }
.card p { font-size: 14.5px; margin-bottom: 14px; }
.card .link-more { font-weight: 700; font-size: 13.5px; color: var(--navy-800); display: inline-flex; align-items: center; gap: 6px; }
.card .link-more svg { width: 14px; height: 14px; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--navy-800); color: var(--white); padding: 34px 0; }
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { display: flex; align-items: center; gap: 14px; }
.stat .icon-circle {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat .icon-circle svg { width: 22px; height: 22px; }
.stat .num { font-size: 22px; font-weight: 800; font-family: var(--font-display); }
.stat .label { font-size: 12.5px; color: #c4d3ef; }

/* ---------- About split ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-split .check-list { display: grid; gap: 10px; margin: 20px 0 26px; }
.about-split .check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 15px; color: var(--ink); }
.about-split .check-list svg { width: 18px; height: 18px; color: var(--blue-600); margin-top: 2px; flex-shrink: 0; }
.about-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #d7e4f7, #aec6ec);
  aspect-ratio: 4/3.1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.about-photo svg { width: 72%; }
.about-photo img.about-img { width: 100%; height: 100%; object-fit: cover; }
.quote-box {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  background: var(--white);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  display: flex; gap: 12px; align-items: flex-start;
  font-weight: 700; font-size: 14px; color: var(--navy-900);
}
.quote-box svg { width: 22px; height: 22px; color: var(--red-600); flex-shrink: 0; }

/* ---------- Brands ---------- */
.brand-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; align-items: center; flex: 1; }
.brand-track .brand-name {
  text-align: center; font-family: var(--font-display); font-weight: 700;
  color: var(--gray-500); font-size: 16px; letter-spacing: .02em;
}
.brand-arrow {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--navy-800);
}
.brand-arrow svg { width: 16px; height: 16px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-800); color: var(--white); padding: 40px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h3 { color: var(--white); font-size: 22px; margin-bottom: 4px; }
.cta-band p { color: #c4d3ef; margin: 0; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.1); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--ice-100); padding: 56px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.footer-grid h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a, .footer-grid li { font-size: 14.5px; color: var(--gray-500); }
.footer-grid a:hover { color: var(--blue-600); }
.footer-brand p { font-size: 14px; margin-top: 10px; }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy-800); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.footer-socials svg { width: 17px; height: 17px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list svg { width: 16px; height: 16px; color: var(--blue-600); flex-shrink: 0; margin-top: 3px; }
.footer-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--navy-800); color: var(--navy-800);
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 13.5px; margin-top: 14px;
}
.footer-cta-btn svg { width: 15px; height: 15px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--gray-300); padding-top: 20px; font-size: 13px; color: var(--gray-500); flex-wrap: wrap; gap: 10px;
}

/* ---------- Inner page hero ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-hero .eyebrow { color: #7fb2ff; }
.page-hero h1 { color: var(--white); font-size: clamp(26px, 3.6vw, 36px); }
.page-hero p { color: #c4d3ef; max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: #9db4dd; margin-top: 10px; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Services page detail ---------- */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
  padding: 46px 0; border-bottom: 1px solid var(--ice-200);
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) .service-visual { order: 2; }
.service-visual {
  background: var(--ice-100);
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.service-visual svg { width: 34%; color: var(--blue-600); }
.service-detail ul.feature-list { display: grid; gap: 10px; margin-top: 16px; }
.service-detail ul.feature-list li { display: flex; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.service-detail ul.feature-list svg { width: 16px; height: 16px; color: var(--blue-600); margin-top: 3px; flex-shrink: 0; }

/* ---------- Contact page ---------- */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.contact-info-card {
  background: var(--navy-800); color: var(--white);
  border-radius: 16px; padding: 34px;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card .contact-list li { color: #dfe9fb; margin-bottom: 16px; font-size: 14.5px; }
.contact-info-card .contact-list svg { color: #7fb2ff; }
.contact-info-card .hours { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); font-size: 14px; }
.contact-info-card .hours div { display: flex; justify-content: space-between; padding: 4px 0; color: #c4d3ef; }

.form-card {
  background: var(--white);
  border: 1px solid var(--ice-200);
  border-radius: 16px;
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy-900); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1.5px solid var(--gray-300);
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--gray-500); margin-top: 10px; }
#form-success {
  display: none;
  background: #e7f7ee; color: #146c43; border: 1px solid #b7e4c7;
  padding: 14px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; margin-bottom: 16px;
  align-items: center; gap: 10px;
}
#form-success.show { display: flex; }
#form-success svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-badges { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-visual { order: 0; }
  .brand-track { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
}

@media (max-width: 760px) {
  .topbar .container { flex-direction: column; gap: 4px; padding: 6px 24px; }
  nav.main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    padding: 10px 24px 18px; box-shadow: var(--shadow-md);
    display: none;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 12px 0; border-bottom: 1px solid var(--ice-200); }
  .menu-toggle { display: flex; }
  .header-actions .phone-btn span { display: none; }
  .phone-btn { padding: 11px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .brand-track { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
