/* Conexão Farma 2027 — todos os seletores usam o prefixo .cf27-page / .cf27-* para não afetar header e footer do site */
@font-face { font-family:'CF27 NewBlack'; src:url('../assets/fonts/NewBlackTypeface-Light.woff2') format('woff2'); font-weight:300; font-display:swap; }
@font-face { font-family:'CF27 NewBlack'; src:url('../assets/fonts/NewBlackTypeface-Regular.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'CF27 NewBlack'; src:url('../assets/fonts/NewBlackTypeface-Medium.woff2') format('woff2'); font-weight:500; font-display:swap; }
@font-face { font-family:'CF27 NewBlack'; src:url('../assets/fonts/NewBlackTypeface-SemiBold.woff2') format('woff2'); font-weight:600; font-display:swap; }
@font-face { font-family:'CF27 NewBlack'; src:url('../assets/fonts/NewBlackTypeface-Bold.woff2') format('woff2'); font-weight:700; font-display:swap; }
@font-face { font-family:'CF27 NewBlack'; src:url('../assets/fonts/NewBlackTypeface-ExtraBold.woff2') format('woff2'); font-weight:800 900; font-display:swap; }

.cf27-page {
  --cf27-navy:#03001E;
  --cf27-cyan:#00CFE8;
  --cf27-blue:#1015AD;
  --cf27-green:#00D078;
  --cf27-yellow:#FFCC00;
  --cf27-yellow-hover:#FFDB4D;
  --cf27-font-title:'CF27 NewBlack', Archivo, sans-serif;
  --cf27-font-body:Roboto, Helvetica, Arial, sans-serif;
}

.cf27-page { width:100%; overflow-x:clip; background:var(--cf27-navy); color:#fff; font-family:var(--cf27-font-body); -webkit-font-smoothing:antialiased; }
.cf27-page *, .cf27-page *::before, .cf27-page *::after { box-sizing:border-box; }
.cf27-page p, .cf27-page h1, .cf27-page h2 { margin:0; padding:0; }
.cf27-page a { color:var(--cf27-cyan); text-decoration:none; }
.cf27-page a:hover { color:var(--cf27-green); }

/* Hero */
.cf27-page .cf27-hero {
  position:relative; min-height:640px; padding:150px 32px 160px;
  display:flex; align-items:center; justify-content:center;
  background:var(--cf27-navy) url('../assets/fundo-hero-v1.png') center / cover no-repeat;
}
.cf27-page .cf27-hero__fade {
  position:absolute; left:0; right:0; bottom:0; height:520px; pointer-events:none;
  background:linear-gradient(180deg, rgba(3,0,30,0) 0%, rgba(3,0,30,.05) 14%, rgba(3,0,30,.16) 28%, rgba(3,0,30,.34) 42%, rgba(3,0,30,.56) 55%, rgba(3,0,30,.78) 66%, rgba(3,0,30,.94) 75%, var(--cf27-navy) 82%, var(--cf27-navy) 100%);
}
.cf27-page .cf27-hero__inner {
  position:relative; width:100%; max-width:1200px; margin:0 auto;
  display:grid; grid-template-columns:repeat(auto-fit, minmax(320px, 1fr)); align-items:center; gap:48px;
}
.cf27-page .cf27-hero__logo { display:block; width:100%; max-width:420px; height:auto; justify-self:center; filter:drop-shadow(0 12px 40px rgba(0,0,0,.55)); }
.cf27-page .cf27-hero__content { display:flex; flex-direction:column; align-items:flex-start; gap:22px; }
.cf27-page .cf27-hero__title {
  font-family:var(--cf27-font-title); font-size:clamp(34px, 4.4vw, 62px); line-height:1.02;
  font-weight:900; letter-spacing:-.01em; text-transform:uppercase; color:#fff;
}
.cf27-page .cf27-hero__lead { max-width:560px; font-size:clamp(17px, 1.8vw, 22px); line-height:1.45; font-weight:400; color:#fff; }
.cf27-page .cf27-hero__dates { display:flex; flex-direction:column; gap:3px; font-size:16px; line-height:1.5; color:rgba(255,255,255,.82); }
.cf27-page .cf27-hero__date { display:flex; align-items:center; gap:10px; font-family:var(--cf27-font-title); font-size:20px; font-weight:800; letter-spacing:.01em; color:#fff; }
.cf27-page .cf27-hero__date i { font-size:18px; color:var(--cf27-cyan); }

/* Agenda */
.cf27-page .cf27-agenda { display:flex; flex-direction:column; gap:16px; margin-top:12px; }
.cf27-page .cf27-agenda__label { font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--cf27-cyan); }
.cf27-page .cf27-agenda__buttons { display:flex; flex-wrap:wrap; gap:12px; }
.cf27-page .cf27-btn {
  display:inline-flex; align-items:center; gap:12px; min-height:48px; padding:14px 22px;
  border-radius:999px; background:var(--cf27-yellow); color:var(--cf27-navy);
  font-family:var(--cf27-font-body); font-size:15px; font-weight:700; transition:background 160ms ease;
}
.cf27-page .cf27-btn:hover { background:var(--cf27-yellow-hover); color:var(--cf27-navy); }
.cf27-page .cf27-btn i { font-size:18px; }

/* Credenciamento */
.cf27-page .cf27-cred-wrap { position:relative; background:var(--cf27-navy) url('../assets/fundo-credenciamento-2.png') center top / cover no-repeat; }
.cf27-page .cf27-cred-wrap__fade {
  position:absolute; left:0; right:0; top:0; height:280px; pointer-events:none;
  background:linear-gradient(180deg, var(--cf27-navy) 0%, rgba(3,0,30,.92) 22%, rgba(3,0,30,.6) 48%, rgba(3,0,30,.28) 70%, rgba(3,0,30,.08) 86%, rgba(3,0,30,0) 100%);
}
.cf27-page .cf27-cred-wrap__spacer { height:120px; }
.cf27-page .cf27-cred { position:relative; z-index:20; margin-top:-80px; padding:0 32px; }
.cf27-page .cf27-cred__card {
  max-width:1200px; margin:0 auto; position:relative; overflow:hidden;
  border:1.5px solid var(--cf27-cyan); border-radius:16px; padding:32px;
  background:#062A5E url('../assets/fundo-regua.png') right center / cover no-repeat;
  display:flex; flex-wrap:wrap; align-items:center; gap:28px 40px;
}
.cf27-page .cf27-cred__intro { display:flex; flex-direction:column; gap:6px; min-width:210px; }
.cf27-page .cf27-cred__title { font-family:var(--cf27-font-title); font-size:clamp(24px, 2.4vw, 30px); font-weight:800; line-height:1.05; color:#fff; }
.cf27-page .cf27-cred__sub { font-size:14px; color:rgba(255,255,255,.8); }

.cf27-page .cf27-countdown { display:flex; gap:12px; }
.cf27-page .cf27-countdown__box {
  min-width:78px; padding:14px 10px; text-align:center;
  border:1.5px solid var(--cf27-cyan); border-radius:14px; background:rgba(3,0,30,.18);
  display:flex; flex-direction:column; gap:2px;
}
.cf27-page .cf27-countdown__num { font-family:var(--cf27-font-title); font-size:34px; font-weight:800; line-height:1.05; font-variant-numeric:tabular-nums; }
.cf27-page .cf27-countdown__lbl { font-size:10px; font-weight:500; letter-spacing:.14em; color:rgba(255,255,255,.75); }

.cf27-page .cf27-cred__place { display:flex; align-items:center; gap:16px; border-left:1.5px solid var(--cf27-cyan); padding-left:40px; }
.cf27-page .cf27-cred__place i { font-size:32px; color:var(--cf27-cyan); flex:none; }
.cf27-page .cf27-cred__place div { display:flex; flex-direction:column; gap:2px; font-size:13px; color:rgba(255,255,255,.78); }
.cf27-page .cf27-cred__place-name { font-size:15px; font-weight:700; color:#fff; }

@media (max-width:720px) {
  .cf27-page .cf27-hero { padding:110px 20px 140px; }
  .cf27-page .cf27-hero__content { align-items:center; text-align:center; }
  .cf27-page .cf27-hero__lead { margin:0 auto; }
  .cf27-page .cf27-hero__dates { text-align:left; }
  .cf27-page .cf27-agenda { width:100%; text-align:center; }
  .cf27-page .cf27-agenda__buttons { flex-direction:column; }
  .cf27-page .cf27-btn { width:100%; justify-content:center; }
  .cf27-page .cf27-cred { padding:0 20px; }
  .cf27-page .cf27-cred__intro { width:100%; text-align:center; }
  .cf27-page .cf27-cred__card { padding:24px; background:transparent; }
  .cf27-page .cf27-countdown { width:100%; justify-content:center; gap:8px; }
  .cf27-page .cf27-countdown__box { min-width:64px; padding:12px 6px; }
  .cf27-page .cf27-countdown__num { font-size:26px; }
  .cf27-page .cf27-cred__place { border-left:0; padding-left:0; }
}
