/* ============================
FONTS */
@font-face {
    font-family: "Inter";
    src: url("../assets/fonts/inter.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Glacial";
    src: url("../assets/fonts/glacial.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================
COLORS & RESET */
:root {
    --white: #ffffff;
    --blue: #2acad8;
    --orange: #f15a29;
    --yellow: #f5ae49;
    --dark: #1d1d1d;
    --green: #25d366;
    --gray-light: #f5f5f5;
    --gray: #666;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: "Glacial", sans-serif;
    line-height: 1.2;
}

h2 {
    font-size: clamp(28px, 5vw, 38px);
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
}

/* ============================
CONTAINERS */
.container {
    width: 90%;
    max-width: 1220px;
    margin: 0 auto;
}

.center {
    text-align: center;
}

.max-w {
    max-width: 720px;
    margin: 0 auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

/* ============================
ANIMAÇÕES */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
HEADER */
.header {
    padding: 1rem 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px var(--shadow);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

nav a {
    margin-right: 15px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--orange);
}

nav a:focus {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}

.btn-nav {
    background: var(--blue);
    border: none;
    padding: 10px 20px;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
}

.btn-nav:hover {
    transform: translateY(-2px);
    background: var(--orange);
}

.btn-nav:focus {
    outline: 2px solid var(--dark);
    outline-offset: 2px;
}

/* HAMBURGUER MOBILE */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-links {
    display: flex;
    align-items: center;
}

.menu-links a {
    margin-right: 20px;
}

/* ============================
HERO */
.hero {
    padding: 80px 0;
    display: grid;
    align-items: center;
    min-height: 70vh;
}

.hero-text h1 {
    font-family: "Glacial";
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 15px;
    color: var(--dark);
}

.hero-text p {
    font-size: clamp(16px, 2vw, 18px);
    margin-bottom: 30px;
    color: var(--gray);
}

.cta {
    background: var(--orange);
    color: white;
    border: none;
    padding: 16px 35px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(241, 90, 41, 0.3);
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(241, 90, 41, 0.4);
}

.cta:focus {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

.hero-img img {
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow);
}

/* ============================
SECTIONS */
.section-white {
    padding: 80px 0;
    background: var(--white);
    color: var(--dark);
}

.section-blue {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--blue) 0%, #1fa8b5 100%);
    color: white;
}

.section-orange {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--orange) 0%, #d94820 100%);
    color: white;
}

/* ============================
ESTATÍSTICAS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 50px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: var(--gray-light);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.stat-number {
    font-family: "Glacial", sans-serif;
    font-size: 48px;
    color: var(--orange);
    margin-bottom: 10px;
    font-weight: bold;
}

.stat-label {
    font-size: 16px;
    color: var(--gray);
    font-weight: 600;
}

/* ============================
CARDS SERVIÇOS */
.features-grid,
.atracoes-grid,
.destinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    color: var(--dark);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px var(--shadow);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card h3 {
    font-family: "Glacial";
    margin-bottom: 12px;
    font-size: 22px;
}

.card p {
    color: var(--gray);
    line-height: 1.6;
}

.btn-card {
    background: var(--blue);
    padding: 10px 22px;
    color: white;
    border-radius: 6px;
    border: none;
    margin-top: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
}

.btn-card:hover {
    transform: translateY(-2px);
    background: var(--orange);
}

.btn-card:focus {
    outline: 2px solid var(--dark);
    outline-offset: 2px;
}

/* ============================
ATRACOES */
.atracao-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.atracao-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.atracao-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.atracao-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.atracao-card:hover .atracao-image img {
    transform: scale(1.1);
}

.atracao-content {
    padding: 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.atracao-content h3 {
    margin-bottom: 12px;
    font-size: 20px;
    color: var(--dark);
    font-family: "Glacial", sans-serif;
}

.atracao-content p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 15px;
}

/* Overlay com categoria */
.atracao-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.atracao-card:hover .atracao-image::after {
    opacity: 1;
}

/* Categorias de cores (opcional) */
.atracao-card.natureza .atracao-content h3 {
    color: #2d8659;
}

.atracao-card.gastronomia .atracao-content h3 {
    color: #8b4513;
}

.atracao-card.cultura .atracao-content h3 {
    color: #6b4e71;
}

.atracao-card.enoturismo .atracao-content h3 {
    color: #722f37;
}

.atracao-card.eventos .atracao-content h3 {
    color: #c41e3a;
}

.atracao-card.diversao .atracao-content h3 {
    color: var(--blue);
}

/* ============================
DESTINOS */
.destino-card {
    position: relative;
    height: 300px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.destino-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transition: background 0.4s ease;
}

.destino-card h3 {
    margin-bottom: 8px;
    font-family: "Glacial";
    font-size: 26px;
}

.destino-card p {
    font-size: 15px;
}

.destino-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.destino-card:hover .overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

/* ============================
DEPOIMENTOS */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 40px;
}

.depoimento-card {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.aspas {
    font-size: 60px;
    color: var(--orange);
    font-family: Georgia, serif;
    line-height: 0;
    margin-bottom: 20px;
}

.depoimento-texto {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.7;
}

.depoimento-autor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid #ddd;
    padding-top: 15px;
}

.depoimento-autor strong {
    color: var(--dark);
}

.depoimento-autor span {
    color: var(--yellow);
    font-size: 18px;
}

/* ============================
FORMULÁRIO */
.contact-form {
    max-width: 700px;
    margin: 40px auto 0;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    background: var(--orange);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    background: #d94820;
}

.btn-submit:focus {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ============================
FOOTER */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    color: white;
    padding: 60px 0 30px 0;
    font-size: 14px;
}

.footer h3 {
    font-family: "Glacial", sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--orange);
}

.footer p,
.footer a,
.footer ul li {
    color: #ccc;
    line-height: 1.7;
    font-size: 14px;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--orange);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer .grid-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    align-items: flex-start;
}

.footer .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer .social-icons a {
    transition: transform 0.3s, opacity 0.3s;
    display: inline-block;
}

.footer .social-icons a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.footer .bottom-text {
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* ============================
BOTÃO FLUTUANTE WHATSAPP */
#whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--green);
    color: white;
    font-size: 28px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulse 2s infinite;
}

#whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ============================
BOTÃO VOLTAR AO TOPO */
#back-to-top {
    position: fixed;
    bottom: 95px;
    right: 25px;
    background: var(--orange);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 998;
    box-shadow: 0 4px 15px var(--shadow);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-5px);
}

#back-to-top:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* ============================
RESPONSIVO */
@media(max-width:900px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .features-grid,
    .atracoes-grid,
    .destinos-grid,
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hamburger {
        display: flex;
    }

    .menu-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .menu-links.show {
        max-height: 400px;
    }

    .menu-links a {
        margin: 10px 0;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }

    .menu-links .btn-nav {
        margin-top: 10px;
        width: 100%;
    }

    .footer .grid-footer {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 25px;
    }

    .section-white,
    .section-blue,
    .section-orange {
        padding: 60px 0;
    }
}

@media(max-width: 768px) {
    .atracao-image {
        height: 180px;
    }

    .atracao-content {
        padding: 20px;
    }

    .atracao-content h3 {
        font-size: 18px;
    }

    .atracao-content p {
        font-size: 14px;
    }
}

@media(max-width:600px) {
    #whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    #back-to-top {
        bottom: 85px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ============================
ACESSIBILIDADE */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

/* ============================
LOADING STATE */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ============================
PERFORMANCE */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}