/* ==========================================================
   Uillian Costa — Celebrante de Casamentos
   Paleta profissional: azul-marinho, branco, grafite
   Tipografia clássica: Playfair Display + Inter
   ========================================================== */

:root {
  --navy: #0d2548;
  --navy-deep: #081a33;
  --navy-soft: #16345f;
  --white: #ffffff;
  --graphite: #3a4250;
  --accent: #7ea6d6;
  --accent-light: #e8eff9;
  --cream: #f7f8fb;
  --line: #dfe4ec;
  --whatsapp: #25D366;

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 88px;
  --radius: 14px;
  --shadow-soft: 0 12px 40px rgba(13, 37, 72, 0.10);
  --shadow-card: 0 6px 24px rgba(13, 37, 72, 0.08);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: var(--header-h);
  scroll-padding-top: calc(var(--header-h) + 12px);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 4.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.35rem); }

p { margin: 0 0 1rem; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-soft); }

strong { color: var(--navy); font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.center { text-align: center; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  z-index: 2000;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(13, 37, 72, 0.10); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.brand img {
  width: auto;
  height: 52px;
  max-width: 100%;
  object-fit: contain;
}
@media (min-width: 768px) { .brand img { height: 62px; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}

.main-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(13, 37, 72, 0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.main-nav.open { max-height: 460px; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.main-nav a:not(.btn) {
  display: block;
  padding: 0.85rem 0.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.btn-nav { margin-top: 0.75rem; justify-content: center; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    flex: 1 1 auto;
  }
  .main-nav ul {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 1.6rem;
    padding: 0;
  }
  .main-nav a:not(.btn) {
    border-bottom: 0;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    position: relative;
  }
  .main-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--navy);
    transition: width 0.25s ease;
  }
  .main-nav a:not(.btn):hover::after { width: 100%; }
  .btn-nav { margin-top: 0; }
}

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 26px rgba(13, 37, 72, 0.22);
}
.btn-primary:hover { background: var(--navy-soft); color: #fff; }

.btn-outline {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-outline:hover { background: #fff; color: var(--navy); }

.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15);
}
.btn-light:hover { background: var(--accent-light); color: var(--navy); }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
}
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; border-color: #1ebe5a; }
.btn-whatsapp svg { flex: 0 0 auto; }

.btn-block { width: 100%; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgba(8, 26, 51, 0.90) 0%, rgba(13, 37, 72, 0.82) 55%, rgba(13, 37, 72, 0.62) 100%);
}

.hero-inner {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
  max-width: 860px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
  padding-bottom: 0;
}
.hero .eyebrow { color: #b9d0ec; }

.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero-sub {
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  color: #dce6f3;
  max-width: 44rem;
  margin-bottom: 1.9rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
@media (min-width: 520px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ---------------- Trust bar ---------------- */
.trust-bar {
  background: var(--navy-deep);
  color: #fff;
  padding: 2rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.trust-item:last-child { border-bottom: 0; }
.trust-num {
  font-family: var(--font-head);
  font-size: 2.35rem;
  line-height: 1;
  color: #fff;
}
.trust-icon { color: var(--accent); display: flex; }
.trust-label {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #c4d3e6;
  max-width: 22ch;
}
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-item { border-left: 1px solid rgba(255, 255, 255, 0.12); }
  .trust-item:first-child { border-left: 0; }
}

/* ---------------- Seções ---------------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--cream); }
@media (min-width: 768px) {
  .section { padding: 5.5rem 0; }
}

.section-lead {
  max-width: 60ch;
  margin: 0 auto 2.5rem;
  font-size: 1.02rem;
  color: var(--graphite);
}
.eyebrow.center { display: block; text-align: center; color: var(--navy-soft); opacity: 0.85; }
.section h2.center { margin-bottom: 0.6rem; }

/* ---------------- Split (Sobre) ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 0.95fr 1fr; gap: 3.5rem; }
}

.split-media { position: relative; }
.media-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.media-small {
  margin: 0;
  position: absolute;
  right: 0.75rem;
  bottom: -2rem;
  width: 42%;
  max-width: 200px;
  border-radius: 12px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--shadow-soft);
}
.media-small img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.split-text { padding-top: 1.5rem; }
@media (min-width: 960px) { .split-text { padding-top: 0; } }

.check-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.98rem;
  line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--accent-light);
  border: 1px solid #c7d8ee;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: 0.62rem;
  width: 0.42rem;
  height: 0.22rem;
  border-left: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
}

/* ---------------- Cards ---------------- */
.cards-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(4, 1fr); gap: 1.35rem; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(13, 37, 72, 0.13); }

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.card-body { padding: 1.35rem 1.25rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 0.55rem; }
.card-body p { font-size: 0.94rem; line-height: 1.6; margin-bottom: 1.1rem; }

.link-arrow {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
}
.link-arrow::after { content: "\2192"; margin-left: 0.4rem; }

/* ---------------- Galeria ---------------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--cream);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-item.wide img { aspect-ratio: 16 / 9; }

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
@media (min-width: 768px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
.video-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.video-card figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  color: var(--graphite);
}

/* ---------------- Depoimentos ---------------- */
.cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
}

.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.03rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--navy);
}
.testimonial blockquote p { margin: 0; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.testimonial-author strong { display: block; font-size: 0.95rem; color: var(--navy); }
.testimonial-author span { font-size: 0.82rem; color: #6b7484; }

/* ---------------- Info cards ---------------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem 1.4rem;
  box-shadow: var(--shadow-card);
}
.info-card h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.info-card p { font-size: 0.93rem; line-height: 1.6; margin: 0; }
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--navy);
  margin-bottom: 0.9rem;
}

/* ---------------- CTA band ---------------- */
.cta-band {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  padding: 3.5rem 0;
}
@media (min-width: 768px) { .cta-band { padding: 4.5rem 0; } }
.cta-inner { text-align: center; max-width: 720px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d3e0f0; margin-bottom: 1.75rem; }
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  justify-content: center;
}
@media (min-width: 560px) { .cta-actions { flex-direction: row; flex-wrap: wrap; } }

/* ---------------- Contato ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
}

.contact-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.55;
}
.contact-list strong { display: block; font-size: 0.88rem; color: var(--navy); margin-bottom: 0.1rem; }
.contact-list a { color: var(--graphite); text-decoration: underline; text-decoration-color: #c7d8ee; word-break: break-word; }
.contact-list a:hover { color: var(--navy); }
.contact-ico {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--navy);
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.35rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) {
  .contact-form-wrap { padding: 2.25rem 2rem; }
}

.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--navy);
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--graphite);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(126, 166, 214, 0.25);
}
.form-note {
  font-size: 0.8rem;
  color: #6b7484;
  text-align: center;
  margin: 0;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy-deep);
  color: #b9c8dc;
  padding: 3rem 0 1.75rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
}
.footer-brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 4px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.65; margin: 0; max-width: 36ch; }

.footer-col h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col li { line-height: 1.5; }
.footer-col a { color: #b9c8dc; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #8fa2ba;
}
.footer-bottom p { margin: 0; }
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------------- WhatsApp flutuante ---------------- */
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55); }

@media (min-width: 768px) {
  .whatsapp-float { right: 1.75rem; bottom: 1.75rem; width: 62px; height: 62px; }
}

/* ---------------- Ajustes finos ---------------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* wa-icon-align */
.nav-wa,.btn-wa{display:inline-flex;align-items:center;gap:.4rem}
.nav-wa svg,.btn-wa svg{display:block;width:18px;height:18px;flex:none}
@media (min-width:1024px){.nav-wa{margin-top:0}}
