/* ============================================================
   VISKOTT — PÁGINA DE MANUTENÇÃO
   Paleta:
     Pantone 7547C  →  #1c2b39  (azul escuro / antracite)
     Pantone 151C   →  #f77f00  (laranja vibrante)
   ============================================================ */

/* ── Reset & custom properties ────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --dark:           #1c2b39;
  --orange:         #f77f00;
  --orange-glow:    rgba(247, 127, 0, 0.10);
  --orange-border:  rgba(247, 127, 0, 0.38);

  --bg:             #f4f2ee;
  --bg-surface:     #ffffff;
  --text-primary:   #1c2b39;
  --text-muted:     rgba(28, 43, 57, 0.55);
  --text-faint:     rgba(28, 43, 57, 0.32);
  --border-light:   rgba(28, 43, 57, 0.09);
  --border-mid:     rgba(28, 43, 57, 0.14);

  --font-body:    'DM Sans', sans-serif;

  --radius:    12px;
  --radius-sm:  6px;
}

/* ICONE REDOCEAN*/

@font-face {
  font-family: 'redocean';
  src: url('fonts/redocean.eot?889owx');
  src: url('fonts/redocean.eot?889owx#iefix') format('embedded-opentype'),
    url('fonts/redocean.ttf?889owx') format('truetype'),
    url('fonts/redocean.woff?889owx') format('woff'),
    url('fonts/redocean.svg?889owx#redocean') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="redocean-"],
[class*=" redocean-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'redocean' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.redocean-simbolo:before {
  content: "\e900";
}

/* ── Base ────────────────────────────────────────────────── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-primary);
  min-height: 100dvh;
  overflow-x: hidden;
  width: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Backgrounds ─────────────────────────────────────────── */
.bg-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 5% 0%, rgba(247,127,0,0.07) 0%, transparent 55%),
    linear-gradient(160deg, #ede9e3 0%, #f4f2ee 50%, #eef0f2 100%);
  z-index: 0;
}

.bg-grain {
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
  z-index: 1;
  pointer-events: none;
}

/* ── Layout container ─────────────────────────────────────── */
.container {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto auto auto auto;
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1.25rem, 5vw, 3.5rem);
  gap: clamp(2rem, 4vw, 3.5rem);
}

/* ── Hero: duas colunas ──────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  min-width: 0;
  animation: fadeUp 0.9s 0.1s ease both;
}

/* Coluna esquerda — logótipo */
.hero-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.logo-img {
  width: clamp(140px, 20vw, 240px);
  height: auto;
  object-fit: contain;
  display: block;
}

.logo-fallback {
  display: none;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.logo-text {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.12em;
  color: var(--dark);
}

.logo-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Separador vertical entre as duas colunas */
.hero-logo::after {
  content: '';
  display: block;
  width: 1px;
  height: clamp(80px, 12vw, 140px);
  background: linear-gradient(180deg, transparent, var(--border-mid) 30%, var(--border-mid) 70%, transparent);
  margin-left: clamp(2rem, 5vw, 4rem);
}

/* Coluna direita — texto */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  min-width: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 0.45rem 1rem;
  border: 1px solid var(--orange-border);
  border-radius: 2rem;
  width: fit-content;
  background: var(--orange-glow);
}

.hero-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--dark);
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-title em {
  font-style: italic;
  color: var(--orange);
}

.hero-body {
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

.br-desktop { display: none; }

/* ── Services strip ──────────────────────────────────────── */
.services-strip {
  overflow: hidden;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  width: 100%;
  animation: fadeUp 0.9s 0.4s ease both;
  height: min-content;
}

.services-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: max-content;
  animation: marquee 35s linear infinite;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.services-inner:hover {
  animation-play-state: paused;
}

.dot {
  color: var(--orange);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── Info grid ───────────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  overflow: hidden;
  animation: fadeUp 0.9s 0.55s ease both;
  width: 100%;
  min-width: 0;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.6rem 1.5rem;
  background: var(--bg-surface);
  transition: background 0.25s ease;
  min-width: 0;
  overflow: hidden;
}

.info-block:hover {
  background: var(--orange-glow);
}

.info-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--orange-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-top: 2px;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  overflow: hidden;
}

.info-label {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

.info-content address {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.info-link {
  font-size: 0.92rem;
  color: var(--dark);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
  word-break: break-all;
  overflow-wrap: break-word;
}

.info-link:hover {
  color: var(--orange);
}

.info-note {
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: 300;
}

/* Social buttons */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  transition: all 0.22s ease;
}

.social-btn:hover {
  color: var(--orange);
  border-color: var(--orange-border);
  background: var(--orange-glow);
}

/* ── Bottom bar ──────────────────────────────────────────── */
.bottom-bar {
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
  animation: fadeUp 0.9s 0.7s ease both;
}

/*redocean footer*/
.redocean-simbolo{
  color: #888 !important;
  text-decoration:none;
}

.redocean-simbolo::before {
  font-family: 'redocean' !important;
  content: "\e900";
}

.redocean-simbolo:hover{
  color: #e50914 !important;
  text-decoration:none;
}

.redocean-simbolo-a{
  position:relative;
  top:3px;
  text-decoration:none !important;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Responsive — Tablet ─────────────────────────────────── */
@media (min-width: 640px) {
  .br-desktop { display: inline; }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
  }

  .hero-logo::after {
    margin-left: 1.5rem;
  }

  .logo-img {
    width: clamp(100px, 18vw, 160px);
  }

  .hero-title {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Responsive — Mobile ─────────────────────────────────── */
@media (max-width: 520px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Em mobile, logo por cima e texto por baixo */
  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-logo {
    justify-content: flex-start;
  }

  /* Esconde o separador vertical em mobile */
  .hero-logo::after {
    display: none;
  }

  .logo-img {
    width: clamp(120px, 40vw, 180px);
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .social-links {
    flex-direction: column;
  }

  .services-inner {
    animation-duration: 22s;
  }
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
