/* ==========================================================================
   Agnaldo Pisos — Design tokens
   ========================================================================== */
:root {
  --color-navy: #00052F;
  --color-navy-light: #10173F;
  --color-navy-darker: #000426;
  --color-coral: #E65644;
  --color-coral-light: #FF7A66;
  --color-coral-dark: #C8452F;
  --color-offwhite: #F7F5F1;
  --color-white: #FFFFFF;
  --color-stone-gray: #6E6A63;
  --color-stone-gray-dark: #57534d;
  --color-navy-gray: #8A8DAD;
  --color-navy-gray-light: #C9CBDD;
  --color-footer-muted: #5c6088;
  --color-whatsapp: #25D366;
  --color-whatsapp-text: #00330f;

  --font-body: 'Inter', sans-serif;

  --text-base: 18px;
  --text-sm: 16px;
  --text-h5: 24px;
  --text-h4: 32px;
  --text-h3: 42px;
  --text-h2: 56px;
  --text-h1: 72px;

  --max-width: 1180px;
  --max-width-narrow: 820px;
  --header-height: 74px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-navy);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--color-coral); color: #fff; padding: 12px 20px;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ==========================================================================
   Typography helpers
   ========================================================================== */
.eyebrow {
  display: block;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.eyebrow--on-dark { color: var(--color-coral-light); }
.eyebrow--on-light { color: var(--color-coral-dark); }

.section-heading { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-heading h2 {
  font-size: clamp(28px, 3.4vw, var(--text-h2));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section-heading p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--color-stone-gray);
  line-height: 1.7;
}
.section-heading--on-dark h2 { color: var(--color-white); }
.section-heading--on-dark p { color: var(--color-navy-gray-light); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.container-narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  border-radius: 3px;
  border: none;
  transition: background-color .2s ease, filter .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--coral {
  background: var(--color-coral);
  color: #fff;
  font-size: 16px;
  padding: 15px 26px;
}
.btn--coral:hover, .btn--coral:focus-visible { background: var(--color-coral-dark); }
.btn--ghost {
  background: transparent;
  color: #fff;
  font-size: 16px;
  padding: 15px 26px;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn--ghost:hover, .btn--ghost:focus-visible { background: rgba(255,255,255,0.08); }
.btn--whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-whatsapp-text);
  font-size: 16px;
  padding: 16px 28px;
}
.btn--whatsapp:hover, .btn--whatsapp:focus-visible { filter: brightness(1.05); }
.btn--block { width: 100%; justify-content: center; }
.btn__dot {
  width: 7px; height: 7px; border-radius: 50%; background: #fff; flex: none;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 5vw, 56px);
  height: var(--header-height);
  background: rgba(0,5,47,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.site-header__logo img { height: 38px; width: auto; }

.site-nav {
  display: none;
  align-items: center;
  gap: 32px;
}
.site-nav__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy-gray);
  transition: color .2s ease;
}
.site-nav__link:hover, .site-nav__link:focus-visible { color: #fff; }
.site-nav__link[aria-current="page"] { color: #fff; }
.site-nav__cta { margin-left: 8px; padding: 11px 20px; font-size: 14.5px; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 4px;
}
.menu-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
}

.mobile-menu {
  position: absolute;
  top: var(--header-height);
  left: 0; right: 0;
  background: var(--color-navy);
  padding: 14px clamp(20px, 5vw, 56px) 22px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__link {
  display: block;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu__link:last-of-type { border-bottom: none; }
.mobile-menu__link[aria-current="page"] { color: var(--color-coral-light); }
.mobile-menu .btn--whatsapp { margin-top: 16px; font-size: 16px; padding: 15px 20px; }

@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* ==========================================================================
   Hero (shared pattern)
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 150px clamp(20px, 5vw, 56px) 90px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,5,47,0.90) 0%, rgba(0,5,47,0.62) 55%, rgba(0,5,47,0.28) 100%);
}
.hero--home { min-height: 100vh; }
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  animation: fadeUp .7s ease both;
}
.hero__title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero--home .hero__title { font-size: clamp(38px, 5.6vw, 72px); }
.hero__subhead {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--color-navy-gray-light);
  max-width: 560px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}
.hero__phone {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}
.hero__phone-badge {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-coral);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.hero__phone-label { font-size: 13px; color: var(--color-navy-gray-light); }
.hero__phone-number { font-size: 22px; font-weight: 700; color: #fff; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Sections (generic)
   ========================================================================== */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--offwhite { background: var(--color-offwhite); }
.section--navy { background: var(--color-navy); }
.section--white { background: var(--color-white); }

/* About / two-column layout */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.about-bio { display: flex; gap: 20px; align-items: flex-start; margin-top: 28px; }
.about-bio__photo {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(0,5,47,0.18);
  flex: none;
}
.about-bio__text { color: var(--color-stone-gray-dark); line-height: 1.75; font-size: 18px; }
.about-divider {
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid rgba(0,5,47,0.1);
  display: flex; align-items: center; gap: 16px;
}
.about-divider__icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(230,86,68,0.12);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.about-divider__phone { font-size: 26px; font-weight: 700; color: var(--color-coral-dark); }
.about-divider__label { font-size: 14px; color: var(--color-stone-gray); }
.about-image {
  position: relative;
  min-height: 440px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,5,47,0.18);
}

/* Generic absolutely-positioned cover image used inside a relative container
   (about-image, split-grid__image, image-band, image-tile, service-tile) so
   the <img> keeps native loading="lazy" support instead of a CSS background. */
.bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Highlights (3 pillars) */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}
.highlight__icon {
  width: 14px; height: 14px;
  background: var(--color-coral);
  transform: rotate(45deg);
  margin-bottom: 20px;
}
.highlight h3 { font-size: 22px; font-weight: 700; color: var(--color-navy); }
.highlight p { margin-top: 12px; font-size: 17px; color: var(--color-stone-gray); line-height: 1.7; }

/* ==========================================================================
   Full-bleed services grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.service-tile {
  position: relative;
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px 40px;
  overflow: hidden;
  transition: filter .3s ease;
}
.service-tile::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,5,47,0.15) 0%, rgba(0,5,47,0.85) 100%);
}
.service-tile:hover, .service-tile:focus-visible { filter: brightness(1.05); }
.service-tile__number {
  position: relative; z-index: 2;
  font-size: 15px; font-weight: 700; color: var(--color-coral-light);
  margin-bottom: auto;
}
.service-tile__body { position: relative; z-index: 2; }
.service-tile__body h3 { font-size: 28px; font-weight: 700; color: #fff; }
.service-tile__body p { margin-top: 12px; color: var(--color-navy-gray-light); font-size: 16.5px; line-height: 1.6; }
.service-tile__link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; font-weight: 600; font-size: 15px; color: var(--color-coral-light);
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  border: 1px solid rgba(0,5,47,0.1);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.card__image { width: 100%; height: 240px; object-fit: cover; background-color: var(--color-offwhite); }
.card__image--sm { height: 200px; }
.card__body { padding: 32px; }
.card__body h3 { font-size: 22px; font-weight: 700; color: var(--color-navy); }
.card__body p { margin-top: 12px; font-size: 16.5px; color: var(--color-stone-gray); line-height: 1.7; }

.card-dark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.card-dark {
  background: var(--color-navy-light);
  border-radius: 6px;
  padding: 32px;
}
.card-dark__number { font-size: 14px; font-weight: 700; color: var(--color-coral-light); }
.card-dark h3 { margin-top: 14px; font-size: 22px; font-weight: 700; color: #fff; }
.card-dark p { margin-top: 12px; font-size: 16.5px; color: var(--color-navy-gray-light); line-height: 1.7; }

.card-light-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.card-light {
  background: var(--color-offwhite);
  border-radius: 6px;
  padding: 32px;
}
.card-light .highlight__icon { margin-bottom: 18px; }
.card-light h3 { font-size: 21px; font-weight: 700; color: var(--color-navy); }
.card-light p { margin-top: 12px; font-size: 16.5px; color: var(--color-stone-gray); line-height: 1.7; }

/* Image tiles with caption (marcação) */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.image-tile {
  position: relative;
  height: 300px;
  border-radius: 6px;
  overflow: hidden;
}
.image-tile::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(0,5,47,0.75) 0%, rgba(0,5,47,0) 55%);
}
.image-tile__caption {
  position: absolute; left: 20px; bottom: 18px; z-index: 2;
  color: #fff; font-weight: 600; font-size: 17px;
}

/* Two-column image + text */
.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.split-grid__image {
  position: relative;
  min-height: 360px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,5,47,0.12);
}
.split-grid__text p { margin-top: 18px; font-size: 18px; color: var(--color-stone-gray-dark); line-height: 1.75; }

/* ==========================================================================
   FAQ / Q&A blocks (Marmorite page)
   ========================================================================== */
.faq-block { margin-bottom: 52px; }
.faq-block:last-child { margin-bottom: 0; }
.faq-block h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--color-navy);
}
.faq-block p {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-stone-gray-dark);
}

.callout {
  position: relative;
  background: var(--color-navy);
  border-radius: 6px;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
}
.callout::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 5px; height: 100%;
  background: var(--color-coral);
}
.callout p { margin-top: 14px; font-size: 17px; color: var(--color-navy-gray-light); line-height: 1.7; }

.image-band {
  position: relative;
  max-width: var(--max-width);
  margin: clamp(48px, 6vw, 80px) auto;
  height: clamp(260px, 38vw, 440px);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,5,47,0.14);
}

/* Final CTA (page-specific, e.g. Marmorite) */
.final-cta { text-align: center; }
.final-cta__inner { max-width: 640px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; color: var(--color-navy); }
.final-cta p { margin-top: 16px; font-size: 18px; color: var(--color-stone-gray); line-height: 1.7; }
.final-cta .btn { margin-top: 30px; }

/* Shared CTA band (all pages except Contato) */
.cta-band { background: var(--color-navy); text-align: center; }
.cta-band__inner { max-width: 640px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; color: #fff; }
.cta-band p { margin-top: 16px; font-size: 18px; color: var(--color-navy-gray-light); }
.cta-band .btn { margin-top: 30px; }

/* ==========================================================================
   Contato page
   ========================================================================== */
.contact-hero {
  position: relative;
  background: var(--color-navy);
  padding: 150px clamp(20px, 5vw, 56px) clamp(80px, 10vw, 130px);
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,86,68,0.18), transparent 70%);
}
.contact-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-grid h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.contact-grid > div > p.contact-intro { margin-top: 18px; font-size: 18px; color: var(--color-navy-gray-light); max-width: 480px; line-height: 1.7; }
.contact-phone-block { margin-top: 40px; }
.contact-phone-block__label { font-size: 14px; color: var(--color-navy-gray); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.contact-phone-block__number { display: block; margin-top: 10px; font-size: clamp(34px, 5vw, 52px); font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.contact-grid .btn--whatsapp { margin-top: 28px; }

.info-cards { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--color-navy-light);
  border-radius: 8px;
  padding: 30px;
}
.info-card__icon {
  width: 46px; height: 46px; border-radius: 10px; flex: none;
  background: rgba(230,86,68,0.16);
  display: flex; align-items: center; justify-content: center;
}
.info-card__label { font-size: 14px; color: var(--color-navy-gray); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.info-card__value { margin-top: 6px; font-size: 20px; font-weight: 700; color: #fff; }
.info-card__sub { margin-top: 6px; font-size: 15px; color: var(--color-navy-gray-light); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-navy-darker);
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 56px) 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer-grid img { height: 44px; width: auto; }
.footer-about p { margin-top: 18px; font-size: 15px; color: var(--color-navy-gray); line-height: 1.7; max-width: 280px; }
.footer-heading {
  font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--color-footer-muted); font-weight: 700; margin-bottom: 18px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 15px; color: var(--color-navy-gray-light); }
.footer-links a:hover { color: #fff; }
.footer-contact__phone { display: block; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-contact p { font-size: 15px; color: var(--color-navy-gray); line-height: 1.7; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 44px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 14px;
  color: var(--color-footer-muted);
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 120;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  animation: waPulse 2.4s infinite;
}
.whatsapp-float:hover, .whatsapp-float:focus-visible { filter: brightness(1.06); }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float, .hero__content { animation: none; }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.mt-0 { margin-top: 0; }
