:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-card: rgba(255, 255, 255, 0.94);
  --surface-elevated: rgba(255, 255, 255, 0.98);
  --surface-soft: rgba(255, 255, 255, 0.78);
  --surface-input: rgba(255, 255, 255, 0.98);
  --surface-strong: #08131d;
  --ink: #0d1822;
  --ink-soft: #5e6b79;
  --line: rgba(13, 24, 34, 0.1);
  --accent: #2e79ff;
  --accent-rgb: 46 121 255;
  --accent-strong: #1358cf;
  --accent-soft: #eaf2ff;
  --accent-warm: #66b8ff;
  --page-start: #ffffff;
  --page-end: #edf3fb;
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-border: rgba(13, 24, 34, 0.08);
  --page-glow-one: rgba(46, 121, 255, 0.16);
  --page-glow-two: rgba(102, 184, 255, 0.14);
  --gallery-overlay: rgba(8, 19, 29, 0.72);
  --shadow-xl: 0 28px 80px rgba(11, 22, 33, 0.18);
  --shadow-lg: 0 18px 46px rgba(11, 22, 33, 0.14);
  --shadow-md: 0 12px 28px rgba(11, 22, 33, 0.1);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --container: 1140px;
  --font-heading: "Manrope", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: #071019;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  padding-bottom: 32px;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, var(--page-glow-one), transparent 24%),
    radial-gradient(circle at right 15%, var(--page-glow-two), transparent 20%),
    linear-gradient(180deg, var(--page-start) 0%, var(--bg) 55%, var(--page-end) 100%);
  transition: background 0.25s ease, color 0.25s ease;
}

body[data-theme="dark"] {
  --bg: #08121d;
  --bg-soft: #101c28;
  --surface: rgba(10, 22, 35, 0.86);
  --surface-card: rgba(11, 24, 38, 0.88);
  --surface-elevated: rgba(13, 26, 40, 0.96);
  --surface-soft: rgba(11, 24, 38, 0.78);
  --surface-input: rgba(9, 20, 31, 0.94);
  --surface-strong: #eef4fb;
  --ink: #eff5fb;
  --ink-soft: #9eb1c4;
  --line: rgba(255, 255, 255, 0.1);
  --page-start: #071019;
  --page-end: #122230;
  --header-bg: rgba(6, 14, 23, 0.92);
  --header-border: rgba(255, 255, 255, 0.06);
  --page-glow-one: rgba(46, 121, 255, 0.12);
  --page-glow-two: rgba(102, 184, 255, 0.1);
  --shadow-xl: 0 28px 80px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 18px 46px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.24);
}

body[data-palette="coral"] {
  --accent: #d4373a;
  --accent-rgb: 212 55 58;
  --accent-strong: #b82030;
  --accent-soft: #ffefe9;
  --accent-warm: #ff8f64;
}

body[data-palette="ocean"] {
  --accent: #2e79ff;
  --accent-rgb: 46 121 255;
  --accent-strong: #1358cf;
  --accent-soft: #eaf2ff;
  --accent-warm: #66b8ff;
}

body[data-palette="emerald"] {
  --accent: #14956d;
  --accent-rgb: 20 149 109;
  --accent-strong: #0e7454;
  --accent-soft: #e7fbf4;
  --accent-warm: #57d3a5;
}

body[data-palette="amber"] {
  --accent: #d2851b;
  --accent-rgb: 210 133 27;
  --accent-strong: #aa650e;
  --accent-soft: #fff2df;
  --accent-warm: #f2b247;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

::selection {
  color: #ffffff;
  background: var(--accent);
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.7;
}

.page-glow-one {
  top: 72px;
  right: -100px;
  background: var(--page-glow-one);
}

.page-glow-two {
  bottom: 120px;
  left: -120px;
  background: var(--page-glow-two);
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 18px;
  left: 18px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  clip: auto;
  z-index: 120;
  border-radius: 999px;
  background: var(--surface-elevated);
  color: var(--ink);
}

.container {
  width: min(calc(100% - 24px), var(--container));
  margin: 0 auto;
}

.header-shell > *,
.page-hero-grid > *,
.split-grid > *,
.quote-grid > *,
.card-grid > *,
.hero-facts > *,
.app-nav > * {
  min-width: 0;
}

.narrow-shell {
  max-width: 820px;
}

.app-main {
  padding-top: 10px;
}

.section {
  padding: 54px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--header-border);
  background: var(--header-bg);
  backdrop-filter: blur(20px);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: auto;
  flex-shrink: 0;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  min-width: 0;
}

.site-menu-link {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.site-menu-link:hover,
.site-menu-link:focus-visible,
.site-menu-link[aria-current="page"] {
  color: var(--accent);
}

.header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-small {
  min-height: 46px;
  padding: 0 18px;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
  box-shadow: 0 18px 36px rgb(var(--accent-rgb) / 0.26);
}

.button-secondary {
  background: var(--surface-soft);
  border-color: var(--line);
  color: var(--ink);
}

.install-app-button[hidden] {
  display: none !important;
}

.install-app-button::before,
.header-utility::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
}

.install-app-button::before {
  width: 14px;
  height: 14px;
  margin-right: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v11'/%3E%3Cpath d='m7.5 10.5 4.5 4.5 4.5-4.5'/%3E%3Cpath d='M4 17.5h16'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v11'/%3E%3Cpath d='m7.5 10.5 4.5 4.5 4.5-4.5'/%3E%3Cpath d='M4 17.5h16'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header-utility::before {
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  box-shadow: 0 0 0 7px rgb(var(--accent-rgb) / 0.12);
}

.page-hero {
  padding: 26px 0 22px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 28px;
  align-items: center;
}

.page-hero-copy,
.hero-showcase,
.section-heading,
.footer-copy,
.video-copy,
.quote-copy,
.quote-form,
.style-panel-copy,
.style-controls,
.style-group {
  display: grid;
  gap: 18px;
}

.eyebrow,
.contact-card small {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent);
}

.page-hero h1,
.section-heading h2,
.quote-copy h2,
.cta-card h2 {
  font-family: var(--font-heading);
  line-height: 1.03;
  letter-spacing: -0.05em;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.page-hero h1 {
  font-size: clamp(2.45rem, 5.4vw, 5.1rem);
  max-width: 11.5ch;
}

.hero-lead,
.section-heading p,
.feature-card p,
.service-card p,
.rule-card p,
.process-card p,
.contact-card p,
.quote-copy p,
.video-copy p,
.gallery-meta small,
.footer-copy p,
.faq-list p,
.info-card span,
.cta-card p {
  color: var(--ink-soft);
  line-height: 1.76;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.hero-actions,
.pill-row,
.cta-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.hero-list li {
  position: relative;
  padding-left: 20px;
  font-weight: 600;
  color: var(--ink);
}

.hero-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgb(var(--accent-rgb) / 0.14);
}

.hero-showcase {
  gap: 16px;
}

.hero-photo-card,
.feature-card,
.service-card,
.rule-card,
.process-card,
.contact-card,
.quote-form-card,
.video-card,
.cta-card,
.info-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.hero-photo-card {
  overflow: hidden;
  aspect-ratio: 1.16 / 1;
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 2% center;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.feature-card,
.service-card,
.rule-card,
.process-card,
.contact-card {
  padding: 24px;
}

.info-card strong,
.feature-card strong,
.service-card strong,
.rule-card strong,
.process-card strong,
.contact-card strong,
.video-copy strong,
.quote-preview strong,
.faq-list summary,
.cta-card h2 {
  display: block;
  font-family: var(--font-heading);
  color: var(--ink);
}

.info-card strong,
.feature-card strong,
.service-card strong,
.rule-card strong,
.process-card strong,
.contact-card strong,
.video-copy strong,
.faq-list summary {
  font-size: 1.08rem;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading h2,
.quote-copy h2,
.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.accent-section {
  position: relative;
}

.process-card {
  background:
    radial-gradient(circle at top right, rgb(var(--accent-rgb) / 0.14), transparent 32%),
    var(--surface-card);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: rgb(var(--accent-rgb) / 0.12);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 800;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}

.photo-grid,
.video-grid,
.quote-grid,
.form-grid {
  display: grid;
  gap: 18px;
}

.photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: transparent;
  aspect-ratio: 4 / 3;
  transition: transform 0.22s ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-3px);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.04);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, var(--gallery-overlay) 100%);
}

.gallery-meta {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 18px;
  text-align: left;
}

.gallery-meta strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-family: var(--font-heading);
}

.gallery-meta small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-card {
  overflow: hidden;
}

.video-card video {
  width: 100%;
  background: #02070c;
}

.video-copy {
  padding: 22px 24px 24px;
}

.quote-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
}

.quote-form-card {
  padding: 24px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-form label {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}

.quote-form label span {
  font-size: 0.94rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-input);
  color: var(--ink);
  padding: 15px 16px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: rgb(var(--accent-rgb) / 0.45);
  box-shadow: 0 0 0 5px rgb(var(--accent-rgb) / 0.12);
  background: var(--surface-elevated);
}

.quote-form textarea {
  resize: vertical;
  min-height: 146px;
}

.quote-preview {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgb(var(--accent-rgb) / 0.08), rgb(255 255 255 / 0.02));
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  position: relative;
  padding-right: 30px;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: -4px;
  right: 0;
  font-size: 1.6rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list p {
  margin-top: 12px;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 28px;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}

.footer-copy {
  display: grid;
  gap: 8px;
  max-width: 620px;
}

.footer-copy strong {
  font-family: var(--font-heading);
  font-size: 1rem;
}

.footer-credit {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.footer-credit a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--ink-soft);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.site-footer {
  padding: 0 0 26px;
}

.floating-whatsapp {
  position: fixed;
  right: 14px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 34;
  width: 82px;
  height: 82px;
  background: transparent;
  box-shadow: none;
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("whatsapp.png") center / contain no-repeat;
}

.app-nav {
  position: fixed;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 42;
  display: none;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  width: min(calc(100vw - 40px), 428px);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface-elevated) 88%, transparent);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  overflow: hidden;
}

.app-nav-link {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  padding: 10px 4px 9px;
  border-radius: 20px;
  color: var(--ink-soft);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.app-nav-link span {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-nav-link::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: var(--nav-icon) center / contain no-repeat;
  mask: var(--nav-icon) center / contain no-repeat;
}

.app-nav-link[data-app-link="resumo"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5.5 9.5V20h13V9.5'/%3E%3Cpath d='M9.5 20v-5h5v5'/%3E%3C/svg%3E");
}

.app-nav-link[data-app-link="servicos"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7.5h7v7H4z'/%3E%3Cpath d='M13 7.5h7v7h-7z'/%3E%3Cpath d='M4 15.5h7v3H4z'/%3E%3Cpath d='M13 15.5h7v3h-7z'/%3E%3C/svg%3E");
}

.app-nav-link[data-app-link="compartilhadas"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6.5h11l2 3h5v7H3z'/%3E%3Cpath d='M7 18.5h.01'/%3E%3Cpath d='M17 18.5h.01'/%3E%3Cpath d='M7 18.5a1.5 1.5 0 1 0 0 .01z'/%3E%3Cpath d='M17 18.5a1.5 1.5 0 1 0 0 .01z'/%3E%3C/svg%3E");
}

.app-nav-link[data-app-link="galeria"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.5'/%3E%3Cpath d='m6.5 16 4-4 3 3 2.5-2.5 2 2.5'/%3E%3C/svg%3E");
}

.app-nav-link[data-app-link="operacao"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.5h16v11H4z'/%3E%3Cpath d='m10 10 5 3-5 3z'/%3E%3Cpath d='M8 4.5h8'/%3E%3C/svg%3E");
}

.app-nav-link[data-app-link="contato"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6.5h14v11H5z'/%3E%3Cpath d='m6.5 8 5.5 4 5.5-4'/%3E%3C/svg%3E");
}

.app-nav-link:hover,
.app-nav-link:focus-visible {
  transform: translateY(-2px);
}

.app-nav-link[aria-current="page"],
.app-nav-link.is-active {
  color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.1);
  box-shadow: inset 0 0 0 1px rgb(var(--accent-rgb) / 0.16);
}

.style-modal,
.lightbox,
.install-modal {
  border: 0;
  padding: 0;
  background: transparent;
}

.style-modal {
  width: min(92vw, 880px);
  color: var(--ink);
}

.style-modal::backdrop,
.lightbox::backdrop,
.install-modal::backdrop {
  background: rgba(4, 10, 15, 0.62);
  backdrop-filter: blur(10px);
}

.style-panel {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 2px);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-xl);
}

.style-panel-modal {
  grid-template-columns: 1fr;
}

.style-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.2rem;
  z-index: 3;
}

.style-label {
  font-weight: 800;
  color: var(--ink);
}

.style-toggle,
.palette-grid {
  display: grid;
  gap: 12px;
}

.style-toggle {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.palette-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.style-chip,
.palette-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
  color: var(--ink);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.style-chip {
  min-height: 50px;
  padding: 0 18px;
  font-weight: 800;
}

.palette-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  text-align: left;
}

.style-chip.is-active,
.palette-card.is-active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
  box-shadow: 0 18px 36px rgb(var(--accent-rgb) / 0.22);
}

.palette-swatches {
  display: inline-flex;
  gap: 10px;
}

.swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35);
}

.palette-card[data-palette-control="coral"] .swatch-primary {
  background: #d4373a;
}

.palette-card[data-palette-control="coral"] .swatch-secondary {
  background: #ff8f64;
}

.palette-card[data-palette-control="ocean"] .swatch-primary {
  background: #2e79ff;
}

.palette-card[data-palette-control="ocean"] .swatch-secondary {
  background: #66b8ff;
}

.palette-card[data-palette-control="emerald"] .swatch-primary {
  background: #14956d;
}

.palette-card[data-palette-control="emerald"] .swatch-secondary {
  background: #57d3a5;
}

.palette-card[data-palette-control="amber"] .swatch-primary {
  background: #d2851b;
}

.palette-card[data-palette-control="amber"] .swatch-secondary {
  background: #f2b247;
}

.gallery-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.install-modal {
  width: min(92vw, 520px);
}

.install-modal-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-xl);
  color: var(--ink);
}

.install-modal-copy,
.install-modal-actions {
  display: grid;
  gap: 16px;
}

.install-modal-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lightbox {
  width: min(92vw, 1000px);
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgb(4 10 15 / 0.94);
  box-shadow: var(--shadow-xl);
}

.lightbox-frame {
  display: grid;
  gap: 14px;
}

.lightbox-close {
  margin-left: auto;
  margin-bottom: 12px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
}

#lightbox-image {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 20px;
}

#lightbox-caption {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

[data-reveal],
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

body.is-standalone .install-app-button,
body.is-standalone [data-install-app] {
  display: none !important;
}

body.is-standalone .floating-whatsapp {
  bottom: calc(94px + env(safe-area-inset-bottom, 0px));
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgb(var(--accent-rgb) / 0.28);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  body {
    padding-bottom: 132px;
  }

  .page-hero-grid,
  .quote-grid,
  .split-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .three-up,
  .four-up,
  .gallery-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero h1 {
    max-width: 12ch;
  }

  .site-menu {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .app-nav {
    display: grid;
  }

  .floating-whatsapp {
    bottom: calc(94px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 126px;
  }

  .page-glow {
    display: none;
  }

  .header-shell {
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
  }

  .header-actions .button {
    width: 100%;
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .page-hero {
    padding-top: 20px;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 7.9vw, 2.9rem);
    max-width: none;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-facts,
  .photo-grid,
  .gallery-page-grid,
  .form-grid,
  .install-modal-actions,
  .style-toggle,
  .palette-grid,
  .three-up,
  .four-up {
    grid-template-columns: 1fr;
  }

  .cta-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .app-nav {
    width: calc(100vw - 20px);
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    padding: 6px;
  }

  .app-nav-link {
    gap: 6px;
    font-size: 0.46rem;
    letter-spacing: 0.03em;
    padding: 10px 2px 8px;
  }

  .floating-whatsapp {
    width: 56px;
    height: 56px;
    right: 10px;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .style-panel,
  .install-modal-card {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .header-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 18px), var(--container));
  }

  .brand img {
    width: 54px;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .button-small {
    min-height: 44px;
    padding: 0 14px;
  }

  .header-actions {
    grid-template-columns: 1fr;
  }

  .header-utility::before,
  .install-app-button::before {
    margin-right: 8px;
  }

  .gallery-meta {
    padding: 15px;
  }

  .footer-links {
    gap: 10px;
  }

  .style-modal {
    width: min(100vw - 12px, 880px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
