@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --petrol:    #2E5F7E;
  --petrol-d:  #1C3D52;
  --petrol-l:  #4A7E9B;
  --petrol-xl: #EAF2F7;
  --graphite:  #2C2C2C;
  --slate:     #4A5568;
  --silver:    #8A9BB0;
  --off-white: #F7F9FB;
  --white:     #FFFFFF;
  --gold:      #C9A84C;
  --pride-1:#E40303;--pride-2:#FF8C00;--pride-3:#FFED00;--pride-4:#008026;--pride-5:#004DFF;--pride-6:#750787;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --nav-h: 72px;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 2px 24px rgba(46,95,126,.10);
  --shadow-lg: 0 8px 48px rgba(46,95,126,.18);
  --transition: .28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--graphite); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
.eyebrow { font-family: var(--font-body); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--petrol-l); }
.lead { font-size: 1.1rem; color: var(--slate); line-height: 1.8; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; font-size: .9rem; font-weight: 500; letter-spacing: .04em; border-radius: var(--radius); transition: var(--transition); white-space: nowrap; }
.btn-primary { background: var(--petrol); color: var(--white); }
.btn-primary:hover { background: var(--petrol-d); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { border: 1.5px solid var(--petrol); color: var(--petrol); }
.btn-outline:hover { background: var(--petrol); color: var(--white); }
.btn-white { background: var(--white); color: var(--petrol); }
.btn-white:hover { background: var(--off-white); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #b8952f; transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }

/* ── NAV ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; transition: var(--transition); }
.nav.scrolled { background: var(--white); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.nav.dark-bg { background: transparent; }
.nav__inner { display: flex; align-items: center; width: 100%; }
.nav__logo { min-width: 220px; }
.nav__logo img, .nav__logo svg { height: 40px; }
.nav__links { display: flex; align-items: center; gap: 36px; margin-left: auto; padding-left: 0; }
.nav__links a { font-size: .875rem; font-weight: 400; color: var(--white); opacity: .9; transition: var(--transition); }
.nav.scrolled .nav__links a { color: var(--graphite); }
.nav__links a:hover { opacity: 1; color: var(--petrol); }
.nav.scrolled .nav__links a:hover { color: var(--petrol); }
.nav__links a.active { color: var(--petrol); font-weight: 500; opacity: 1; }
.nav__cta { margin-left: 16px; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav__hamburger span { width: 24px; height: 1.5px; background: var(--white); transition: var(--transition); display: block; }
.nav.scrolled .nav__hamburger span { background: var(--graphite); }

/* ── HERO ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--petrol-d); }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(28,61,82,.92) 0%, rgba(46,95,126,.6) 100%); }
.hero__content { position: relative; z-index: 2; color: var(--white); max-width: 700px; }
.hero__content .eyebrow { color: rgba(255,255,255,.7); margin-bottom: 20px; }
.hero__content h1 { color: var(--white); margin-bottom: 24px; }
.hero__content h1 em { font-style: italic; color: rgba(255,255,255,.75); }
.hero__content .lead { color: rgba(255,255,255,.8); margin-bottom: 40px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.5); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll::after { content: ''; width: 1px; height: 40px; background: rgba(255,255,255,.3); display: block; }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow { display: block; margin-bottom: 12px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; color: var(--slate); }

/* ── CARDS ── */
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); border: 1px solid rgba(46,95,126,.08); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__img { height: 220px; background: var(--petrol-xl); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 28px 24px; }
.card__tag { font-size: .72rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--petrol-l); margin-bottom: 8px; display: block; }
.card__body h3 { margin-bottom: 12px; font-size: 1.3rem; }
.card__body p { font-size: .9rem; color: var(--slate); margin-bottom: 20px; }
.card__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--petrol); }
.card__price span { font-size: .85rem; font-family: var(--font-body); color: var(--silver); }

/* ── SERVICE BLOCKS ── */
.service-block { padding: 36px 28px; border-radius: var(--radius-lg); border: 1px solid rgba(46,95,126,.12); transition: var(--transition); }
.service-block:hover { border-color: var(--petrol); background: var(--petrol-xl); }
.service-block__icon { width: 48px; height: 48px; margin-bottom: 20px; color: var(--petrol); }
.service-block h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-block p { font-size: .9rem; color: var(--slate); }

/* ── STATS STRIP ── */
.stats-strip { background: var(--petrol); color: var(--white); }
.stats-strip .grid-4 { text-align: center; }
.stat-item { padding: 48px 16px; border-right: 1px solid rgba(255,255,255,.15); }
.stat-item:last-child { border-right: none; }
.stat-item__num { font-family: var(--font-display); font-size: 3rem; font-weight: 300; color: var(--white); display: block; }
.stat-item__label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 4px; display: block; }

/* ── TESTIMONY ── */
.testimony { background: var(--off-white); }
.testimony-card { background: var(--white); padding: 36px; border-radius: var(--radius-lg); border-left: 3px solid var(--petrol); }
.testimony-card p { font-family: var(--font-display); font-size: 1.2rem; font-style: italic; color: var(--graphite); margin-bottom: 20px; line-height: 1.6; }
.testimony-card__author { font-size: .85rem; color: var(--silver); font-weight: 500; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--petrol-d); color: var(--white); text-align: center; padding: 96px 0; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -60%; left: -10%; width: 60%; height: 200%; background: rgba(255,255,255,.03); border-radius: 50%; pointer-events: none; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── FOOTER ── */
.footer { background: var(--graphite); color: rgba(255,255,255,.75); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand p { font-size: .875rem; margin-top: 16px; line-height: 1.8; color: rgba(255,255,255,.55); }
.footer__col h4 { font-family: var(--font-body); font-size: .8rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 20px; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a { font-size: .875rem; color: rgba(255,255,255,.65); transition: color .2s; }
.footer__col ul li a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: rgba(255,255,255,.35); }
.footer__social { display: flex; gap: 16px; }
.footer__social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer__social a:hover { border-color: var(--petrol-l); color: var(--white); background: var(--petrol); }
.footer__social svg { width: 14px; height: 14px; }

/* ── BREADCRUMB ── */
.page-hero { padding: calc(var(--nav-h) + 64px) 0 64px; background: var(--petrol-d); color: var(--white); }
.page-hero .eyebrow { color: rgba(255,255,255,.6); margin-bottom: 12px; display: block; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.7); margin-top: 16px; max-width: 600px; }

/* ── PRIDE / FREEDOM TRIP ── */
.pride-bar { height: 5px; background: linear-gradient(90deg, var(--pride-1),var(--pride-2),var(--pride-3),var(--pride-4),var(--pride-5),var(--pride-6)); }
.pride-hero { background: #0d0d0d; position: relative; overflow: hidden; }
.pride-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(116,7,135,.4),rgba(0,77,255,.3),rgba(0,128,38,.2)); }
.pride-accent { color: var(--pride-4); }

/* ── FORM ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 500; color: var(--graphite); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid #D1DCE5; border-radius: var(--radius); font-family: var(--font-body); font-size: .95rem; color: var(--graphite); transition: border-color .2s; background: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--petrol); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── BADGE / TAG ── */
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: .75rem; font-weight: 500; letter-spacing: .05em; }
.badge-petrol { background: var(--petrol-xl); color: var(--petrol); }
.badge-gold { background: #FBF3DF; color: #8A6A1A; }
.badge-green { background: #E6F4EA; color: #276230; }

/* ── WHATSAPP FLOAT ── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: var(--white); }

/* ── ANALISE PORTAL ── */
.portal-wrap { min-height: 100vh; background: var(--off-white); padding: calc(var(--nav-h) + 40px) 0 80px; }
.portal-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; overflow: hidden; }
.portal-card__header { background: var(--petrol-d); color: var(--white); padding: 36px 40px; }
.portal-card__header .eyebrow { color: rgba(255,255,255,.6); display: block; margin-bottom: 8px; }
.portal-card__header h2 { color: var(--white); font-size: 1.8rem; }
.portal-card__body { padding: 40px; }
.step-bar { display: flex; gap: 6px; margin-bottom: 32px; }
.step-bar__dot { flex: 1; height: 3px; background: #D1DCE5; border-radius: 2px; transition: background .3s; }
.step-bar__dot.done { background: var(--petrol); }
.step-bar__dot.active { background: var(--petrol-l); }
.radio-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid #D1DCE5; border-radius: var(--radius); margin-bottom: 8px; cursor: pointer; transition: var(--transition); }
.radio-card:hover { border-color: var(--petrol-l); background: var(--petrol-xl); }
.radio-card.selected { border-color: var(--petrol); background: var(--petrol-xl); }
.radio-card input { accent-color: var(--petrol); margin-top: 2px; }
.radio-card span { font-size: .95rem; }
.field-label { font-size: .9rem; font-weight: 500; color: var(--graphite); margin-bottom: 10px; display: block; }
.field-label .q-num { color: var(--petrol); margin-right: 4px; }
.nav-btns { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid #EDF2F7; }

/* ── ADMIN PAINEL ── */
.admin-wrap { min-height: 100vh; background: #F0F4F8; }
.admin-nav { background: var(--petrol-d); color: var(--white); padding: 0 32px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.admin-nav h1 { font-size: 1rem; font-family: var(--font-body); font-weight: 500; }
.admin-content { padding: 32px; }
.admin-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; box-shadow: 0 1px 8px rgba(0,0,0,.06); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.admin-table th { text-align: left; padding: 10px 16px; background: var(--off-white); color: var(--slate); font-weight: 500; border-bottom: 1px solid #E2EAF0; }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid #F0F4F8; color: var(--graphite); }
.admin-table tr:hover td { background: var(--off-white); }
.score-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 12px; font-size: .8rem; font-weight: 500; }
.score-green { background: #E6F4EA; color: #276230; }
.score-yellow { background: #FBF3DF; color: #8A6A1A; }
.score-red { background: #FDE8E8; color: #8B2020; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--white); padding: 24px; gap: 20px; box-shadow: var(--shadow); }
  .nav__links.open a { color: var(--graphite) !important; }
  .stats-strip .grid-4 { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .portal-card__body { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.fade-up { opacity: 0; animation: fadeUp .7s forwards; }
.fade-up:nth-child(2) { animation-delay: .12s; }
.fade-up:nth-child(3) { animation-delay: .24s; }
.fade-up:nth-child(4) { animation-delay: .36s; }
