/* ═══════════════════════════════════════════════════════════
   MARCELLO MAZZA — style.css
   Paleta: fundo #0d1117 / #111827 | cyan #00bcd4 | verde #00e676
   ═══════════════════════════════════════════════════════════ */

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

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #0d1117;
  color: #e0e0e0;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* ── CONTAINER ──────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
section { padding: 5rem 5%; }

/* ── TIPOGRAFIA GLOBAL ──────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; color: #ffffff; line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; color: #00bcd4; text-align: center; margin-bottom: .75rem; }
h3 { font-size: 1.05rem; font-weight: 700; color: #ffffff; margin-bottom: .5rem; }
p  { color: #8892a4; font-size: .95rem; }

.section-subtitle {
  text-align: center;
  color: #8892a4;
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* ── HEADER ─────────────────────────────────────────────── */
header {
  background: #070c14;
  border-bottom: 1px solid #1a2535;
  padding: .9rem 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: 1px; color: #fff; }
.logo span { color: #00bcd4; }

nav ul { display: flex; gap: 1.8rem; align-items: center; }
nav a  { color: #8892a4; font-size: .9rem; transition: color .2s; }
nav a:hover { color: #00bcd4; }

.dropdown { position: relative; }
.dropdown-btn {
  background: none;
  color: #8892a4;
  font-size: .9rem;
  padding: .4rem 0;
  transition: color .2s;
}
.dropdown-btn:hover { color: #00bcd4; }
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: #111827;
  border: 1px solid #1a2535;
  border-radius: 10px;
  min-width: 240px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
  z-index: 200;
}
.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a {
  display: block;
  padding: .75rem 1.2rem;
  font-size: .88rem;
  color: #8892a4;
  border-bottom: 1px solid #1a2535;
  transition: background .2s, color .2s;
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background: #1a2535; color: #00bcd4; }

.cta-nav {
  background: #00e676 !important;
  color: #070c14 !important;
  padding: .5rem 1.2rem !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: .85rem !important;
  transition: background .2s !important;
}
.cta-nav:hover { background: #69f0ae !important; }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #0d1117 0%, #0d1f35 60%, #091528 100%);
  text-align: center;
  padding: 7rem 5% 6rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero p  { font-size: 1.1rem; max-width: 680px; margin: 0 auto 2.5rem; color: #8892a4; }

/* ── BOTÃO VERDE ────────────────────────────────────────── */
.btn-green {
  display: inline-block;
  background: #00e676;
  color: #070c14;
  font-weight: 700;
  font-size: 1rem;

  /* ELIPSE: dimensões fixas + border-radius 50% */
  width: 280px;
  height: 64px;
  line-height: 64px;
  padding: 0;
  text-align: center;
  border-radius: 50%;

  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(0,230,118,.3);
}
.btn-green:hover {
  background: #69f0ae;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,230,118,.45);
}

/* ── GRID DE CARDS ELÍPTICOS (Soluções) ─────────────────── */
.ellipse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.ellipse-card {
  /* ELIPSE: largura livre pelo grid, altura fixa, border-radius 50% */
  height: 280px;
  border-radius: 50%;

  background: #111827;
  border: 1px solid #1a2535;
  padding: 2rem 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .3s, transform .3s, box-shadow .3s;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ellipse-card:hover {
  border-color: #00bcd4;
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,188,212,.2);
}
.card-icon {
  font-size: 1.6rem;
  margin-bottom: .75rem;
  display: block;
  color: #00bcd4;
}
.ellipse-card h3 { color: #ffffff; font-size: .98rem; margin-bottom: .5rem; }
.ellipse-card p  { color: #8892a4; font-size: .83rem; line-height: 1.5; }

/* ── MÉTRICAS ───────────────────────────────────────────── */
.metrics-section { background: #090e18; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.metric-card {
  background: #111827;
  border: 1px solid #1a2535;
  border-radius: 16px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  transition: border-color .2s;
}
.metric-card:hover { border-color: #00bcd4; }
.metric-value { font-size: 3rem; font-weight: 800; color: #00e676; line-height: 1; margin-bottom: .6rem; }
.metric-label { font-size: .88rem; color: #8892a4; line-height: 1.5; }

/* ── PROCESSO ───────────────────────────────────────────── */
.process-section { background: #0d1117; }
.process-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 760px;
  margin: 2.5rem auto 0;
}
.process-item {
  background: #111827;
  border: 1px solid #1a2535;
  border-radius: 14px;
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  transition: border-color .2s, transform .2s;
}
.process-item:hover { border-color: #00bcd4; transform: translateX(4px); }
.process-number {
  width: 38px; height: 38px;
  min-width: 38px;
  background: #00bcd4;
  color: #070c14;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: .95rem;
}
.process-item h3 { color: #ffffff; margin-bottom: .25rem; font-size: .98rem; }
.process-item p  { color: #8892a4; font-size: .87rem; line-height: 1.55; }

/* ── DEPOIMENTOS ────────────────────────────────────────── */
.testimonials-section { background: #090e18; }
.testimonials-section h2 { color: #00bcd4; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testimonial-card {
  background: #111827;
  border: 1px solid #1a2535;
  border-radius: 18px;
  padding: 2rem 1.8rem 1.8rem;
  position: relative;
  transition: border-color .2s;
}
.testimonial-card:hover { border-color: #1e3a52; }
.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  color: #00bcd4;
  opacity: .25;
  position: absolute;
  top: .2rem; left: 1.2rem;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card p {
  font-style: italic;
  color: #b0b8c8;
  font-size: .92rem;
  margin-bottom: 1.4rem;
  padding-top: 1.2rem;
  line-height: 1.65;
}
.testimonial-author { color: #ffffff; font-weight: 700; font-size: .92rem; }
.testimonial-role   { color: #8892a4; font-size: .8rem; margin-top: .25rem; }
.badge {
  display: inline-block;
  background: #00e676;
  color: #070c14;
  font-size: .72rem;
  font-weight: 700;
  padding: .22rem .8rem;
  border-radius: 999px;
  margin-top: .75rem;
}

/* ── REPRESENTAÇÕES — CARDS ELÍPTICOS MENORES ───────────── */
.rep-section { background: #0d1117; }
.rep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.rep-card {
  /* ELIPSE: altura fixa + border-radius 50% */
  height: 220px;
  border-radius: 50%;

  background: #111827;
  border: 1px solid #1a2535;
  padding: 1.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.rep-card:hover {
  border-color: #00bcd4;
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,188,212,.16);
}
.rep-icon { font-size: 1.5rem; color: #00bcd4; margin-bottom: .6rem; display: block; }
.rep-card h3 { color: #ffffff; font-size: .93rem; margin-bottom: .35rem; }
.rep-card p  { color: #8892a4; font-size: .82rem; line-height: 1.5; }

/* ── SOBRE ──────────────────────────────────────────────── */
.about-section { background: #090e18; text-align: center; }
.about-content { max-width: 800px; margin: 1.5rem auto 0; text-align: left; }
.about-content p { font-size: .98rem; color: #b0b8c8; margin-bottom: 1.2rem; line-height: 1.75; }

/* ── CTA FINAL ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(160deg, #0d1f35 0%, #091528 100%);
  text-align: center;
  padding: 5rem 5%;
}
.cta-section h2 { margin-bottom: .75rem; }
.cta-section p  { font-size: 1rem; color: #8892a4; max-width: 560px; margin: 0 auto 2rem; }

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: #04080f;
  color: #3a4557;
  padding: 1.8rem 5%;
  text-align: center;
  font-size: .82rem;
  border-top: 1px solid #1a2535;
}

/* ── BOTÃO FLUTUANTE ────────────────────────────────────── */
.contact-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #00e676;
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(0,230,118,.4);
  z-index: 999;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.contact-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(0,230,118,.55); }
.contact-float svg { width: 26px; height: 26px; fill: #070c14; }

/* ── MODAL ──────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.active { display: flex; }
.modal {
  background: #111827;
  border: 1px solid #1a2535;
  border-radius: 24px;
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: none; border: none;
  font-size: 1.8rem; color: #8892a4; cursor: pointer;
  transition: color .2s;
}
.modal-close:hover { color: #fff; }
.modal h3 { color: #ffffff; font-size: 1.25rem; margin-bottom: .4rem; }
.modal > #formContainer > p { color: #8892a4; font-size: .88rem; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  color: #b0b8c8; margin-bottom: .35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  background: #0d1117;
  border: 1px solid #1a2535;
  border-radius: 999px;
  color: #e0e0e0;
  font-family: inherit;
  font-size: .92rem;
  outline: none;
  transition: border-color .2s;
}
.form-group textarea { border-radius: 14px; min-height: 88px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #00bcd4; }

.form-submit {
  width: 100%;
  background: #00e676;
  color: #070c14;
  font-weight: 700;
  font-size: .98rem;
  padding: .88rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  margin-top: .5rem;
}
.form-submit:hover { background: #69f0ae; transform: translateY(-1px); }

.form-success { display: none; text-align: center; padding: 2rem 0; }
.form-success.active { display: block; }
.form-success h4 { color: #00e676; font-size: 1.4rem; margin-bottom: .75rem; }
.form-success p  { color: #8892a4; }

/* ── RESPONSIVO ─────────────────────────────────────────── */
@media (max-width: 768px) {
  nav ul { display: none; }
  .hero  { padding: 4rem 5%; }

  /* Em mobile, elipses viram cápsulas arredondadas (mais legível) */
  .ellipse-card { border-radius: 32px; height: auto; padding: 2.5rem 1.8rem; }
  .rep-card     { border-radius: 28px; height: auto; padding: 2rem 1.5rem; }

  .btn-green { width: 240px; height: 56px; line-height: 56px; font-size: .92rem; }
}
@media (max-width: 480px) {
  .ellipse-grid      { grid-template-columns: 1fr; }
  .rep-grid          { grid-template-columns: 1fr; }
  .metrics-grid      { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
