/* SwingTropical - Estilos do Site Principal */

:root {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --secondary: #3b82f6;
    --accent: #f59e0b;
    --success: #10b981;
    --dark: #1f2937;
    --gray: #6b7280;
    --light: #f3f4f6;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.9), rgba(59, 130, 246, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.urgency-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

/* ==================== PROMO BAR ==================== */

.promo-bar {
    background: var(--accent);
    color: white;
    text-align: center;
    padding: 1rem;
    font-weight: 600;
    display: none;
}

.promo-bar.active {
    display: block;
}

/* ==================== WHATSAPP FLOAT ==================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* ==================== SECTIONS ==================== */

section {
    padding: 5rem 0;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ==================== PACKAGES ==================== */

.packages {
    background: var(--light);
}

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

.package-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
}

.package-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.package-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.package-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.package-price small {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.package-items {
    list-style: none;
    margin-bottom: 1.5rem;
}

.package-items li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light);
}

.package-items li:before {
    content: "✓ ";
    color: var(--success);
    font-weight: bold;
    margin-right: 0.5rem;
}

.package-card .cta-button {
    display: block;
    text-align: center;
    background: var(--primary);
    color: white;
}

.package-card .cta-button:hover {
    background: var(--primary-dark);
}

/* ==================== GALLERY ==================== */
/* ======= GALERIA ======= */
/* Motivo: antes a seção não tinha background definido e ficava transparente,
   podendo “puxar” um fundo escuro do layout/preview. Agora força claro. */
.gallery{
    background: var(--white);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;

    /* Galeria retangular (3:2) */
    aspect-ratio: 3 / 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

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

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--accent);
}

/* ==================== ABOUT ==================== */

.about {
    background: white;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--gray);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    border-radius: 12px;
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* ==================== TESTIMONIALS ==================== */

.testimonials {
    background: var(--light);
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.testimonial-rating {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

/* ==================== CONTACT FORM ==================== */

.contact {
    background: white;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.contact-form .cta-button {
    width: 100%;
    background: #25d366;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.contact-form .cta-button:hover {
    background: #1fa855;
}


/* ==================== CONTACT FORM (FIX ALINHAMENTO DATA) ==================== */
/* Padroniza altura dos campos (evita desalinhamento do input date no iOS/Android) */
.contact-form .form-row{ align-items: stretch; }

.contact-form .form-group{ display: flex; }

.contact-form .form-group input,
.contact-form .form-group select{
  height: 56px;
  padding: 0 1rem;       /* padding vertical padronizado */
  line-height: 1.2;
  display: block;
}

/* Date: ajustes específicos (Safari/iOS) */
.contact-form .form-group input[type="date"]{
  padding-right: .75rem;
}

.contact-form .form-group input[type="date"]::-webkit-date-and-time-value{
  text-align: left;
  padding: 0;
}




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

.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .packages-grid,
    .gallery-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .container {
        padding: 0 1rem;
    }
}



/* === Lightbox navegação === */
.lightbox{ touch-action: pan-y; } /* permite swipe horizontal sem brigar com scroll vertical */
.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.35);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
}
.lightbox-prev{ left: 14px; }
.lightbox-next{ right: 14px; }
.lightbox-nav:active{ transform: translateY(-50%) scale(.98); }
@media (max-width: 640px){
  .lightbox-nav{ width: 42px; height: 42px; }
}



/* ==================== FORMULÁRIO (iOS / DESIGN LEVE / DATA ALINHADA) ==================== */

/* Linha: força os 2 campos ficarem com a mesma altura/caixa */
.contact-form .form-row{ align-items: stretch; }
.contact-form .form-group{ display:flex; }

/* Campos (visual mais leve/elegante) */
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea{
  font-family: inherit;
  font-size: 16px;                 /* evita zoom do iOS ao focar */
  color: #4c1d95;                  /* roxo elegante para o texto digitado */
  background: #ffffff;
  border: 1.5px solid rgba(124,58,237,.22);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(17,24,39,.03);
  transition: border-color .2s ease, box-shadow .2s ease, transform .06s ease;
}

/* Altura padronizada (inputs/select) */
.contact-form .form-group input,
.contact-form .form-group select{
  height: 56px;
  padding: 0 16px;
}

/* Textarea mantém altura confortável */
.contact-form .form-group textarea{
  padding: 14px 16px;
  min-height: 140px;
  resize: vertical;
}

/* Placeholder mais suave (não roxo) */
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder{
  color: rgba(107,114,128,.85);
}

/* Foco: borda roxa + brilho discreto */
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus{
  outline: none;
  border-color: rgba(124,58,237,.70);
  box-shadow: 0 0 0 4px rgba(124,58,237,.14);
}

/* ==================== iOS/Safari: alinhar texto do campo DATA ==================== */
.contact-form .form-group input[type="date"]{
  padding-right: 12px; /* espaço para o ícone do calendário */
}

/* =================================================================================================
/* ==================== FORMULÁRIO (ULTRA CLEAN + iOS DATE ALINHADO) ================================
/* ================================================================================================= */

.contact-form .form-row{ align-items: stretch; }
.contact-form .form-group{ display:flex; }

/* Visual “ultra clean” */
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea{
  font-family: inherit;
  font-size: 16px;                      /* iOS: evita zoom no foco */
  color: #4c1d95;                       /* roxo elegante no texto digitado */
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(124,58,237,.18);
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(17,24,39,.02),
    0 10px 30px rgba(17,24,39,.06);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

/* Altura/caixa padronizada */
.contact-form .form-group input,
.contact-form .form-group select{
  height: 56px;
  padding: 0 16px;
}

/* Textarea */
.contact-form .form-group textarea{
  padding: 14px 16px;
  min-height: 140px;
  resize: vertical;
}

/* Placeholder suave */
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder{
  color: rgba(107,114,128,.85);
}

/* Foco “Apple clean” */
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus{
  outline: none;
  background: #ffffff;
  border-color: rgba(124,58,237,.55);
  box-shadow:
    0 0 0 4px rgba(124,58,237,.12),
    0 12px 34px rgba(17,24,39,.08);
}

/* ==================== iOS/Safari: DATE (texto torto) ==================== */
.contact-form .form-group input[type="date"]{
  padding-right: 12px;                  /* espaço do ícone */
}

/* Esses seletores são o “pulo do gato” do Safari */
.contact-form .form-group input[type="date"]::-webkit-date-and-time-value{
  text-align: left;
  margin: 0;
  padding: 0;
  line-height: 56px;                    /* força centralização vertical */
}

.contact-form .form-group input[type="date"]::-webkit-datetime-edit{
  padding: 0;
  line-height: 56px;                    /* reforço */
}

.contact-form .form-group input[type="date"]::-webkit-datetime-edit-fields-wrapper{
  padding: 0;
}


/* =================================================================================================
/* ==================== HARMONIA ENTRE SEÇÕES (CLEAN) ==============================================
/* ================================================================================================= */

section{ padding: 5.5rem 0; }

.packages,
.gallery,
.testimonials{
  background: var(--light);             /* blocos com fundo suave */
}

.about,
.contact{
  background: var(--white);             /* blocos brancos */
}

/* Um separador quase invisível entre seções (fica bem “Apple”) */
section{
  border-top: 1px solid rgba(17,24,39,.06);
}
section:first-of-type{ border-top: none; }

