/* =========================================================
   GET FLUENCYNOW - Site oficial (landing page)
   ========================================================= */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background: #0f1117;
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(16px, 4vw, 60px);
  background: rgba(15, 17, 23, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  z-index: 2000;
}

.navbar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  font-size: 17px;
}

.navbar .brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.navbar .brand span { color: #ff4d4d; }

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
}

.nav-links a {
  font-size: 14px;
  color: #c9ced8;
  transition: color .25s;
}

.nav-links a:hover { color: #ff6b6b; }

.nav-links .btn-nav {
  padding: 10px 18px;
  border-radius: 22px;
  background: linear-gradient(90deg, #b30000, #ff3b3b);
  color: #fff;
  font-weight: 700;
}

.nav-links .btn-nav:hover { color: #fff; filter: brightness(1.12); }

.menu-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  color: #fff;
  font-size: 18px;
}

/* ---------- SIDENAV ---------- */
.side-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 2500;
}

.side-overlay.show { opacity: 1; visibility: visible; }

.sidenav {
  position: fixed;
  top: 0;
  left: -300px;
  width: min(300px, 86vw);
  height: 100%;
  background: #171a21;
  border-right: 1px solid rgba(255, 255, 255, .08);
  padding: 26px 20px;
  transition: left .32s ease;
  z-index: 2600;
  overflow-y: auto;
}

.sidenav.active { left: 0; }

.sidenav .side-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.sidenav .side-brand img { width: 44px; height: 44px; border-radius: 12px; }
.sidenav .side-brand strong { font-size: 16px; }
.sidenav .side-brand small { display: block; color: #ff6b6b; font-size: 11px; }

.sidenav a.side-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 12px;
  border-radius: 12px;
  color: #d5d9e2;
  font-size: 14px;
  margin-bottom: 4px;
  transition: background .2s, color .2s;
}

.sidenav a.side-link i { width: 20px; text-align: center; color: #ff6b6b; }
.sidenav a.side-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }

.sidenav .side-cta {
  display: block;
  text-align: center;
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(90deg, #b30000, #ff3b3b);
  font-weight: 700;
}

/* ---------- HERO COM SLIDER ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 20px 70px;
  isolation: isolate;
}

.hero-slides, .hero-slide {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s ease, transform 6s linear;
}

.hero-slide.active { opacity: 1; transform: scale(1); }

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 35%, rgba(179, 0, 0, .28), transparent 60%),
    linear-gradient(180deg, rgba(15, 17, 23, .72), rgba(15, 17, 23, .94));
}

/* Bandeiras discretas ao fundo */
.flags { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

.flag {
  position: absolute;
  width: clamp(180px, 28vw, 420px);
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  opacity: .13;
  filter: blur(1px) saturate(1.2);
  transform: rotate(-12deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.flag-usa {
  top: 14%;
  left: -4%;
  background-image:
    repeating-linear-gradient(180deg, #b22234 0 7.7%, #fff 7.7% 15.4%),
    linear-gradient(90deg, #3c3b6e 0 42%, transparent 42%);
  background-blend-mode: normal;
}

.flag-usa::after {
  content: '';
  position: absolute;
  inset: 0 58% 46% 0;
  background:
    radial-gradient(circle, #fff 1.4px, transparent 1.6px) 0 0 / 14px 14px;
}

.flag-uk {
  right: -3%;
  bottom: 18%;
  transform: rotate(13deg);
  background:
    linear-gradient(transparent 42%, #fff 42%, #fff 58%, transparent 58%),
    linear-gradient(90deg, transparent 42%, #fff 42%, #fff 58%, transparent 58%),
    linear-gradient(45deg, transparent 46%, #c8102e 46%, #c8102e 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #c8102e 46%, #c8102e 54%, transparent 54%),
    #012169;
}

.hero-content { max-width: 860px; animation: fadeUp .9s ease both; }

.eyebrow {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(255, 77, 77, .45);
  border-radius: 30px;
  color: #ff8a8a;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(36px, 6.4vw, 74px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.hero h1 em { font-style: normal; color: #ff4d4d; }

.hero p {
  margin: 22px auto 30px;
  max-width: 640px;
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.75;
  color: #cdd2dc;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s, filter .2s;
}

.btn:hover { transform: translateY(-2px); filter: brightness(1.12); }
.btn-primary { background: linear-gradient(90deg, #b30000, #ff3b3b); color: #fff; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .3); color: #fff; }

.slider-dots {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
  z-index: 3;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: width .3s, background .3s;
}

.slider-dots button.active { width: 28px; background: #ff4d4d; }

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  cursor: pointer;
  z-index: 3;
}

.slide-arrow.prev { left: 18px; }
.slide-arrow.next { right: 18px; }

/* ---------- SECTIONS ---------- */
section { padding: clamp(60px, 9vw, 110px) clamp(18px, 5vw, 70px); }

.section-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }

.section-head .tag {
  color: #ff6b6b;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 12px 0 16px;
  line-height: 1.15;
}

.section-head p { color: #aeb4c0; line-height: 1.75; font-size: 16px; }

.sobre {
  background: linear-gradient(180deg, #0f1117, #141821);
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.sobre-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.sobre-grid .foto {
  min-height: 340px;
  border-radius: 26px;
  background: url('./background 1.jpg') center/cover;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .45);
  position: relative;
  overflow: hidden;
}

.sobre-grid .foto::after {
  content: '🇺🇸  +  🇬🇧';
  position: absolute;
  inset: auto 18px 18px auto;
  padding: 10px 16px;
  border-radius: 30px;
  background: rgba(0, 0, 0, .65);
  font-size: 20px;
}

.sobre-grid h2 { font-size: clamp(27px, 3.6vw, 40px); line-height: 1.2; margin-bottom: 18px; }
.sobre-grid h2 span { color: #ff4d4d; }
.sobre-grid p { color: #b8bec9; line-height: 1.85; margin-bottom: 15px; }

.feature-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 20px;
}

.feature-card {
  background: #181c25;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 22px;
  padding: 28px 24px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 77, .5);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
}

.feature-card .ico {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 77, 77, .13);
  color: #ff6b6b;
  font-size: 23px;
  margin-bottom: 18px;
}

.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: #aeb4c0; font-size: 14px; line-height: 1.7; }

.destaque { background: #141821; }

.quote-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 60px);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 77, 77, .22), transparent 55%),
    #1b1f29;
  border: 1px solid rgba(255, 255, 255, .09);
  position: relative;
  overflow: hidden;
}

.quote-card .aspas {
  position: absolute;
  top: -20px;
  right: 24px;
  font-size: 180px;
  color: rgba(255, 255, 255, .04);
  font-family: Georgia, serif;
}

.quote-card h2 { font-size: clamp(25px, 3.5vw, 38px); margin-bottom: 20px; }
.quote-card h2 span { color: #ff4d4d; }
.quote-card p { font-size: clamp(16px, 2vw, 19px); line-height: 1.85; color: #d4d9e2; }

.quote-card .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.quote-card .chips span {
  padding: 9px 15px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
}

.metodo-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px;
  counter-reset: passo;
}

.method-card {
  background: #181c25;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 22px;
  padding: 26px 22px;
  counter-increment: passo;
}

.method-card::before {
  content: '0' counter(passo);
  display: inline-block;
  color: #ff4d4d;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.method-card h3 { font-size: 19px; margin-bottom: 10px; }
.method-card p { color: #aeb4c0; font-size: 14px; line-height: 1.7; }

.extras {
  max-width: 1100px;
  margin: 34px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.extras span {
  padding: 12px 20px;
  border-radius: 30px;
  background: rgba(255, 77, 77, .1);
  border: 1px solid rgba(255, 77, 77, .28);
  font-size: 14px;
}

.cta-final { text-align: center; background: linear-gradient(180deg, #141821, #0f1117); }
.cta-final h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 18px; }
.cta-final p { color: #b8bec9; margin-bottom: 28px; }

footer {
  padding: 34px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #8e95a3;
  font-size: 13px;
}

footer a { color: #ff8a8a; }

/* Transicao de saida: evita o flash do slide durante a navegacao */
.page-fade {
  position: fixed;
  inset: 0;
  background: #0f1117;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
  pointer-events: none;
}

.page-fade.show {
  opacity: 1;
  visibility: visible;
}

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

@media (max-width: 760px) {
  .nav-links a:not(.btn-nav) { display: none; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-grid .foto { min-height: 240px; }
  .slide-arrow { width: 36px; height: 36px; }
  .slide-arrow.prev { left: 8px; }
  .slide-arrow.next { right: 8px; }
  .flag { opacity: .09; }
}
