/* ==================== VARIÁVEIS CSS ==================== */
:root {
    /* Cores principais */
    --primary-color: #1a3a5c;        /* Azul marinho escuro */
    --primary-dark: #0f2438;         /* Azul mais escuro */
    --primary-light: #2d5a8a;        /* Azul mais claro */
    --secondary-color: #d4a54a;      /* Dourado */
    --secondary-dark: #b88b3a;       /* Dourado escuro */
    --secondary-light: #e8c16f;      /* Dourado claro */
    
    /* Cores de suporte */
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --gray-100: #f5f6f8;
    --gray-200: #e8eaed;
    --gray-300: #c4c7cc;
    --gray-400: #9095a1;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --text-color: #2c3e50;
    --text-light: #6c757d;
    
    /* Cores de destaque */
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    
    /* Tipografia */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Tamanhos de fonte */
    --h1-size: 3rem;
    --h2-size: 2.25rem;
    --h3-size: 1.75rem;
    --h4-size: 1.25rem;
    --normal-size: 1rem;
    --small-size: 0.875rem;
    --smaller-size: 0.75rem;
    
    /* Espaçamentos */
    --header-height: 4.5rem;
    --section-padding: 5rem 0;
    --container-width: 1200px;
    
    /* Transições */
    --transition: all 0.3s ease;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    
    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Z-index */
    --z-fixed: 100;
    --z-modal: 1000;
}

/* Responsividade das fontes */
@media screen and (max-width: 968px) {
    :root {
        --h1-size: 2.25rem;
        --h2-size: 1.75rem;
        --h3-size: 1.5rem;
        --h4-size: 1.125rem;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--normal-size);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
h4 { font-size: var(--h4-size); }

ul {
    list-style: none;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: var(--font-body);
}

/* ==================== CLASSES REUTILIZÁVEIS ==================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__subtitle {
    display: inline-block;
    font-size: var(--small-size);
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section__title {
    margin-bottom: 1rem;
}

.section__description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.125rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: var(--normal-size);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
}

.button-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.button-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.button-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.button-light {
    background: var(--white);
    color: var(--primary-color);
}

.button-light:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.button-full {
    width: 100%;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-fixed);
    transition: var(--transition);
}

.nav {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.nav__logo:hover {
    opacity: 0.8;
}

/* Logo em imagem removida - usando apenas texto */
/*
.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}
*/

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 0.625rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    transition: var(--transition);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eef3 100%);
    position: relative;
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero__content {
    animation: fadeInUp 1s ease;
}

.hero__subtitle {
    display: inline-block;
    font-size: var(--small-size);
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero__title {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero__description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__decoration {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.2), rgba(212, 165, 74, 0.2));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(26, 58, 92, 0.25),
                inset 0 0 60px rgba(212, 165, 74, 0.1);
    position: relative;
    overflow: visible;
    border: 3px solid rgba(212, 165, 74, 0.2);
}

.hero__decoration::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 165, 74, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.hero__logo {
    width: 85%;
    height: 85%;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 2;
    border-radius: 50%;
    filter: drop-shadow(0 10px 30px rgba(26, 58, 92, 0.3));
    animation: logoFloat 5s ease-in-out infinite;
    border: 4px solid rgba(212, 165, 74, 0.4);
    box-shadow: 0 0 50px rgba(212, 165, 74, 0.5),
                inset 0 0 30px rgba(26, 58, 92, 0.2);
}

.hero__rings {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(212, 165, 74, 0.3);
    pointer-events: none;
}

.ring-1 {
    width: 85%;
    height: 85%;
    animation: ringPulse 3s ease-in-out infinite;
}

.ring-2 {
    width: 90%;
    height: 90%;
    animation: ringPulse 3s ease-in-out infinite 0.5s;
    border-color: rgba(26, 58, 92, 0.2);
}

.ring-3 {
    width: 95%;
    height: 95%;
    animation: ringPulse 3s ease-in-out infinite 1s;
    border-color: rgba(212, 165, 74, 0.2);
}

.hero__company-name {
    margin-top: 0;
    text-align: center;
    animation: fadeInUp 1.2s ease 0.5s backwards;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.company-name__text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 0 1rem;
}

.company-name__text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    animation: bounce 2s infinite;
    transition: var(--transition);
}

.hero__scroll-button:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ==================== SOBRE SECTION ==================== */
.sobre {
    background: var(--white);
}

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

.sobre__text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.sobre__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.sobre__feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.sobre__feature i {
    font-size: 2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.sobre__feature h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.sobre__feature p {
    color: var(--text-light);
}

/* ==================== SERVIÇOS SECTION ==================== */
.servicos {
    background: var(--light-bg);
}

.servicos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.servico__card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.servico__card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.servico__icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.servico__icon i {
    font-size: 2rem;
    color: var(--white);
}

.servico__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.servico__description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.servico__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.servico__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: 0.9375rem;
}

.servico__list i {
    color: var(--secondary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ==================== ALVARÁS SECTION ==================== */
.alvaras {
    background: var(--white);
}

.alvaras__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.alvara__card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: var(--transition);
}

.alvara__card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.alvara__card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.alvara__card.featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.alvara__card.featured .alvara__header h3,
.alvara__card.featured .alvara__description,
.alvara__card.featured .alvara__content h4,
.alvara__card.featured .alvara__content li {
    color: var(--white);
}

.alvara__card.featured .alvara__header i {
    color: var(--secondary-color);
}

.alvara__header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.alvara__header i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.alvara__header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.alvara__badge {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.alvara__description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.alvara__content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.alvara__content ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.alvara__content li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: 0.9375rem;
}

.alvara__content i {
    color: var(--secondary-color);
    margin-top: 4px;
}

/* ==================== CTA SECTION ==================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 4rem 0;
}

.cta__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.cta__title {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta__description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

/* ==================== PARCEIROS SECTION ==================== */
.parceiros {
    background: var(--light-bg);
}

.parceiros__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.parceiro__card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.parceiro__card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.parceiro__logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
}

.parceiro__logo i {
    font-size: 2.5rem;
    color: var(--white);
}

.parceiro__logo--image {
    background: var(--white);
    border: 2px solid var(--gray-200);
    padding: 0;
    overflow: hidden;
}

.parceiro__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.parceiro__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.parceiro__name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.parceiro__description {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.parceiros__cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.parceiros__cta h3 {
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.parceiros__cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.parceiros__cta .button {
    background: var(--white);
    color: var(--primary-color);
}

.parceiros__cta .button:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-4px);
}

/* ==================== CONTATO SECTION ==================== */
.contato {
    background: var(--light-bg);
}

.contato__container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contato__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contato__card {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contato__card i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contato__card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contato__card p,
.contato__card a {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contato__card a:hover {
    color: var(--primary-color);
}

.contato__social {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contato__social h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.social__links {
    display: flex;
    gap: 1rem;
}

.social__link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: var(--transition);
}

.social__link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-4px);
}

.contato__edificio {
    background: var(--white);
    padding: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    max-width: 280px;
    margin: 0 auto;
}

.contato__edificio:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.edificio__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-md);
}

/* Formulário */
.contato__form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contato__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form__group label {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9375rem;
}

.form__group input,
.form__group select,
.form__group textarea {
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: var(--normal-size);
    color: var(--text-color);
    transition: var(--transition);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 58, 92, 0.1);
}

.form__group textarea {
    resize: vertical;
    min-height: 120px;
}

.form__message {
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form__message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form__message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer__container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer__logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

/* Footer logo em imagem removida - usando apenas texto */
/*
.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}
*/

.footer__logo .logo-text {
    -webkit-text-fill-color: var(--white);
}

.footer__description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer__title {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.footer__links,
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links a,
.footer__contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--secondary-color);
    padding-left: 0.5rem;
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer__contact i {
    color: var(--secondary-color);
    margin-top: 4px;
}

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

.footer__copy {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--small-size);
}

/* ==================== SCROLL UP ==================== */
.scrollup {
    position: fixed;
    right: 2rem;
    bottom: -20%;
    background: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fixed);
    transition: var(--transition);
}

.scrollup:hover {
    background: var(--secondary-color);
    transform: translateY(-4px);
}

.scrollup.show-scroll {
    bottom: 3rem;
}

/* ==================== ANIMAÇÕES ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

@keyframes ringPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

/* ==================== RESPONSIVIDADE ==================== */

/* Tablets grandes */
@media screen and (max-width: 968px) {
    .hero__container,
    .contato__container {
        grid-template-columns: 1fr;
    }

    .servicos__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .parceiros__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__image {
        order: -1;
    }

    .hero__decoration {
        width: 300px;
        height: 300px;
    }

    .company-name__text {
        font-size: 2rem;
    }
}

/* Tablets */
@media screen and (max-width: 768px) {
    .company-name__text {
        font-size: 1.75rem;
        letter-spacing: 1px;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: 4rem 2rem;
        transition: var(--transition);
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .nav__link {
        font-size: 1.125rem;
    }

    .nav__close,
    .nav__toggle {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 2rem) 0 3rem;
    }

    .hero__decoration {
        width: 280px;
        height: 280px;
    }

    .servicos__grid,
    .alvaras__grid,
    .parceiros__grid {
        grid-template-columns: 1fr;
    }

    .cta__container {
        flex-direction: column;
        text-align: center;
    }

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

/* Mobile */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section__header {
        margin-bottom: 2.5rem;
    }

    .company-name__text {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }

    .hero__company-name {
        min-height: 300px;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero__buttons .button {
        width: 100%;
    }

    .hero__decoration {
        width: 250px;
        height: 250px;
    }

    .servico__card,
    .alvara__card,
    .contato__form-container {
        padding: 1.5rem;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .scrollup {
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .scrollup.show-scroll {
        bottom: 2rem;
    }
}

/* Animações de entrada */
.section > * {
    animation: fadeInUp 0.6s ease;
}

/* Print styles */
@media print {
    .header,
    .nav__toggle,
    .hero__scroll,
    .scrollup,
    .cta {
        display: none;
    }
}
