/* 
   Design: Futurismo costeiro brasileiro
   Cores: Azul oceano profundo, ciano elétrico, areia clara
   Tipografia: Space Grotesk (display) + Manrope (body)
*/

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

:root {
    --color-bg: #071728;
    --color-bg-secondary: #0a1420;
    --color-bg-tertiary: #06111c;
    --color-text: #f3f7fb;
    --color-text-secondary: #b8c5d6;
    --color-accent: #41e2ff;
    --color-accent-dark: #22d3ee;
    --color-primary: #0ea5e9;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-light: rgba(255, 255, 255, 0.06);
    --color-white: #ffffff;
    --color-light-bg: #edf4f9;
    --color-light-text: #0f1419;
    
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    --radius: 1.2rem;
    --radius-lg: 2rem;
    --radius-xl: 2.2rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, #04111f 0%, #071728 52%, #08131f 100%);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
}

p {
    color: var(--color-text-secondary);
}

strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--color-border);
    background: rgba(5, 16, 30, 0.75);
    backdrop-filter: blur(20px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

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

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: calc(var(--radius) + 0.4rem);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 40px rgba(40, 211, 255, 0.15);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--color-white);
}

.logo-text {
    display: none;
}

.logo-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-white);
    margin: 0;
}

.logo-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(165, 243, 252, 0.7);
    margin: 0;
}

@media (min-width: 768px) {
    .logo-text {
        display: block;
    }
}

.nav {
    display: none;
    align-items: center;
    gap: 2rem;
    font-size: 0.875rem;
    color: rgba(226, 232, 240, 0.8);
}

.nav-link {
    color: rgba(226, 232, 240, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-white);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.btn-primary {
    border: 1px solid rgba(51, 211, 255, 0.3);
    background: rgba(51, 211, 255, 0.12);
    color: var(--color-white);
}

.btn-primary:hover {
    border-color: rgba(51, 211, 255, 0.6);
    background: rgba(51, 211, 255, 0.2);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--color-white);
    color: #0f1419;
    padding: 0.875rem 1.5rem;
}

.btn-white:hover {
    background: rgba(243, 247, 251, 0.95);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
    padding: 0.875rem 1.5rem;
}

.btn-outline:hover {
    border-color: rgba(51, 211, 255, 0.45);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-dark {
    background: #0f1419;
    color: var(--color-white);
    padding: 0.875rem 1.5rem;
}

.btn-dark:hover {
    background: rgba(15, 20, 25, 0.8);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 1px solid rgba(15, 20, 25, 0.3);
    background: transparent;
    color: #0f1419;
    padding: 0.875rem 1.5rem;
}

.btn-outline-light:hover {
    border-color: rgba(15, 20, 25, 0.6);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(65, 226, 255, 0.22), transparent 28%),
        radial-gradient(circle at 80% 0%, rgba(34, 197, 94, 0.12), transparent 22%),
        url('https://d2xsxph8kpxj0f.cloudfront.net/310519663581412909/XFcRcuzTZm96s4hubxT7SH/oops-hero-fibra-mar-XGN4rejX9LGWL3iAaSxbB4.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.28;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 11, 20, 0.96) 2%, rgba(3, 11, 20, 0.84) 38%, rgba(3, 11, 20, 0.42) 62%, rgba(3, 11, 20, 0.82) 100%);
    z-index: -1;
}

.hero-content {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 3rem;
        min-height: calc(100vh - 81px);
        align-items: flex-end;
        padding: 4.5rem 0 6rem;
    }
}

.hero-left {
    max-width: 48rem;
    space: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(51, 211, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(165, 243, 252, 0.85);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3rem;
    line-height: 0.94;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 2;
    margin-bottom: 2rem;
    max-width: 42rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

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

.highlight-item {
    border-radius: calc(var(--radius) + 0.55rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    padding: 1.25rem;
    backdrop-filter: blur(12px);
}

.highlight-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.highlight-label {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.8);
}

/* Hero Cards */
.hero-right {
    display: none;
}

@media (min-width: 1024px) {
    .hero-right {
        display: flex;
        justify-content: flex-end;
    }
}

.hero-cards {
    display: grid;
    gap: 1.25rem;
    width: 100%;
    max-width: 32rem;
    transform: translateY(2rem);
}

.card {
    border-radius: calc(var(--radius) + 0.8rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
    box-shadow: 0 22px 60px rgba(2, 13, 27, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    padding: 1rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(51, 211, 255, 0.3);
}

.card-image {
    grid-column: span 1;
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .card-image {
        grid-column: span 2;
    }
}

.card-image img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: calc(var(--radius) + 0.3rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(165, 243, 252, 0.75);
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.2;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(51, 211, 255, 0.25);
    background: rgba(51, 211, 255, 0.1);
    color: rgba(165, 243, 252, 1);
    flex-shrink: 0;
}

.card-structure {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-value {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--color-white);
}

.card-description {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.8);
}

.card-admin {
    border-radius: calc(var(--radius) - 0.2rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    padding: 1rem;
}

.card-label-small {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: rgba(165, 243, 252, 0.7);
    margin-bottom: 0.5rem;
}

.card-admin-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.card-admin-role {
    font-size: 0.875rem;
    color: rgba(226, 232, 240, 0.8);
}

.card-portfolio {
    grid-column: span 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .card-portfolio {
        grid-column: span 2;
    }
}

.card-portfolio-image {
    border-radius: calc(var(--radius) + 0.4rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.card-portfolio-image img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
}

.card-portfolio-content {
    padding: 0.5rem;
}

/* Services Section */
.services {
    background: #06111c;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(33, 198, 255, 0.1), transparent 24%), radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.06), transparent 18%);
    pointer-events: none;
}

.services-header {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.services-intro {
    max-width: 48rem;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: rgba(51, 211, 255, 0.78);
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--color-white);
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1rem;
    line-height: 2;
    color: rgba(226, 232, 240, 0.78);
    max-width: 42rem;
}

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

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    border-radius: calc(var(--radius) + 0.75rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(51, 211, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: calc(var(--radius) - 0.2rem);
    border: 1px solid rgba(51, 211, 255, 0.18);
    background: rgba(51, 211, 255, 0.1);
    color: rgba(165, 243, 252, 1);
    box-shadow: 0 0 35px rgba(55, 220, 255, 0.08);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    background: rgba(51, 211, 255, 0.16);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.service-text {
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.8);
}

/* Company Section */
.company {
    background: #f3f7fb;
    color: #0f1419;
    padding: 6rem 0;
}

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

@media (min-width: 1280px) {
    .company-grid {
        grid-template-columns: 0.88fr 1.12fr;
    }
}

.company-card {
    border-radius: calc(var(--radius) + 1rem);
    padding: 2rem;
}

@media (min-width: 640px) {
    .company-card {
        padding: 2.5rem;
    }
}

.company-card-dark {
    background: #08111d;
    color: var(--color-text);
    box-shadow: 0 30px 90px rgba(2, 15, 31, 0.18);
}

.company-card-dark .section-label {
    color: rgba(165, 243, 252, 0.8);
}

.company-card-dark .section-title {
    color: var(--color-white);
}

.company-card-dark .section-description {
    color: rgba(226, 232, 240, 0.78);
}

.company-card-light {
    background: var(--color-white);
    border: 1px solid rgba(203, 213, 225, 1);
    box-shadow: 0 24px 70px rgba(16, 24, 40, 0.08);
}

.company-facts-mini {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1.5rem;
}

.fact-mini {
    border-radius: calc(var(--radius) - 0.2rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    padding: 1.25rem;
}

.fact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: rgba(165, 243, 252, 0.75);
    margin-bottom: 0.5rem;
}

.fact-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.fact-date {
    font-size: 0.875rem;
    color: rgba(226, 232, 240, 0.75);
}

.company-header {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(203, 213, 225, 1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .company-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.section-title-small {
    font-size: 1.875rem;
    color: #0f1419;
}

.badge-approved {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    background: #0f1419;
    color: var(--color-white);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

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

@media (min-width: 768px) {
    .company-facts {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fact {
    border-bottom: 1px solid rgba(203, 213, 225, 1);
    padding-bottom: 1rem;
}

.fact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(100, 116, 139, 1);
    margin-bottom: 0.5rem;
}

.fact-value {
    font-size: 1rem;
    font-weight: 500;
    color: #0f1419;
    line-height: 1.75;
}

/* Activities Section */
.activities {
    background: #0a1420;
    padding: 6rem 0;
}

.activities-header {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.activities-intro {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 0.7fr 1.3fr;
}

.activities-intro > div:first-child {
    max-width: 28rem;
}

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

@media (min-width: 768px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.activity-item {
    border-radius: calc(var(--radius) - 0.2rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    padding: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.84);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.activity-item:hover {
    border-color: rgba(51, 211, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

/* Contact Section */
.contact {
    background: #edf4f9;
    color: #0f1419;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 22%), radial-gradient(circle at bottom left, rgba(8, 47, 73, 0.08), transparent 16%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 1;
}

@media (min-width: 1280px) {
    .contact-grid {
        grid-template-columns: 0.92fr 1.08fr;
    }
}

.contact-card {
    border-radius: calc(var(--radius) + 1rem);
    padding: 2rem;
}

@media (min-width: 640px) {
    .contact-card {
        padding: 2.5rem;
    }
}

.contact-card-dark {
    background: #0f1419;
    color: var(--color-text);
    box-shadow: 0 30px 90px rgba(2, 15, 31, 0.18);
}

.contact-card-dark .section-label {
    color: rgba(165, 243, 252, 0.78);
}

.contact-card-dark .section-title {
    color: var(--color-white);
}

.contact-info {
    margin-top: 2rem;
    space: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-item svg {
    margin-top: 0.25rem;
    flex-shrink: 0;
    color: rgba(51, 211, 255, 1);
}

.contact-item p {
    font-size: 1rem;
    line-height: 2;
    color: rgba(226, 232, 240, 0.82);
}

.contact-card-light {
    background: var(--color-white);
    border: 1px solid rgba(226, 232, 240, 1);
    box-shadow: 0 24px 70px rgba(16, 24, 40, 0.08);
}

.contact-boxes {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-bottom: 1.5rem;
}

.contact-box {
    border-radius: calc(var(--radius) + 0.4rem);
    background: #f8fafc;
    padding: 1.5rem;
}

.contact-box svg {
    color: #0ea5e9;
    margin-bottom: 1rem;
}

.contact-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f1419;
    margin-bottom: 0.75rem;
}

.contact-box p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(15, 20, 25, 0.7);
}

.contact-box-dark {
    background: #0f1419;
    color: var(--color-text);
}

.contact-box-dark .section-label {
    color: rgba(165, 243, 252, 0.78);
}

.contact-admin-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-admin-role {
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.8);
}

.contact-summary {
    border-radius: calc(var(--radius) + 0.6rem);
    border: 1px solid rgba(203, 213, 225, 1);
    background: linear-gradient(180deg, #ffffff 0%, #eef7fb 100%);
    padding: 1.5rem;
}

.contact-summary .section-label {
    color: rgba(14, 103, 136, 0.75);
}

.contact-summary p {
    font-size: 1rem;
    line-height: 2;
    color: rgba(15, 20, 25, 0.7);
    margin-bottom: 1.5rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .contact-buttons {
        flex-direction: row;
    }
}

/* Footer */
.footer {
    background: #04111f;
    border-top: 1px solid var(--color-border);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(226, 232, 240, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-cards {
        margin-top: 2rem;
    }

    .services-intro {
        grid-column: span 2;
    }

    .activities-intro {
        grid-template-columns: 1fr;
    }
}
