/* =========================================================
   Ferreira Soluções Elétricas — folha de estilo principal
   Marca: marinho #050726 · laranja #ED8A2D · cinza #838383 · branco
   ========================================================= */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-400.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-500.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-700.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-700-italic.woff") format("woff"); }

:root {
  --navy: #050726;
  --navy-2: #0b0f36;
  --navy-3: #161c4d;
  --navy-line: rgba(255, 255, 255, .1);
  --orange: #ed8a2d;
  --orange-hover: #f59c45;
  --orange-ink: #a4520a;      /* laranja para texto pequeno sobre branco (contraste AA) */
  --gray: #838383;
  --ink: #0d1024;
  --text: #2c3044;
  --muted: #555a6e;
  --on-dark: #e9ebf5;
  --on-dark-muted: #b4b8cc;
  --line: #e2e4eb;
  --soft: #f4f5f8;
  --white: #fff;
  --wa: #0f7f38;        /* verde WhatsApp escurecido para contraste AA com texto branco */

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -22px rgba(5, 7, 38, .45);
  --container: 1180px;
  --header-h: 72px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }

/* Destaques tipográficos no estilo das artes da marca */
.hl { color: var(--orange); font-style: italic; }
.section:not(.section--dark) .hl, .hl--ink { color: var(--orange-ink); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--orange); }
.eyebrow svg { width: 34px; height: 14px; flex: none; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
.section-head p { font-size: 1.075rem; color: var(--muted); margin: 0; }
.section--dark .section-head p { color: var(--on-dark-muted); }

/* ---------- Botões ---------- */
.btn { --bg: var(--orange); --fg: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--bg); background: var(--bg); color: var(--fg); font-weight: 700; font-size: .98rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { --bg: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(237, 138, 45, .8); }
.btn:active { transform: translateY(0); }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255, 255, 255, .38); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .08); border-color: var(--white); box-shadow: none; }
.btn--dark { --bg: var(--navy); --fg: var(--white); }
.btn--dark:hover { --bg: var(--navy-3); box-shadow: var(--shadow); }
.btn--wa { --bg: var(--wa); --fg: var(--white); }
.btn--wa:hover { --bg: #0c6b2f; box-shadow: 0 12px 26px -14px rgba(15, 127, 56, .8); }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--outline:hover { --bg: var(--white); border-color: var(--ink); box-shadow: none; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--orange-ink); text-decoration: none; min-height: 44px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--orange); }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { border-color: var(--navy-line); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 8px; text-decoration: none; color: var(--on-dark); font-size: .93rem; font-weight: 500; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: var(--orange); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: .92rem; min-height: 44px; padding: 0 6px; }
.header-phone svg { width: 18px; height: 18px; color: var(--orange); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--navy-line); border-radius: 12px; background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s var(--ease), background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 760px; height: 760px; border-radius: 50%; border: 120px solid rgba(131, 131, 131, .08); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.08; margin-bottom: 22px; }
.hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--on-dark-muted); max-width: 560px; margin-bottom: 30px; }
.hero-lead strong { color: var(--white); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 26px; border-top: 1px solid var(--navy-line); font-size: .9rem; color: var(--on-dark-muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.hero-trust .stars { color: var(--orange); letter-spacing: 2px; }
.hero-media { position: relative; }
.hero-photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 7, 38, .75)); }
.hero-tag { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--white); font-size: .85rem; }
.hero-tag strong { display: block; font-size: .98rem; }
.hero-tag span { color: var(--on-dark-muted); }
.hero-badge { position: absolute; top: 26px; left: -26px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.hero-badge b { font-size: 1.9rem; line-height: 1; color: var(--navy); }
.hero-badge span { font-size: .8rem; line-height: 1.3; color: var(--muted); }
.zig-line { position: absolute; right: -10px; top: -26px; width: 150px; color: var(--orange); opacity: .9; }

/* ---------- Faixa de segmentos ---------- */
.segments { background: var(--navy-2); color: var(--on-dark); border-top: 1px solid var(--navy-line); }
.segments-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.segment { display: flex; gap: 16px; align-items: flex-start; padding: 28px 26px; border-right: 1px solid var(--navy-line); }
.segment:last-child { border-right: 0; }
.segment svg { width: 34px; height: 34px; color: var(--orange); flex: none; margin-top: 2px; }
.segment h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 4px; }
.segment p { margin: 0; font-size: .9rem; color: var(--on-dark-muted); line-height: 1.55; }

/* ---------- Serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.service-card { grid-column: span 2; position: relative; display: flex; flex-direction: column; padding: 30px 28px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card::before { content: ""; position: absolute; left: 28px; top: 0; width: 44px; height: 3px; background: var(--orange); border-radius: 0 0 3px 3px; transition: width .3s var(--ease); }
.service-card:hover::before { width: 88px; }
.service-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: var(--orange); display: grid; place-items: center; margin-bottom: 20px; }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .96rem; }
.service-benefit { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text); padding: 12px 14px; background: var(--soft); border-radius: var(--radius-sm); margin: 4px 0 16px; }
.service-benefit svg { width: 18px; height: 18px; color: var(--orange-ink); flex: none; margin-top: 3px; }
.service-card .link-arrow { margin-top: auto; }
.service-card .stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

/* ---------- Obras / portfólio ---------- */
.work-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.work { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: var(--white); }
.work--feature { grid-row: span 2; }
.work button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; position: relative; }
.work button:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.work picture, .work img { width: 100%; height: 100%; }
.work img { object-fit: cover; aspect-ratio: 4 / 5; transition: transform .8s var(--ease); }
.work--feature img { aspect-ratio: auto; min-height: 100%; }
.work:hover img { transform: scale(1.04); }
.work figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 22px 20px; background: linear-gradient(180deg, transparent, rgba(5, 7, 38, .92) 55%); }
.work .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.work h3 { color: var(--white); font-size: 1.1rem; margin: 0 0 4px; }
.work p { margin: 0; font-size: .88rem; color: var(--on-dark-muted); line-height: 1.5; }
.work-note { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); }
.work-note p { margin: 0; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(3, 4, 22, .9); backdrop-filter: blur(4px); }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: 12px; }
.lightbox p { color: var(--on-dark); text-align: center; margin: 12px 0 0; font-size: .95rem; }
.lightbox-close { position: absolute; top: -56px; right: 0; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center; }
.lightbox-close svg { width: 22px; height: 22px; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about-media { position: relative; }
.about-media picture img { border-radius: 22px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-card { position: absolute; right: -24px; bottom: 34px; max-width: 250px; padding: 20px 22px; border-radius: 16px; background: var(--navy); color: var(--on-dark); box-shadow: var(--shadow); }
.about-card b { display: block; color: var(--orange); font-size: 2.3rem; line-height: 1; margin-bottom: 6px; }
.about-card span { font-size: .88rem; color: var(--on-dark-muted); line-height: 1.45; display: block; }
.about-text h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.about-text > p { font-size: 1.04rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 32px; }
.fact { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.fact svg { width: 22px; height: 22px; color: var(--orange-ink); flex: none; margin-top: 2px; }
.fact strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.fact span { font-size: .86rem; color: var(--muted); line-height: 1.45; }

/* ---------- Diferenciais ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: var(--radius); overflow: hidden; }
.diff { background: var(--navy); padding: 32px 30px; transition: background-color .3s; }
.diff:hover { background: var(--navy-2); }
.diff-num { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--orange); margin-bottom: 18px; }
.diff svg { width: 30px; height: 30px; color: var(--orange); margin-bottom: 16px; }
.diff h3 { font-size: 1.12rem; margin-bottom: 8px; }
.diff p { margin: 0; color: var(--on-dark-muted); font-size: .94rem; line-height: 1.6; }

/* ---------- Depoimentos ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review { margin: 0; display: flex; flex-direction: column; padding: 34px 32px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.review::before { content: "\201C"; position: absolute; top: 4px; right: 26px; font-size: 6rem; line-height: 1; color: var(--soft); font-weight: 700; font-style: italic; }
.review-stars { display: flex; gap: 3px; color: var(--orange); margin-bottom: 16px; }
.review-stars svg { width: 20px; height: 20px; }
.review blockquote { margin: 0 0 24px; font-size: 1.02rem; color: var(--text); position: relative; }
.review blockquote p:last-child { margin-bottom: 0; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--orange); font-weight: 700; flex: none; }
.review cite { font-style: normal; font-weight: 700; color: var(--ink); display: block; line-height: 1.3; }
.review figcaption span { font-size: .85rem; color: var(--muted); }

/* ---------- Processo ---------- */
.steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 4%; right: 4%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding: 0 4px; }
.step-num { position: relative; width: 56px; height: 56px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--white); border: 2px solid var(--navy); color: var(--navy); font-weight: 700; font-size: 1.05rem; transition: background-color .3s, color .3s, border-color .3s; }
.step:hover .step-num { background: var(--navy); color: var(--orange); }
.step h3 { font-size: .98rem; margin-bottom: 6px; }
.step p { font-size: .86rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark); border-radius: 26px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; border: 80px solid rgba(237, 138, 45, .12); z-index: -1; }
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 10px; }
.cta-band p { color: var(--on-dark-muted); margin: 0; font-size: 1.05rem; max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-actions small { color: var(--on-dark-muted); text-align: center; font-size: .84rem; }

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.insta-card { position: relative; border-radius: 22px; padding: 28px; background: linear-gradient(160deg, var(--navy-3), var(--navy)); color: var(--on-dark); box-shadow: var(--shadow); }
.insta-profile { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.insta-avatar { width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: linear-gradient(45deg, var(--orange), #f6c27c); flex: none; }
.insta-avatar img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--navy); object-fit: contain; background: var(--navy); }
.insta-profile strong { color: var(--white); display: block; }
.insta-profile span { font-size: .86rem; color: var(--on-dark-muted); }
.insta-bio { font-size: .93rem; line-height: 1.7; color: var(--on-dark); margin-bottom: 20px; }
.insta-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 20px; }
.insta-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; }
.insta-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.chip { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .86rem; font-weight: 500; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-weight: 700; color: var(--ink); font-size: 1.02rem; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23050726' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .25s var(--ease), background-color .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--soft); }
.faq-item summary:hover { color: var(--orange-ink); }
.faq-answer { padding: 0 4px 22px; color: var(--muted); }
.faq-answer p:last-child { margin: 0; }

/* ---------- Formulário / contato ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { display: grid; gap: 14px; margin: 28px 0; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
a.contact-item:hover { border-color: var(--ink); transform: translateX(4px); }
.contact-item .ci-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--orange); flex: none; }
.contact-item .ci-icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.contact-item strong { color: var(--ink); font-weight: 700; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2, .form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1.5px solid #cfd2dc; border-radius: 12px; background: var(--white); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background: var(--white) no-repeat right 15px center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 5l5 5 5-5' fill='none' stroke='%23050726' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(237, 138, 45, .28); }
.field [aria-invalid="true"] { border-color: #c0261c; }
.field-error { color: #b3261e; font-size: .85rem; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.choice-group { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #cfd2dc; font-size: .92rem; font-weight: 500; transition: all .2s; }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.form-foot { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.form-foot small { color: var(--muted); font-size: .84rem; text-align: center; }
.form-foot small a { color: var(--ink); }

/* ---------- Páginas internas ---------- */
.page-hero { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; right: -140px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; border: 90px solid rgba(131, 131, 131, .08); z-index: -1; }
.page-hero .container { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 18px; }
.page-hero p.lead { color: var(--on-dark-muted); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 620px; margin-bottom: 28px; }
.page-hero-media img { border-radius: 20px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-height: 460px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--on-dark-muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb [aria-current] { color: var(--white); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0 0 1.2em; }
.prose a { color: var(--orange-ink); font-weight: 500; }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--orange-ink); margin-top: 2px; }
.section--dark .check-list li { color: var(--on-dark); }
.section--dark .check-list svg { color: var(--orange); }
.panel { padding: clamp(24px, 4vw, 36px); border-radius: 20px; background: var(--soft); border: 1px solid var(--line); }
.panel--dark { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.panel--dark h2, .panel--dark h3 { color: var(--white); }
.panel h3 { font-size: 1.2rem; }
.signs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sign { padding: 22px; border-radius: var(--radius); border: 1px solid var(--navy-line); background: var(--navy-2); }
.sign svg { width: 26px; height: 26px; color: var(--orange); margin-bottom: 12px; }
.sign h3 { font-size: 1rem; margin-bottom: 6px; }
.sign p { font-size: .9rem; color: var(--on-dark-muted); margin: 0; }
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related a { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--white); transition: transform .25s var(--ease), box-shadow .25s; }
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.related .service-icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.related .service-icon svg { width: 22px; height: 22px; }
.related strong { color: var(--ink); line-height: 1.3; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-pair img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.photo-caption { font-size: .86rem; color: var(--muted); margin-top: 10px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding: 72px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer h2 { color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links li + li { margin-top: 4px; }
.footer-links a { color: var(--on-dark-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 36px; }
.footer-links a:hover { color: var(--white); }
.footer-links svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.footer-bottom { border-top: 1px solid var(--navy-line); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem; }
.footer-bottom a { color: var(--on-dark-muted); }

/* ---------- WhatsApp flutuante + barra mobile ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.mobile-bar { display: none; }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }
.js .reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =================== Responsivo =================== */
@media (max-width: 1080px) {
  .header-phone { display: none; }
  .steps { grid-template-columns: repeat(4, 1fr); row-gap: 32px; }
  .steps::before { display: none; }
  .related { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .brand img { height: 38px; }
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; background: var(--navy); border-top: 1px solid var(--navy-line); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .7); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav a { min-height: 52px; font-size: 1.05rem; border-bottom: 1px solid var(--navy-line); border-radius: 0; padding: 12px 4px; }
  .header-cta .btn { display: none; }

  .hero-grid, .about-grid, .insta, .faq-wrap, .contact-grid, .page-hero-grid, .split { grid-template-columns: 1fr; }
  .hero-media { order: 2; }
  .hero-photo { aspect-ratio: 16 / 11; max-height: none; }
  .hero-badge { left: 14px; top: 14px; padding: 10px 14px; }
  .hero-badge b { font-size: 1.5rem; }
  .zig-line { display: none; }
  .segments-grid { grid-template-columns: 1fr; }
  .segment { border-right: 0; border-bottom: 1px solid var(--navy-line); padding: 22px 0; }
  .segment:last-child { border-bottom: 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 1; }
  .service-card:nth-child(5) { grid-column: 1 / -1; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work--feature { grid-column: 1 / -1; grid-row: auto; }
  .work--feature img { aspect-ratio: 16 / 11; }
  .about-media { max-width: 520px; }
  .about-card { right: 14px; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .page-hero-media { display: none; }
}

@media (max-width: 640px) {
  body { font-size: .98rem; }
  .container { width: min(100% - 32px, var(--container)); }
  .hero-actions .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: 10px; }
  .services-grid, .work-grid, .diff-grid, .facts, .form-grid, .signs, .photo-pair { grid-template-columns: 1fr; }
  .service-card:nth-child(5) { grid-column: auto; }
  .work img, .work--feature img { aspect-ratio: 4 / 4.4; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; text-align: left; padding-bottom: 22px; }
  .step-num { margin: 0; grid-row: span 2; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 60px; bottom: 2px; width: 2px; background: var(--line); }
  .step h3 { margin: 6px 0 4px; }
  .related { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .review { padding: 28px 22px 22px; }
  .cta-band { border-radius: 20px; padding: 32px 22px; }
  .about-card { position: static; max-width: none; margin-top: -40px; margin-inline: 14px; position: relative; }

  /* Barra fixa de conversão no celular */
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(5, 7, 38, .97); border-top: 1px solid var(--navy-line); backdrop-filter: blur(8px); }
  .mobile-bar .btn { min-height: 50px; padding: 10px 12px; font-size: .92rem; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@media print {
  .site-header, .wa-float, .mobile-bar, .nav-toggle { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilitários ---------- */
.segment h2 { color: var(--white); font-size: 1.05rem; margin-bottom: 4px; }
.mt-18 { margin-top: 18px; } .mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; }
.h2-lg { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.h2-md { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.muted { color: var(--muted); }
.muted-lg { color: var(--muted); font-size: 1.05rem; }
.insta-card { display: block; text-decoration: none; transition: transform .3s var(--ease); }
.insta-card:hover { transform: translateY(-4px); }
.panel--navy2 { background: var(--navy-2); border-color: var(--navy-line); }
.check-list--spaced { margin: 16px 0 22px; }
.hero-actions--flush { margin-bottom: 0; }
.split--center { align-items: center; }
.section-head--flush { margin-bottom: 0; }
.related .link-arrow { min-height: 0; }
.narrow { max-width: 780px; }
.page-hero--full { min-height: 62vh; display: flex; align-items: center; }
.page-hero--full .container { width: min(100% - 40px, var(--container)); }
.h-sm { font-size: 1.15rem; }
.reviews-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.reviews-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.reviews-minis { display: flex; flex-wrap: wrap; gap: 12px; }
.review-mini { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; }
.review-mini .review-stars { margin: 0; }
.review-mini .review-stars svg { width: 14px; height: 14px; }
.review-mini q { color: var(--text); }
.review-mini span:last-child { color: var(--muted); }
@media (max-width: 1080px) { .reviews-grid { grid-template-columns: 1fr 1fr; } .reviews-grid .review:first-child { grid-column: 1 / -1; } }
@media (max-width: 920px) { .reviews-grid { grid-template-columns: 1fr; } .review-mini { border-radius: 14px; } }

/* Correções da rodada de testes */
.hero-grid > *, .about-grid > *, .insta > *, .faq-wrap > *, .contact-grid > *, .page-hero-grid > *, .split > *, .cta-band > * { min-width: 0; }
.insta-profile strong, .contact-item strong, .footer-links a { overflow-wrap: anywhere; }
.cta-band .eyebrow, .panel--dark .eyebrow { color: var(--orange); }
.panel--dark .check-list li { color: var(--on-dark); }
.panel--dark .check-list svg { color: var(--orange); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom { align-items: center; }
ol { list-style: none; padding: 0; margin: 0; }

/* Obras: grade 3 colunas com destaque e card de chamada */
.work-grid { grid-template-columns: 1.2fr 1fr 1fr; }
.work--feature button { position: relative; min-height: 100%; }
.work--feature picture { position: absolute; inset: 0; }
.work--feature img { height: 100%; min-height: 0; aspect-ratio: auto; }
.work--cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 28px; background: var(--navy); background-image: radial-gradient(circle at 100% 0, rgba(237, 138, 45, .22), transparent 55%); }
.work--cta h3 { font-size: 1.3rem; }
.work--cta p { margin-bottom: 14px; }
@media (max-width: 920px) {
  .work--feature picture { position: static; }
  .work--feature img { aspect-ratio: 16 / 11; height: auto; }
}
@media (max-width: 640px) { .work--feature img { aspect-ratio: 4 / 4.4; } }

/* Sobre: painel da marca */
.about-panel { position: relative; overflow: hidden; border-radius: 22px; background: var(--navy); color: var(--on-dark); padding: clamp(32px, 5vw, 52px); display: flex; flex-direction: column; justify-content: space-between; min-height: 520px; isolation: isolate; }
.about-panel::after { content: ""; position: absolute; right: -150px; bottom: -150px; width: 420px; height: 420px; border-radius: 50%; border: 70px solid rgba(131, 131, 131, .1); z-index: -1; }
.about-symbol { width: 110px; height: auto; }
.about-panel-name { margin: 18px 0 auto; font-weight: 700; color: var(--white); font-size: 1.15rem; letter-spacing: .01em; }
.about-stats { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--navy-line); }
.about-stats li { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--navy-line); }
.about-stats b { color: var(--orange); font-size: 2.2rem; line-height: 1; min-width: 74px; }
.about-stats span { color: var(--on-dark-muted); font-size: .95rem; }
@media (max-width: 920px) { .about-panel { min-height: 0; } }
@media (max-width: 920px) { .contact-grid .form-card { order: -1; } }
