﻿/* ==========================================================================
   Porto de Areia 3 Irm?os ? styles
   1. Reset | 2. Vari?veis | 3. Globais | 4. Container | 5. Header
   6. Hero | 7. Bot?es | 8. Produtos | 9. Diferenciais | 10. Sobre
   11. Formul?rio | 12. Localiza??o | 13. Rodap? | 14. WhatsApp
   15. Anima??es | 16. Media queries
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  background: var(--color-primary-dark);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

address {
  font-style: normal;
}

/* --------------------------------------------------------------------------
   2. Vari?veis
   -------------------------------------------------------------------------- */
:root {
  --color-primary: #092b5a;
  --color-primary-dark: #061d3d;
  --color-gold: #c89a24;
  --color-gold-dark: #a67d1a;
  --color-red: #c9232c;
  --color-sand: #d8c39a;
  --color-light: #f4f5f7;
  --color-dark: #1f2937;
  --color-white: #ffffff;
  --color-muted: #5b6573;

  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 2px 8px rgba(6, 29, 61, 0.08);
  --shadow-md: 0 8px 24px rgba(6, 29, 61, 0.12);
  --radius: 10px;
  --header-height: 112px;
  --container: 1120px;
  --focus-ring: 0 0 0 3px rgba(200, 154, 36, 0.55);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
}

/* --------------------------------------------------------------------------
   3. Elementos globais
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-white);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--color-primary-dark);
}

p {
  color: var(--color-muted);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--color-gold);
  color: var(--color-primary-dark);
  font-weight: 600;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

.required {
  color: var(--color-red);
}

/* --------------------------------------------------------------------------
   4. Container / Se??es
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-8);
}

.section__header {
  max-width: 40rem;
  margin-bottom: var(--space-6);
}

.section__header--center {
  margin-inline: auto;
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.section__title {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-3);
}

.section__title--light {
  color: var(--color-white);
}

.section__lead {
  font-size: 1.0625rem;
}

/* --------------------------------------------------------------------------
   5. Cabe?alho
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(9, 43, 90, 0.08);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: var(--space-4);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
}

.header__logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-white);
}

.header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.header__brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header__brand-sub {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gold-dark);
}

.header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
  z-index: 1002;
  flex-shrink: 0;
  margin-left: auto;
}

.header__toggle:hover {
  background: var(--color-light);
}

.header__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(20rem, 88vw);
  max-width: 100%;
  background: var(--color-white);
  padding: calc(var(--header-height) + 1rem) 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(110%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, visibility 0.3s ease;
  z-index: 1001;
  box-shadow: var(--shadow-md);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 959px) {
  .nav:not(.is-open) {
    /* Impede o drawer fechado de expandir a largura no iOS Safari */
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav__link {
  display: block;
  padding: 0.75rem 0.5rem;
  font-weight: 560;
  font-size: 1rem;
  color: var(--color-primary);
  border-radius: 6px;
}

.nav__link:hover,
.nav__link:focus-visible {
  background: var(--color-light);
  color: var(--color-primary-dark);
}

.header__cta {
  width: 100%;
  text-align: center;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 29, 61, 0.5);
  z-index: 999;
}

.nav-overlay[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(6, 29, 61, 0.55) 0%,
      rgba(6, 29, 61, 0.72) 45%,
      rgba(6, 29, 61, 0.92) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-8);
  max-width: 48rem;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(200, 154, 36, 0.55);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sand);
}

.hero__title {
  color: var(--color-white);
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  margin-bottom: var(--space-4);
  text-wrap: balance;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.0625rem;
  margin-bottom: var(--space-5);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: var(--space-6);
}

.hero__indicators {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(216, 195, 154, 0.25);
}

.hero__indicator {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__indicator-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--color-gold);
}

.hero__indicator-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------------------------------
   7. Bot?es
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  min-height: 42px;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn--full {
  width: 100%;
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-primary-dark);
  border-color: var(--color-gold);
}

.btn--gold:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-white);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--ghost:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   8. Produtos
   -------------------------------------------------------------------------- */
.products {
  background: var(--color-light);
}

.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.product-card {
  background: var(--color-white);
  border: 1px solid rgba(9, 43, 90, 0.08);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
}

.product-card__icon svg {
  width: 100%;
  height: 100%;
}

.product-card__title {
  font-size: 1.35rem;
}

.product-card__desc {
  flex: 1;
  font-size: 0.95rem;
}

.product-card .btn {
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   Faixa CTA
   -------------------------------------------------------------------------- */
.cta-band {
  background:
    linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding-block: var(--space-7);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(200, 154, 36, 0.04) 12px,
      rgba(200, 154, 36, 0.04) 24px
    );
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.cta-band__title {
  color: var(--color-white);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  max-width: 28ch;
}

/* --------------------------------------------------------------------------
   9. Diferenciais
   -------------------------------------------------------------------------- */
.differentials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.diff-card {
  padding: 1.35rem;
  border: 1px solid rgba(9, 43, 90, 0.1);
  border-radius: var(--radius);
  background: var(--color-white);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.diff-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.diff-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  color: var(--color-gold);
}

.diff-card__icon svg {
  width: 100%;
  height: 100%;
}

.diff-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.diff-card__desc {
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   10. Sobre
   -------------------------------------------------------------------------- */
.about {
  background: var(--color-light);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

.about__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 11;
  max-height: 420px;
  background: var(--color-primary-dark);
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about__text {
  margin-bottom: var(--space-5);
}

.about__blocks {
  display: grid;
  gap: 1rem;
}

.about-block {
  background: var(--color-white);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.15rem 1.25rem;
}

.about-block__title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.about-block__text,
.about-block__list {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.about-block__list {
  display: grid;
  gap: 0.35rem;
}

.about-block__list li {
  position: relative;
  padding-left: 1rem;
}

.about-block__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
}

/* --------------------------------------------------------------------------
   Entregas
   -------------------------------------------------------------------------- */
.delivery {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.delivery__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}

.delivery__svg {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  border-radius: var(--radius);
}

.delivery__text {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-5);
  max-width: 36rem;
}

/* --------------------------------------------------------------------------
   11. Formul?rio
   -------------------------------------------------------------------------- */
.quote {
  background: var(--color-light);
}

.quote__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}

.quote__highlights {
  margin-top: var(--space-5);
  display: grid;
  gap: 0.65rem;
}

.quote__highlights li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--color-dark);
  font-weight: 500;
}

.quote__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--color-gold);
  border-radius: 2px;
}

.quote-form {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(9, 43, 90, 0.08);
  display: grid;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(31, 41, 55, 0.2);
  border-radius: 8px;
  background: var(--color-white);
  font-size: 16px; /* evita zoom autom?tico no iOS */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: var(--focus-ring);
  outline: none;
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: var(--color-red);
}

.form-error {
  font-size: 0.8125rem;
  color: var(--color-red);
  font-weight: 500;
}

.form-error[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   12. Localiza??o
   -------------------------------------------------------------------------- */
.location__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 1.15rem;
  margin-bottom: var(--space-5);
}

.contact-list__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.25rem;
}

.contact-list a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: block;
}

.contact-list a:hover {
  color: var(--color-red);
}

.location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.location__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(9, 43, 90, 0.12);
  box-shadow: var(--shadow-sm);
  background: var(--color-light);
  min-height: 320px;
  aspect-ratio: 16 / 11;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   13. Rodap?
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.88);
  padding-top: var(--space-7);
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
}

.footer__logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: var(--space-3);
  background: var(--color-white);
  border-radius: 50%;
  padding: 0.35rem;
}

.footer__desc {
  color: rgba(255, 255, 255, 0.75);
  max-width: 28rem;
  font-size: 0.95rem;
}

.footer__title {
  color: var(--color-gold);
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.footer__list {
  display: grid;
  gap: 0.45rem;
}

.footer__list a:hover {
  color: var(--color-sand);
}

.footer__list--contact li {
  display: grid;
  gap: 0.2rem;
}

.footer__contact-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.15rem;
}

.footer__list--contact a {
  color: rgba(255, 255, 255, 0.9);
}

.footer__list--contact address {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.footer__bottom {
  border-top: 1px solid rgba(216, 195, 154, 0.18);
  padding-block: 1.15rem;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__credit #headtech-link,
.footer__credit .footer__headtech {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-sand);
  font-weight: 600;
  vertical-align: middle;
}

.footer__credit a#headtech-link {
  text-decoration: none;
}

.footer__credit a#headtech-link:hover .footer__headtech-name {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__headtech-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}

.footer__headtech-name {
  line-height: 1;
}

/* --------------------------------------------------------------------------
   14. WhatsApp flutuante
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: float-in 0.55s ease;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.whatsapp-float__icon {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   15. Anima??es
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   16. Media queries ? mobile-first (iPhone 14 Pro Max = 430px)
   -------------------------------------------------------------------------- */

/* Phones até tablets pequenos (inclui iPhone 14 Pro Max = 430px) */
@media (max-width: 767px) {
  :root {
    --header-height: 96px;
  }
  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .section {
    padding-block: 3rem;
  }

  .header__inner {
    gap: 0.75rem;
  }

  .header__logo {
    width: 76px;
    height: 76px;
  }

  .header__brand-name {
    font-size: 0.92rem;
  }

  .header__brand-sub {
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
    align-items: flex-end;
  }

  .hero__content {
    padding-block: 3rem 2.5rem;
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__indicators {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .products__grid,
  .differentials__grid,
  .google-reviews,
  .about__grid,
  .delivery__inner,
  .quote__grid,
  .location__grid,
  .footer__grid {
    grid-template-columns: 1fr !important;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band__title {
    font-size: 1.45rem;
    max-width: none;
  }

  .google-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .location__actions {
    flex-direction: column;
  }

  .location__actions .btn {
    width: 100%;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 768px) {
  .cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .whatsapp-float {
    width: 60px;
    height: 60px;
    right: max(1.25rem, env(safe-area-inset-right, 0px));
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-float__icon {
    width: 34px;
    height: 34px;
  }

  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .products__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .differentials__grid,
  .google-reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__indicators {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .about__media {
    aspect-ratio: 4 / 3;
    max-height: 520px;
  }

  .location__map {
    min-height: 360px;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: auto;
  }
}


@media (min-width: 960px) {
  .header__toggle {
    display: none;
  }

  .nav {
    position: static;
    width: auto;
    max-width: none;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }

  .nav__link {
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
  }

  .header__cta {
    width: auto;
  }

  .nav-overlay {
    display: none !important;
  }

  .differentials__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about__grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .delivery__inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-7);
  }

  .quote__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .location__grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  }
}

@media (min-width: 1200px) {
  .products__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}