/* ============================================================
   Izabel Consultoria — Método E3
   Estilos do site (HTML/CSS/JS/PHP)
   ============================================================ */

:root {
  --background: #ffffff;
  --foreground: #151a22;
  --primary: #232a36;
  --primary-foreground: #fafafa;
  --secondary: #f7f8fa;
  --muted-foreground: #7a8291;
  --accent: #3366cc;
  --accent-hover: #2b57ad;
  --border: #e5e7ec;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --container: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.display { font-family: var(--font-display); }
.italic { font-style: italic; }

/* ---------- Elementos comuns ---------- */

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.section {
  padding: 7rem 0;
}

.section--dark {
  background: var(--primary);
  color: var(--primary-foreground);
}

.section--soft { background: var(--secondary); }

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.section-lead {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted-foreground);
  margin-top: 2rem;
}

.section--dark .section-lead { color: rgba(255, 255, 255, 0.6); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.15rem 2rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-hover); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn--ghost:hover { background: #fff; color: var(--primary); }

.btn svg { width: 1rem; height: 1rem; }

/* ---------- Animação de entrada ---------- */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; }

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.brand span {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: #fff;
  transition: color 0.5s ease;
}

.site-header.is-scrolled .brand span { color: var(--foreground); }

.nav-desktop { display: none; align-items: center; gap: 2rem; }

.nav-link {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}
.nav-link:hover { color: #fff; }

.site-header.is-scrolled .nav-link { color: var(--muted-foreground); }
.site-header.is-scrolled .nav-link:hover { color: var(--foreground); }

.menu-btn {
  display: inline-flex;
  background: none;
  border: 0;
  padding: 0;
  color: #fff;
  cursor: pointer;
}
.site-header.is-scrolled .menu-btn { color: var(--foreground); }
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn .icon-close { display: none; }
.menu-btn.is-open .icon-menu { display: none; }
.menu-btn.is-open .icon-close { display: block; }

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.5rem 2rem;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}
.mobile-menu a:hover { color: var(--foreground); }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  overflow: hidden;
  text-align: center;
  padding: 8rem 0 5rem;
}

.hero-glow {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 70% 30%, #fff 0%, transparent 50%);
  pointer-events: none;
}

.hero-rings {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 680px;
  height: 680px;
  opacity: 0.08;
  pointer-events: none;
  display: none;
}
.hero-rings span {
  position: absolute;
  border: 1px solid #fff;
  border-radius: 999px;
}
.hero-rings span:nth-child(1) { inset: 0; }
.hero-rings span:nth-child(2) { inset: 3rem; }
.hero-rings span:nth-child(3) { inset: 7rem; }
.hero-rings span:nth-child(4) { inset: 12rem; }

@media (min-width: 1024px) { .hero-rings { display: block; } }

.hero-content { position: relative; z-index: 1; max-width: 56rem; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-badge i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}
.hero-badge p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  max-width: 34rem;
  margin: 0 auto 3rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; justify-content: center; }
}


/* ---------- Posicionamento ---------- */

.positioning { text-align: center; max-width: 56rem; margin: 0 auto; }

.positioning h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.positioning-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}
.positioning-tagline i { width: 2.5rem; height: 1px; background: rgba(21, 26, 34, 0.3); }
.positioning-tagline p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(21, 26, 34, 0.7);
}

/* ---------- Grades ---------- */

.grid-lines {
  display: grid;
  gap: 1px;
  background: var(--border);
  max-width: 64rem;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .grid-lines { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.dim-card {
  background: #fff;
  min-height: 140px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.dim-card i { width: 1.5rem; height: 1px; background: var(--accent); margin-bottom: 1rem; }
.dim-card p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.dim-card--dark {
  background: var(--primary);
}
.dim-card--dark p {
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.challenge-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  max-width: 64rem;
  margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .challenge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .challenge-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.challenge-card {
  background: #fff;
  padding: 2rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  transition: background-color 0.5s ease;
}
.challenge-card:hover { background: var(--secondary); }
.challenge-card .num {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted-foreground);
  font-weight: 500;
}
.challenge-card .label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* ---------- Método E3 ---------- */

.steps {
  display: grid;
  gap: 2.5rem;
  max-width: 64rem;
  margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}

.step { display: flex; flex-direction: column; align-items: center; text-align: center; }

.step-circle {
  position: relative;
  width: 11rem;
  height: 11rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-circle::before,
.step-circle::after {
  content: '';
  position: absolute;
  border-radius: 999px;
}
.step-circle::before { inset: 0; border: 1px solid rgba(255, 255, 255, 0.2); }
.step-circle::after { inset: 0.75rem; border: 1px solid rgba(255, 255, 255, 0.1); }

.step-stage {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.step-code {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: #fff;
  position: relative;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  max-width: 20rem;
}

.section-note {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 5rem auto 0;
  max-width: 36rem;
}

.section-footnote {
  text-align: center;
  max-width: 40rem;
  margin: 4rem auto 0;
  font-size: 0.9rem;
  font-weight: 300;
  font-style: italic;
  color: var(--muted-foreground);
}

/* ---------- Diferencial ---------- */

.differentiator {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  gap: 4rem;
  align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .differentiator { grid-template-columns: 5fr 7fr; }
}

.compare-block { padding-left: 2rem; border-left: 1px solid rgba(21, 26, 34, 0.15); }
.compare-block + .compare-block { margin-top: 2rem; }
.compare-block--accent { border-left: 2px solid var(--accent); }
.compare-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}
.compare-block--accent .compare-label { color: var(--accent); }
.compare-text { font-weight: 300; color: var(--muted-foreground); }
.compare-block--accent .compare-text { color: var(--foreground); font-size: 1.05rem; }

.differentiator-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  padding-top: 2rem;
}

/* ---------- Ciclo ---------- */

.cycle {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
@media (min-width: 640px) { .cycle { max-width: 28rem; } }
@media (min-width: 768px) { .cycle { max-width: 36rem; } }
@media (min-width: 1024px) { .cycle { max-width: 44rem; } }

.cycle-ring {
  position: absolute;
  border-radius: 999px;
}
.cycle-ring--outer { inset: 0; border: 1px solid rgba(21, 26, 34, 0.1); }
.cycle-ring--inner { inset: 2rem; border: 1px solid rgba(21, 26, 34, 0.05); }

.cycle-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cycle-center div { max-width: 220px; text-align: center; }
.cycle-center .eyebrow { letter-spacing: 0.3em; font-size: 10px; margin-bottom: 0.5rem; }
.cycle-center p:last-child {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.35;
}

.cycle-step {
  position: absolute;
  transform: translate(-50%, -50%);
}
.cycle-step > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 5rem;
}
@media (min-width: 640px) { .cycle-step > div { width: 8rem; } }
@media (min-width: 768px) { .cycle-step > div { width: 10rem; } }

.cycle-step .num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
@media (min-width: 640px) {
  .cycle-step .num { width: 2.5rem; height: 2.5rem; font-size: 11px; margin-bottom: 0.75rem; }
}
.cycle-step .label {
  font-family: var(--font-display);
  font-size: 10px;
  line-height: 1.3;
}
@media (min-width: 640px) { .cycle-step .label { font-size: 0.78rem; } }
@media (min-width: 768px) { .cycle-step .label { font-size: 0.875rem; } }

/* ---------- CTA Final ---------- */

.cta-final { position: relative; overflow: hidden; padding: 8rem 0; }
.cta-rings { position: absolute; inset: 0; opacity: 0.06; pointer-events: none; }
.cta-rings span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #fff;
  border-radius: 999px;
}
.cta-rings span:nth-child(1) { width: 900px; height: 900px; }
.cta-rings span:nth-child(2) { width: 600px; height: 600px; }
.cta-rings span:nth-child(3) { width: 300px; height: 300px; }

.cta-content { position: relative; z-index: 1; max-width: 46rem; margin: 0 auto; text-align: center; }
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 3.5rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.cta-content p {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  max-width: 34rem;
  margin: 0 auto 3rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 4rem 0;
  background: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  text-align: center;
}
@media (min-width: 768px) { .footer-inner { flex-direction: row; text-align: left; } }

.footer-brand p:first-child {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.footer-brand p:last-child {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-top: 0.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.footer-nav a {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}
.footer-nav a:hover { color: #fff; }

/* ---------- Print ---------- */

@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  .section, .hero { padding: 1.5rem 0 !important; min-height: 0 !important; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}
