/* ========================================
   SURF RIO - Light Mode (Clean & Solar)
======================================== */

:root {
    /* Color Palette - Light/Beach Vibe */
    --primary: #0088CC;
    /* Azul vibrante */
    --secondary: #FF8F5E;
    /* Laranja solar suave */
    --accent: #FFD166;
    /* Amarelo sol */

    --bg-body: #F9FAFB;
    /* Branco off-white */
    --bg-white: #FFFFFF;

    --text-main: #1F2937;
    /* Cinza escuro */
    --text-muted: #6B7280;
    /* Cinza médio */

    --border-light: #E5E7EB;

    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05);

    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
}

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

ul {
    list-style: none;
}

/* Main Wrapper & Container */
.main-wrapper {
    max-width: 100%;
    overflow-x: hidden;
}

/* ========================================
   HEADER
======================================== */
/* ========================================
   HEADER
======================================== */
.header {
    background-color: #0F172A;
    /* Azul Noturno Profundo */
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 32px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    /* Logo ajustada para header mais fino */
    width: auto;
    display: block;
}

.cta-header {
    background: white;
    color: #0F172A;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-header:hover {
    transform: translateY(-2px);
    background: var(--secondary);
    /* Laranja da marca */
    color: white;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 32px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    order: 1;
}

.badge-sunrise {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFF4ED;
    /* Laranja muito claro */
    color: var(--secondary);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-main);
}

.text-highlight {
    background: linear-gradient(120deg, var(--secondary) 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

/* Gallery Toggle Switch */
.gallery-toggle {
    margin-bottom: 32px;
}

.gallery-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.toggle-buttons {
    display: inline-flex;
    background: var(--bg-white);
    padding: 4px;
    border-radius: 50px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

.toggle-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    width: fit-content;
    border: 1px solid var(--border-light);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-text strong {
    font-size: 1.1rem;
    color: var(--text-main);
}

.stat-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-separator {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Hero Gallery Grid */
.hero-gallery {
    order: 2;
    position: relative;
    transition: opacity 0.3s ease;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 500px;
}

.gallery-item {
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md);
    transition: transform 0.4s ease, background-image 0.3s ease-in-out;
}

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

.gallery-item.large {
    grid-column: span 2;
    height: 100%;
}

.gallery-caption {
    position: absolute;
    bottom: -30px;
    right: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    transition: opacity 0.3s;
}

/* ========================================
   INCLUDED SECTION
======================================== */
.included-section {
    background: var(--bg-white);
    padding: 80px 32px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-body);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-card);
    transform: translateY(-5px);
    border-color: var(--border-light);
}

.feature-icon-bg {
    width: 50px;
    height: 50px;
    background: #E0F2FE;
    /* Azul bem claro */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   PRICING SECTION
======================================== */
.pricing-section {
    padding: 80px 32px;
    background: linear-gradient(to bottom, var(--bg-white) 0%, #FFF4ED 100%);
}

.section-container {
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 48px;
}

.pricing-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.pricing-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid var(--border-light);
}

.pricing-card.highlighted {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
}

.discount-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-header {
    text-align: center;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 24px;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
}

.card-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-row .method {
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-body);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.price-row .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.price-row .amount small {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

.payment-alert {
    margin-top: 40px;
    background: #FEF3C7;
    /* Amarelo claro aviso */
    color: #92400E;
    padding: 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.alert-icon {
    font-size: 1.5rem;
}

/* ========================================
   FORM SECTION
======================================== */
.form-section {
    padding: 80px 32px;
    background: var(--bg-white);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.1);
    padding: 48px;
    border: 1px solid var(--border-light);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-muted);
}

.clean-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.extra-names-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: -16px;
    padding-left: 16px;
    border-left: 2px solid var(--border-light);
}

.extra-name-input {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.step-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Location Selector */
.location-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.location-option input {
    display: none;
}

.location-card {
    display: block;
    cursor: pointer;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s;
}

.location-option input:checked+.location-card {
    border-color: var(--primary);
    background: #F0F9FF;
    /* Azul selecionado */
}

.loc-img {
    display: block;
    height: 100px;
    background-size: cover;
    background-position: center;
}

.urca-placeholder {
    background-color: #E5E7EB;
    position: relative;
}

.urca-placeholder::after {
    content: "Foto Urca";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #9CA3AF;
    font-size: 0.8rem;
}

.loc-name {
    display: block;
    text-align: center;
    padding: 12px;
    font-weight: 600;
}

/* Quantity & Date */
/* Inputs Mobile-Friendly */
.clean-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background-color: #FFFFFF;
    /* Garante fundo branco */
    color: var(--text-main);
    transition: border 0.2s;
    min-height: 52px;
    /* Altura mínima garantida para touch */
    -webkit-appearance: none;
    /* Remove estilos nativos iOS */
    appearance: none;
}

/* Ajuste específico para input de data no iOS */
input[type="date"] {
    display: block;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-height: 52px;
    background-color: white;
}

.clean-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

.quantity-control {
    display: flex;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    background: var(--bg-body);
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-main);
}

.qty-btn:hover {
    background: #E5E7EB;
}

.quantity-control input {
    width: 100%;
    border: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    -moz-appearance: textfield;
}

/* Firefox Specific */
.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.group-hint {
    font-size: 0.8rem;
    color: #059669;
    /* Verde sucesso */
    height: 1.2em;
}

/* Payment Selector */
.payment-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pay-option input {
    display: none;
}

.pay-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.pay-option input:checked+.pay-box {
    border-color: var(--primary);
    background: #F0F9FF;
    color: var(--primary);
}

/* Footer & Actions */
.form-footer {
    border-top: 1px solid var(--border-light);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.total-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-body);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
}

.total-display span {
    color: var(--text-muted);
}

.total-display strong {
    font-size: 1.5rem;
    color: var(--primary);
}

.availability-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #4B5563;
    /* Cinza escuro */
    background: #ECFDF5;
    /* Verde bem claro */
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid #D1FAE5;
}

.cta-button {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 50px;
    background: #25D366;
    /* WhatsApp Green */
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background 0.2s;
    box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.4);
}

.cta-button:hover {
    background: #1ebc57;
    transform: translateY(-2px);
}

/* ========================================
   FOOTER
======================================== */
.clean-footer {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-body);
    border-top: 1px solid var(--border-light);
}

.faq-callout {
    margin-bottom: 24px;
}

.faq-callout a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========================================
   RESPONSIVE
======================================== */
/* Tablets & Small Laptops */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        margin: 0 auto;
    }

    .gallery-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .header {
        padding: 16px 20px;
        flex-direction: row;
        /* Manter logo e botão na mesma linha se der */
        justify-content: space-between;
        gap: 12px;
    }

    .cta-header {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .hero {
        padding: 30px 20px 60px;
        gap: 32px;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-gallery {
        height: auto;
        width: 100%;
    }

    .gallery-grid {
        height: 280px;
        gap: 8px;
    }

    /* Included Section */
    .included-section {
        padding: 60px 20px;
    }

    .features-grid {
        gap: 24px;
    }

    .feature-card {
        padding: 24px;
    }

    /* Pricing Section */
    .pricing-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .pricing-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-card.highlighted {
        transform: none;
        box-shadow: var(--shadow-soft);
    }

    /* Form Responsiveness */
    .form-section {
        padding: 40px 16px;
    }

    .form-container {
        padding: 24px 20px;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        border: 1px solid var(--border-light);
    }

    .form-header h2 {
        font-size: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .location-selector {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .loc-img {
        height: 90px;
    }

    .payment-selector {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    /* Inputs Mobile-Friendly */
    .clean-input,
    .quantity-control input,
    .pay-box,
    .location-card {
        font-size: 16px;
        /* Evita zoom no iOS */
    }

    .qty-btn {
        width: 50px;
        /* Toque mais fácil */
    }

    /* Footer Adjustments */
    .form-footer {
        padding-top: 24px;
    }

    .total-display {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
    }

    .availability-notice {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .cta-button {
        font-size: 1rem;
        padding: 16px;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .gallery-grid {
        height: 240px;
    }

    .location-selector {
        grid-template-columns: 1fr;
    }

    .payment-selector {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 24px;
    }
}