:root {
  --navy: #2a3c56;
  --navy-deep: #17263a;
  --gold: #f7ecb5;
  --gold-strong: #dfc970;
  --ink: #17202c;
  --muted: #5f6b79;
  --line: #dfe4e9;
  --white: #fff;
  --soft: #f5f7f8;
  --green: #1d8f52;
  --shadow: 0 22px 60px rgba(15, 28, 44, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; }
a { color: inherit; }
button, input, select { font: inherit; }

.site-header { height: 84px; padding: 0 clamp(20px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; background: var(--white); }
.brand { display: flex; gap: 12px; align-items: center; color: var(--navy); text-decoration: none; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 19px; letter-spacing: .01em; }
.brand small { color: var(--muted); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.header-contact { padding: 12px 18px; border: 1px solid var(--navy); color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 700; transition: .2s ease; }
.header-contact:hover { background: var(--navy); color: var(--white); }

.hero { position: relative; min-height: 720px; isolation: isolate; overflow: hidden; }
.hero-photo, .hero-shade { position: absolute; inset: 0; }
.hero-photo { z-index: -3; background: #65768a url("itapema-hero-original-full.webp") center/cover no-repeat; }
.hero-shade { z-index: -2; background: linear-gradient(90deg, rgba(18, 34, 53, .94) 0%, rgba(18, 34, 53, .77) 43%, rgba(18, 34, 53, .28) 72%, rgba(18, 34, 53, .12) 100%); }
.hero-content { width: min(1180px, calc(100% - 40px)); min-height: 720px; margin: 0 auto; padding: 66px 0; display: grid; grid-template-columns: 1fr 470px; align-items: center; gap: 70px; }
.hero-copy { color: var(--white); max-width: 620px; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.dark { color: #7b6322; }
.hero h1 { max-width: 720px; margin: 0 0 22px; font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -.035em; }
.hero-lead { max-width: 610px; margin: 0; color: rgba(255,255,255,.9); font-size: 19px; line-height: 1.6; }
.trust-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 9px; }
.trust-row span { padding: 8px 11px; border: 1px solid rgba(247,236,181,.42); background: rgba(10,22,36,.28); color: var(--gold); font-size: 13px; }

.lead-card { padding: 32px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
.form-heading { margin-bottom: 24px; }
.form-heading .step-label { margin: 0 0 7px; color: #8a7126; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.form-heading h2 { margin: 0 0 6px; color: var(--navy); font-size: 25px; line-height: 1.2; }
.form-heading p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field-wide { grid-column: 1 / -1; }
.field { display: block; }
.field > span { display: block; margin-bottom: 6px; color: #334253; font-size: 13px; font-weight: 700; }
.field input, .field select { width: 100%; min-height: 49px; padding: 0 13px; border: 1px solid #cbd3db; border-radius: 0; background: #fff; color: var(--ink); outline: none; transition: .2s ease; }
.field input:focus, .field select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(42,60,86,.12); }
.field.invalid input, .field.invalid select { border-color: #b44545; }
.error-message { display: block; min-height: 0; color: #a33434; font-size: 12px; }
.field.invalid .error-message { margin-top: 3px; }
.consent { margin: 20px 0 0; display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 12px; line-height: 1.45; }
.consent input { width: 17px; height: 17px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--navy); }
.consent a { color: var(--navy); font-weight: 700; }
.consent-error { display: block; color: #a33434; font-size: 12px; }
.primary-button { width: 100%; min-height: 54px; margin-top: 20px; border: 0; background: var(--navy); color: var(--white); cursor: pointer; font-weight: 700; transition: .2s ease; }
.primary-button:hover { background: var(--navy-deep); transform: translateY(-1px); }
.form-note { margin: 10px 0 0; color: #6b7682; font-size: 12px; text-align: center; }
.success-message { margin-top: 14px; padding: 12px; background: #e9f7ef; color: #176c40; font-size: 13px; }

.process-section, .faq-section { padding: 100px clamp(20px, 5vw, 72px); }
.section-intro { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-intro.compact { margin-bottom: 34px; }
.section-intro h2 { margin: 0 0 16px; color: var(--navy); font-size: clamp(30px, 4vw, 46px); line-height: 1.16; letter-spacing: -.025em; }
.section-intro > p:last-child { margin: 0 auto; color: var(--muted); font-size: 18px; }
.steps { width: min(1120px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.steps article { min-height: 230px; padding: 34px; }
.steps article + article { border-left: 1px solid var(--line); }
.steps span { color: #987d2d; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.steps h3 { margin: 28px 0 10px; color: var(--navy); font-size: 21px; }
.steps p { margin: 0; color: var(--muted); }

.about-section { min-height: 620px; padding: 80px clamp(20px, 6vw, 90px); display: flex; justify-content: flex-end; align-items: center; background: linear-gradient(90deg, rgba(12,27,45,.16), rgba(12,27,45,.78)), #485d75 url("itapema-local-original.webp") center/cover no-repeat; }
.about-card { width: min(570px, 100%); padding: 48px; background: rgba(29,45,65,.96); color: var(--white); box-shadow: var(--shadow); }
.about-card h2 { margin: 0 0 18px; font-size: clamp(30px, 3vw, 42px); line-height: 1.2; }
.about-card > p:not(.eyebrow) { color: rgba(255,255,255,.82); }
.about-card ul { margin: 26px 0 0; padding: 0; list-style: none; }
.about-card li { padding: 11px 0 11px 25px; border-top: 1px solid rgba(255,255,255,.14); position: relative; }
.about-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); }

.faq-section { background: var(--soft); }
.faq-list { width: min(850px, 100%); margin: 0 auto; border-top: 1px solid #ccd4dc; }
.faq-list details { border-bottom: 1px solid #ccd4dc; }
.faq-list summary { padding: 22px 44px 22px 0; color: var(--navy); cursor: pointer; font-size: 17px; font-weight: 700; }
.faq-list p { margin: -7px 0 22px; color: var(--muted); }

.final-cta { padding: 60px clamp(20px, 7vw, 100px); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--navy); color: var(--white); }
.final-cta h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); }
.light-button { flex: 0 0 auto; padding: 16px 24px; background: var(--gold); color: var(--navy-deep); text-decoration: none; font-weight: 700; }
footer { padding: 44px clamp(20px, 5vw, 72px); display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 36px; background: #101c2b; color: rgba(255,255,255,.72); font-size: 14px; }
footer strong, footer span, footer a { display: block; }
footer strong { margin-bottom: 5px; color: var(--white); font-size: 18px; }
footer a { color: rgba(255,255,255,.84); text-decoration: none; }

.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 20; padding: 13px 18px; border-radius: 30px; background: var(--green); color: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.23); text-decoration: none; font-size: 14px; font-weight: 700; }

@media (max-width: 960px) {
  .hero, .hero-content { min-height: auto; }
  .hero-content { padding: 62px 0; grid-template-columns: 1fr; gap: 38px; }
  .hero-shade { background: linear-gradient(rgba(18,34,53,.9), rgba(18,34,53,.78)); }
  .hero-copy { max-width: 760px; }
  .lead-card { max-width: 620px; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .site-header { height: 74px; padding: 0 16px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 10px; }
  .header-contact { padding: 10px 12px; font-size: 12px; }
  .hero-photo { background-position: 64% center; }
  .hero-content { width: min(100% - 28px, 1180px); padding: 46px 0; }
  .hero h1 { font-size: 42px; }
  .hero-lead { font-size: 17px; }
  .trust-row { gap: 7px; }
  .lead-card { padding: 24px 18px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .process-section, .faq-section { padding: 72px 20px; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: auto; }
  .steps article + article { border-left: 0; border-top: 1px solid var(--line); }
  .about-section { min-height: auto; padding: 60px 16px; }
  .about-card { padding: 34px 24px; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; gap: 22px; }
  .floating-whatsapp { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
