/* ============================================================
   Super Fios Studio — paleta derivada do logo (#1BA6B5)
   ============================================================ */
:root {
  --teal: #1ba6b5;          /* cor exata do fundo do logo */
  --teal-deep: #0d7f8c;
  --teal-mist: #e3f3f5;
  --ink: #10181a;
  --paper: #f7fbfb;
  --white: #ffffff;

  --display: "Montserrat", sans-serif;
  --script: "Sacramento", cursive;
  --body: "Jost", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.06rem;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-deep); }

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

/* ---------- topo ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.2rem, 5vw, 4rem);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--teal-mist);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.brand-name {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.22em;
  font-size: 0.95rem;
}
.brand-name b { font-weight: 800; }

.menu {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 2rem);
}

.menu a {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.menu a:hover { color: var(--teal-deep); }

.menu-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
}
.menu-cta:hover { background: var(--teal-deep); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(4rem, 10vw, 7.5rem) clamp(1.2rem, 5vw, 4rem) clamp(7rem, 14vw, 11rem);
  overflow: hidden;
}

.hero-script {
  font-family: var(--script);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.9rem, 5.4vw, 3.6rem);
  line-height: 1.18;
  max-width: 20ch;
  margin: 0 auto;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero-sub {
  max-width: 54ch;
  margin: 1.4rem auto 2.2rem;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* o fio — linha que ecoa o traço do logo */
.fio {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  width: 100%;
  height: clamp(80px, 11vw, 160px);
}

.fio-path,
.fio-path-static {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.fio-path {
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  animation: desenhar 2.8s ease-out 0.3s forwards;
}

@keyframes desenhar {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fio-path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- botões ---------- */
.btn {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn:hover { transform: translateY(-2px); }

.btn-solid {
  background: var(--teal);
  color: var(--white);
}
.btn-solid:hover { background: var(--teal-deep); }

.btn-ghost {
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }

.btn-light {
  display: inline-block;
  margin-top: 1.4rem;
  background: var(--white);
  color: var(--teal-deep);
}
.btn-light:hover { background: var(--teal-mist); }

/* ---------- seções ---------- */
.section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.script-label {
  font-family: var(--script);
  font-size: 2rem;
  color: var(--teal);
  line-height: 1;
}

.script-label-light { color: var(--teal-mist); }

.section-head h2,
.about h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
}

/* serviços */
.services {
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.2rem, 5vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--teal-mist);
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(27, 166, 181, 0.16);
}

.card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.card p { font-size: 0.98rem; }

.card-accent {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* o estúdio */
.about {
  background: var(--teal);
  color: var(--white);
  padding: clamp(3.5rem, 9vw, 6rem) clamp(1.2rem, 5vw, 4rem);
}

.about-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
}

.about-logo {
  width: clamp(160px, 24vw, 260px);
  height: auto;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.about h2 {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.3rem 0 1.1rem;
}

.about-text p + p { margin-top: 0.9rem; }

/* localização */
.location {
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.2rem, 5vw, 4rem);
  max-width: 1100px;
  margin: 0 auto;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  text-align: center;
}

.loc-block {
  padding: 1.6rem 1.2rem;
  border-radius: 14px;
  background: var(--teal-mist);
}

.loc-block h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.6rem;
}

.loc-link {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.loc-link:hover { text-decoration: underline; }

/* ---------- rodapé ---------- */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: clamp(4rem, 9vw, 6rem) 1.5rem 2.5rem;
  overflow: hidden;
}

.fio-footer {
  top: 0;
  bottom: auto;
  height: 70px;
  opacity: 0.5;
}

.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.footer-brand {
  font-family: var(--display);
  letter-spacing: 0.24em;
  font-size: 0.95rem;
}
.footer-brand b { font-weight: 800; }

.footer-note {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-top: 0.5rem;
}

.footer-note a { color: var(--teal); text-decoration: none; }
.footer-note a:hover { text-decoration: underline; }

/* ---------- mobile ---------- */
@media (max-width: 720px) {
  .menu a:not(.menu-cta) { display: none; }
  .about-inner { flex-direction: column; text-align: center; }
}
