/* ===== Welton Barreiros 1210 — Design System ===== */

:root{
  --blue-deep: #0A2647;
  --blue-deep-dark: #061729;
  --blue-medium: #1768AC;
  --blue-medium-light: #2E8BE0;
  --yellow: #FFC22E;
  --yellow-dark: #E8A80C;
  --green-accent: #146450;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --ink: #0E1E2B;
  --ink-soft: #3A4A58;
  --border: #DFE6ED;
  --border-strong: #C4D0DB;

  --font-body: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(10,38,71,0.08);
  --shadow-md: 0 8px 24px rgba(10,38,71,0.12);
  --shadow-lg: 0 16px 48px rgba(10,38,71,0.18);

  --container: 1180px;
  --header-h: 72px;

  color-scheme: light;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html, body{ margin:0; padding:0; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
input, textarea, select{ font-family: inherit; font-size: 1rem; }

.skip-link{
  position:absolute; left:0; top:-48px; background:var(--yellow); color:var(--blue-deep-dark);
  padding:12px 20px; z-index:1000; font-weight:600; transition: top .15s ease; border-radius: 0 0 8px 0;
}
.skip-link:focus{ top:0; }

:focus-visible{ outline: 3px solid var(--yellow); outline-offset: 2px; }

h1,h2,h3,h4{ font-weight:700; line-height:1.18; margin:0 0 .5em; color: var(--blue-deep); }
h1{ font-size: clamp(2rem, 5vw + 1rem, 3.4rem); font-weight:800; }
h2{ font-size: clamp(1.5rem, 2.6vw + 1rem, 2.3rem); }
h3{ font-size: clamp(1.15rem, 1.4vw + 1rem, 1.5rem); }
p{ margin:0 0 1em; }
.lead{ font-size: 1.15rem; color: var(--ink-soft); }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section{ padding: 64px 0; }
.section--tight{ padding: 40px 0; }
.section--alt{ background: var(--off-white); }
.section--deep{ background: var(--blue-deep); color: var(--white); }
.section--deep h2, .section--deep h3{ color: var(--white); }

.kicker{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.8rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color: var(--blue-medium); margin-bottom: 12px;
}
.kicker::before{ content:""; width:20px; height:3px; background: var(--yellow); border-radius:2px; }
.section--deep .kicker{ color: var(--yellow); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 26px; border-radius: 999px; font-weight:600; font-size:1rem;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  min-height: 48px;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{ background: var(--yellow); color: var(--blue-deep-dark); box-shadow: var(--shadow-sm); }
.btn-primary:hover{ box-shadow: var(--shadow-md); background: var(--yellow-dark); }
.btn-outline{ background:transparent; border-color: currentColor; color: var(--white); }
.btn-outline:hover{ background: rgba(255,255,255,.12); }
.btn-outline-dark{ background:transparent; border-color: var(--blue-deep); color: var(--blue-deep); }
.btn-outline-dark:hover{ background: rgba(10,38,71,.06); }
.btn-whatsapp{ background:#149A5B; color:#fff; }
.btn-whatsapp:hover{ background:#0F7D48; }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 18px; font-size:.9rem; min-height:40px; }

.badge{
  display:inline-flex; align-items:center; gap:6px; background: rgba(255,194,46,.15);
  color: var(--blue-deep); border:1px solid rgba(255,194,46,.5); font-weight:700; font-size:.78rem;
  padding: 5px 12px; border-radius:999px; text-transform:uppercase; letter-spacing:.04em;
}

/* ===== Header ===== */
.site-header{
  position: sticky; top:0; z-index: 500; background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border); height: var(--header-h);
}
.site-header .container{ height:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:800; color: var(--blue-deep); flex-shrink:0; }
.brand-icon{ height:34px; width:auto; }
.brand-text{ font-size:.8rem; line-height:1.15; font-weight:800; letter-spacing:.01em; color: var(--blue-deep); white-space:nowrap; }
.brand-divider{ width:1px; height:28px; background: var(--border-strong); }
.brand-number-badge{ background: var(--yellow); color: var(--blue-deep-dark); font-weight:800; font-size:1rem; padding:4px 10px; border-radius:8px; }
@media (max-width:340px){ .brand-text{ display:none; } .brand-icon{ height:30px; } }

.main-nav{ display:none; flex-shrink:0; }
.main-nav ul{ display:flex; align-items:center; gap:2px; flex-wrap:nowrap; }
.main-nav a{
  display:block; padding: 10px 11px; border-radius: 999px; font-weight:600; font-size:.88rem; color: var(--blue-deep);
  white-space:nowrap;
}
.main-nav a:hover, .main-nav a[aria-current="page"]{ background: var(--off-white); color: var(--blue-medium); }

.header-cta{ display:none; flex-shrink:0; }
.nav-toggle{
  display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; flex-shrink:0;
  background:none; border:1px solid var(--border-strong); border-radius: 10px; color: var(--blue-deep);
}
.nav-toggle svg{ width:22px; height:22px; }

.mobile-nav{
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); z-index:400;
  transform: translateX(100%); transition: transform .25s ease; overflow-y:auto;
}
.mobile-nav.is-open{ transform: translateX(0); }
.mobile-nav ul{ display:flex; flex-direction:column; padding: 12px 20px 24px; }
.mobile-nav a{ display:block; padding: 16px 4px; font-size:1.15rem; font-weight:600; color: var(--blue-deep); border-bottom:1px solid var(--border); }
.mobile-nav .mobile-cta{ margin-top:20px; display:flex; flex-direction:column; gap:12px; }

@media (min-width: 1320px){
  .main-nav{ display:block; }
  .header-cta{ display:inline-flex; }
  .nav-toggle{ display:none; }
}

/* ===== Hero ===== */
.hero{
  position:relative; overflow:hidden; background: linear-gradient(180deg, var(--blue-deep) 0%, var(--blue-deep-dark) 100%);
  color: var(--white); padding: 56px 0 64px;
}
.hero .blueprint{ position:absolute; inset:0; opacity:.16; pointer-events:none; }
.hero-inner{ position:relative; z-index:1; display:grid; gap:32px; align-items:center; }
.hero-eyebrow{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:18px; }
.hero-number{
  display:inline-flex; align-items:center; justify-content:center; background: var(--yellow); color: var(--blue-deep-dark);
  font-weight:800; font-size:1.1rem; padding: 6px 16px; border-radius: 999px;
}
.hero-role{ font-weight:700; letter-spacing:.04em; text-transform:uppercase; font-size:.85rem; color: rgba(255,255,255,.85); }
.hero h1{ color: var(--white); max-width: 16ch; }
.hero p.lead{ color: rgba(255,255,255,.85); max-width: 52ch; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top: 28px; }
.hero-photo{ position:relative; }
.hero-photo img{ border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,.12); }

@media (min-width: 860px){
  .hero-inner{ grid-template-columns: 1.1fr .9fr; }
}

/* ===== Cards / Grids ===== */
.grid{ display:grid; gap:20px; }
.grid-2{ grid-template-columns: 1fr; }
.grid-3{ grid-template-columns: 1fr; }
.grid-4{ grid-template-columns: 1fr; }
@media (min-width: 640px){ .grid-2{ grid-template-columns: repeat(2,1fr); } .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px){ .grid-3{ grid-template-columns: repeat(3,1fr); } .grid-4{ grid-template-columns: repeat(4,1fr); } }

.card{
  background: var(--white); border:1px solid var(--border); border-radius: var(--radius-md);
  padding: 24px; box-shadow: var(--shadow-sm); transition: box-shadow .15s ease, transform .15s ease;
  display:flex; flex-direction:column; height:100%;
}
.card:hover{ box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .card-eyebrow{ font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color: var(--blue-medium); margin-bottom:8px; }
.card h3{ margin-bottom:.4em; }
.card p{ color: var(--ink-soft); flex:1; }
.card .card-link{ margin-top:14px; font-weight:700; color: var(--blue-medium); display:inline-flex; align-items:center; gap:6px; }

.proposal-icon{
  width:52px; height:52px; border-radius: 14px; background: rgba(23,104,172,.1); color: var(--blue-medium);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.proposal-icon svg{ width:26px; height:26px; }
.proposal-icon--sticker{ background:none; width:auto; height:auto; }
.proposal-icon--sticker img{ width:56px; height:56px; }

/* ===== Flow diagram ===== */
.flow{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:center; margin: 28px 0; }
.flow-step{
  background: var(--white); color: var(--blue-deep); border:1px solid var(--border-strong); font-weight:700;
  padding: 10px 18px; border-radius: 999px; font-size:.92rem;
}
.section--deep .flow-step{ background: rgba(255,255,255,.08); color:var(--white); border-color: rgba(255,255,255,.25); }
.flow-arrow{ color: var(--yellow); font-weight:800; font-size:1.1rem; }

/* ===== Timeline ===== */
.timeline{ position:relative; padding-left: 28px; border-left: 3px solid var(--border-strong); display:flex; flex-direction:column; gap:28px; }
.timeline-item{ position:relative; }
.timeline-item::before{
  content:""; position:absolute; left:-35px; top:2px; width:16px; height:16px; border-radius:50%;
  background: var(--yellow); border:3px solid var(--blue-deep);
}
.timeline-item .timeline-label{ text-transform:uppercase; letter-spacing:.05em; font-size:.78rem; font-weight:800; color: var(--blue-medium); }

/* ===== Proposal detail template ===== */
.proposal-meta{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:20px; }
.pill{ background: var(--off-white); border:1px solid var(--border); color: var(--ink-soft); font-size:.82rem; font-weight:600; padding:6px 12px; border-radius:999px; }
.proposal-block{ padding: 28px; border-radius: var(--radius-md); border:1px solid var(--border); margin-bottom:20px; background:var(--white); }
.proposal-block h3{ display:flex; align-items:center; gap:10px; }
.proposal-block .step-number{
  display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%;
  background: var(--blue-deep); color: var(--white); font-size:.9rem; font-weight:800; flex-shrink:0;
}
.proposal-block--role{ background: rgba(255,194,46,.08); border-color: rgba(255,194,46,.4); }

/* ===== FAQ / Accordion ===== */
.accordion-item{ border-bottom:1px solid var(--border); }
.accordion-trigger{
  width:100%; text-align:left; background:none; border:none; padding: 20px 4px; display:flex; align-items:center;
  justify-content:space-between; gap:16px; font-weight:700; font-size:1.05rem; color: var(--blue-deep);
}
.accordion-trigger .chevron{ flex-shrink:0; transition: transform .2s ease; color: var(--blue-medium); }
.accordion-trigger[aria-expanded="true"] .chevron{ transform: rotate(180deg); }
.accordion-panel{ display:none; padding: 0 4px 24px; color: var(--ink-soft); }
.accordion-panel.is-open{ display:block; }
.accordion-panel .problem-block{ margin-bottom:14px; }
.accordion-panel .problem-block strong{ display:block; color: var(--blue-deep); margin-bottom:4px; }

/* ===== Forms ===== */
.form-field{ margin-bottom:18px; }
.form-field label{ display:block; font-weight:600; margin-bottom:6px; color: var(--blue-deep); }
.form-field .hint{ font-size:.82rem; color: var(--ink-soft); margin-top:4px; }
.form-field input, .form-field textarea{
  width:100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-strong);
  background: var(--white); color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus{ border-color: var(--blue-medium); }
.form-note{
  display:flex; gap:10px; align-items:flex-start; background: var(--off-white); border:1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 16px; font-size:.9rem; color: var(--ink-soft); margin-bottom:20px;
}
.form-success{ display:none; background: rgba(20,154,91,.1); border:1px solid #149A5B; color:#0F5C36; padding:18px; border-radius: var(--radius-sm); font-weight:600; }
.form-success.is-visible{ display:block; }
.form-disclosure{ margin-top:18px; font-size:.85rem; color: var(--ink-soft); background: var(--off-white); padding:14px 16px; border-radius: var(--radius-sm); }
.form-disclosure dt{ font-weight:700; color: var(--blue-deep); margin-top:8px; }
.form-disclosure dt:first-child{ margin-top:0; }
.form-disclosure dd{ margin:2px 0 0; }

/* ===== Content pending (fields awaiting real campaign info) ===== */
.content-pending{
  display:flex; flex-wrap:wrap; align-items:center; gap:10px; background: repeating-linear-gradient(135deg, var(--off-white) 0 10px, #EEF2F6 10px 20px);
  border:1.5px dashed var(--border-strong); border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 14px; font-size:.92rem; color: var(--ink-soft); font-style: italic;
}
.content-pending-badge{
  flex-shrink:0; background: var(--blue-deep); color: var(--white); font-style: normal; font-weight:700; font-size:.72rem;
  text-transform:uppercase; letter-spacing:.04em; padding:4px 10px; border-radius:999px;
}

/* ===== Footer ===== */
.site-footer{ background: var(--blue-deep-dark); color: rgba(255,255,255,.8); padding: 56px 0 24px; }
.footer-grid{ display:grid; gap:32px; margin-bottom: 32px; }
.footer-brand{ color:#fff; font-weight:800; font-size:1.2rem; margin-bottom:8px; }
.footer-tag{ color: var(--yellow); font-weight:700; }
.site-footer h4{ color:#fff; font-size:.9rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:14px; }
.site-footer a{ color: rgba(255,255,255,.75); }
.site-footer a:hover{ color: var(--yellow); }
.site-footer li{ margin-bottom:10px; }
.footer-social{ display:flex; gap:10px; margin-top:10px; }
.footer-social a{
  width:40px; height:40px; border-radius:50%; border:1px solid rgba(255,255,255,.25); display:flex; align-items:center; justify-content:center;
}
.footer-social a:hover{ background: rgba(255,255,255,.1); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.15); padding-top:24px; font-size:.82rem; color: rgba(255,255,255,.55); }
.footer-legal{ margin-top:8px; line-height:1.7; }
@media (min-width: 780px){ .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ===== Cookie banner ===== */
.cookie-banner{
  position: fixed; left:16px; right:16px; bottom:16px; z-index:900; background: var(--white); color: var(--ink);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); border:1px solid var(--border);
  padding: 22px; max-width: 640px; margin: 0 auto; display:none;
}
.cookie-banner.is-visible{ display:block; }
.cookie-banner h2{ font-size:1.05rem; margin-bottom:8px; }
.cookie-banner p{ font-size:.9rem; color: var(--ink-soft); margin-bottom:16px; }
.cookie-actions{ display:flex; flex-wrap:wrap; gap:10px; }
.cookie-settings{ display:none; margin-top:16px; border-top:1px solid var(--border); padding-top:16px; gap:14px; flex-direction:column; }
.cookie-settings.is-open{ display:flex; }
.cookie-toggle-row{ display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.cookie-toggle-row strong{ display:block; color: var(--blue-deep); font-size:.92rem; }
.cookie-toggle-row span{ font-size:.82rem; color: var(--ink-soft); }
.switch{ position:relative; width:44px; height:26px; flex-shrink:0; }
.switch input{ opacity:0; width:0; height:0; }
.switch .track{ position:absolute; inset:0; background: var(--border-strong); border-radius:999px; transition:.15s; }
.switch .track::before{ content:""; position:absolute; width:20px; height:20px; left:3px; top:3px; background:#fff; border-radius:50%; transition:.15s; box-shadow:var(--shadow-sm); }
.switch input:checked + .track{ background: var(--blue-medium); }
.switch input:checked + .track::before{ transform: translateX(18px); }
.switch input:disabled + .track{ opacity:.6; }

/* ===== WhatsApp floating button ===== */
.wa-float{
  position: fixed; right:18px; bottom:18px; z-index: 300; width:58px; height:58px; border-radius:50%;
  background:#149A5B; color:#fff; display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-lg);
}
.wa-float svg{ width:28px; height:28px; }

/* ===== Landing page (ads) specific ===== */
.landing-header{ background: var(--white); border-bottom: 1px solid var(--border); padding: 14px 0; }
.landing-header .container{ display:flex; align-items:center; justify-content:space-between; }
.landing-footer{ background: var(--blue-deep-dark); color: rgba(255,255,255,.7); padding: 28px 0; font-size:.85rem; text-align:center; }
.landing-sticky-cta{
  position: fixed; left:0; right:0; bottom:0; z-index: 400; background: var(--white); border-top:1px solid var(--border);
  padding: 12px 16px; box-shadow: 0 -6px 20px rgba(10,38,71,.12);
}
.landing-sticky-cta .container{ display:flex; gap:10px; }
@media (min-width: 780px){ .landing-sticky-cta{ display:none; } }

/* ===== Utilities ===== */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.stack{ display:flex; flex-direction:column; gap:12px; }
.eyebrow-row{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin-bottom: 28px; }
.max-prose{ max-width: 70ch; }
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.divider{ height:1px; background: var(--border); border:none; margin: 40px 0; }
.tag-row{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.blueprint-divider{ height:6px; background: repeating-linear-gradient(90deg, var(--yellow) 0 24px, transparent 24px 34px); border-radius:3px; margin: 24px 0; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}
