/* ==========================================================================
   Tipografia Local (Inter & Playfair Display)
   ========================================================================== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0.0%;
  size-adjust: 107.12%;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair Display Fallback";
  src: local("Times New Roman");
  ascent-override: 97.25%;
  descent-override: 22.56%;
  line-gap-override: 0.0%;
  size-adjust: 111.26%;
}

/* ==========================================================================
   Variáveis do Sistema Visual (Extraídas do Site de Referência)
   ========================================================================== */
:root {
  --font-inter: "Inter", "Inter Fallback", Arial, Helvetica, sans-serif;
  --font-playfair: "Playfair Display", "Playfair Display Fallback", Georgia, serif;

  --color-primary: #4a154b;
  --color-primary-light: #6e1a52;
  --color-secondary: #d5b4d6;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg-light: #f8f3f8;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1ebe5d;

  --background: var(--color-bg-light);
  --foreground: var(--color-text);

  --gradient-primary: linear-gradient(135deg, #4a154b 0%, #7d2a75 100%);
  --gradient-light: linear-gradient(135deg, var(--color-white) 0%, #f8f3f8 100%);
  --gradient-secondary: linear-gradient(135deg, #d5b4d6 0%, #f0e1f0 100%);

  --container-max-width: 1200px;
}

/* ==========================================================================
   Reset e Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Acessibilidade: foco visível por teclado */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
}

/* ==========================================================================
   Seção 1: Cabeçalho (Header)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background-color: transparent;
  box-shadow: none;
  font-family: var(--font-inter);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header--scrolled {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header:not(.header--scrolled) .header__logo-image {
  filter: brightness(0) invert(1);
}

.header:not(.header--scrolled):not(.header--menu-open) .header__hamburger {
  color: var(--color-white);
}

@media (min-width: 769px) {
  .header:not(.header--scrolled) .header__nav-list li {
    color: var(--color-white);
  }
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
}

.header__logo-link {
  display: inline-flex;
  align-items: center;
}

.header__logo-image {
  width: auto;
  height: 115px;
  margin: -12px 0;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}

.header__nav {
  display: flex;
}

.header__hamburger {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 1001;
  padding: 0.25rem;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.header__nav-list li {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header__nav-list li a:hover {
  color: var(--color-primary);
}

.header__cta-button {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  letter-spacing: 0.5px;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.header__cta-button:hover {
  background-color: var(--color-primary-light);
  color: var(--color-white);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .header__container {
    padding: 0.5rem 1rem;
  }

  .header__logo-image {
    width: auto;
    height: 85px;
    margin: -8px 0;
  }

  .header__hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1000;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: center;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  }

  .header__nav--open {
    right: 0;
  }

  .header__nav-list {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2rem;
  }

  .header__nav-list li {
    width: 100%;
    font-size: 1.1rem;
    color: var(--color-text);
  }

  .header__cta-button {
    width: 100%;
    margin-top: 1rem;
  }
}

/* ==========================================================================
   Seção 2: Banner Principal (Hero Carousel)
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 600px;
  background-color: var(--color-bg-light);
  overflow: hidden;
}

.hero__carousel {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__slide {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 100%;
  height: 100%;
}

.hero__image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(74, 21, 75, 0.4), rgba(213, 180, 214, 0.2));
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.hero__content {
  position: relative;
  z-index: 20;
  max-width: 800px;
  padding: 0 2rem;
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  animation: heroFadeIn 1s ease-out;
}

.hero__title {
  font-family: var(--font-playfair);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero__description {
  font-family: var(--font-inter);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero__cta-button {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-inter);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  box-shadow: 0 4px 15px rgba(74, 21, 75, 0.4);
  transition: all 0.3s ease;
}

.hero__cta-button:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(74, 21, 75, 0.6);
}

.hero__prev-btn,
.hero__next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  cursor: pointer;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero__prev-btn:hover,
.hero__next-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.hero__prev-btn {
  left: 2rem;
}

.hero__next-btn {
  right: 2rem;
}

.hero__indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  gap: 1rem;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero__dot--active {
  background-color: var(--color-white);
  transform: scale(1.3);
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero__content {
    padding: 0 1.25rem;
  }

  .hero__title {
    word-break: normal;
    overflow-wrap: normal;
    -webkit-hyphens: none;
    hyphens: none;
    font-size: clamp(1.8rem, 8.5vw, 2.8rem);
  }

  .hero__description {
    font-size: 1.1rem;
  }

  .hero__cta-button {
    font-size: 1rem;
    padding: 0.9rem 2rem;
  }

  .hero__prev-btn,
  .hero__next-btn {
    display: none;
  }
}

/* ==========================================================================
   Seção 3: Sobre Mim (About)
   ========================================================================== */
.about {
  background: var(--gradient-light);
  font-family: var(--font-inter);
  padding: 6rem 2rem;
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.about__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
}

.about__image-decoration {
  position: absolute;
  top: -20px;
  left: -20px;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-secondary);
  border-radius: 8px;
}

.about__image {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: var(--color-bg-light);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.about__title {
  font-family: var(--font-playfair);
  color: var(--color-primary);
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.about__divider {
  width: 60px;
  height: 3px;
  background-color: var(--color-secondary);
  margin-bottom: 2rem;
}

.about__text-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
}

.about__signature {
  font-family: var(--font-playfair);
  color: var(--color-primary-light);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .about {
    padding: 4.5rem 1.5rem;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  .about__title {
    text-align: center;
    font-size: 2.5rem;
  }

  .about__divider {
    margin: 1rem auto 2rem;
  }
}

@media (max-width: 480px) {
  .about__image-decoration {
    top: -12px;
    left: -12px;
  }
}

/* ==========================================================================
   Seção 4: Nossos Procedimentos (Procedures + Modal)
   ========================================================================== */
.procedures {
  background: var(--gradient-primary);
  font-family: var(--font-inter);
  padding: 6rem 2rem;
}

.procedures__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.procedures__header {
  text-align: center;
  margin-bottom: 4rem;
}

.procedures__title {
  font-family: var(--font-playfair);
  color: var(--color-white);
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.procedures__divider {
  width: 80px;
  height: 3px;
  background-color: var(--color-secondary);
  margin: 0 auto 1.5rem;
}

.procedures__subtitle {
  color: #eeeeee;
  font-size: 1.2rem;
  font-weight: 300;
}

.procedures__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.procedures__card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.procedures__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.procedures__card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid #eeeeee;
  background-color: var(--color-bg-light);
}

.procedures__card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.procedures__card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem;
}

.procedures__card-title {
  font-family: var(--font-playfair);
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.procedures__card-description {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.procedures__more-btn {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-inter);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

/* Modal de Procedimentos */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  animation: modalFadeIn 0.3s ease;
}

.modal-overlay--active {
  display: flex;
}

.modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  background: var(--color-white);
  border-radius: 12px;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  animation: modalSlideUp 0.3s ease;
}

.modal__close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

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

.modal__image-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  flex-shrink: 0;
  background-color: var(--color-bg-light);
}

.modal__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal__body {
  padding: 2rem;
  font-family: var(--font-inter);
}

.modal__title {
  font-family: var(--font-playfair);
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modal__description {
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.modal__cta {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modal__cta:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(74, 21, 75, 0.4);
}

@keyframes modalFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes modalSlideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .procedures {
    padding: 4.5rem 1.25rem;
  }

  .procedures__title {
    font-size: 2.3rem;
  }

  .modal__image-wrapper {
    height: 220px;
  }

  .modal__body {
    padding: 1.5rem;
  }

  .modal__title {
    font-size: 1.6rem;
  }

  .modal__description {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Seção 5: Antes e Depois (Before & After)
   ========================================================================== */
.before-after {
  background: var(--gradient-light);
  font-family: var(--font-inter);
  padding: 6rem 2rem;
}

.before-after__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.before-after__header {
  text-align: center;
  margin-bottom: 4rem;
}

.before-after__title {
  font-family: var(--font-playfair);
  color: var(--color-primary);
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.before-after__divider {
  width: 80px;
  height: 3px;
  background-color: var(--color-secondary);
  margin: 0 auto 1.5rem;
}

.before-after__subtitle {
  color: var(--color-text-light);
  font-size: 1.2rem;
  font-weight: 300;
}

.before-after__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.before-after__card {
  background: var(--color-white);
  border-radius: 12px;
  flex: 0 1 350px;
  width: 100%;
  max-width: 450px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.before-after__card:hover {
  transform: translateY(-5px);
}

.before-after__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--color-bg-light);
}

.before-after__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.before-after__content {
  padding: 1.5rem;
}

.before-after__card-title {
  font-family: var(--font-playfair);
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.before-after__card-description {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .before-after {
    padding: 4.5rem 1.25rem;
  }

  .before-after__title {
    font-size: 2.3rem;
  }

  .before-after__grid {
    gap: 2rem;
  }
}

/* ==========================================================================
   Seção 6: Depoimentos (Testimonials)
   ========================================================================== */
.testimonials {
  background: var(--gradient-secondary);
  font-family: var(--font-inter);
  padding: 6rem 2rem;
}

.testimonials__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials__title {
  font-family: var(--font-playfair);
  color: var(--color-primary);
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.testimonials__divider {
  width: 80px;
  height: 3px;
  background-color: var(--color-secondary);
  margin: 0 auto 1.5rem;
}

.testimonials__subtitle {
  color: var(--color-text-light);
  font-size: 1.2rem;
  font-weight: 300;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonials__card {
  position: relative;
  background: var(--color-white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.testimonials__card:hover {
  transform: translateY(-5px);
}

.testimonials__quote-icon {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--font-playfair);
  color: var(--color-primary);
  opacity: 0.1;
  font-size: 5rem;
  line-height: 1;
  user-select: none;
}

.testimonials__text {
  position: relative;
  z-index: 2;
  color: var(--color-text);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.testimonials__author {
  font-family: var(--font-playfair);
  color: var(--color-primary);
  text-align: right;
  font-size: 1.2rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .testimonials {
    padding: 4.5rem 1.25rem;
  }

  .testimonials__title {
    font-size: 2.3rem;
  }
}

/* ==========================================================================
   Seção 7: Rodapé (Footer)
   ========================================================================== */
.footer {
  background: var(--gradient-primary);
  color: var(--color-white);
  font-family: var(--font-inter);
  border-top: none;
  padding: 4rem 2rem 2rem;
}

.footer__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.footer__logo-container {
  flex: 1;
  min-width: 280px;
}

.footer__logo-image {
  width: auto;
  height: 170px;
  margin: -15px 0 -10px -15px;
  object-fit: cover;
  filter: brightness(0) invert(1);
  display: block;
}

.footer__slogan {
  color: var(--color-secondary);
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-style: italic;
}

.footer__contact-container {
  flex: 1;
  min-width: 280px;
}

.footer__contact-title {
  color: var(--color-white);
  font-family: var(--font-playfair);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer__contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-white);
  margin-bottom: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer__contact-link svg {
  flex-shrink: 0;
}

.footer__contact-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer__copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 1rem 1.5rem;
  }

  .footer__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
  }

  .footer__logo-container,
  .footer__contact-container {
    min-width: 100%;
  }

  .footer__logo-image {
    height: 220px;
    margin: -15px auto -10px;
  }

  .footer__slogan {
    margin-top: 1rem;
    font-size: 1rem;
  }

  .footer__contact-link {
    justify-content: center;
  }
}

/* ==========================================================================
   Botões Flutuantes (WhatsApp e Voltar ao Topo)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  text-align: center;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: var(--color-whatsapp-hover);
  animation: none;
  transform: scale(1.1);
}

@keyframes whatsappPulse {
  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);
  }
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 6.5rem;
  z-index: 999;
  display: none;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
  animation: backToTopFadeIn 0.3s ease;
}

.back-to-top--visible {
  display: flex;
}

.back-to-top:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-5px);
}

@keyframes backToTopFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 5rem;
    right: 1.5rem;
  }

  .back-to-top {
    bottom: 2rem;
    right: 1.5rem;
  }
}

/* ==========================================================================
   Gerenciamento de Consentimento de Cookies (LGPD / Google Consent Mode v2)
   ========================================================================== */
.footer__cookie-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-secondary);
  border: 1px solid rgba(213, 180, 214, 0.35);
  border-radius: 50px;
  font-family: var(--font-inter);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.footer__cookie-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-white);
  border-color: var(--color-secondary);
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 6.5rem;
  max-width: 960px;
  margin: 0 auto;
  z-index: 1500;
  display: none;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-secondary);
  border-left: 4px solid var(--color-primary);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 35px rgba(74, 21, 75, 0.16);
  font-family: var(--font-inter);
  animation: cookieBannerSlideUp 0.35s ease-out;
}

.cookie-banner--visible {
  display: block;
}

@keyframes cookieBannerSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner__content {
  flex: 1;
}

.cookie-banner__title {
  font-family: var(--font-playfair);
  color: var(--color-primary);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.cookie-banner__text {
  color: var(--color-text-light);
  font-size: 0.875rem;
  line-height: 1.5;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-inter);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.cookie-banner__btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
}

.cookie-banner__btn--primary:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 21, 75, 0.25);
}

.cookie-banner__btn--secondary {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
}

.cookie-banner__btn--secondary:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

.cookie-banner__btn--outline {
  background-color: transparent;
  color: var(--color-text-light);
  border: 1px solid #d0c4d1;
}

.cookie-banner__btn--outline:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background-color: rgba(213, 180, 214, 0.15);
}

/* Modal de Preferências de Cookies */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background-color: rgba(34, 10, 35, 0.65);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  font-family: var(--font-inter);
  animation: modalFadeIn 0.25s ease;
}

.cookie-modal-overlay--active {
  display: flex;
}

.cookie-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  background: var(--color-white);
  border-radius: 16px;
  border: 1px solid var(--color-secondary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: modalSlideUp 0.25s ease;
}

.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.75rem 1.25rem;
  background: var(--gradient-light);
  border-bottom: 1px solid #efe6ef;
}

.cookie-modal__title {
  font-family: var(--font-playfair);
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.cookie-modal__subtitle {
  color: var(--color-text-light);
  font-size: 0.875rem;
  line-height: 1.45;
}

.cookie-modal__close-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid var(--color-secondary);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

.cookie-modal__body {
  padding: 1.25rem 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-category {
  background: var(--color-bg-light);
  border: 1px solid #eadcea;
  border-radius: 12px;
  padding: 1rem 1.15rem;
}

.cookie-category__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.cookie-category__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-category__name {
  font-family: var(--font-playfair);
  color: var(--color-primary);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-category__badge {
  display: inline-block;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.2px;
}

.cookie-category__description {
  color: var(--color-text-light);
  font-size: 0.84rem;
  line-height: 1.5;
}

.cookie-category__description code {
  font-size: 0.78rem;
  background: rgba(74, 21, 75, 0.07);
  color: var(--color-primary);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* Switch de alternância (Toggle) */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-switch--disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch__slider {
  position: absolute;
  inset: 0;
  background-color: #cbbccb;
  border-radius: 34px;
  transition: background-color 0.25s ease;
}

.cookie-switch__slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease;
}

.cookie-switch input:checked + .cookie-switch__slider {
  background-color: var(--color-primary);
}

.cookie-switch input:checked + .cookie-switch__slider::before {
  transform: translateX(22px);
}

.cookie-switch input:focus-visible + .cookie-switch__slider {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

.cookie-modal__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.15rem 1.75rem;
  background: var(--color-white);
  border-top: 1px solid #efe6ef;
}

.cookie-modal__footer-PrimaryGroup {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

@media (max-width: 900px) {
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1.15rem 1.25rem;
  }

  .cookie-banner__container {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-banner__actions {
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__btn {
    width: 100%;
    padding: 0.7rem 1rem;
  }

  .cookie-modal__header,
  .cookie-modal__body,
  .cookie-modal__footer {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .cookie-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-modal__footer-PrimaryGroup {
    flex-direction: column;
    width: 100%;
  }
}


