/* ========================================
   RESET E BASE
======================================== */

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

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

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: #ffffff;
    overflow-x: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* ========================================
   TOKENS (DESIGN SYSTEM)
======================================== */

:root{
  --color-primary:#2f5f3b; --color-accent:#d4a73b;
  --color-text: #222222;
  --color-muted: #6b7280;
  --color-white: #ffffff;
  --color-light: #f8f9fa;
  --color-dark: #1a1a1a;
  --color-overlay: rgba(0, 0, 0, 0.5);
    
    /* Tipografia */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Espaçamento */
    --spacing-xs: 0.25rem;   /* 4px */
    --spacing-sm: 0.5rem;    /* 8px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-2xl: 3rem;     /* 48px */
    --spacing-3xl: 4rem;     /* 64px */
    --spacing-4xl: 6rem;     /* 96px */
    
    /* Layout */
    --container: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transições */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

/* ========================================
   UTILITÁRIOS
======================================== */

.container{max-width:1200px; margin:0 auto; padding:0 clamp(16px, 4vw, 40px)}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title, h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2f5f3b;
    margin-bottom: 1.5rem;
    text-align: left;
    line-height: 1.2;
}
.experiencias h2{
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    text-align: left;
    line-height: 1.1;
    max-width: 65ch;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--color-muted);
    max-width: 600px;
    margin-inline: auto;
}

.highlight {
    color: var(--color-accent);
}

/* ========================================
   HEADER
======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.site-header .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.site-header .brand img {
    height: 60px;
    width: auto;
}

.site-header .menu {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header .menu a {
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-header .menu a:hover {
    color: var(--color-primary);
}

.btn{display:inline-block; padding:.85rem 1.25rem; border-radius:12px; font-weight:700}
.btn-primary{background:#2f5f3b; color:#fff}
.btn-primary:hover{filter:brightness(.95)}

/* ========================================
   HERO SECTION
======================================== */

.hero{
  min-height:68vh; position:relative; display:grid; place-items:center; color:#fff;
  background-image:url("../img/biblioteca/piscina01.webp");
  background-size:cover; background-position:center;
}
.hero::before{content:""; position:absolute; inset:0; background:rgba(0,0,0,.38)}
@media (max-width:768px){
  .hero{background-image:url("../img/biblioteca/AnyConv.com__rec05.webp")}
}
.hero-wrap{position:relative; z-index:1; text-align:center; padding:56px 12px}
.hero h1{font-weight:800; font-size:clamp(28px,5vw,56px); line-height:1.05; margin:.4rem 0 .75rem}
.hero .accent{color:var(--color-accent)}
.hero .hero-sub{opacity:.95}

/* ========================================
   COMODIDADES SECTION
======================================== */

.comodidades {
    padding: 6rem 0;
    background: #fff;
    text-align: center;
}

.comodidades h2 {
    text-align: center;
}

.comodidades .cards{display:grid; gap:24px; grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:1024px){.comodidades .cards{grid-template-columns:1fr 1fr}}
@media (max-width:640px){ .comodidades .cards{grid-template-columns:1fr}}
.card{position:relative; overflow:hidden; border-radius:16px; background:#0b0b0b}
.card img{width:100%; height:320px; object-fit:cover; display:block; filter:brightness(.8) contrast(1.1); transition:transform .5s ease}
.card:hover img{transform:scale(1.04)}
.card-body{position:absolute; inset:auto 0 0 0; color:#fff; padding:24px 20px;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%, rgba(0,0,0,.4) 40%, rgba(0,0,0,.9) 100%);
  backdrop-filter: blur(1px);}
.card h3{margin:0 0 12px; font-weight:800; font-size:1.5rem; text-shadow: 0 2px 4px rgba(0,0,0,.8);}
.card p{margin:0; opacity:1; font-size:1rem; line-height:1.5; text-shadow: 0 1px 3px rgba(0,0,0,.8);}

.lead {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #6b7280;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.experiencias p{
    text-align: left;
    margin-bottom: 2rem;
    color: rgba(74, 85, 104, 0.9);
    line-height: 1.6;
    max-width: 70ch;
    font-size: 1.1rem;
}

/* ========================================
   EXPERIÊNCIAS SECTION
======================================== */

.experiencias {
    padding: 6rem 0;
    background: rgba(47,95,59,0.04);
    position: relative;
}
.experiencias::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(47,95,59,0.2), transparent);
}

.experiencias{
    background: rgba(47, 95, 59, 0.05);
    padding: 4rem 0 4rem 0;
    position: relative;
}
.experiencias .grid-2{
  display:grid; 
  gap:2rem; 
  grid-template-columns:0.35fr 1.65fr; 
  align-items:start;
  padding-right:0;
  margin-right:0;
}

.experiencias .container{
  padding-right:0;
  max-width:100%;
}
@media (max-width:1024px){ .experiencias .grid-2{grid-template-columns:1fr; gap:2.5rem} }
.video{
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 24px;
    display: block;
    max-width: 280px;
    margin: 0;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
    background: #000;
    object-fit: cover;
    object-position: center center;
    position: relative;
}
.video:hover{
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.video:focus{
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}
.gallery{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
    min-height: 400px;
    align-items: start;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    border: 2px dashed rgba(47,95,59,0.3);
    position: relative;
}
.gallery::before{
    content: "Galeria carregando...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(47,95,59,0.6);
    font-size: 1.1rem;
    z-index: 1;
}
.gallery:not(:empty)::before{
    display: none;
}
.gallery-item-wrapper{
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4/3;
    background: #f8f9fa;
    opacity: 1;
    transform: translateY(0);
    animation: galleryFadeIn 0.8s ease forwards;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    animation-delay: calc(var(--index, 0) * 0.1s);
    transition: all 0.3s ease;
    border: 1px solid rgba(47,95,59,0.2);
}
.gallery-item{width:100%; height:100%; object-fit:cover; transition:transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94)}
.gallery-overlay{position:absolute; inset:0; background:linear-gradient(135deg, rgba(47,95,59,0.85) 0%, rgba(212,167,59,0.7) 100%); opacity:0; transition:opacity 0.5s ease; display:flex; align-items:center; justify-content:center; backdrop-filter:blur(2px)}
.gallery-title{color:#fff; font-size:1.1rem; font-weight:600; text-align:center; text-shadow:0 2px 12px rgba(0,0,0,0.6); transform:translateY(24px); transition:transform 0.5s ease; letter-spacing:0.5px}
.gallery-link{text-decoration:none; display:block}
.gallery-item-wrapper:hover{
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.gallery-item-wrapper:hover .gallery-item{
    transform: scale(1.03);
}
.gallery-item-wrapper:hover .gallery-overlay{
    opacity: 1;
}
.gallery-item-wrapper:hover .gallery-title{
    transform: translateY(0);
}
.gallery-link:focus{
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
    border-radius: 20px;
}
@keyframes galleryFadeIn{to{opacity:1; transform:translateY(0)}}
@media (max-width:768px){
    .gallery{
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .experiencias .grid-2{
        gap: 2rem;
    }
    .video{
        max-width: 260px;
        margin: 0 auto;
        margin-bottom: 2rem;
    }
    .experiencias h2{
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }
}

/* ========================================
   AVALIAÇÕES SECTION
======================================== */

.avaliacoes {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.avaliacoes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .avaliacoes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.avaliacao-card {
    background-color: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.avaliacao-stars {
    margin-bottom: var(--spacing-md);
}

.star {
    color: var(--color-accent);
    font-size: var(--font-size-lg);
    margin-right: var(--spacing-xs);
}

.avaliacao-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.avaliacao-author {
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
}

/* ========================================
   SOBRE SECTION
======================================== */

.sobre {
    padding: 6rem 0;
    background: #fff;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

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

.sobre-content {
    padding-right: var(--spacing-lg);
}

.sobre-content .section-title {
    text-align: left;
    margin-bottom: var(--spacing-lg);
}

.sobre-content p {
    margin-bottom: var(--spacing-md);
    color: var(--color-muted);
    line-height: 1.7;
}

.sobre-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sobre-image img {
    width: 100%;
    height: auto;
}

/* ========================================
   CONTATO CTA SECTION
======================================== */

.faixa{
  background-image:url("../img/biblioteca/rec03.webp");
  background-size:cover; background-position:center;
  color:#fff; text-align:center; padding:72px 0; position:relative;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.faixa::before{content:""; position:absolute; inset:0; background:rgba(0,0,0,.65)}
.faixa .container{position:relative; z-index:1; max-width: 800px; margin: 0 auto;}

.faixa h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    line-height: 1.2;
}

.faixa p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 2.5rem;
    color: #ffffff;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faixa .btn {
    background: linear-gradient(135deg, var(--color-primary), #1e4a2b);
    border: 2px solid rgba(255,255,255,0.2);
    color: #ffffff;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-shadow: none;
}

.faixa .btn:hover {
    background: linear-gradient(135deg, #1e4a2b, var(--color-primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.3);
}

/* Responsividade da seção faixa */
@media (max-width: 768px) {
    .faixa {
        padding: 60px 0;
        min-height: 350px;
    }
    
    .faixa .container {
        padding: 0 20px;
    }
    
    .faixa h2 {
        margin-bottom: 1.2rem;
        text-shadow: 0 3px 6px rgba(0,0,0,0.8);
    }
    
    .faixa p {
    margin-bottom: 2rem;
        text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    }
    
    .faixa .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .faixa {
        padding: 50px 0;
        min-height: 300px;
    }
    
    .faixa .container {
        padding: 0 15px;
    }
    
    .faixa h2 {
        margin-bottom: 1rem;
    }
    
    .faixa p {
        margin-bottom: 1.8rem;
        line-height: 1.5;
    }
    
    .faixa .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        border-radius: 40px;
    }
}

/* ========================================
   FOOTER
======================================== */

.footer {
    background: #f7f7f7;
    padding: 40px 0 10px;
}

.grid-4 {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.footer h4 {
    margin: 0.2rem 0 0.6rem;
    font-weight: 600;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

.footer a {
    color: var(--color-text);
    text-decoration: none;
}

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

.copy {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    padding: 10px 0;
    margin-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* Redes Sociais */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.9rem;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4, #F77737);
    color: white;
    border-color: rgba(255,255,255,0.2);
}

.social-link.whatsapp:hover {
    background: #25D366;
    color: white;
    border-color: rgba(255,255,255,0.2);
}

.social-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.social-link span {
    font-weight: 500;
    font-size: 0.85rem;
}

/* Responsividade das redes sociais */
@media (max-width: 768px) {
    .social-links {
        flex-direction: row;
        justify-content: center;
    }
    
    .social-link {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .social-links {
        flex-direction: column;
    }
    
    .social-link {
        justify-content: flex-start;
    }
}

/* ========================================
   PÁGINA DE CONTATO
======================================== */

.contact-hero {
    background: linear-gradient(135deg, var(--color-primary), #1e4a2b);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info h2,
.contact-form h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-details h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.contact-details p {
    margin: 0 0 0.25rem 0;
    color: var(--text);
}

.contact-details a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details small {
    color: var(--muted);
    font-size: 0.85rem;
}

/* Formulário */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.contact-form p {
    color: var(--muted);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 16px 24px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

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

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

/* Mapa */
.map-section {
    margin-top: 4rem;
}

.map-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.map-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.map-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e0e0e0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.map-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.map-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.map-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.5rem 0;
}

.map-content p {
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.map-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.map-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 16px;
    font-size: 0.95rem;
}

.map-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-info p {
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 600;
}

.map-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.map-info li {
    padding: 0.5rem 0;
    color: var(--muted);
    position: relative;
    padding-left: 1.5rem;
}

.map-info li::before {
    content: '📍';
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* Menu ativo */
.menu a.active {
    color: var(--color-primary);
    font-weight: 600;
}

/* Responsividade da página de contato */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 4rem 0 3rem;
    }
    
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-info h2,
    .contact-form h2,
    .map-section h2 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .map-card {
        padding: 1.5rem;
        min-height: 250px;
    }
    
    .map-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .map-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .map-actions .btn {
        font-size: 0.9rem;
        padding: 10px 14px;
    }
}

/* ========================================
   PÁGINA DE RESERVAS
======================================== */

.booking-hero {
    background: linear-gradient(135deg, var(--color-primary), #1e4a2b);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.booking-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.booking-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.booking-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.booking-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.booking-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.booking-form h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.booking-form > p {
    color: var(--muted);
    margin-bottom: 2rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox personalizado */
.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
}

.btn-large {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* Informações da reserva */
.booking-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.info-content p {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.info-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-content li {
    padding: 0.25rem 0;
    color: var(--muted);
    position: relative;
    padding-left: 1rem;
}

.info-content li::before {
    content: '•';
    color: var(--color-primary);
    position: absolute;
    left: 0;
}

/* Responsividade da página de reservas */
@media (max-width: 1024px) {
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .booking-hero {
        padding: 4rem 0 3rem;
    }
    
    .booking-section {
        padding: 3rem 0;
    }
    
    .booking-form {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .booking-hero h1 {
        font-size: 2rem;
    }
    
    .booking-hero p {
        font-size: 1rem;
    }
    
    .booking-form {
        padding: 1.5rem;
    }
    
    .booking-form h2 {
        font-size: 1.5rem;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
    }
    
    .btn-large {
        font-size: 1rem;
        padding: 14px 20px;
    }
}

.overline {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.bullets {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.bullets li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* ========================================
   FLOATING ACTION BUTTONS
======================================== */

.fab-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (max-width: 1024px) {
    .fab-container {
        left: 1.5rem;
        bottom: 1.5rem;
    }
}
@media (max-width: 768px) {
    .fab-container {
        left: 1rem;
        bottom: 1rem;
    }
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: white;
}

.fab-whatsapp {
    background-color: #25d366;
}

.fab-phone {
    background-color: #2f5f3b;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    color: white;
}

.fab svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ========================================
   LIGHTBOX
======================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--color-white);
    font-size: var(--font-size-3xl);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-white);
    font-size: var(--font-size-2xl);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: var(--spacing-md);
    cursor: pointer;
    border-radius: var(--radius-md);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--radius-md);
}

/* ========================================
   ACESSIBILIDADE
======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus visível para navegação por teclado */
*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ========================================
   RESPONSIVIDADE
======================================== */

@media (max-width: 767px) {
    .header-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .nav-list {
        gap: var(--spacing-lg);
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .fab-container {
        bottom: 1rem;
        left: 1rem;
    }
    
    .fab {
        width: 48px;
        height: 48px;
    }
    
    .fab svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-inline: var(--spacing-sm);
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   LIGHTBOX E GALERIA
======================================== */

.lb-overlay{position:fixed;inset:0;background:rgba(0,0,0,.9);display:flex;align-items:center;justify-content:center;gap:12px;opacity:0;pointer-events:none;transition:.2s}
.lb-overlay.open{opacity:1;pointer-events:auto}
.lb-overlay .lb-img{max-width:90vw;max-height:85vh;outline:none;border-radius:12px}
.lb-overlay .lb-close,.lb-overlay .lb-prev,.lb-overlay .lb-next{
  position:fixed;top:16px;background:#fff;border:0;border-radius:10px;padding:.4rem .6rem;font-size:20px;cursor:pointer
}
.lb-overlay .lb-close{right:16px}
.lb-overlay .lb-prev{left:16px;top:50%;transform:translateY(-50%)}
.lb-overlay .lb-next{right:16px;top:50%;transform:translateY(-50%)}
#experiencias .gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows:minmax(180px, auto);
  gap:16px;
  min-height:500px;
  width:100%;
  padding:20px 0;
}

/* Tamanhos variados para layout dinâmico */
#experiencias .gallery-large{
  grid-row:span 2;
  grid-column:span 1;
}

#experiencias .gallery-medium{
  grid-row:span 1;
  grid-column:span 1;
}

#experiencias .gallery-small{
  grid-row:span 1;
  grid-column:span 1;
}

#experiencias .gallery-loading{
  grid-column:1/-1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:2rem;
  color:var(--color-muted);
}

.loading-spinner{
  width:40px;
  height:40px;
  border:3px solid #f3f3f3;
  border-top:3px solid var(--color-primary);
  border-radius:50%;
  animation:spin 1s linear infinite;
  margin-bottom:1rem;
}

@keyframes spin{
  0%{transform:rotate(0deg)}
  100%{transform:rotate(360deg)}
}

#experiencias .gallery .gallery-link{
  display:block;
  text-decoration:none;
  color:inherit;
  height:100%;
  transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#experiencias .gallery .gallery-item-wrapper{
  position:relative;
  height:100%;
  border-radius:20px;
  overflow:hidden;
  background:linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:0 4px 20px rgba(47, 95, 59, 0.1);
  border:1px solid rgba(47, 95, 59, 0.1);
}

#experiencias .gallery .gallery-item-wrapper:hover{
  transform:translateY(-8px) scale(1.02);
  box-shadow:0 12px 40px rgba(47, 95, 59, 0.2);
  border-color:rgba(47, 95, 59, 0.3);
}

#experiencias .gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:20px;
  display:block;
  transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter:brightness(0.95) saturate(1.1);
}

#experiencias .gallery .gallery-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(47, 95, 59, 0.8) 0%, rgba(47, 95, 59, 0.6) 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter:blur(2px);
}

#experiencias .gallery .gallery-item-wrapper:hover .gallery-overlay{
  opacity:1;
}

#experiencias .gallery .gallery-item-wrapper:hover img{
  transform:scale(1.05);
  filter:brightness(1.1) saturate(1.2);
}

#experiencias .gallery .gallery-title{
  color:white;
  font-size:1.1rem;
  font-weight:700;
  text-align:center;
  margin:0 0 4px 0;
  text-shadow:0 2px 8px rgba(0,0,0,0.3);
  letter-spacing:0.5px;
  transform:translateY(10px);
  transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#experiencias .gallery .gallery-subtitle{
  color:rgba(255,255,255,0.9);
  font-size:0.85rem;
  font-weight:400;
  text-align:center;
  margin:0;
  text-shadow:0 1px 4px rgba(0,0,0,0.3);
  letter-spacing:0.3px;
  transform:translateY(15px);
  transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity:0.8;
}

#experiencias .gallery .gallery-item-wrapper:hover .gallery-title,
#experiencias .gallery .gallery-item-wrapper:hover .gallery-subtitle{
  transform:translateY(0);
}

/* Layout dinâmico para diferentes tamanhos de tela */
@media (min-width: 1200px) {
  #experiencias .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  #experiencias .gallery-large {
    grid-row: span 2;
    grid-column: span 1;
  }
}

@media (max-width: 1199px) and (min-width: 769px) {
  #experiencias .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  #experiencias .gallery-large {
    grid-row: span 2;
    grid-column: span 1;
  }
}

@media (max-width: 768px) { 
  #experiencias .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px 0;
  }
  
  #experiencias .gallery-large,
  #experiencias .gallery-medium,
  #experiencias .gallery-small {
    grid-row: span 1;
    grid-column: span 1;
  }
  
  #experiencias .gallery .gallery-item-wrapper {
    border-radius: 16px;
  }
  
  #experiencias .gallery img {
    border-radius: 16px;
  }
  
  #experiencias .gallery .gallery-title {
    font-size: 0.9rem;
  }
  
  #experiencias .gallery .gallery-subtitle {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  #experiencias .gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  #experiencias .gallery-large,
  #experiencias .gallery-medium,
  #experiencias .gallery-small {
    grid-row: span 1;
    grid-column: span 1;
  }
}

/* ========================================
   SEÇÃO DE DEPOIMENTOS MODERNA
======================================== */

.avaliacoes {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.avaliacoes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(47,95,59,0.2), transparent);
}

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

.avaliacoes .section-header {
    text-align: center;
}

.avaliacoes .section-title {
    text-align: center;
}

.avaliacoes .section-description {
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(47, 95, 59, 0.1);
    border: 1px solid rgba(47, 95, 59, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(47, 95, 59, 0.15);
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 4px;
}

.star {
    color: #ffc107;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    font-style: italic;
    margin: 0 0 2rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--color-primary);
    opacity: 0.3;
    font-family: serif;
}

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

.author-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(47, 95, 59, 0.1);
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-muted);
    font-weight: 500;
}

/* Responsividade dos depoimentos */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonials-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .author-avatar {
        align-self: center;
    }
}

/* ========================================
   CARROSSEL E CONTROLES DE VISUALIZAÇÃO
======================================== */

/* Controles de visualização */
.gallery-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  justify-content: center;
}

.view-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(47, 95, 59, 0.2);
  border-radius: 12px;
  background: white;
  color: rgba(47, 95, 59, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-toggle:hover {
  border-color: rgba(47, 95, 59, 0.4);
  color: rgba(47, 95, 59, 0.8);
  transform: translateY(-2px);
}

.view-toggle.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* Carrossel */
.carousel-container {
  display: none;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.carousel-view {
  display: none;
}

.carousel-view.active {
  display: block;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
}

.carousel-caption h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.carousel-caption p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Botões de navegação */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

/* Indicadores (dots) */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: rgba(47, 95, 59, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot:hover {
  background: rgba(47, 95, 59, 0.6);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* Responsividade do carrossel */
@media (max-width: 768px) {
  .carousel-wrapper {
    height: 300px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-prev {
    left: 12px;
  }
  
  .carousel-next {
    right: 12px;
  }
  
  .carousel-caption {
    padding: 1.5rem 1rem 1rem;
  }
  
  .carousel-caption h4 {
    font-size: 1.1rem;
  }
  
  .carousel-caption p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .carousel-wrapper {
    height: 250px;
  }
  
  .gallery-controls {
    gap: 6px;
    margin-bottom: 16px;
  }
  
  .view-toggle {
    width: 40px;
    height: 40px;
  }
}

/* ========================================
   PRINT STYLES
======================================== */

@media print {
    .header,
    .fab-container,
    .lightbox {
        display: none !important;
    }
    
    .hero {
        height: auto;
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .hero-overlay {
        display: none;
    }
    
    .hero-content {
        color: var(--color-text);
    }
}

