/* ===== Fonts (ospitati sul sito, licenza SIL Open Font License) ===== */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../assets/fonts/inter-variable.woff2") format("woff2"); }

/* ===== Tokens ===== */
:root {
  --ink: #16191d;          /* grafite quase preto */
  --asphalt: #23272c;      /* asfalto */
  --asphalt-2: #2e3339;
  --yellow: #ffc400;       /* amarelo segurança */
  --yellow-dark: #e0ac00;
  --light: #f3f4f6;
  --white: #ffffff;
  --text: #16191d;
  --text-2: #555d68;
  --on-dark: #ffffff;
  --on-dark-2: #b7bec8;
  --border: #e2e5ea;
  --border-dark: rgba(255, 255, 255, .12);

  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1180px;
  --radius: 6px;
  --shadow: 0 8px 24px rgba(22, 25, 29, .08);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; font-size: 1.0625rem; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.wrap--narrow { max-width: 820px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ===== Type ===== */
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--yellow); }
.kicker--yellow { color: var(--yellow); }
.title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1; max-width: 20ch; margin-bottom: .6em; }
.title--light { color: var(--on-dark); }
.muted-light { color: var(--on-dark-2); font-size: 1.1rem; max-width: 46ch; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 26px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-dark); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--asphalt-2); }
.btn--outline { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, .6); }
.btn--outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--on-dark); border-bottom: 1px solid var(--border-dark); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; border-radius: var(--radius); }
.logo__text { display: grid; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; line-height: 1; letter-spacing: .02em; }
.logo__text small { font-family: var(--font-body); font-size: .7rem; font-weight: 500; text-transform: none; color: var(--on-dark-2); letter-spacing: 0; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--on-dark-2); }
.nav a:not(.btn):hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--white); margin: 6px 0; }

/* ===== Hero ===== */
.hero { position: relative; background: var(--asphalt); color: var(--on-dark); overflow: hidden; }
/* Foto do topo escurecida à esquerda, onde fica o texto */
.hero__bg { position: absolute; inset: 0; background: var(--ink); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; display: block; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(22,25,29,.94) 0%, rgba(22,25,29,.78) 40%, rgba(22,25,29,.25) 75%, rgba(22,25,29,.15) 100%),
    linear-gradient(0deg, rgba(22,25,29,.7) 0%, transparent 35%); }
@media (max-width: 860px) {
  .hero__bg::after { background: rgba(22,25,29,.78); }
}
.hero__inner { position: relative; padding: clamp(80px, 12vw, 150px) 0 clamp(64px, 8vw, 110px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.hero__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 8vw, 6.2rem); line-height: .95; max-width: 13ch; margin-bottom: 24px; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #d6dbe1; max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__strip { position: relative; background: rgba(22, 25, 29, .85); border-top: 1px solid var(--border-dark); }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero__facts p { margin: 0; padding: 22px 24px 22px 0; color: var(--on-dark-2); font-size: .95rem; }
.hero__facts p + p { padding-left: 24px; border-left: 1px solid var(--border-dark); }
.hero__facts strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--white); text-transform: uppercase; line-height: 1.1; }
.hero__facts em { display: block; font-size: .75rem; color: var(--yellow); font-style: normal; }

/* ===== Sections ===== */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--light { background: var(--light); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--on-dark); }

.grid { display: grid; gap: 22px; margin-top: 36px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Hero sem foto (páginas secundárias) */
.hero--plain .hero__bg { background:
  linear-gradient(90deg, rgba(22,25,29,1) 0%, rgba(22,25,29,.9) 50%, rgba(22,25,29,.75) 100%),
  repeating-linear-gradient(135deg, rgba(255,196,0,.06) 0 2px, transparent 2px 22px),
  var(--asphalt); }
.hero--compact .hero__inner { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); }
.hero--compact .hero__title { font-size: clamp(2.6rem, 6vw, 4.4rem); }

/* Páginas legais */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; margin: 2em 0 .5em; }
.legal h3 { margin-top: 1.5em; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal th { color: var(--text); }
.legal .draft { background: #fff7d6; border-left: 4px solid var(--yellow); padding: 14px 18px; color: var(--text); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.head-row .title { margin-bottom: 0; }

/* Cards problema */
.card { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.card--line { border-top: 4px solid var(--yellow); }
.card__n { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--border); line-height: 1; margin-bottom: 14px; }
.card p { margin: 0; color: var(--text-2); }

/* Serviços */
.service { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.service:hover { border-color: var(--yellow); box-shadow: var(--shadow); }
.service p { margin: 0; color: var(--text-2); }
.icon { display: grid; place-items: center; width: 52px; height: 52px; background: var(--ink); border-radius: var(--radius); margin-bottom: 20px; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Perché io */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.checks li { position: relative; padding: 22px 0 22px 44px; border-bottom: 1px solid var(--border-dark); color: var(--on-dark-2); }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 26px; width: 24px; height: 24px; background: var(--yellow); border-radius: 4px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; }
.checks b { color: var(--white); }

/* Lavori */
.work { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.work__img { aspect-ratio: 16 / 10; background: #e7e9ed; display: grid; place-items: center; color: var(--text-2); font-size: .9rem; text-align: center; padding: 12px; border-bottom: 4px solid var(--yellow); }
.work__img--photo { padding: 0; }
.work__img--photo img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; }
.work__body { padding: 24px; }
.work h3 a { text-decoration: none; }
.work h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; }
.work__sector { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--text-2); margin-bottom: 6px; }
.work__body p:last-child { margin: 0; color: var(--text-2); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 26px; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--yellow) 0 18px, transparent 18px 30px); }
.steps li { position: relative; padding-right: 28px; }
.steps b { position: relative; display: grid; place-items: center; width: 54px; height: 54px; background: var(--ink); color: var(--yellow); font-family: var(--font-display); font-size: 1.6rem; border-radius: var(--radius); margin-bottom: 20px; }
.steps p { margin: 0; color: var(--text-2); }

/* Prezzi */
.plans { align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); padding: 34px 30px; border-radius: var(--radius); border: 1px solid var(--border); }
.plan h3 { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; font-weight: 700; }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--border); color: var(--text-2); position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 3px; background: var(--yellow); }
.plan--featured { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.plan--featured li { color: var(--on-dark-2); border-color: var(--border-dark); }
.plan__badge { position: absolute; top: -13px; left: 30px; background: var(--yellow); color: var(--ink); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 4px; text-transform: uppercase; letter-spacing: .06em; }

/* FAQ */
.faq { margin-top: 28px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1.1rem; padding: 22px 44px 22px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--text-2); padding-bottom: 18px; margin: 0; }

/* Chi sono */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about__photo { aspect-ratio: 4 / 5; background: #dfe2e7; border-radius: var(--radius); border-bottom: 6px solid var(--yellow); display: grid; place-items: center; color: var(--text-2); font-weight: 600; text-align: center; padding: 20px; max-width: 380px; }
.about p:not(.kicker) { font-size: 1.1rem; color: var(--text-2); max-width: 52ch; }

/* Contato */
.form { background: var(--white); color: var(--text); padding: 34px; border-radius: var(--radius); display: grid; gap: 16px; border-top: 4px solid var(--yellow); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input:not([type="checkbox"]) { font: inherit; min-height: 50px; padding: 10px 14px; border: 1px solid #c9ced6; border-radius: var(--radius); background: var(--white); }
.form input:focus { border-color: var(--ink); outline: 2px solid var(--yellow); outline-offset: 0; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--text-2); }
.form .check input { margin-top: 3px; width: 20px; height: 20px; flex: none; accent-color: var(--ink); }
.form .hp { position: absolute; left: -9999px; }
.form__msg { margin: 0; font-weight: 600; }
#contatto .btn--outline { margin-top: 8px; }

/* Footer */
.footer { background: var(--ink); color: var(--on-dark-2); padding: 48px 0; border-top: 1px solid var(--border-dark); font-size: .95rem; }
.footer b { color: var(--white); font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__credit { margin-top: 32px; font-size: .8rem; opacity: .7; }
.footer__links { display: grid; gap: 8px; align-content: start; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); }

/* WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service { transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .split, .about { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; display: none; border-bottom: 1px solid var(--border-dark); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border-dark); }
  .nav .btn { margin-top: 14px; }
  .grid--3, .grid--2, .footer__grid { grid-template-columns: 1fr; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts p { padding: 16px 0; }
  .hero__facts p + p { padding-left: 0; border-left: 0; border-top: 1px solid var(--border-dark); }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .logo__text small { display: none; }
}

/* =====================================================================
   v3: seções inspiradas no rmstecnologia.com
   ===================================================================== */
:root { --font-mono: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace; }

/* Rótulos em mono */
.kicker { font-family: var(--font-mono); font-weight: 600; letter-spacing: .16em; }
.kicker--center { justify-content: center; }
.center { text-align: center; }
.title--center { margin-inline: auto; }
.sub { color: var(--text-2); font-size: 1.1rem; max-width: 60ch; margin: 0 auto 8px; }
.sub--left { margin: 0 0 28px; }

/* Barra de progresso */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }

/* Barra de confiança */
.trust { background: var(--white); border-bottom: 1px solid var(--border); }
.trust__list { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 20px 0; }
.trust p { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: var(--text); }
.trust svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Notebook com rolagem automática */
.laptop { margin: 48px auto 0; max-width: 980px; }
.laptop__screen { background: #0f1114; border-radius: 16px 16px 0 0; padding: 14px 14px 0; box-shadow: 0 30px 80px rgba(22, 25, 29, .25); }
.laptop__bar { display: flex; align-items: center; gap: 6px; background: #23272c; border-radius: 8px 8px 0 0; padding: 9px 12px; }
.laptop__bar i { width: 10px; height: 10px; border-radius: 50%; background: #4a5059; }
.laptop__bar i:nth-child(1) { background: #ff5f57; }
.laptop__bar i:nth-child(2) { background: #febc2e; }
.laptop__bar i:nth-child(3) { background: #28c840; }
.laptop__bar span { margin-left: 12px; flex: 1; max-width: 320px; background: #16191d; color: #9aa3ad; font-size: .78rem; padding: 4px 12px; border-radius: 6px; }
.laptop__view { aspect-ratio: 16 / 10; overflow: hidden; background: #0b1f45; }
.laptop__view img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; animation: autoscroll 24s ease-in-out infinite alternate; }
.laptop:hover .laptop__view img { animation-play-state: paused; }
@keyframes autoscroll { 0%, 8% { object-position: 50% 0%; } 92%, 100% { object-position: 50% 100%; } }
.laptop__base { height: 18px; margin: 0 -5%; background: linear-gradient(#cfd4da, #9aa1a9); border-radius: 0 0 14px 14px; position: relative; }
.laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 7px; transform: translateX(-50%); background: #b3b9c0; border-radius: 0 0 8px 8px; }
.laptop figcaption { text-align: center; margin-top: 22px; }
.laptop figcaption a { font-weight: 600; text-decoration-color: var(--yellow); text-underline-offset: 4px; }

/* Prima / dopo */
.section--grid { background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 22px 22px; }
.versus { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 20px; margin-top: 44px; align-items: start; }
.versus__mid { align-self: center; }
.versus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.versus li { display: flex; gap: 16px; padding: 20px; border-radius: 10px; border: 1px solid var(--border-dark); background: rgba(255, 255, 255, .03); color: var(--on-dark-2); font-size: .95rem; line-height: 1.5; }
.versus li b { display: block; color: var(--white); font-size: 1.05rem; margin-bottom: 4px; }
.versus li small { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.versus__col:first-child li small { color: #f87171; }
.versus__col:last-child li small { color: #4ade80; }
.versus__col:last-child li { border-color: rgba(74, 222, 128, .22); background: rgba(74, 222, 128, .05); }
.versus__label { font-family: var(--font-mono); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; text-align: center; margin-bottom: 16px; }
.versus__label--bad { color: #f87171; }
.versus__label--good { color: #4ade80; }
.ico { flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; }
.ico--bad { background: rgba(239, 68, 68, .14); color: #f87171; }
.ico--good { background: rgba(74, 222, 128, .14); color: #4ade80; }
.versus__mid { text-align: center; }
.versus__mid span { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin-top: 8px; }
.arrows { display: flex; justify-content: center; gap: 2px; font-size: 1.8rem; font-weight: 700; }
.arrows i { font-style: normal; animation: arrow 1.6s ease-in-out infinite; }
.arrows i:nth-child(1) { color: #f87171; animation-delay: 0s; }
.arrows i:nth-child(2) { color: #fb923c; animation-delay: .15s; }
.arrows i:nth-child(3) { color: var(--yellow); animation-delay: .3s; }
.arrows i:nth-child(4) { color: #a3e635; animation-delay: .45s; }
.arrows i:nth-child(5) { color: #4ade80; animation-delay: .6s; }
@keyframes arrow { 0%, 100% { opacity: .35; transform: translateX(0); } 50% { opacity: 1; transform: translateX(4px); } }

/* Celular com abas */
.phone-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.feats li { display: flex; gap: 16px; color: var(--text-2); }
.feats b { display: block; color: var(--text); }
.icon--sm { width: 42px; height: 42px; margin: 0; flex: none; }
.icon--sm svg { width: 21px; height: 21px; }
.phone-demo { display: flex; flex-direction: column; align-items: center; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--light); border: 1px solid var(--border); border-radius: 999px; margin-bottom: 24px; }
.tabs button { font: inherit; font-weight: 600; font-size: .9rem; border: 0; background: transparent; color: var(--text-2); padding: 9px 18px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--yellow); }
.phone { position: relative; width: 290px; aspect-ratio: 9 / 19; background: #0f1114; border-radius: 42px; padding: 11px; box-shadow: 0 30px 70px rgba(22, 25, 29, .28), inset 0 0 0 2px #2e3339; }
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: #0f1114; border-radius: 20px; z-index: 2; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #0b1f45; }
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; transition: opacity .45s ease; }
.phone__screen img.is-active { opacity: 1; }
.phone-demo__cap { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin: 18px 0 0; }

/* Bento de serviços */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.tile { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile p { margin: 0; color: var(--text-2); }
.tile--big { grid-column: span 2; grid-row: span 2; justify-content: flex-end; }
.tile--big h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 2.4rem; font-weight: 800; }
.tile--big p { font-size: 1.1rem; max-width: 42ch; }
.tile--dark { background: var(--ink); border-color: var(--ink); color: var(--white); background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 22px 22px; }
.tile--dark p { color: var(--on-dark-2); }
.tile--dark .icon { background: var(--yellow); margin-bottom: auto; }
.tile--dark .icon svg { stroke: var(--ink); }
.tile--yellow { grid-column: span 2; background: var(--yellow); border-color: var(--yellow); }
.tile--yellow p { color: var(--ink); }
.icon--dark { background: var(--ink); }
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-dark); color: var(--on-dark-2); }

/* Números */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 40px 0 36px; }
.stat b { display: block; font-family: var(--font-mono); font-size: clamp(2.8rem, 6vw, 4.4rem); font-weight: 700; color: var(--white); line-height: 1; letter-spacing: -.02em; }
.stat p { color: var(--on-dark-2); margin: 12px 0 0; max-width: 30ch; }
.stat:first-child b { color: var(--yellow); }

/* Segmentos */
.segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.seg { background: var(--light); border-radius: 12px; padding: 26px; border-top: 3px solid var(--ink); transition: border-color .2s; }
.seg:hover { border-top-color: var(--yellow); }
.seg span { font-family: var(--font-mono); font-size: .8rem; color: var(--text-2); }
.seg h3 { margin-top: 26px; }
.seg p { margin: 0; color: var(--text-2); font-size: .95rem; }

/* Carrossel */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 2px 22px; margin-top: 36px; scrollbar-width: thin; }
.carousel > * { scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 10px; }
.carousel__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); }
.carousel__btn:hover { background: var(--ink); color: var(--yellow); }
.work { display: flex; flex-direction: column; }
.work__img--photo { display: block; overflow: hidden; }
.work__img--photo img { transition: transform .5s ease; }
.work:hover .work__img--photo img { transform: scale(1.04); }
.work--cta { background: var(--ink); color: var(--white); justify-content: flex-end; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 22px 22px; }
.work--cta .work__body { padding: 32px; }
.work--cta h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; font-weight: 800; color: var(--white); }
.work--cta .work__body p:last-of-type { color: var(--on-dark-2); margin-bottom: 22px; }
.work--cta .work__sector { color: var(--yellow); }

@media (prefers-reduced-motion: reduce) {
  .laptop__view img, .arrows i { animation: none; }
  .phone__screen img, .tile, .work__img--photo img { transition: none; }
}
@media (max-width: 1024px) {
  .versus { grid-template-columns: 1fr; }
  .versus__mid .arrows { transform: rotate(90deg); margin: 34px 0; }
  .phone-split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .segs { grid-template-columns: repeat(2, 1fr); }
  .carousel { grid-auto-columns: calc((100% - 22px) / 2); }
}
@media (max-width: 700px) {
  .trust__list { display: grid; grid-template-columns: 1fr 1fr; }
  .trust p { font-size: .85rem; }
  .bento, .segs, .stats { grid-template-columns: 1fr; }
  .tile--big, .tile--yellow { grid-column: auto; grid-row: auto; }
  .tile--big h3 { font-size: 2rem; }
  .carousel { grid-auto-columns: 85%; }
  .phone { width: 250px; }
  .laptop__base { margin: 0 -3%; }
}

.tile--wide { grid-column: span 2; }
@media (max-width: 700px) { .tile--wide { grid-column: auto; } }

/* ===== Attività locali: schermate di esempio (HTML) e comuni ===== */
.mock { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; background: #fff; color: #1f2328; font-size: 12px; line-height: 1.4; display: flex; flex-direction: column; }
.mock.is-active { opacity: 1; }
.mock__photo { height: 38%; background: url(../assets/hero/hero-borgo-960.webp) 50% 70% / cover; flex: none; }
.mock__body { padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mock__name { font-size: 17px; font-weight: 700; margin: 0; }
.mock__meta { color: #5f6368; margin: 0; }
.mock__open { color: #188038; font-weight: 600; }
.mock__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.mock__btns span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px; border-radius: 10px; background: #e8f0fe; color: #1a56c4; font-weight: 600; font-size: 11px; }
.mock__btns span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.mock__row { border-top: 1px solid #eceff1; padding-top: 8px; margin: 0; color: #3c4043; }
.mock--site { background: #faf7f2; }
.mock__bar { display: flex; justify-content: space-between; align-items: center; padding: 34px 14px 10px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 15px; }
.mock__bar i { width: 18px; height: 2px; background: #1f2328; box-shadow: 0 5px 0 #1f2328, 0 -5px 0 #1f2328; }
.mock__hero { margin: 0 10px; height: 34%; border-radius: 14px; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 60%), url(../assets/hero/hero-borgo-960.webp) 50% 70% / cover; display: flex; align-items: flex-end; padding: 12px; color: #fff; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 20px; line-height: 1; flex: none; }
.mock__list { padding: 12px 14px; display: grid; gap: 8px; }
.mock__list p { margin: 0; display: flex; justify-content: space-between; border-bottom: 1px dashed #d9d3c7; padding-bottom: 6px; }
.mock__cta { margin: auto 10px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mock__cta span { text-align: center; padding: 10px 4px; border-radius: 10px; font-weight: 700; background: #1f2328; color: #fff; }
.mock__cta span:last-child { background: #25d366; color: #0b2e17; }
.mock--chat { background: #efeae2; }
.mock__head { background: #075e54; color: #fff; padding: 34px 14px 12px; font-weight: 700; font-size: 14px; flex: none; }
.mock__head small { display: block; font-weight: 400; opacity: .8; font-size: 11px; }
.mock__msgs { padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; }
.mock__msgs p { margin: 0; max-width: 80%; padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.mock__msgs p.me { align-self: flex-end; background: #d9fdd3; }

.towns { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.towns li { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); font-weight: 600; font-size: .95rem; }
.towns li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 196, 0, .25); }
.towns-note { margin-top: 24px; color: var(--text-2); max-width: 70ch; }
@media (prefers-reduced-motion: reduce) { .mock { transition: none; } }

/* Foto di Marco */
.about__photo--img { padding: 0; margin: 0; overflow: hidden; background: var(--ink); }
.about__photo--img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.about__photo.perche__photo { position: relative; max-width: 300px; margin-top: 32px; }
.perche__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; background: linear-gradient(0deg, rgba(22,25,29,.85), rgba(22,25,29,0)); color: var(--white); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 700px) { .about__photo.perche__photo { max-width: 260px; } }

/* =====================================================================
   Tema "attività locali" (/attivita-locali/): più caldo e accogliente.
   Stessi font e stesso giallo del marchio; grafite e grigi diventano
   tonalità calde (crema, terra), angoli più morbidi, foto vere.
   ===================================================================== */
.theme-local {
  --ink: #1f1a16;          /* bruno quasi nero */
  --asphalt: #2b241e;
  --asphalt-2: #3a3129;
  --light: #f6f0e6;        /* crema */
  --text: #1f1a16;
  --text-2: #62584d;
  --on-dark-2: #cbbfb0;
  --border: #e9dfd0;
  --border-dark: rgba(255, 240, 220, .12);
  --radius: 10px;
  --shadow: 0 10px 30px rgba(60, 40, 20, .10);
  background: #fffdf9;
}
.theme-local .section--white { background: #fffdf9; }
.theme-local .trust { background: #fffdf9; }
.theme-local .btn { border-radius: 999px; }
.theme-local .tile { border-radius: 18px; }
.theme-local .versus li { border-radius: 14px; }
.theme-local .form { border-radius: 18px; }
.theme-local .perche__photo { border-radius: 18px; }
.theme-local .perche__photo figcaption { background: linear-gradient(0deg, rgba(31,26,22,.85), rgba(31,26,22,0)); }

/* Hero con foto della piazza + cellulare che mostra il risultato su Google */
.hero--local .hero__bg img { object-position: 50% 70%; }
.hero--local .hero__bg::after { background:
  linear-gradient(90deg, rgba(31,26,22,.93) 0%, rgba(31,26,22,.80) 38%, rgba(31,26,22,.35) 70%, rgba(31,26,22,.25) 100%),
  linear-gradient(0deg, rgba(31,26,22,.65) 0%, transparent 40%); }
.hero__inner--split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero--local .hero__title { font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
.hero-visual { position: relative; justify-self: center; padding: 20px 70px; }
.phone--hero { width: 270px; transform: rotate(3deg); box-shadow: 0 40px 80px rgba(0,0,0,.45), inset 0 0 0 2px #3a3129; }
.phone--hero .phone__screen { background: #fff; }

.serp { position: absolute; inset: 0; background: #fff; color: #202124; font-size: 12px; line-height: 1.35; display: flex; flex-direction: column; gap: 9px; padding: 40px 12px 12px; }
.serp p { margin: 0; }
.serp__search { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px; box-shadow: 0 1px 6px rgba(32,33,36,.22); font-size: 12px; color: #3c4043; }
.serp__search i { width: 10px; height: 10px; border: 2px solid #9aa0a6; border-radius: 50%; flex: none; }
.serp__map { position: relative; height: 92px; border-radius: 12px; flex: none;
  background:
    linear-gradient(115deg, transparent 46%, #fff 46%, #fff 50%, transparent 50%),
    linear-gradient(20deg, transparent 60%, #fde68a 60%, #fde68a 63%, transparent 63%),
    linear-gradient(160deg, transparent 30%, #fff 30%, #fff 33%, transparent 33%),
    #e8efe3; }
.pin { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #9aa0a6; }
.pin--a { left: 46%; top: 26%; width: 20px; height: 20px; background: #ea4335; box-shadow: 0 3px 8px rgba(234,67,53,.5); }
.pin--b { left: 20%; top: 52%; }
.pin--c { left: 74%; top: 58%; }
.serp__item { border-radius: 12px; padding: 10px 11px; border: 1px solid #eceff1; }
.serp__item--top { border: 2px solid #1a73e8; box-shadow: 0 6px 16px rgba(26,115,232,.18); }
.serp__name { font-weight: 700; font-size: 14px; color: #1a0dab; }
.serp__stars { color: #fbbc04; font-size: 11px; letter-spacing: .5px; }
.serp__stars b { color: #202124; margin-right: 2px; }
.serp__stars span { color: #70757a; }
.serp__meta { color: #70757a; }
.serp__meta em { font-style: normal; color: #188038; font-weight: 600; }
.serp__btns { display: flex; gap: 5px; margin-top: 8px; }
.serp__btns span { flex: 1; text-align: center; padding: 6px 2px; border-radius: 999px; border: 1px solid #dadce0; color: #1a73e8; font-weight: 600; font-size: 10px; }
.serp__btns span:first-child { background: #1a73e8; border-color: #1a73e8; color: #fff; }
.serp__item--ghost { display: grid; gap: 6px; opacity: .7; }
.serp__item--ghost p { height: 9px; border-radius: 6px; background: #eceff1; }
.serp__item--ghost p + p { width: 60%; }

.float { position: absolute; background: #fff; color: #1f1a16; border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.30); font-size: .82rem; line-height: 1.4; }
.float p { margin: 0; }
.float--review { left: -10px; bottom: 70px; width: 200px; padding: 12px 14px; transform: rotate(-3deg); }
.float--review b { color: #f5a400; letter-spacing: 1px; display: block; margin-bottom: 4px; }
.float--wa { right: -6px; top: 70px; display: flex; gap: 10px; align-items: center; padding: 10px 14px 10px 10px; width: 220px; }
.float--wa b { display: block; font-size: .78rem; }
.float__ico { width: 34px; height: 34px; border-radius: 50%; background: #25d366; flex: none; position: relative; }
.float__ico::after { content: ""; position: absolute; inset: 10px; border: 2px solid #fff; border-radius: 50% 50% 50% 0; }
@media (max-width: 960px) {
  .hero__inner--split { grid-template-columns: 1fr; }
  .hero-visual { padding: 10px 40px 0; }
}
@media (max-width: 520px) {
  .hero-visual { padding: 0 10px; }
  .phone--hero { width: 240px; }
  .float--review { left: -4px; bottom: 30px; width: 170px; }
  .float--wa { right: -4px; top: 40px; width: 190px; }
}

/* Settori con foto */
.segs--photo .seg { padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.segs--photo .seg:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(60,40,20,.16); }
.segs--photo .seg img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.segs--photo .seg div { padding: 20px 22px 24px; }
.segs--photo .seg h3 { margin: 0 0 6px; }
.theme-local .section--white .segs--photo .seg { background: var(--light); box-shadow: none; }
/* ajustes hero locale */
.hero--local .hero__bg::after { background:
  linear-gradient(90deg, rgba(31,26,22,.90) 0%, rgba(31,26,22,.72) 36%, rgba(31,26,22,.18) 68%, rgba(31,26,22,.10) 100%),
  linear-gradient(0deg, rgba(31,26,22,.55) 0%, transparent 35%); }
.float--wa { top: auto; bottom: 120px; right: -34px; }
.float--review { bottom: auto; top: 150px; left: -40px; width: 190px; }
@media (max-width: 960px) {
  .hero--local .hero__bg::after { background: linear-gradient(180deg, rgba(31,26,22,.82) 0%, rgba(31,26,22,.70) 55%, rgba(31,26,22,.45) 100%); }
}
@media (max-width: 520px) {
  .phone--hero { width: 220px; }
  .float--review { display: none; }
  .float--wa { right: -2px; bottom: 70px; width: 190px; }
}
.float { z-index: 3; }
@media (min-width: 521px) {
  .float--review { top: auto; bottom: 36px; left: -46px; }
  .float--wa { bottom: 190px; }
}
.serp__btns span { white-space: nowrap; } @media (max-width: 520px) { .serp__btns span { font-size: 9px; } }

/* ===== Home trasporto: notifiche nel hero + settori con foto ===== */
.notifs { position: absolute; right: 0; bottom: clamp(40px, 6vw, 80px); display: grid; gap: 12px; width: 330px; }
.notif { display: flex; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 12px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.35); font-size: .85rem; line-height: 1.35; }
.notif:nth-child(2) { margin-left: 40px; margin-right: -40px; }
.notif p { margin: 0; color: var(--text-2); }
.notif small { display: block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.notif b { display: block; color: var(--ink); font-size: .92rem; }
.notif__ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--yellow); }
.notif__ico--driver { background: var(--ink); }
.notif__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notif__ico--driver svg { stroke: var(--yellow); }
@media (max-width: 1100px) { .notif:nth-child(2) { margin: 0; } }
@media (max-width: 960px) {
  .notifs { position: static; width: auto; max-width: 360px; margin-top: 36px; }
}

.segs--photo .seg span { display: block; font-family: var(--font-mono); font-size: .75rem; color: var(--text-2); margin-bottom: 6px; }
body:not(.theme-local) .segs--photo .seg { border-radius: 12px; border-bottom: 3px solid var(--ink); }
body:not(.theme-local) .segs--photo .seg:hover { border-bottom-color: var(--yellow); }
