:root {
  --brand-blue: #0a66c2;         /* azul principal */
  --brand-blue-600: #084e93;     /* azul escuro */
  --brand-green: #1ca78b;        /* verde azulado suave */
  --brand-green-600: #147d6f;    /* verde azulado mais profundo */
  --bg: #ffffff;
  --surface: #f0f4f8;
  --text: #000000;
  --muted: #6b7280;
  --card: #ffffff;
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
  --radius: 16px;
  --gap: clamp(.75rem, 1.5vw, 1rem);
  --section-pad: clamp(1rem, 6vw, 6rem);
  --maxw: 1200px;
  --gradient: linear-gradient(135deg, rgba(10,102,194,.1), rgba(22,163,74,.1));
  --accent-gradient: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  --cor-footer: #00322D;
}

*{box-sizing:border-box}
html, body{height:100%}
body{
  margin:0;
  font-family:Poppins, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--text);
  line-height:1.6;
}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:clamp(1rem, 3vw, 2rem)}

header{
  position:sticky; top:0; z-index:50;
  background:#ffffff;
  border-bottom:1px solid #e5e7eb;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap; /* impede quebra de linha */
  gap: 1rem;          /* espaçamento entre os blocos */
}

.brand, .menu, .cta {
  display: flex;
  align-items: center;
}

.logo-img {
  max-height:48px;
  width:auto;
  object-fit:contain;
}
.brand h1{
  font-size:1.2rem;  /* nome mais visível */
  margin:0;
}

.menu{display:flex; align-items:center; gap:1rem; flex-wrap: nowrap;}
.menu a{padding:.5rem .75rem; border-radius:999px; opacity:.85; white-space: nowrap;}
.menu a:hover{opacity:1; background:var(--surface)}

.cta {
  flex-shrink: 0;
}
.btn{display:inline-flex; align-items:center; gap:.5rem; padding:.65rem 1rem; border-radius:999px; font-weight:600; border:1px solid transparent; transition:.2s ease}
.btn.primary{background:var(--accent-gradient); color:#fff}
.btn.primary:hover{filter:brightness(1.05)}
.btn.ghost{border-color:#d1d5db; color:var(--text) !important; background:var(--surface)}
.btn.ghost:hover{background:var(--surface)}
.burger{display:none; background:none; border:0; color:var(--text)}

.drawer { display: none; }

.hero{position:relative; isolation:isolate}
.hero-card img {
  border-radius: 20px;
  display: block;
  width: 100%;
  height: auto;
}
.hero .container{display:grid; grid-template-columns: 1.15fr .85fr; gap:clamp(1.5rem, 4vw, 3rem); align-items:center; padding-block:var(--section-pad)}
.eyebrow{display:inline-flex; gap:.5rem; align-items:center; font-weight:600; font-size:.85rem; color:var(--brand-blue); padding:.35rem .75rem; border-radius:999px; background:rgba(10,102,194,.1); border:1px solid rgba(10,102,194,.2)}
.hero h2{font-size:clamp(1.8rem, 3.8vw, 3rem); line-height:1.15; margin:.75rem 0}
.hero p{color:var(--muted); margin:0 0 1.25rem}
.hero-card{background:var(--card); border-radius: 20px;}
.hero-badges{display:flex; gap:.5rem; flex-wrap:wrap; margin-top:.75rem}
.badge{display:inline-flex; align-items:center; gap:.4rem; font-size:.8rem; padding:.35rem .6rem; border-radius:999px; background:var(--surface); border:1px solid #d1d5db; color:var(--text)}

section{padding-block:var(--section-pad)}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:1rem; margin-bottom:1.5rem}
.section-head h3{font-size:clamp(1.2rem, 2.3vw, 1.8rem); margin:0}
.grid{display:grid; gap:var(--gap)}
.grid.cols-4{grid-template-columns: repeat(4, 1fr)}
.grid.cols-3{grid-template-columns: repeat(3, 1fr)}
.grid.cols-2{grid-template-columns: repeat(2, 1fr);}
.card{background:var(--card); border:1px solid #e5e7eb; border-radius:var(--radius); padding:1.1rem; box-shadow:var(--shadow); position:relative; overflow:hidden}
.card::after{content:""; position:absolute; inset:auto -40% -40% auto; width:200px; height:200px; background:var(--gradient); filter:blur(30px); opacity:.3; rotate:25deg}
.card h4{margin:.25rem 0 .5rem}
.icon{width:24px;height:24px; display:inline-grid; place-items:center; border-radius:10px; background:var(--surface); border:1px solid #d1d5db}
.reveal-card{background:var(--card); border-radius:var(--radius); padding:1rem;} 

.reasons{display:grid; grid-template-columns: repeat(5, 1fr); gap:var(--gap)}
.reason{background:var(--surface); border:1px solid #d1d5db; border-radius:12px; padding:1rem}

.service{display:flex; gap:1rem; align-items:flex-start}
.service .icon{flex:0 0 40px; height:40px; width:40px}

.cartilha{background:var(--card)}
.download{display:flex; gap:.75rem; align-items:center}

/* ===== Depoimentos ===== */
.testimonials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.testimonial {
  flex: 1 1 30%;
  background: var(--card, #fff);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.testimonial p {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.testimonial small {
  color: var(--muted, #6b7280);
}

/* MOBILE: empilha depoimentos verticalmente */
@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    align-items: center;
  }

  .testimonial {
    flex: 1 1 100%;
    width: 100%;
    max-width: 90%;
  }
}

/* ===== Efeito Reveal (animação de entrada) ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


.quick{display:grid; grid-template-columns: repeat(4, 1fr); gap:var(--gap)}
.quick a{display:flex; gap:.75rem; align-items:center; padding:1rem; border-radius:12px; background:var(--surface); border:1px solid #d1d5db; color:var(--text)}

form{display:grid; gap:.8rem}
input, textarea, select{width:100%; padding:.9rem 1rem; border-radius:12px; border:1px solid #d1d5db; background:var(--surface); color:var(--text)}
textarea{min-height:140px; resize:vertical}
input::placeholder, textarea::placeholder{color:var(--muted)}

footer{border-top:1px solid #d1d5db; background:var(--cor-footer) ; color:white; padding-block:2rem; margin-top:2rem}
.foot{display:grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap:var(--gap); padding-block:2rem}
.foot small{color:var(--muted)}
.social{display:flex; gap:.5rem}
.social a{display:inline-grid; place-items:center; width:36px; height:36px; border-radius:10px; border:1px solid #d1d5db}

.whatsapp-fab{position:fixed; right:18px; bottom:18px; display:inline-grid; place-items:center; width:56px; height:56px; border-radius:50%; background:linear-gradient(135deg, var(--brand-green), var(--brand-green-600)); color:white; box-shadow:var(--shadow); z-index:60}
.whatsapp-fab:hover{filter:brightness(1.05)}

.reveal{opacity:0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease}
.reveal.visible{opacity:1; transform:none}
.muted{color:var(--muted)}

/* ==== Serviços com imagens ==== */
#servicos .card.service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--card, #fff);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

#servicos .card.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

#servicos .card.service img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: transform .4s ease;
}

#servicos .card.service:hover img {
  transform: scale(1.05);
}

#servicos .card.service .icon {
  margin: 1rem 0 0.5rem 1rem;
  background: var(--primary, #007bff);
  color: #fff;
  padding: .6rem;
  border-radius: 12px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
}

#servicos .card.service h4 {
  margin: 0 1rem;
  font-weight: 600;
  font-size: 1.05rem;
}

#servicos .card.service p {
  margin: .5rem 1rem 1rem 1rem;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  #servicos .grid.cols-2 {
    grid-template-columns: 1fr;
  }
}


.curso-scroll-wrapper { position: relative; overflow: hidden; width: 100%; }
.curso-scroll { position: relative; overflow: hidden; width: 100%; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
.curso-scroll::before, .curso-scroll::after {
  content: "";
  position: absolute;
  top: 0; width: 120px; height: 100%; z-index: 5; pointer-events: none;
}
.curso-scroll::before { left: 0; background: linear-gradient(to right, var(--bg, #fff) 0%, transparent 100%); }
.curso-scroll::after { right: 0; background: linear-gradient(to left, var(--bg, #fff) 0%, transparent 100%); }
.curso-track { display: flex; gap: 1.5rem; will-change: transform; }
.curso-track > .card {
  flex: 0 0 18rem; border: none; border-radius: 16px;
  background: var(--card, #fff); box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden; transition: transform .25s ease;
}
.curso-track > .card:hover { transform: scale(1.03); }
.curso-track img { width: 100%; height: 150px; object-fit: cover; }
.card-body { padding: .85rem; }
@media (max-width: 768px) { .curso-track > .card { flex: 0 0 14rem; } }
@media (max-width: 576px) { .curso-track > .card { flex: 0 0 80%; } }


/* ======== MOBILE CONFIGURAÇÕES GERAIS ======== */
@media (max-width: 1200px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    overflow-x: hidden;
    flex-wrap: nowrap;
  }

  .logo {
    max-width: 140px;
  }

  header a[href*="#contato"] {
    display: none !important;
  }

  .menu {
    display: none;
  }

  .burger {
    display: block;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--text);
    padding: 0.5rem;
    cursor: pointer;
  }

  .drawer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(84vw, 320px);
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid rgba(255,255,255,.08);
    padding: 2rem 1rem;
    box-shadow: var(--shadow);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
  }

  .drawer.open {
    display: block;
    transform: translateX(0);
    opacity: 1;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .reasons,
  .quick,
  .foot {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  #quem-somos .grid.cols-2 > .reveal { order: 1; }
  #quem-somos .grid.cols-2 > .reveal-card { order: 2; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h2, .hero p { margin-inline: auto; }

  .btn,
  form button {
    width: 100%;
    justify-content: center;
  }

  .contato-section {
    padding: 2rem 1rem;
  }

  .contato-section .container {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
  }

  form { display: grid; gap: 1rem; }
  form input,
  form select,
  form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: var(--text);
  }

  form textarea {
    min-height: 140px;
    resize: vertical;
  }

  .canais {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,.04);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
  }
}

/* TELAS MUITO PEQUENAS */
@media (max-width: 640px) {
  .hero .container { text-align: center; }
  form button { font-size: 1rem; }
}

@media (max-width: 520px) {
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .reasons,
  .quick,
  .foot {
    grid-template-columns: 1fr;
  }
}

/* ======== COMPLEMENTOS DE ESTILO SYNDIC CLUB PROVOIP ======== */

/* ---- Hierarquia visual e títulos ---- */
.section-head h3 {
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  font-weight: 600;
  color: var(--brand-blue);
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

/* ---- Cards com sombra suave e efeito hover ---- */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ---- Depoimentos (em construção) ---- */
#depoimentos .testimonial {
  background: var(--surface);
  border: 1px dashed rgba(0, 0, 0, 0.2);
  color: var(--muted);
  font-weight: 500;
  font-style: normal;
  opacity: 0.8;
}
#depoimentos .testimonial:hover {
  border-style: solid;
  background: #fff;
  opacity: 1;
  transform: translateY(-4px);
}

/* ---- Pilar Tecnológico (PROVOIP) ---- */
#servicos .card.service[style*="#007AFF"] {
  background: linear-gradient(135deg, #007AFF, #0066CC);
  color: #fff;
  border: none;
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.3);
}
#servicos .card.service[style*="#007AFF"] .icon {
  background: rgba(255, 255, 255, 0.25);
  border: none;
}
#servicos .card.service[style*="#007AFF"] p,
#servicos .card.service[style*="#007AFF"] small {
  color: #f2f6ff;
}

/* ---- Área do Cliente em desenvolvimento ---- */
#area-cliente .quick a[style*="opacity"] {
  background: var(--surface);
  border: 1px dashed #d1d5db;
  color: #9ca3af;
  pointer-events: none;
}
#area-cliente .quick a[style*="opacity"]:hover {
  transform: none;
  box-shadow: none;
}

/* ---- Botão ativo de WhatsApp ---- */
#area-cliente .btn.primary {
  margin-top: 1rem;
  background: var(--accent-gradient);
  color: #fff;
}
#area-cliente .btn.primary:hover {
  filter: brightness(1.05);
}

/* ---- Frase de impacto em "Quem Somos" ---- */
#quem-somos p.muted[style*="italic"] {
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: var(--brand-green-600);
}

/* ---- Ícones de Missão, Visão, etc ---- */
#quem-somos .card strong {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  color: var(--brand-blue-600);
}

/* ---- Ajustes gerais de leitura ---- */
.muted {
  line-height: 1.6;
  color: var(--muted);
}
p {
  margin-bottom: 0.9rem;
}

/* ---- Hover suave em botões ---- */
.btn.primary:hover {
  transform: scale(1.03);
}
.btn.ghost:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* ===== Rolagem suave ===== */
html {
  scroll-behavior: smooth;
}
