:root {
    --bg: #f1f5ed;
    --bg-dark: #2f4f32;
    --surface: #ffffff;
    --primary: #6f997a;
    --primary-dark: #354c2d;
    --accent: #d1e2c0;
    --text: #233f22;
    --text-muted: #5b694f;
    --border: #ced8c5;
    --TEXT:#daded8;
}

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


body {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    color: #233f22;
    background: linear-gradient(125deg, #f1f5ed, #d1e2c0);
    line-height: 1.5;
    min-height: 100vh;
}

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

/* ============================================================
   AJUSTE: TEXTO COM MESMA LARGURA DO CARROSSEL
   ============================================================ */
.texto-inicial {
    width: 100%; /* Garante que ocupe a largura toda do contêiner .container */
    margin: 0 auto 40px;
    padding: 30px 40px; /* Espaçamento interno para não encostar na borda */
/* Borda escura como na imagem */
    box-sizing: border-box;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    letter-spacing: 0.5px;
    line-height: 1.8;
    font-family: 'Playfair Display', serif;
}

.carousel-section {
    width: 80%;
    height: auto;
    max-width: 800px;
    margin: 0 auto;
    background: transparent;
    
    border-radius: 24px;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: transparent;
    border: 1px solid transparent;
}

.image-carousel {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-item {
    min-width: 100%;
    flex: 0 0 100%;
}

.carousel-item img {
    width: 100%;
    height: 100px;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 0 0 20px 20px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.prev-btn {
    left: 14px;
}

.next-btn {
    right: 14px;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--primary-dark);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.top-nav {
    width: 100%;
    height: 75px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(53, 76, 45, 0.90);
    border-bottom: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0 20px;
    box-shadow: 0 2px 16px rgba(22, 35, 21, 0.25);
}

.logo-img {
    width: 190px;
    max-width: 220px;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #DADED8;
    font-weight: 500;
}

.nav-links a {
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: #DADED8;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.actions .btn-secondary,
.actions .btn-secondary:disabled,
.actions a.btn-secondary,
.actions button.btn-secondary {
    background-color: var(--primary-dark);
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.2;
    font-style: italic;
    color: #DADED8;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 10px;
    padding: 12px 20px;
    min-width: 220px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 20px rgba(13, 37, 63, 0.22);
    backdrop-filter: blur(4px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary::before {
    content: "";
    position: absolute;
    font-style: italic;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 55%);
    pointer-events: none;
}

.btn-secondary:hover {
    background: var(--bg-dark);
    transform: translateY(-1px);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 2000;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal-card {
    width: min(520px, 100%);
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 26px;
    box-shadow: 0 20px 50px rgba(18, 38, 17, 0.22);
    text-align: center;
}

.modal-card h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    color: var(--bg-dark);
    margin-bottom: 18px;
    line-height: 1.2;
}

.modal-card p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.modal-actions button {
    min-width: 140px;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-cancel {
    background: #e2e2d8;
    color: var(--bg-dark);
}

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

.btn-confirm {
    background: var(--primary-dark);
    color: #DADED8;
}

.btn-confirm:hover {
    background: #2d3f27;
    transform: translateY(-1px);
}

.hero {
    font-family: 'Italianno', cursive;
    width: 100%;
    height: 74vh;
    min-height: 520px;
    color: var(--TEXT);
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(53,76,45,0.68), rgba(40,54,31,0.88)), url("../assets/Ailka&Vinicius11.png") center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-align: center;
}

.hero-content {
    width: min(760px, 100%);
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.05;
    font-weight: 200;
    margin: 0;
}

.tagline {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    margin-top: 18px;
    font-weight: 500;
}

.contagem-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 15px; 
    width: 100%; 
}

.countdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 640px;
}

.some {
    margin: 0;
    text-align: center;
}

.countdown {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 12px;
    width: 100%;
    max-width: 600px;
}

.time-box {
    background: var(--primary-dark);
    color: var(--accent);
    padding: 20px 10px; 
    border-radius: 12px;
    min-width: 0; 
    box-shadow: 0 8px 20px rgba(31, 50, 28, 0.18);
    text-align: center;
}

.time-box span {
    font-size: clamp(1.4rem, 4vw, 2.5rem); 
    font-weight: 700;
    display: block;
}

.time-box p {
    font-size: 0.65rem; 
    text-transform: uppercase;
    margin-top: 5px;
}

.container {
    width: min(1140px, 92%); 
    margin: 40px auto 30px;
}

.footer {
    padding: 20px 0;
    text-align: center;
    background: var(--bg-dark);
    color: var(--TEXT);
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.95rem;
}

/* ============================================================
   RESPONSIVIDADE AJUSTADA (MOBILE & TABLET)
   ============================================================ */

@media (max-width: 992px) {
    .hero { height: 50vh; min-height: 400px; }
    .carousel-item img { height: 650px; object-fit: cover; }
    .nav-links { gap: 12px; }
}

@media (max-width: 768px) {
    .top-nav { padding: 0 15px; height: 65px; }
    body { padding-top: 65px; } 

    .hero { height: 45vh; min-height: 350px; }
    .carousel-item img { height: 550px; }

    .actions { flex-direction: column; width: 100%; padding: 0 20px; }
    .btn-secondary { width: 100%; min-width: 0; padding: 15px; }
    
    .texto-inicial {
        padding: 20px; /* Reduz o espaçamento interno do texto no mobile */
    }
}

@media (max-width: 500px) {
    .hero h1 { font-size: 2.2rem; line-height: 1.2; }
    
    .countdown {
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }

    .carousel-item img { height: 450px; }
    .logo-img { width: 130px; }
    .nav-links a { font-size: 0.8rem; padding: 6px 8px; }
}

@media (max-width: 370px) {
    .hero h1 { font-size: 1.8rem; }
    .time-box span { font-size: 1.3rem; }
