.wedding-hero {
  background-image: linear-gradient(90deg, rgba(14,30,22,.82) 0%, rgba(14,30,22,.46) 52%, rgba(14,30,22,.08) 100%), linear-gradient(0deg, rgba(14,30,22,.25), transparent 46%), url('../assets/casamentos/header-ceremony.png');
  background-position: center 54%;
}
.brand-logo { display: block; width: 132px; height: 62px; max-width: 42vw; object-fit: contain; background: transparent; padding: 0; border-radius: 0; }
.story-frame { width: 100%; max-width: 100%; min-width: 0; }
.story-frame img { position: relative; z-index: 1; display: block; width: 100%; max-width: 100%; height: clamp(360px, 34vw, 520px); object-fit: cover; object-position: center; border-radius: 18px; box-shadow: 0 22px 55px rgba(25, 41, 28, .16); }
.story-frame::before { border-radius: 18px; }
.story-carousel { position: relative; z-index: 1; border-radius: 18px; box-shadow: 0 22px 55px rgba(25, 41, 28, .16); }
.story-carousel .carousel-inner { border-radius: 18px; }
.story-carousel .carousel-item { transition-duration: 1s; }
.story-carousel .carousel-control-prev, .story-carousel .carousel-control-next { width: 14%; z-index: 5; opacity: 1; }
.story-carousel .carousel-control-prev-icon, .story-carousel .carousel-control-next-icon { width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background-color: #203a2f; background-size: 50%; box-shadow: 0 3px 12px #0006; }
.story-carousel .carousel-control-prev:hover .carousel-control-prev-icon, .story-carousel .carousel-control-next:hover .carousel-control-next-icon { background-color: #345640; }
.story-carousel .carousel-control-prev:focus-visible, .story-carousel .carousel-control-next:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
.story-caption { right: 0; bottom: 44px; max-width: calc(100% - 18px); }
.wedding-callout { background: #eeede5; }
.wedding-callout-photo { min-height: 430px; }
.wedding-callout-photo img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.wedding-callout-copy { background: #fff; padding: clamp(2rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: center; }
.wedding-callout-copy .display-serif { max-width: 510px; }
.wedding-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 14px; }
.wedding-gallery-item:after { pointer-events: none; }
.wedding-gallery-link { position: relative; z-index: 0; display: block; width: 100%; height: 100%; }
.wedding-gallery-item .gallery-label { z-index: 2; pointer-events: none; }
.wedding-gallery-count { position: absolute; z-index: 2; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: .45rem; border: 1px solid #fff8; border-radius: 999px; padding: .42rem .7rem; background: #172a21c9; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.wedding-gallery-zoom { position: absolute; z-index: 1; top: 12px; right: 12px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #fff9; border-radius: 50%; background: #172a21a8; color: #fff; font-size: 1.1rem; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.wedding-gallery-item:hover .wedding-gallery-zoom, .wedding-gallery-link:focus-visible .wedding-gallery-zoom { opacity: 1; transform: none; }
.wedding-gallery-link:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.wedding-gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.wedding-gallery-item:nth-child(6) { grid-column: span 2; }
.portfolio-detail-hero { padding: 150px 0 72px; background: linear-gradient(135deg, #203a2f, #14271e); color: #fff; }
.portfolio-detail-hero .section-kicker { color: var(--gold); }
.portfolio-detail-hero .display-serif { max-width: 900px; }
.portfolio-back { display: inline-flex; align-items: center; gap: .7rem; padding: .75rem 1.1rem; border: 1px solid #ffffff75; border-radius: 999px; color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; transition: background .2s, border-color .2s; }
.portfolio-back span { font-size: 1.2rem; line-height: 1; }
.portfolio-back:hover { background: #ffffff1f; border-color: #fff; color: #fff; }
.portfolio-back:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.album-return-bottom { margin-top: 2.5rem; text-align: center; }
.portfolio-back-light { border-color: var(--forest); color: var(--forest); }
.portfolio-back-light:hover { background: var(--forest); color: #fff; }
.portfolio-detail-copy { margin: 1rem 0 0; color: #e0e5dc; }
.portfolio-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 14px; }
.portfolio-photo { position: relative; display: block; overflow: hidden; background: #d8ded2; border: 0; padding: 0; cursor: pointer; }
.portfolio-photo:first-child { grid-column: span 2; grid-row: span 2; }
.portfolio-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.portfolio-photo:hover img { transform: scale(1.04); }
.portfolio-photo-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #fff9; border-radius: 50%; background: #172a21a8; color: #fff; opacity: 0; transition: opacity .2s; }
.portfolio-photo:hover .portfolio-photo-zoom, .portfolio-photo:focus-visible .portfolio-photo-zoom { opacity: 1; }
.portfolio-photo:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.photo-viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 55px 70px 50px; border: 0; background: rgba(12, 24, 18, .94); color: #fff; }
.photo-viewer[open] { display: flex; align-items: center; justify-content: center; }
.photo-viewer::backdrop { background: rgba(0, 0, 0, .75); }
.photo-viewer-image { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.photo-viewer button { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #ffffff70; border-radius: 50%; background: #203a2fcc; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.photo-viewer button:hover, .photo-viewer button:focus-visible { background: #345640; outline: 2px solid #fff; outline-offset: 2px; }
.photo-viewer-close { top: 14px; right: 18px; }
.photo-viewer-prev { left: 14px; top: calc(50% - 23px); }
.photo-viewer-next { right: 14px; top: calc(50% - 23px); }
.photo-viewer-counter { position: absolute; bottom: 12px; left: 0; right: 0; margin: 0; text-align: center; font-size: .9rem; }
.portfolio-missing { min-height: 58vh; display: grid; align-items: center; }
.photo-credit { color: var(--muted); font-size: .78rem; }
.gallery-grid .gallery-item { display: block; border-radius: 14px; text-decoration: none; }
.gallery-grid .gallery-item:last-child { grid-column: span 2; }
.gallery-grid .gallery-item:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; }
.gallery-grid .gallery-item:after, .gallery-grid .gallery-label { pointer-events: none; }
.location-intro { max-width: 420px; margin: 0 0 2rem; color: #d9e1d9; font-size: 1rem; line-height: 1.75; }
.location-details { display: grid; gap: 1.4rem; padding-top: 1.6rem; border-top: 1px solid #ffffff30; }
.location-detail { display: flex; align-items: flex-start; gap: 1rem; }
.location-detail-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid #d6bb8370; border-radius: 50%; color: var(--gold); font-size: 1.25rem; }
.location-label { display: block; margin-bottom: .35rem; color: var(--gold); font-size: .65rem; font-weight: 700; letter-spacing: .16em; }
.location-phone { color: #fff; font-size: 1rem; text-decoration: none; }
.location-phone:hover { color: var(--gold); }
.location-map { overflow: hidden; border: 1px solid #ffffff35; border-radius: 4px; background: #f6f4ec; box-shadow: 0 24px 60px #0c1a1260; }
.location-map iframe { display: block; width: 100%; height: 370px; border: 0; }
.location-map-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; color: var(--forest); }
.location-map-footer strong, .location-map-footer span { display: block; }
.location-map-footer strong { font-family: var(--serif); font-size: 1.1rem; }
.location-map-footer > div:first-child > span { margin-top: .2rem; color: var(--muted); font-size: .78rem; }
.location-map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.location-route { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; padding: .7rem 1rem; border: 1px solid #cbd2c8; border-radius: 999px; color: var(--forest); font-size: .82rem; font-weight: 700; text-decoration: none; }
.location-route:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.location-route-waze { border-color: #33c7ed; background: #e8faff; color: #153b48; }
.location-route-waze:hover { border-color: #1598bd; background: #1598bd; color: #fff; }
.album-page .navbar { background: var(--forest); }
.album-page .navbar .btn-whatsapp, .album-page .whatsapp-float-wrap { display: none; }
.album-main .album-section { padding-top: 155px; }
.album-intro { max-width: 700px; margin-bottom: 3rem; }
.album-intro h1 { margin-bottom: 1rem; }
.album-page .portfolio-detail-hero .d-flex, .album-page .portfolio-detail-section > .container > .text-center { display: none !important; }
.rating-card-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.rating-card-link:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 12px 28px #203a2f18; color: inherit; }
.rating-card-link:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.rating-card-action { margin-top: auto; padding-top: 1.2rem; color: var(--forest); font-size: .76rem; font-weight: 700; }
.instagram-card-icon { width: 3rem; height: 3rem; margin: .35rem 0 1rem; color: #ae426c; }
.instagram-card-name { color: var(--forest); font-weight: 600; font-size: .88rem; overflow-wrap: anywhere; }
.awards-section { background: #e9e9df; padding: 0 0 95px; }
.awards-panel { padding: clamp(1.5rem, 4vw, 3.5rem); border: 1px solid #dedfd5; border-radius: 18px; background: #fff; }
.awards-copy { max-width: 760px; }
.awards-copy .display-serif { font-size: clamp(2rem, 3.5vw, 3.3rem); margin-bottom: 1rem; }
.awards-image { margin-top: 1.5rem; }
.awards-image img { display: block; width: 100%; max-width: 906px; height: auto; }
.btn-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; color: #fff; background: #25d366; border: 1px solid #25d366; border-radius: 999px; font-weight: 700; padding: .82rem 1.35rem; text-decoration: none; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { color: #fff; background: #1ebe5d; border-color: #1ebe5d; transform: translateY(-2px); box-shadow: 0 8px 20px #25d36638; }
.btn-whatsapp.btn-sm { padding: .62rem 1rem; }
.whatsapp-icon { width: 1.2em; height: 1.2em; display: inline-block; flex: 0 0 auto; vertical-align: -.2em; }
.whatsapp-icon { object-fit: contain; }
.whatsapp-float { color: #fff; }
.whatsapp-float .whatsapp-icon { width: 1.85rem; height: 1.85rem; vertical-align: middle; }
.whatsapp-float-wrap { position: fixed; z-index: 30; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; }
.whatsapp-float { position: relative; right: auto; bottom: auto; }
.whatsapp-bubble { position: relative; border-radius: 999px; padding: .72rem 1rem; background: #fff; color: #203a2f; box-shadow: 0 8px 24px #0002; font-size: .86rem; font-weight: 700; white-space: nowrap; transition: transform .2s ease; }
.whatsapp-bubble::after { position: absolute; top: 50%; right: -5px; width: 11px; height: 11px; background: #fff; content: ""; transform: translateY(-50%) rotate(45deg); }
.whatsapp-float-wrap:hover .whatsapp-bubble { transform: translateX(2px); }
.whatsapp-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hero { min-height: min(87svh, 920px); background-size: cover; background-position: center 48%; }
.hero-cta-mobile { display: none; }
.hero-note, .hero-badge { width: fit-content; max-width: min(100%, 360px); padding: .65rem .9rem; border-radius: 6px; background: rgba(13, 31, 22, .88); color: #fff; text-shadow: 0 1px 3px #000; line-height: 1.45; }
.hero-badge { border-left: 3px solid var(--gold); }
@media (min-width: 992px) {
  .hero { min-height: min(860px, 100svh); }
  .hero-content { padding-top: 10rem; padding-bottom: 7rem; }
  .hero h1 { max-width: 670px; margin: 1.2rem 0 1.3rem; font-size: clamp(3.8rem, 5.1vw, 5.6rem); line-height: 1.03; text-shadow: 0 2px 18px rgba(0, 0, 0, .22); }
  .hero-copy { max-width: 490px; font-size: 1.05rem; line-height: 1.8; }
  .hero-note { margin-top: 2rem; padding: .55rem .8rem; font-size: .95rem; }
  .hero-badge { right: 5%; bottom: 8%; padding: .55rem .85rem; font-size: .95rem; }
}
@media (max-width: 991.98px) {
  .nav-glass { background: rgba(20, 36, 29, .97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .navbar .navbar-collapse { padding: 0; overflow: hidden; }
  .navbar .navbar-collapse .navbar-nav { padding: 1rem 1.2rem; }
  .navbar .collapsing { transition: height .3s ease-in-out; }
}
@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) {
  .navbar .collapsing { transition: none; }
}
@media (max-width: 767px) {
  .awards-section { padding-bottom: 70px; }
  html, body { max-width: 100%; overflow-x: clip; }
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }
  .hero::after { border: 0; }
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 29, 20, .72), rgba(12, 29, 20, .38)), linear-gradient(0deg, rgba(12, 29, 20, .62), transparent 55%); pointer-events: none; }
  .hero-content { padding: 125px 24px 90px; }
  .hero h1 { font-size: clamp(2.7rem, 11vw, 4rem); line-height: 1.03; margin: 1rem 0; }
  .hero-copy { max-width: 30rem; font-size: 1rem; line-height: 1.65; }
  .hero-content .d-flex { gap: .75rem !important; }
  .hero-content .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: .6rem 1rem; font-size: .875rem; line-height: 1.25; }
  .hero-content .btn-whatsapp { white-space: nowrap; }
  .hero-cta-desktop { display: none; }
  .hero-cta-mobile { display: inline; }
  .hero-note { max-width: 100%; margin-top: 1.5rem; padding: .55rem .75rem; font-size: .9rem; }
  .hero-badge { display: none; }
  .gallery-grid .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .location-map iframe { height: 290px; }
  .location-map-footer { flex-wrap: wrap; }
  .album-main .album-section { padding-top: 125px; }
  .album-intro { margin-bottom: 2rem; }
  .hero { min-height: 100svh; background-image: linear-gradient(90deg, rgba(14,30,22,.78), rgba(14,30,22,.35)), linear-gradient(0deg, rgba(14,30,22,.3), transparent 52%), url('../assets/casamentos/header-ceremony.png'); background-position: center 50%; background-size: cover; }
  .wedding-hero { background-position: center 50%; }
  .brand-logo { width: 130px; height: 54px; }
  .navbar-toggler { width: 46px; height: 46px; padding: .45rem; }
  .whatsapp-float-wrap { right: 14px; bottom: 14px; gap: 8px; }
  .whatsapp-bubble { padding: .66rem .82rem; font-size: .8rem; }
  .wedding-callout-photo, .wedding-callout-photo img { min-height: 290px; }
  .story-frame img { height: auto; aspect-ratio: 4 / 3; }
  .story-caption { display: none; }
  .wedding-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 10px; }
  .wedding-gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .wedding-gallery-item:nth-child(6) { grid-column: span 1; }
  .portfolio-detail-hero { padding: 125px 0 55px; }
  .portfolio-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 165px; gap: 10px; }
  .portfolio-photo:first-child { grid-column: span 2; grid-row: span 2; }
  .photo-viewer { padding: 65px 50px; }
  .photo-viewer button { width: 40px; height: 40px; }
  .photo-viewer-prev { left: 5px; }
  .photo-viewer-next { right: 5px; }
}
