/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES
   ========================================================================== */
:root {
  /* Color Palette */
  --primary-color: #FF224D;
  --primary-hover: #E9123B;
  --secondary-color: #0056b3;
  --accent-color: #00B4D8;
  --bg-light: #FFFFFF;
  --bg-alt: #F8F9FA;
  --bg-dark: #12151C;
  --bg-dark-alt: #1E222D;
  --text-color: #333333;
  --text-muted: #666666;
  --text-light: #FFFFFF;
  --border-color: #E2E8F0;
  
  /* Fonts */
  --font-headings: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Transitions */
  --transition-fast: all 0.2s ease-in-out;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s ease-in-out;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Structure */
  --container-width: 1200px;
  --header-height: 80px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
  color: #111111;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-bg {
  background-color: var(--bg-alt);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}
.section-dark h1, 
.section-dark h2, 
.section-dark h3, 
.section-dark h4 {
  color: var(--text-light);
}

.text-center { text-align: center; }
.text-right { text-align: right; }

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 6px rgba(255, 34, 77, 0.2);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(255, 34, 77, 0.4);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(255, 34, 77, 0.3);
}

.btn-white {
  background-color: var(--text-light);
  color: var(--text-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.btn-white:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(255, 34, 77, 0.4);
}

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

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(18, 21, 28, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  transition: var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 5px 0;
}
.logo-img {
  height: 60px;
  width: auto;
  border-radius: var(--radius-sm);
}

.nav-menu {
  display: flex;
  list-style: none;
  height: 100%;
}
.nav-item {
  position: relative;
  height: 100%;
}
.nav-link {
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
  height: 100%;
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.2rem;
  right: 1.2rem;
  height: 3px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transition: var(--transition-normal);
}
.nav-link.active::after, .nav-link:hover::after {
  transform: scaleX(1);
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--text-light);
  font-size: 0.85rem;
}
.header-phone {
  font-weight: 700;
  color: var(--primary-color);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .header-contacts {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-dark);
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
    gap: 2rem;
    transform: translateY(-150%);
    transition: var(--transition-normal);
    z-index: 999;
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .nav-item {
    height: auto;
  }
  .nav-link {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
  }
  .nav-link::after {
    display: none;
  }
}

/* ==========================================================================
   HERO / HOMEPAGE BANNER
   ========================================================================== */
.hero-slider {
  position: relative;
  height: 80vh;
  min-height: 550px;
  background-color: var(--bg-dark);
  overflow: hidden;
  margin-top: var(--header-height);
}

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-item.active {
  opacity: 1;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.slide-item.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 34, 45, 0.65);
}

.slide-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--text-light);
  max-width: 800px;
  padding: 0 1.5rem;
}

.slide-subtitle {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--primary-color);
  letter-spacing: 4px;
  margin-bottom: 1rem;
  transform: translateY(30px);
  opacity: 0;
  transition: var(--transition-slow);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.slide-title {
  font-size: 4.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  transform: translateY(40px);
  opacity: 0;
  transition: var(--transition-slow);
  transition-delay: 0.1s;
  color: var(--text-light);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}
.slide-desc {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(30px);
  opacity: 0;
  transition: var(--transition-slow);
  transition-delay: 0.2s;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.slide-cta {
  transform: translateY(30px);
  opacity: 0;
  transition: var(--transition-slow);
  transition-delay: 0.3s;
}

.slide-item.active .slide-subtitle,
.slide-item.active .slide-title,
.slide-item.active .slide-desc,
.slide-item.active .slide-cta {
  transform: translateY(0);
  opacity: 1;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 100;
  transition: var(--transition-fast);
  font-size: 1.2rem;
}
.slider-arrow:hover {
  background-color: var(--primary-color);
}
.arrow-prev { left: 20px; }
.arrow-next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 100;
}
.slider-dot {
  width: 15px;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}
.slider-dot.active {
  background-color: var(--primary-color);
  width: 30px;
}

@media (max-width: 768px) {
  .hero-slider { height: 65vh; }
  .slide-title { font-size: 2.8rem; }
  .slide-subtitle { font-size: 1rem; }
}

/* ==========================================================================
   PAGE BANNER (INTERNAL PAGES)
   ========================================================================== */
.page-banner {
  height: 350px;
  background-color: var(--bg-dark);
  position: relative;
  display: flex;
  align-items: center;
  margin-top: var(--header-height);
}
.page-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.page-banner-content {
  position: relative;
  z-index: 10;
  color: var(--text-light);
}
.page-banner-title {
  font-size: 3.5rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  color: var(--text-light);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}
.page-breadcrumbs {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.page-breadcrumbs a {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .page-banner { height: 250px; }
  .page-banner-title { font-size: 2.2rem; }
}

/* ==========================================================================
   SECTIONS & SPECIFIC PAGES CONTENT
   ========================================================================== */

/* Title decorations */
.section-header {
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
}
.section-subtitle {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-family: var(--font-headings);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 2.4rem;
  position: relative;
  padding-bottom: 1rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}
.section-header-left {
  text-align: left;
  margin-left: 0;
  margin-bottom: 2rem;
}
.section-header-left .section-title::after {
  left: 0;
  transform: none;
}

/* Image cards side-by-side layout */
.img-block-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.img-block-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.img-block-wrapper:hover img {
  transform: scale(1.05);
}

/* Home Section Features */
.features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.feature-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid transparent;
  transition: var(--transition-normal);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--primary-color);
}
.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: inline-block;
}
.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .features-container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ABOUT / ABROLHOS PAGE
   ========================================================================== */
.about-box {
  background-color: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--primary-color);
  margin-bottom: 2rem;
}
.about-box h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.intro-text {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   HOW TO GET / COMO CHEGAR PAGE
   ========================================================================== */
.arrival-section {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}
.arrival-section h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

/* Table styles */
.table-responsive {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.distance-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.distance-table th, .distance-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}
.distance-table th {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-headings);
  font-weight: 600;
}
.distance-table tr:nth-child(even) td {
  background-color: var(--bg-alt);
}
.distance-table tr:hover td {
  background-color: rgba(255, 34, 77, 0.05);
}

/* Pousadas list */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.hotel-card {
  background-color: var(--bg-alt);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-color);
}
.hotel-name {
  font-weight: 700;
}
.hotel-location {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hotel-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hotel-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hotel-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PASSEIOS / TOURS PAGE
   ========================================================================== */
.tour-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 45% 55%;
}
.tour-img-wrapper {
  position: relative;
  min-height: 350px;
}
.tour-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tour-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 0.4rem 1.2rem;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}
.tour-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tour-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.tour-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.tour-meta-item i {
  color: var(--primary-color);
}
.tour-features-list {
  list-style: none;
  margin: 1.5rem 0 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.tour-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.tour-features-list li i {
  color: #2ECC71;
}

.boat-specs-card {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 4rem;
}
.boat-specs-card h3 {
  color: var(--text-light);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}
.boat-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.boat-spec-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
}
.boat-spec-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.boat-spec-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  .tour-card {
    grid-template-columns: 1fr;
  }
  .tour-body {
    padding: 2rem;
  }
  .boat-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .tour-features-list {
    grid-template-columns: 1fr;
  }
  .boat-specs-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PHOTO GALLERY / GALERIA DE FOTOS
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 34, 77, 0.85);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-zoom-icon {
  color: var(--text-light);
  font-size: 2rem;
  transform: scale(0.5);
  transition: var(--transition-normal);
}
.gallery-item:hover .gallery-zoom-icon {
  transform: scale(1);
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Simple Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 12, 16, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox-content-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 85%;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.1);
}
.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2.2rem;
  cursor: pointer;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 3rem;
  cursor: pointer;
  padding: 1rem;
}
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

@media (max-width: 768px) {
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ==========================================================================
   CONTACT / CONTATO PAGE
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 3rem;
}

.contact-info-list {
  list-style: none;
  margin-top: 2rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.contact-info-icon {
  background-color: rgba(255, 34, 77, 0.1);
  color: var(--primary-color);
  width: 45px;
  height: 45px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.contact-info-text p, .contact-info-text a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contact-info-text a:hover {
  color: var(--primary-color);
}

/* Form Styles */
.contact-form {
  background-color: var(--bg-alt);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #222222;
}
.form-control {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  color: var(--text-color);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 34, 77, 0.15);
}
textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.form-status {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status.success {
  background-color: #D4EDDA;
  color: #155724;
  border: 1px solid #C3E6CB;
  display: block;
}
.form-status.error {
  background-color: #F8D7DA;
  color: #721C24;
  border: 1px solid #F5C6CB;
  display: block;
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-form {
    padding: 2rem;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 35% 25% 40%;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-widget-title {
  color: var(--text-light);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.8rem;
  margin-bottom: 1.8rem;
}
.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-widget p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-logo {
  max-height: 55px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contacts-list {
  list-style: none;
}
.footer-contacts-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.footer-contacts-list li i {
  color: var(--primary-color);
  margin-top: 4px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}
.social-icon {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* Font Awesome Icons simulation (if CDN fails or not imported) */
i.fas, i.fab, i.far {
  font-style: normal;
  font-weight: 900;
  display: inline-block;
}
