/* ========================================
   BETO CARRERO - LANDING PAGE
   Exact Figma Implementation
   ======================================== */

:root {
    --orange: #FE6F00;
    --orange-dark: #FF6900;
    --yellow: #F9C31F;
    --dark: #1D2330;
    --dark-text: #272B34;
    --gray: #6C7993;
    --gray-light: #A1A1AA;
    --gray-bg: #F8F8F8;
    --white: #FFFFFF;
    --black: #000000;
    --border: #E3E3E3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: var(--dark);
    background: var(--white);
    line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select { font-family: inherit; }

/* ========================================
   HEADER - 85px height, transparent initially
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 85px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.3s, box-shadow 0.3s;
}

.header__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 70px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo img {
    height: 34px;
    width: auto;
    transition: filter 0.3s;
}

/* Invert logo to dark when header is scrolled (white background) */
.header.scrolled .header__logo img {
    filter: brightness(0) saturate(100%);
}

.header__nav {
    display: none;
    align-items: center;
    gap: 40px;
}

.header__link {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    transition: opacity 0.3s;
}

.header__link--active {
    font-weight: 800;
}

.header__link:hover {
    opacity: 0.8;
}

/* Hamburger Button */
.header__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 0;
}

.header__hamburger span {
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: 0.3s;
}

/* Header scrolled state */
.header.scrolled {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled .header__link {
    color: var(--dark);
}

.header.scrolled .header__hamburger span {
    background: var(--dark);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.btn--primary {
    background: var(--orange);
    color: var(--white);
    padding: 16px 32px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(254, 111, 0, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 111, 0, 0.4);
}

.btn--cta {
    background: var(--orange);
    color: var(--white);
    padding: 23px 33px;
    font-family: 'Open Sans', sans-serif;
    font-size: 20.37px;
    font-weight: 800;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(254, 111, 0, 0.3);
}

/* Arrow button - Figma: 62x62, yellow, black arrow pointing right */
.btn--arrow {
    width: 62px;
    height: 62px;
    background: var(--yellow);
    color: var(--black);
    border-radius: 13px;
    flex-shrink: 0;
}

.btn--arrow svg {
    stroke: var(--black);
}

.btn--submit {
    width: 100%;
    background: var(--orange);
    color: var(--white);
    padding: 16px;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(254, 111, 0, 0.3);
}

/* Button - Figma: Inter 22px 800, white on #ff6900, 527x48 */
.btn--package {
    width: 100%;
    background: #ff6900;
    color: var(--white);
    padding: 12px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    border-radius: 10px;
}

.btn--whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
}

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

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.79);
    backdrop-filter: blur(37px);
}

.mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: var(--white);
    padding: 24px;
    transform: translateX(100%);
    transition: 0.3s;
}

.mobile-menu.active .mobile-menu__panel {
    transform: translateX(0);
}

.mobile-menu__close {
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--dark);
}

.mobile-menu__nav {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu__nav a {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.mobile-menu .btn {
    margin-top: 32px;
}

/* ========================================
   HERO SECTION - Figma exact values
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 85px;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1193px;
    z-index: -1;
}

/* Exact Figma gradients: 31% from left, 78% from bottom */
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, transparent 48%);
    z-index: 1;
}

.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.31) 0%, transparent 80%);
    z-index: 2;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 70px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero__content {
    color: var(--white);
    max-width: 600px;
}

/* Badge - Figma: 252x36, black, border-radius 76px */
.hero__badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    padding: 13px 15px;
    border-radius: 76px;
    margin-bottom: 24px;
}

.hero__badge span {
    font-family: 'Inter', sans-serif;
    font-size: 14.07px;
    font-weight: 500;
    color: var(--white);
}

/* Title - Figma: Montserrat Bold, letter-spacing -1.53px */
.hero__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -1.53px;
}

/* "Beto Carrero World:" - 73px white */
.hero__title-main {
    display: block;
    font-size: 50px;
    color: var(--white);
    margin-bottom: 0;
}

/* "Sua aventura" - 61px YELLOW */
.hero__title-highlight {
    display: block;
    font-size: 42px;
    color: var(--yellow);
}

/* "começa aqui" - 61px white */
.hero__title-sub {
    display: block;
    font-size: 42px;
    color: var(--white);
}

/* Text - Figma: Open Sans, 17px, 700 */
.hero__text {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 32px;
    max-width: 400px;
}

/* CTA Buttons - Figma: Orange 303x61, Yellow 62x62 */
.hero__buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Form Card - Figma: 435x472, white with 30% opacity blur effect */
.hero__form {
    width: 100%;
    max-width: 435px;
}

.form-card {
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Form card badge - Figma: Open Sans 14px 400, #000000 */
.form-card__badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.form-card__badge span {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}

/* Form card title - Figma: Montserrat 24px 700, #1d2330 */
.form-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1d2330;
    margin-bottom: 24px;
}

/* Form fields - Figma: Open Sans 16px 400 */
.form-field {
    margin-bottom: 16px;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #1d2330;
    background: var(--white);
    appearance: none;
}

/* Placeholder color - Figma: #6c7993 */
.form-field input::placeholder {
    color: #6c7993;
}

.form-field select {
    color: #6c7993;
}

.form-field select:valid {
    color: #1d2330;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--orange);
}

.form-field--select {
    position: relative;
}

.form-field--select::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-top-color: var(--orange);
    pointer-events: none;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 16px;
}

.form-row .form-field {
    flex: 1;
    margin-bottom: 0;
}

/* Attractions - Figma: Frame 2147227651 [1440x334] #d9d9d9 at 2% */
.attractions {
    background: rgba(217, 217, 217, 0.02);
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 88px 74px;
}

.attractions__header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 39px;
}

.attractions__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 20.37px;
    font-weight: 800;
    color: var(--white);
    white-space: nowrap;
}

.attractions__line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

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

/* Attraction cards - Figma: 303x206, border-radius 41px */
.attraction-card {
    border-radius: 41px;
    overflow: hidden;
    aspect-ratio: 303/206;
    position: relative;
}

.attraction-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(161, 161, 170, 0.1);
    pointer-events: none;
    border-radius: 41px;
}

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

.attraction-card:hover img {
    transform: scale(1.05);
}

/* ========================================
   FEATURES - Figma: #F8F8F8 background
   Container 1174x136, icons 90x90
   ======================================== */
.features {
    background: var(--gray-bg);
    padding: 50px 20px;
}

.features__container {
    max-width: 1174px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

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

/* Feature icon - Figma: 90x90, #a1a1aa at 10% */
.feature__icon {
    width: 90px;
    height: 90px;
    background: rgba(161, 161, 170, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature__icon img,
.feature__icon svg {
    width: 45px;
    height: 45px;
}

/* Feature text - Figma: 22.64px, #6c7993 */
.feature__text {
    font-family: 'Open Sans', sans-serif;
    font-size: 22.64px;
    font-weight: 400;
    color: var(--gray);
}

/* ========================================
   PACKAGES - #F8F8F8 background
   ======================================== */
.packages {
    background: var(--gray-bg);
    padding: 60px 20px 80px;
}

.packages__container {
    max-width: 1174px;
    margin: 0 auto;
}

.packages__header {
    text-align: center;
    margin-bottom: 48px;
}

.packages__badge {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 9px 28px;
    border-radius: 9999px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.packages__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
}

.packages__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Package Card - Figma: 575x693 */
.package-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Image - Figma: 575x253, no overlay */
.package-card__image {
    width: 100%;
    aspect-ratio: 575/253;
    overflow: hidden;
    flex-shrink: 0;
}

.package-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Body - Figma: padding 24px */
.package-card__body {
    padding: 24px;
}

/* Title - Figma: Inter 18px 900, #101727 */
.package-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: #101727;
    margin-bottom: 4px;
}

/* Subtitle - Figma: Inter 16px 400, #e06c01 */
.package-card__subtitle {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #e06c01;
    margin-bottom: 16px;
}

/* Description - Figma: Inter 16px 400, #495565 */
.package-card__desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #495565;
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Includes label - Figma: Inter 16px 500, #101727 */
.package-card__includes {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #101727;
    display: block;
    margin-bottom: 12px;
}

/* List - with orange checkmarks */
.package-card__list {
    margin-bottom: 20px;
}

/* List items - Figma: Inter 16px 400, #495565 */
.package-card__list li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #495565;
    margin-bottom: 8px;
    padding-left: 28px;
    position: relative;
}

/* Checkmark icon - Figma: orange checkmark */
.package-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 11px;
    height: 7px;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='7' viewBox='0 0 11 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3L4 6L10 1' stroke='%23FE6F00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* ========================================
   BENEFITS - #FFFFFF background
   Two rounded cards side by side
   ======================================== */
.benefits {
    background: var(--white);
    padding: 80px 20px;
}

.benefits__container {
    max-width: 1174px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.benefits__card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
}

.benefits__card--left {
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--orange);
    position: relative;
    z-index: 2;
}

.benefits__card--right {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    overflow: visible;
    background: transparent;
    position: relative;
    z-index: 1;
}

.benefits__card--right img {
    width: 115%;
    max-width: none;
    height: auto;
    border-radius: 24px;
}

.benefits__title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.2;
    margin-bottom: 32px;
}

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

.benefit {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    transition: background 0.3s;
}

.benefit:hover {
    background: rgba(254, 111, 0, 0.05);
}

.benefit__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit__text strong {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.benefit__text span {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--gray);
    line-height: 1.5;
}

/* ========================================
   TESTIMONIALS - #F8F8F8 background
   ======================================== */
.testimonials {
    background: var(--gray-bg);
    padding: 80px 20px;
}

.testimonials__container {
    max-width: 1174px;
    margin: 0 auto;
}

.testimonials__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 16px;
}

.testimonials__subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--gray);
    text-align: center;
    margin-bottom: 48px;
}

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

.testimonial {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.testimonial__quote {
    margin-bottom: 16px;
}

.testimonial__text {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.625;
    color: var(--dark);
    margin-bottom: 16px;
    flex-grow: 1;
}

.testimonial__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

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

.testimonial__avatar {
    width: 40px;
    height: 40px;
    background: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.testimonial__avatar--green {
    background: #4CAF50;
    color: var(--white);
}

.testimonial__avatar--purple {
    background: #9C27B0;
    color: var(--white);
}

.testimonial__info strong {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.testimonial__info span {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: var(--gray);
}

.testimonials__cta {
    text-align: center;
    margin-top: 48px;
}

.btn--cta-orange {
    background: var(--orange);
    color: var(--white);
    padding: 18px 40px;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(254, 111, 0, 0.3);
}

.btn--cta-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 111, 0, 0.4);
}

/* ========================================
   CTA - Footer contact section
   ======================================== */
.cta {
    background: var(--orange);
    padding: 80px 20px;
    text-align: center;
}

.cta__container {
    max-width: 800px;
    margin: 0 auto;
}

.cta__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 32px;
}

/* ========================================
   FOOTER - #000000 80% opacity background
   ======================================== */
.footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 24px 20px;
}

.footer__container {
    max-width: 1174px;
    margin: 0 auto;
    text-align: center;
}

.footer__text {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--white);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 767px) {
    .header__container {
        padding: 0 20px;
    }

    .header__nav {
        display: none;
    }

    .hero__container {
        padding: 40px 20px 0;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__form {
        max-width: 100%;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .btn--arrow {
        display: none;
    }

    .attractions {
        padding: 30px 20px;
    }

    .attractions__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .attraction-card {
        border-radius: 20px;
    }

    .features__container {
        justify-content: center;
    }

    .feature__icon {
        width: 70px;
        height: 70px;
    }

    .feature__text {
        font-size: 16px;
    }

    .packages__title {
        font-size: 28px;
    }

    .packages__grid {
        grid-template-columns: 1fr;
    }

    .benefits__title {
        font-size: 28px;
    }

    .testimonials__title {
        font-size: 28px;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .header__nav {
        display: flex;
    }

    .header__hamburger {
        display: none;
    }

    .hero__container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding-top: 80px;
    }

    .hero__title-main {
        font-size: 60px;
    }

    .hero__title-highlight,
    .hero__title-sub {
        font-size: 50px;
    }

    .benefits__container {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    /* Figma exact sizes: 73px for main, 61px for rest */
    .hero__title-main {
        font-size: 73px;
    }

    .hero__title-highlight,
    .hero__title-sub {
        font-size: 61.12px;
    }

    .hero__container {
        padding-top: 100px;
    }
}
