/* ==========================================================================
   OFFLOG — Réplica fiel da identidade visual atual do site
   Paleta: vermelho institucional + azul-marinho + branco
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --red: #A31E24;
  --red-dark: #841419;
  --navy: #0E1B3D;
  --navy-2: #16264f;
  --gray-btn: #4d4d4d;
  --gray-btn-dark: #333333;
  --ink: #231f20;
  --bg-light: #f5f5f5;
  --white: #ffffff;
  --line: #e3e3e3;

  --f-head: 'Oswald', sans-serif;
  --f-body: 'Open Sans', sans-serif;

  --container: 1180px;
}

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

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  color: var(--navy);
}
h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 16px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: 24px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-gray { background: var(--gray-btn); color: var(--white); }
.btn-gray:hover { background: var(--gray-btn-dark); transform: translateY(-1px); }
.btn-outline-white {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--red); }
.btn-pill-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
  padding: 10px 26px;
  border-radius: 22px;
  font-family: var(--f-body);
  font-weight: 600;
}
.btn-pill-outline:hover { background: var(--white); color: var(--red); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand img { height: 62px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4a4a4a;
  padding: 10px 14px;
  transition: color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--red);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 20px;
    display: none;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
}

/* ==========================================================================
   Hero — fundo marinho com padrão de rede/globo
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 90px 0 70px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(255,255,255,0.10) 0, rgba(255,255,255,0.10) 2px, transparent 3px),
    radial-gradient(circle at 55% 62%, rgba(255,255,255,0.10) 0, rgba(255,255,255,0.10) 2px, transparent 3px),
    radial-gradient(circle at 82% 22%, rgba(255,255,255,0.10) 0, rgba(255,255,255,0.10) 2px, transparent 3px),
    radial-gradient(circle at 90% 75%, rgba(255,255,255,0.10) 0, rgba(255,255,255,0.10) 2px, transparent 3px),
    radial-gradient(circle at 35% 85%, rgba(255,255,255,0.10) 0, rgba(255,255,255,0.10) 2px, transparent 3px),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(25deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 60px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.hero h1 { color: var(--white); }
.hero p.lede { color: rgba(255,255,255,0.85); font-size: 1.02rem; max-width: 62ch; margin: 0 auto; }

/* Intro section under hero: text + framed photo */
.intro {
  padding: 60px 0;
  background: var(--white);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.intro-photo {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(14,27,61,0.12);
}
.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; text-align: center; }
  .intro-photo { max-width: 340px; margin: 0 auto; }
  .btn-row { justify-content: center; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 68px 0; }
.section-light { background: var(--white); }
.section-tint { background: var(--bg-light); }
.section-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-red { background: var(--red); color: var(--white); }
.section-red h2 { color: var(--white); }
.section-head { max-width: 68ch; margin: 0 auto 44px; text-align: center; }

/* Services (red section, 3 cols divided by hairlines) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.service-col {
  padding: 10px 34px;
  border-left: 1px solid rgba(255,255,255,0.35);
  text-align: left;
}
.service-col:first-child { border-left: none; }
.service-col .icon { width: 54px; height: 54px; margin-bottom: 18px; }
.service-col h3 { color: var(--white); font-weight: 500; letter-spacing: 0.04em; }
.service-col p { color: rgba(255,255,255,0.88); min-height: 72px; }
@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-col { border-left: none; border-top: 1px solid rgba(255,255,255,0.35); padding: 30px 10px; text-align: center; }
  .service-col:first-child { border-top: none; }
  .service-col .icon { margin-left: auto; margin-right: auto; }
}

/* Feature list (why choose us) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
.feature { text-align: center; }
.feature .num-badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--f-head);
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 0.95rem;
}
.feature h3 { font-weight: 500; }
.feature p { color: #555; }

/* Tracking banner */
.tracking {
  background: var(--bg-light);
  border-radius: 4px;
  padding: 48px;
  text-align: center;
}
.tracking .btn { margin-top: 10px; }

/* Client logos */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.logo-grid figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}
.logo-grid img { max-height: 50px; width: auto; }
@media (max-width: 760px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

.logo-strip {
  display: flex;
  justify-content: center;
}
.logo-strip img {
  max-width: 100%;
  width: auto;
  height: auto;
}

/* Values / product list cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 26px;
  text-align: center;
}
.card .tag { font-family: var(--f-head); color: var(--red); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 10px; }
.card p { color: #555; margin-bottom: 0; }

.product-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
@media (max-width: 640px) { .product-list { grid-template-columns: 1fr; } }
.product-list li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; padding: 16px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
}
.product-list li::before { content: ''; width: 8px; height: 8px; background: var(--red); border-radius: 50%; flex: none; }

/* Testimonial */
.testimonial { max-width: 760px; margin: 0 auto; text-align: center; }
.testimonial blockquote {
  font-family: var(--f-head);
  font-weight: 400;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.4;
  margin: 0 0 18px;
}
.testimonial .who { font-weight: 700; font-size: 0.9rem; }

/* ==========================================================================
   Contact form
   ========================================================================== */
.form-panel { max-width: 760px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #555;
  margin-bottom: 6px;
}
input, textarea {
  width: 100%;
  font-family: var(--f-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}
input:focus, textarea:focus { outline: none; border-color: var(--red); }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.82rem; margin-top: 14px; color: #555; }
.form-note.success { color: #1c8a4b; display: none; }
.form-note.success.show { display: block; }

.info-list { display: grid; gap: 22px; margin-top: 30px; }
.info-list .item .label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--red); margin-bottom: 4px; display: block; }
.info-list .item .value a:hover { color: var(--red); }

.map-frame { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-top: 40px; }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  text-align: center;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid p, .footer-grid a { font-size: 0.9rem; color: rgba(255,255,255,0.72); }
.footer-grid a:hover { color: var(--red); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-logo img { height: 60px; margin-bottom: 14px; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.social-row img { height: 16px; width: 16px; }
.social-row a:hover { background: var(--red); }

.footer-bottom { padding: 20px 0; font-size: 0.78rem; color: rgba(255,255,255,0.5); text-align: center; }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--red); }

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  z-index: 200;
}
.whatsapp-float img { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.text-center { text-align: center; }
