/* ==========================================================================
   Frosinone Residência Sênior — Design System
   ========================================================================== */

:root {
  /* Colors */
  --color-primary: #767259;      /* Verde (Primary) */
  --color-primary-dark: #5D5943; /* Hover verde */
  --color-darkest: #5B4B24;      /* Musgo (Textos e Base) */
  --color-footer: #3A2E14;       /* Escuro footer */
  --color-cream: #FBF4EE;        /* Fundo (Cream) */
  --color-cream-light: #FEFAF6;  /* Off-white Beige */
  --color-white: #FFFFFF;
  --color-accent: #B18A72;       /* Marrom claro */
  --color-whatsapp: #25D366;
  --color-border: #E8E0D4;
  --color-border-dark: #D4C9B8;
  --color-error: #DC2626;
  --color-success: #16A34A;

  /* Font */
  --font-family: 'Manrope', sans-serif;

  /* Spacing */
  --space-0: 0px;
  --space-2: 2px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;

  /* Transitions */
  --transition-base: all 700ms cubic-bezier(0.32, 0.72, 0, 1);
  --transition-slow: all 800ms cubic-bezier(0.32, 0.72, 0, 1);
}

/* ==========================================================================
   1. CSS Reset + Base
   ========================================================================== */

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--color-darkest);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  text-wrap: pretty;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  font-weight: 700;
  line-height: 1.2;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-8) var(--space-16);
  z-index: 9999;
  transition: var(--transition-base);
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ==========================================================================
   2. Utility classes
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-24);
}

.section {
  padding: var(--space-96) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-64);
}

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-16);
}

.heading--lg {
  font-size: 48px;
  margin-bottom: var(--space-24);
}

.heading--md {
  font-size: 36px;
  margin-bottom: var(--space-16);
}

.heading--sm {
  font-size: 24px;
  margin-bottom: var(--space-12);
}

.text--muted {
  color: var(--color-primary-dark);
  opacity: 0.8;
}

.text--lg {
  font-size: 20px;
  line-height: 1.5;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  font-size: 16px;
  font-weight: 600;
  padding: var(--space-12) var(--space-24);
  border-radius: 8px;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-base);
  text-align: center;
  outline: none;
  white-space: nowrap;
}

.btn i {
  font-size: 20px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover,
.btn--primary:focus {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-darkest);
}

.btn--outline:hover,
.btn--outline:focus {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
}

.btn--whatsapp:hover,
.btn--whatsapp:focus {
  background-color: #1DA851;
}

.btn--block {
  width: 100%;
}

/* ==========================================================================
   4. Header
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-base);
  padding: var(--space-16) 0;
}

.header--scrolled {
  background-color: var(--color-cream-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: var(--space-12) 0;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo img {
  max-height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition-base);
}

.header--scrolled .header__logo img {
  filter: none;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-32);
}

.header__link {
  color: var(--color-white);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: var(--transition-base);
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-base);
}

.header__link:hover::after,
.header__link:focus::after {
  width: 100%;
}

.header--scrolled .header__link {
  color: var(--color-darkest);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.header__cta {
  font-size: 14px;
  padding: var(--space-8) var(--space-16);
}

.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-8);
  z-index: 1001;
  width: 40px;
  height: 40px;
  position: relative;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  position: absolute;
  left: 8px;
  transition: var(--transition-base);
}

.header--scrolled .header__burger span {
  background-color: var(--color-darkest);
}

.header__burger span:nth-child(1) { top: 12px; }
.header__burger span:nth-child(2) { top: 19px; }
.header__burger span:nth-child(3) { top: 26px; }

.burger--open span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
  background-color: var(--color-white) !important;
}

.burger--open span:nth-child(2) {
  opacity: 0;
}

.burger--open span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
  background-color: var(--color-white) !important;
}

/* ==========================================================================
   5. Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url('img/Entrada Frosinone em Pedra e Verde.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 32, 26, 0.9) 0%, rgba(0, 0, 0, 0.65) 60%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-48);
  padding-top: 120px;
  padding-bottom: var(--space-96);
}

.hero__copy {
  flex: 1;
  max-width: 600px;
}

.hero__copy .eyebrow {
  background: rgba(184, 151, 106, 0.15);
  padding: var(--space-4) var(--space-12);
  border-radius: 4px;
  color: var(--color-accent);
  border: 1px solid rgba(184, 151, 106, 0.3);
}

.hero__title {
  font-size: 60px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-24);
  line-height: 1.1;
  max-width: 680px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-40);
  max-width: 500px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__ctas {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.hero__ctas .btn--outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--color-white);
}

.hero__ctas .btn--outline:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
}

/* Hero Form */
.hero__form-wrap {
  flex: 0 0 380px;
}

.hero__form {
  background: var(--color-white);
  border-radius: 16px;
  padding: var(--space-32);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  color: var(--color-darkest);
}

.hero__form-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-16);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__form-tag i {
  font-size: 16px;
}

.hero__form h3 {
  color: var(--color-darkest);
  margin-bottom: var(--space-8);
  font-size: 24px;
}

.hero__form p {
  color: var(--color-primary-dark);
  font-size: 14px;
  margin-bottom: var(--space-24);
}

.hero__form label {
  color: var(--color-darkest);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-8);
  display: block;
}

.hero__form input,
.hero__form select {
  width: 100%;
  border: 1px solid var(--color-border-dark);
  border-radius: 8px;
  padding: var(--space-12) var(--space-16);
  font-size: 15px;
  background-color: var(--color-white);
  color: var(--color-darkest);
  transition: var(--transition-base);
}

.hero__form input::placeholder {
  color: var(--color-primary-dark);
  opacity: 0.5;
}

.hero__form select option {
  background-color: var(--color-white);
  color: var(--color-darkest);
}

.hero__form input:focus,
.hero__form select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(184, 151, 106, 0.2);
}

/* Hero Stats */
.hero__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  gap: 0;
  padding: var(--space-24) var(--space-24);
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  padding: 0 var(--space-40);
  border-right: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
}

.hero__stat:last-child {
  border-right: none;
}

.hero__stat i {
  font-size: 20px;
  color: var(--color-accent);
}

/* ==========================================================================
   6. Marquee
   ========================================================================== */

.marquee {
  overflow: hidden;
  background-color: var(--color-darkest);
  padding: var(--space-16) 0;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: var(--space-24);
  animation: marquee-scroll 30s linear infinite;
}

.marquee__item {
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent);
  font-size: 16px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.marquee__dot {
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   7. About
   ========================================================================== */

.about {
  background-color: var(--color-cream-light);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-64);
  align-items: center;
}

.about__content .heading--lg {
  color: var(--color-darkest);
}

.about__content p {
  margin-bottom: var(--space-16);
  line-height: 1.7;
}

.about__image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.about__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-base);
}

.about__image:hover img {
  transform: scale(1.03);
}

.about__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-24);
  margin-top: var(--space-64);
}

.feature-card {
  padding: var(--space-24);
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition-base);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-card i {
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: var(--space-16);
  display: inline-block;
  width: 56px;
  height: 56px;
  line-height: 56px;
  background-color: var(--color-cream);
  border-radius: 50%;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--space-8);
}

.feature-card p {
  font-size: 14px;
  color: var(--color-primary-dark);
  opacity: 0.8;
  line-height: 1.5;
}

/* ==========================================================================
   8. Tagline Reveal
   ========================================================================== */

.tagline {
  background-color: var(--color-darkest);
  text-align: center;
  padding: var(--space-96) var(--space-24);
}

.tagline__text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-cream);
}

.tagline__word {
  display: inline;
  opacity: 0.2;
  transition: opacity 600ms cubic-bezier(0.32, 0.72, 0, 1), color 600ms cubic-bezier(0.32, 0.72, 0, 1);
  color: var(--color-accent);
}

.tagline__word--visible {
  opacity: 1;
  color: var(--color-cream);
}

/* ==========================================================================
   9. Services
   ========================================================================== */

.services {
  background-color: var(--color-white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-32);
}

.service-card {
  padding: var(--space-32);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
  background-color: var(--color-white);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(122, 101, 72, 0.08);
  border-color: var(--color-accent);
}

.service-card i {
  font-size: 28px;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--color-cream);
  border-radius: 50%;
  margin-bottom: var(--space-24);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--space-12);
  color: var(--color-darkest);
}

.service-card p {
  color: var(--color-primary-dark);
  opacity: 0.8;
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   10. Structure / Soft Modalities (Um ao lado do outro, suave e harmonioso)
   ========================================================================== */

.structure {
  background-color: var(--color-cream-light);
  position: relative;
}

.soft-modalities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-32);
  max-width: 980px;
  margin: 0 auto;
}

.soft-mod-card {
  background-color: var(--color-white);
  border-radius: 24px;
  padding: 44px 38px;
  border: 1px solid rgba(118, 114, 89, 0.12);
  box-shadow: 0 10px 36px rgba(91, 75, 36, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
}

.soft-mod-card:hover {
  transform: translateY(-4px);
  border-color: rgba(177, 138, 114, 0.4);
  box-shadow: 0 16px 40px rgba(91, 75, 36, 0.08);
}

.soft-mod-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-24);
}

.soft-mod-pill {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background-color: rgba(118, 114, 89, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
}

.soft-mod-num {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.6;
}

.soft-mod-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background-color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-20);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.soft-mod-card:hover .soft-mod-icon-wrap {
  transform: scale(1.06);
  background-color: rgba(177, 138, 114, 0.15);
}

.soft-mod-icon-wrap i {
  font-size: 24px;
  color: var(--color-primary);
}

.soft-mod-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-darkest);
  margin-bottom: var(--space-12);
  line-height: 1.25;
}

.soft-mod-desc {
  font-size: 15px;
  color: var(--color-primary-dark);
  line-height: 1.65;
  margin-bottom: var(--space-28);
}

.soft-mod-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-32) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  flex: 1;
}

.soft-mod-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-darkest);
  line-height: 1.4;
}

.soft-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  flex-shrink: 0;
}

.soft-mod-action {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-20);
  margin-top: auto;
}

.soft-mod-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-darkest);
  padding: 12px 18px;
  border-radius: 12px;
  background-color: var(--color-cream);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.soft-mod-btn i {
  font-size: 16px;
  color: var(--color-primary);
  transition: transform 0.25s ease;
}

.soft-mod-card:hover .soft-mod-btn {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.soft-mod-card:hover .soft-mod-btn i {
  color: var(--color-white);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .soft-modalities {
    grid-template-columns: 1fr;
    gap: var(--space-20);
  }

  .soft-mod-card {
    padding: 32px 24px;
  }
}

/* ==========================================================================
   11. Gallery
   ========================================================================== */

.gallery {
  background-color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

/* Gallery Controls & Filters */
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-16);
  margin-bottom: var(--space-32);
}

.gallery-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: 8px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-darkest);
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: 0 2px 6px rgba(91, 75, 36, 0.04);
}

.gallery-filter-btn i {
  font-size: 16px;
  color: var(--color-primary);
  transition: var(--transition-base);
}

.gallery-filter-btn .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(118, 114, 89, 0.12);
  color: var(--color-primary-dark);
  transition: var(--transition-base);
}

.gallery-filter-btn:hover {
  background: var(--color-cream-light);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.gallery-filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(118, 114, 89, 0.25);
}

.gallery-filter-btn.active i {
  color: var(--color-white);
}

.gallery-filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: var(--color-white);
}

/* Tour em Vídeo trigger */
.gallery-video-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: 8px 18px;
  background: #FFFFFF;
  border: 1.5px solid var(--color-accent);
  border-radius: 9999px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-darkest);
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: 0 2px 8px rgba(177, 138, 114, 0.15);
}

.gallery-video-trigger:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(177, 138, 114, 0.25);
}

.gallery-video-trigger i {
  font-size: 20px;
  color: var(--color-accent);
  transition: var(--transition-base);
}

.gallery-video-trigger:hover i {
  color: var(--color-white);
}

.video-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E11D48;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(225, 29, 72, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
  }
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--space-32);
  margin-bottom: var(--space-48);
}

/* Gallery Card */
.gallery-card {
  background: var(--color-white);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-base);
  box-shadow: 0 4px 20px rgba(91, 75, 36, 0.05);
}

.gallery-card.hidden {
  display: none !important;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-dark);
  box-shadow: 0 16px 36px rgba(91, 75, 36, 0.12);
}

.gallery-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
  background-color: #EFE8DE;
  cursor: pointer;
}

.gallery-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
  display: block;
}

.gallery-card:hover .gallery-card__media img {
  transform: scale(1.05);
}

.gallery-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(45, 42, 34, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.gallery-card__badge i {
  color: #F7D070;
  font-size: 14px;
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(45, 42, 34, 0.75) 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  transition: opacity 300ms ease;
  z-index: 3;
}

.gallery-card:hover .gallery-card__overlay {
  opacity: 1;
}

.gallery-card__zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-white);
  color: var(--color-darkest);
  border: none;
  border-radius: 9999px;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  cursor: pointer;
  transform: translateY(10px);
  transition: var(--transition-base);
}

.gallery-card:hover .gallery-card__zoom-btn {
  transform: translateY(0);
}

.gallery-card__body {
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: var(--color-white);
}

.gallery-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.gallery-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-darkest);
  line-height: 1.35;
  text-wrap: balance;
}

.gallery-card__tag {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(118, 114, 89, 0.1);
  color: var(--color-primary-dark);
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.gallery-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: #635F53;
  margin-bottom: var(--space-16);
  flex-grow: 1;
  text-wrap: pretty;
}

.gallery-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-16);
}

.gallery-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-darkest);
  font-weight: 500;
}

.gallery-card__features li i {
  color: #2E7D32;
  font-size: 15px;
  flex-shrink: 0;
}

/* Banner de Convite de Visita */
.gallery-invite-banner {
  background: var(--color-cream-light);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-32);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  flex-wrap: wrap;
  box-shadow: 0 6px 20px rgba(91, 75, 36, 0.04);
}

.gallery-invite-content {
  display: flex;
  align-items: center;
  gap: var(--space-20);
  max-width: 680px;
}

.gallery-invite-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(118, 114, 89, 0.15);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.gallery-invite-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-darkest);
  margin-bottom: 6px;
  text-wrap: balance;
}

.gallery-invite-text {
  font-size: 14px;
  color: #635F53;
  line-height: 1.5;
  text-wrap: pretty;
}

.gallery-invite-actions {
  flex-shrink: 0;
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-16);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.gallery-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 14, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gallery-lightbox__container {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  width: 100%;
  max-height: 92vh;
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  animation: lightbox-scale 350ms cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes lightbox-scale {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.gallery-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  color: var(--color-darkest);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.gallery-lightbox__close:hover {
  background: var(--color-darkest);
  color: var(--color-white);
  transform: rotate(90deg);
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  color: var(--color-darkest);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gallery-lightbox__nav--prev {
  left: 16px;
}

.gallery-lightbox__nav--next {
  right: 16px;
}

.gallery-lightbox__nav:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.08);
}

.gallery-lightbox__content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  max-height: 92vh;
  overflow: hidden;
}

.gallery-lightbox__image-wrap {
  background: #181611;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 80vh;
}

.gallery-lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.gallery-lightbox__info {
  padding: var(--space-40) var(--space-32);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: var(--color-white);
}

.gallery-lightbox__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-12);
}

.gallery-lightbox__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(118, 114, 89, 0.12);
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gallery-lightbox__counter {
  font-size: 13px;
  font-weight: 600;
  color: #8C877A;
}

.gallery-lightbox__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-darkest);
  line-height: 1.3;
  margin-bottom: var(--space-16);
  text-wrap: balance;
}

.gallery-lightbox__desc {
  font-size: 15px;
  line-height: 1.65;
  color: #555146;
  margin-bottom: var(--space-24);
  text-wrap: pretty;
}

.gallery-lightbox__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-32);
  padding: var(--space-16);
  background: var(--color-cream);
  border-radius: 12px;
}

.gallery-lightbox__features-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-darkest);
  font-weight: 600;
}

.gallery-lightbox__features-item i {
  color: #2E7D32;
  font-size: 16px;
  flex-shrink: 0;
}

.gallery-lightbox__cta {
  margin-top: auto;
}

/* Modal de Vídeo Tour */
.video-tour-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-16);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.video-tour-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-tour-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 10, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.video-tour-modal__box {
  position: relative;
  z-index: 2;
  max-width: 480px;
  width: 100%;
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: lightbox-scale 350ms cubic-bezier(0.32, 0.72, 0, 1);
}

.video-tour-modal__header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
}

.video-tour-modal__title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-darkest);
}

.video-tour-modal__title-wrap i {
  color: var(--color-primary);
  font-size: 20px;
}

.video-tour-modal__close {
  background: none;
  border: none;
  color: var(--color-darkest);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.video-tour-modal__close:hover {
  color: var(--color-error);
  transform: scale(1.15);
}

.video-tour-modal__body {
  position: relative;
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-tour-modal__body video {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
}

.video-tour-modal__footer {
  padding: 16px 20px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-tour-modal__footer p {
  font-size: 13px;
  color: #6B685E;
  line-height: 1.4;
}

/* Responsividade da Galeria */
@media (max-width: 900px) {
  .gallery-lightbox__content {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow-y: auto;
  }
  
  .gallery-lightbox__image-wrap {
    max-height: 45vh;
  }
  
  .gallery-lightbox__img {
    max-height: 45vh;
  }
  
  .gallery-lightbox__info {
    padding: var(--space-24);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }

  .gallery-controls {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-16);
  }

  .gallery-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-bottom: 0;
    overflow-x: visible;
  }

  .gallery-filter-btn {
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 13px;
    gap: 6px;
    flex-shrink: 0;
  }

  .gallery-filter-btn i {
    font-size: 15px;
  }

  .gallery-filter-btn .filter-count {
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    padding: 0 5px;
  }

  .gallery-video-trigger {
    width: 100%;
    justify-content: center;
  }

  .gallery-invite-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-invite-actions {
    width: 100%;
  }

  .gallery-invite-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   12. Testimonials
   ========================================================================== */

.testimonials {
  background-color: var(--color-white);
}

.testimonials__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.testimonials__rating i {
  font-size: 24px;
  color: #F59E0B;
}

.testimonials__rating span {
  font-size: 16px;
  color: var(--color-primary-dark);
  font-weight: 500;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-32);
  margin-top: var(--space-48);
  text-align: left;
}

.testimonial-card {
  padding: var(--space-32);
  border-radius: 16px;
  background-color: var(--color-cream-light);
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.testimonial-card i {
  font-size: 32px;
  color: var(--color-accent);
  opacity: 0.3;
  margin-bottom: var(--space-16);
  display: block;
}

.testimonial-card__text {
  font-size: 16px;
  margin-bottom: var(--space-24);
  color: var(--color-darkest);
  line-height: 1.6;
}

.testimonial-card__author {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: var(--space-4);
}

.testimonial-card__role {
  font-size: 14px;
  color: var(--color-primary-dark);
  opacity: 0.8;
}

/* ==========================================================================
   13. FAQ
   ========================================================================== */

.faq {
  background-color: var(--color-cream);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border-dark);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-darkest);
  cursor: pointer;
  text-align: left;
  outline: none;
  padding: var(--space-24) 0;
  gap: var(--space-16);
  transition: var(--transition-base);
}

.faq__question:hover {
  color: var(--color-primary);
}

.faq__question:focus-visible {
  color: var(--color-primary);
}

.faq__question i {
  font-size: 20px;
  color: var(--color-primary);
  transition: var(--transition-base);
  flex-shrink: 0;
}

.faq__item--open .faq__question i {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.faq__answer p {
  padding-bottom: var(--space-24);
  color: var(--color-primary-dark);
  line-height: 1.7;
}

.faq__item--open .faq__answer {
  max-height: 600px;
}

.visit-schedule-badge {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-16);
  margin-top: var(--space-16);
  margin-bottom: var(--space-8);
}

.visit-schedule-block {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-16);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(91, 75, 36, 0.04);
}

.visit-schedule-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

.visit-schedule-time {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-darkest);
}

@media (max-width: 600px) {
  .visit-schedule-badge {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   14. CTA Final
   ========================================================================== */

.cta-final {
  background-color: var(--color-darkest);
  color: var(--color-white);
}

.cta-final__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-64);
  align-items: start;
}

.cta-final__content .heading--lg {
  color: var(--color-white);
}

.cta-final__content > p {
  color: rgba(245, 240, 232, 0.8);
  margin-bottom: var(--space-32);
  line-height: 1.7;
}

.cta-final__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-bottom: var(--space-32);
}

.cta-final__info > div {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  font-size: 15px;
}

.cta-hours-info {
  align-items: flex-start !important;
}

.cta-hours-info > div strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-white);
}

.cta-hours-pills {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  margin-top: 4px;
}

.cta-hours-pills span {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-hours-pills span strong {
  display: inline;
  color: var(--color-accent);
}

.cta-final__info i {
  font-size: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.cta-final__info a {
  color: var(--color-white);
}

.cta-final__info a:hover {
  color: var(--color-accent);
}

.cta-final__map {
  border-radius: 12px;
  overflow: hidden;
  margin-top: var(--space-16);
}

.cta-final__map iframe {
  width: 100%;
  height: 200px;
  border: 0;
  display: block;
}

/* CTA Form */
.cta-final__form-wrap {
  background-color: var(--color-cream-light);
  padding: var(--space-40);
  border-radius: 16px;
  color: var(--color-darkest);
}

.cta-final__form-wrap h3,
.cta-form h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-24);
  color: var(--color-darkest);
}

/* ==========================================================================
   15. Footer
   ========================================================================== */

.footer {
  background-color: var(--color-footer);
  color: var(--color-white);
  padding: var(--space-64) 0 var(--space-32);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: var(--space-40);
  margin-bottom: var(--space-48);
}

.footer__brand img {
  max-height: 48px;
  width: auto;
  margin-bottom: var(--space-16);
  filter: brightness(0) invert(1);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.footer__links h4,
.footer__contact h4,
.footer__social h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--space-16);
  color: var(--color-white);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: var(--transition-base);
}

.footer__links a:hover,
.footer__links a:focus {
  color: var(--color-accent);
}

.footer__contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: var(--space-8);
  line-height: 1.5;
}

.footer__social {
  display: flex;
  flex-direction: column;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  justify-content: center;
  color: var(--color-white);
  margin-bottom: var(--space-8);
  transition: var(--transition-base);
  font-size: 20px;
}

.footer__social a:hover,
.footer__social a:focus {
  background-color: var(--color-accent);
  transform: translateY(-2px);
}

.footer__divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-32);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: var(--space-16);
}

.footer__legal {
  display: flex;
  gap: var(--space-24);
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-base);
}

.footer__legal a:hover,
.footer__legal a:focus {
  color: var(--color-white);
}

.footer__dev a {
  color: var(--color-accent);
  font-weight: 600;
}

.footer__dev a:hover,
.footer__dev a:focus {
  text-decoration: underline;
}

/* ==========================================================================
   16. WhatsApp Float
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: var(--space-24);
  right: var(--space-24);
  width: 64px;
  height: 64px;
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition-base);
  animation: pulse-whatsapp 2s infinite;
  font-size: 32px;
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
  fill: var(--color-white);
  display: block;
}

.whatsapp-float.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5);
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  animation: none;
  color: var(--color-white);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   17. Cookie Banner
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(42, 30, 18, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-white);
  padding: var(--space-16) 0;
  z-index: 9999;
  transition: transform 700ms cubic-bezier(0.32, 0.72, 0, 1), opacity 700ms cubic-bezier(0.32, 0.72, 0, 1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-24);
}

.cookie-banner__inner p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.cookie-banner__inner p a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-12);
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  padding: var(--space-8) var(--space-16);
  font-size: 14px;
}

.cookie-banner__actions .btn--outline {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
}

.cookie-banner__actions .btn--outline:hover {
  border-color: var(--color-white);
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
}

/* ==========================================================================
   18. Scroll Reveal Animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(4px);
  transition: opacity 800ms cubic-bezier(0.32, 0.72, 0, 1),
              transform 800ms cubic-bezier(0.32, 0.72, 0, 1),
              filter 800ms cubic-bezier(0.32, 0.72, 0, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: 150ms; }
.reveal-delay-2 { transition-delay: 300ms; }
.reveal-delay-3 { transition-delay: 450ms; }
.reveal-delay-4 { transition-delay: 600ms; }

/* ==========================================================================
   19. Form Elements (shared across forms)
   ========================================================================== */

.form__field {
  margin-bottom: var(--space-16);
  display: flex;
  flex-direction: column;
}

.form__field label {
  font-weight: 500;
  margin-bottom: var(--space-8);
  font-size: 14px;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  border: 1px solid var(--color-border-dark);
  border-radius: 8px;
  padding: var(--space-12) var(--space-16);
  font-size: 15px;
  background-color: var(--color-white);
  transition: var(--transition-base);
}

.form__field textarea {
  resize: vertical;
  min-height: 80px;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(184, 151, 106, 0.2);
}

.form__feedback {
  font-size: 14px;
  margin-top: var(--space-12);
  text-align: center;
  min-height: 20px;
}

.form__feedback--success {
  color: var(--color-success);
}

.form__feedback--error {
  color: var(--color-error);
}

/* ==========================================================================
   20. Responsive — Tablet
   ========================================================================== */

@media (max-width: 1024px) {
  .heading--lg { font-size: 40px; }
  .hero__title { font-size: 48px; }

  .hero__content {
    flex-direction: column;
    padding-top: 120px;
    padding-bottom: var(--space-64);
    align-items: stretch;
  }

  .hero__copy {
    max-width: 100%;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__form-wrap {
    flex: auto;
    max-width: 450px;
    margin: 0 auto;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: var(--space-16);
    justify-content: center;
  }

  .hero__stat {
    padding: 0 var(--space-24);
  }

  .about__grid,
  .cta-final__grid {
    gap: var(--space-40);
  }

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


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

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

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-32);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-16);
    text-align: center;
  }
}

/* ==========================================================================
   21. Responsive — Mobile
   ========================================================================== */

@media (max-width: 768px) {
  .section { padding: var(--space-64) 0; }
  .heading--lg { font-size: 32px; }
  .heading--md { font-size: 28px; }

  .section-header {
    margin-bottom: var(--space-40);
  }

  /* Header Mobile Nav */
  .header__burger {
    display: block;
  }

  .header__cta {
    display: none;
  }

  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-32);
    transform: translateX(100%);
    transition: transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
    z-index: 1000;
  }

  .header__nav--open {
    transform: translateX(0);
  }

  .header__link {
    font-size: 24px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms cubic-bezier(0.32, 0.72, 0, 1),
                transform 500ms cubic-bezier(0.32, 0.72, 0, 1),
                color 300ms ease;
  }

  .header__nav--open .header__link {
    opacity: 1;
    transform: translateY(0);
  }

  .header__nav--open .header__link:nth-child(1) { transition-delay: 100ms; }
  .header__nav--open .header__link:nth-child(2) { transition-delay: 150ms; }
  .header__nav--open .header__link:nth-child(3) { transition-delay: 200ms; }
  .header__nav--open .header__link:nth-child(4) { transition-delay: 250ms; }
  .header__nav--open .header__link:nth-child(5) { transition-delay: 300ms; }
  .header__nav--open .header__link:nth-child(6) { transition-delay: 350ms; }

  /* Hero */
  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero__content {
    flex-direction: column;
    padding-top: 100px;
    padding-bottom: var(--space-48);
    gap: var(--space-32);
  }

  .hero__copy {
    text-align: center;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
  }

  .hero__ctas {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero__form-wrap {
    flex: auto;
    width: 100%;
    max-width: 100%;
  }

  .hero__stats {
    position: relative;
    flex-direction: column;
    align-items: center;
    background: rgba(0,0,0,0.4);
    border-top: none;
    padding: var(--space-24);
    gap: var(--space-12);
  }

  .hero__stat {
    border-right: none;
    padding: var(--space-8) 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    justify-content: center;
  }

  .hero__stat:last-child {
    border-bottom: none;
  }

  /* Grids */
  .about__grid,
  .cta-final__grid {
    grid-template-columns: 1fr;
  }

  .about__image {
    order: -1;
  }

  .about__features {
    grid-template-columns: 1fr 1fr;
  }

  .tagline__text {
    font-size: 30px;
  }

  .services__grid,
  .testimonials__grid,
  .soft-modalities {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }

  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }
}

/* ==========================================================================
   22. Responsive — Small Mobile
   ========================================================================== */

@media (max-width: 480px) {
  .hero__title { font-size: 32px; }
  .heading--lg { font-size: 28px; }
  .tagline__text { font-size: 24px; }

  .hero__form {
    padding: var(--space-24);
  }

  .cta-final__form-wrap {
    padding: var(--space-24);
  }

  .about__features {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: var(--space-12) var(--space-16);
    font-size: 15px;
  }

  .gallery-filters {
    gap: 6px;
    justify-content: center;
  }

  .gallery-filter-btn {
    padding: 7px 11px;
    font-size: 12px;
    gap: 5px;
  }

  .gallery-filter-btn i {
    font-size: 14px;
  }

  .gallery-filter-btn .filter-count {
    min-width: 17px;
    height: 17px;
    font-size: 10px;
    padding: 0 4px;
  }

  .gallery-video-trigger {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ==========================================================================
   23. Privacy page
   ========================================================================== */

.privacy-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px var(--space-24) var(--space-96);
}

.privacy-page h1 {
  font-size: 36px;
  margin-bottom: var(--space-32);
  color: var(--color-darkest);
}

.privacy-page h2 {
  font-size: 24px;
  margin-top: var(--space-48);
  margin-bottom: var(--space-16);
  color: var(--color-primary-dark);
}

.privacy-page h3 {
  font-size: 20px;
  margin-top: var(--space-32);
  margin-bottom: var(--space-12);
  color: var(--color-darkest);
}

.privacy-page p {
  margin-bottom: var(--space-16);
  color: var(--color-darkest);
  line-height: 1.7;
}

.privacy-page ul,
.privacy-page ol {
  margin-bottom: var(--space-24);
  padding-left: var(--space-24);
}

.privacy-page li {
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.privacy-page strong {
  font-weight: 700;
  color: var(--color-primary-dark);
}

.privacy-page a {
  color: var(--color-accent);
  text-decoration: underline;
}

.privacy-page a:hover,
.privacy-page a:focus {
  color: var(--color-primary);
}
