/* ========================================
   ROCHA & ROCHA BRASIL - DESIGN SYSTEM
   Colors: Navy (#0d1f3c) + Orange (#f07800) + White
   Inspired by Creatiwise layout
   ======================================== */

/* === CSS Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --navy: #002042;
    --navy-light: #002c5c;
    --navy-dark: #00162e;
    --orange: #f07800;
    --orange-light: #ff9a33;
    --orange-dark: #d06800;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --cream: #faf9f6;
    --gray-100: #f3f2ef;
    --gray-200: #e8e6e1;
    --gray-300: #d4d2cd;
    --gray-400: #a8a5a0;
    --gray-500: #7c7974;
    --gray-600: #5a5753;
    --gray-700: #3d3a37;
    --gray-800: #2a2725;

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1240px;
    --container-padding: 24px;

    /* Borders & Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 100px;

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-normal: 0.4s var(--ease-out);
    --transition-slow: 0.6s var(--ease-out);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 32, 66, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 32, 66, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 32, 66, 0.12);
    --shadow-xl: 0 16px 60px rgba(0, 32, 66, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 32, 66, 0.07);
    --shadow-card-hover: 0 12px 48px rgba(0, 32, 66, 0.14);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--navy);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* === Background Decorative Lines === */
.bg-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-lines svg {
    width: 100%;
    height: 100%;
}

/* === Container === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

p {
    line-height: 1.7;
    color: var(--gray-600);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(240, 120, 0, 0.35);
}

.btn-primary:hover {
    background: var(--orange-dark);
    box-shadow: 0 6px 30px rgba(240, 120, 0, 0.45);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-xl {
    padding: 22px 48px;
    font-size: 18px;
    letter-spacing: 0.01em;
}

/* === Section Labels === */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
    margin-bottom: 20px;
    background: rgba(240, 120, 0, 0.08);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    width: fit-content;
}

.label-line {
    width: 20px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

.section-label-center {
    margin-left: auto;
    margin-right: auto;
}

.section-label-light {
    color: var(--orange-light);
    background: rgba(240, 120, 0, 0.12);
}

.label-line-light {
    background: var(--orange-light);
}

/* === Section Titles === */
.section-title {
    font-size: clamp(36px, 5vw, 52px);
    color: var(--navy);
    margin-bottom: 20px;
}

.section-title-center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title-light {
    color: var(--white);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.section-subtitle-light {
    color: rgba(255,255,255,0.6);
}

/* === Highlights === */
.highlight {
    color: var(--orange);
    position: relative;
}

.highlight-underline {
    position: relative;
    color: var(--navy);
}

.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(240, 120, 0, 0.2);
    border-radius: 4px;
    z-index: -1;
}

.highlight-light {
    color: var(--orange-light);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-normal);
    background: var(--navy);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(0, 32, 66, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 32, 66, 0.15);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-img-nav {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-normal);
}

.logo:hover .logo-img-nav {
    transform: scale(1.04);
}

.navbar.scrolled .logo-img-nav {
    height: 46px;
}

.logo-footer-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.logo-rocha {
    color: var(--navy);
}

.logo-amp {
    color: var(--orange);
    margin: 0 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 14px !important;
    padding: 12px 24px !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 22, 46, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

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

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-out);
}

.mobile-menu.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.5s; }

.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    transition: color var(--transition-fast);
}

.mobile-nav-links a:hover {
    color: var(--orange);
}

.mobile-cta {
    font-size: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-out);
}

.mobile-menu.active .mobile-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--cream);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--orange);
    background: rgba(240, 120, 0, 0.08);
    border: 1px solid rgba(240, 120, 0, 0.15);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s backwards;
}

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

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(40px, 5.5vw, 64px);
    color: var(--navy);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s backwards;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s backwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-out) 0.8s backwards;
}

/* Hero Visual / Graphics */
.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeIn 1s var(--ease-out) 0.6s backwards;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Decorative Stars */
.star {
    position: absolute;
    font-size: 24px;
    color: var(--navy);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.star-1 {
    animation-delay: 0s;
}

.star-2 {
    animation-delay: 2s;
}

.star-3 {
    animation-delay: 4s;
}

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

/* Floating Cards */
.hero-card {
    position: absolute;
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--gray-100);
    z-index: 2;
    transition: transform var(--transition-normal);
}

.hero-card:hover {
    transform: translateY(-5px);
}

.hero-card-1 {
    animation: floatCard1 6s ease-in-out infinite;
}

.hero-card-2 {
    animation: floatCard2 6s ease-in-out infinite 1.5s;
}

.hero-card-3 {
    animation: floatCard3 6s ease-in-out infinite 3s;
}

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

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

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

.hero-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(0, 32, 66, 0.05);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card-content-inner {
    display: flex;
    flex-direction: column;
}

.hero-card-label {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.hero-card-content-inner strong {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--navy);
    font-weight: 700;
}

.hero-curve {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    pointer-events: none;
    z-index: 0;
}

.hero-decoration-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}


/* ========================================
   CREDIBILITY BAR
   ======================================== */
.credibility-bar {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    position: relative;
    z-index: 1;
}

.credibility-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.credibility-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.credibility-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(240, 120, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--orange);
    transition: all var(--transition-normal);
}

.credibility-item:hover .credibility-icon {
    background: var(--orange);
    color: var(--white);
    transform: scale(1.05);
}

.credibility-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.credibility-text span {
    font-size: 13px;
    color: var(--gray-500);
}

.credibility-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
    flex-shrink: 0;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.about-left {
    position: sticky;
    top: 120px;
}

.about-title {
    font-size: clamp(32px, 4vw, 48px);
}

.about-decorative-star {
    font-size: 48px;
    color: var(--orange);
    margin-top: 32px;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.about-text {
    font-size: 17px;
    margin-bottom: 24px;
    color: var(--gray-600);
}

.about-text strong {
    color: var(--navy);
}

.about-text em {
    font-style: normal;
    color: var(--orange-dark);
    font-weight: 500;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
}

.about-stat {
    text-align: center;
    flex: 1;
}

.about-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 8px;
}

.about-stat-label {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.4;
}

.about-stat-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-200);
    flex-shrink: 0;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.tag {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    transition: all var(--transition-fast);
}

.tag:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(240, 120, 0, 0.04);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
    background: var(--white);
}

.steps-connector {
    position: absolute;
    top: 250px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    pointer-events: none;
    z-index: 0;
    display: none;
}

.section-header-center {
    margin-bottom: 72px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.step-card {
    position: relative;
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 36px 28px 28px;
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-8px) rotate(0deg) !important;
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(240, 120, 0, 0.15);
}

.step-card:hover::before {
    opacity: 1;
}

.step-card-tilted-left {
    transform: rotate(-1.5deg);
}

.step-card-tilted-right {
    transform: rotate(1.5deg);
}

.step-pin {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 2px 6px rgba(240, 120, 0, 0.4);
}

.step-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: rgba(0, 32, 66, 0.06);
    line-height: 1;
    margin-bottom: 16px;
}

.step-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.step-icon {
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.step-card:hover .step-icon {
    opacity: 1;
}

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

.handwritten {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 22px;
    color: var(--gray-400);
    letter-spacing: 0.02em;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--navy);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(240, 120, 0, 0.05);
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(240, 120, 0, 0.03);
    pointer-events: none;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(240, 120, 0, 0.08), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(240, 120, 0, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(240, 120, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--orange);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon-wrapper {
    background: var(--orange);
    color: var(--white);
    transform: scale(1.05);
}

.service-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-arrow {
    color: rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-arrow {
    color: var(--orange);
    transform: translate(4px, -4px);
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */
.why-us {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-us-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.why-us-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.why-us-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.why-us-card:hover::after {
    transform: scaleX(1);
}

.why-us-card-featured {
    background: var(--navy);
    border-color: var(--navy);
}

.why-us-card-featured .why-us-title {
    color: var(--white);
}

.why-us-card-featured .why-us-desc {
    color: rgba(255, 255, 255, 0.6);
}

.why-us-card-featured .why-us-detail {
    color: rgba(255, 255, 255, 0.5);
}

.why-us-card-featured:hover {
    background: var(--navy-light);
}

.why-us-icon {
    margin-bottom: 28px;
    opacity: 0.9;
    transition: all var(--transition-normal);
}

.why-us-card:hover .why-us-icon {
    transform: scale(1.1);
    opacity: 1;
}

.why-us-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.why-us-desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

.why-us-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-400);
}

.detail-star {
    color: var(--orange);
    font-size: 16px;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    padding: var(--section-padding) 0;
    background: var(--white);
    position: relative;
    z-index: 1;
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.faq-left {
    position: sticky;
    top: 120px;
}

.faq-left-text {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-top: 16px;
}

.faq-decoration {
    margin-top: 40px;
}

.star-large {
    font-size: 64px;
    color: var(--orange);
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    display: block;
}

.faq-item {
    border-bottom: 1px solid var(--gray-100);
}

.faq-item:first-child {
    border-top: 1px solid var(--gray-100);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--orange);
}

.faq-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-normal);
    color: var(--gray-600);
}

.faq-question:hover .faq-toggle {
    background: rgba(240, 120, 0, 0.1);
    color: var(--orange);
}

.faq-item.active .faq-toggle {
    background: var(--orange);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 0 24px;
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.8;
}

.faq-answer strong {
    color: var(--navy);
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.final-cta {
    padding: var(--section-padding) 0;
    background: var(--navy);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 120, 0, 0.08), transparent 70%);
    pointer-events: none;
}

.final-cta-inner {
    text-align: center;
    position: relative;
}

.final-cta-stars {
    pointer-events: none;
}

.star-cta {
    position: absolute;
    color: var(--orange);
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.star-cta-1 {
    top: -20px;
    left: 10%;
    font-size: 28px;
}

.star-cta-2 {
    top: 30%;
    right: 5%;
    font-size: 22px;
    animation-delay: 2s;
}

.star-cta-3 {
    bottom: -10px;
    left: 20%;
    font-size: 18px;
    animation-delay: 4s;
}

.final-cta-title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--white);
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.55);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.final-cta-note {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 80px 0 0;
    background: var(--navy-dark);
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-footer {
    margin-bottom: 20px;
    display: inline-block;
}

.logo-footer .logo-rocha {
    color: var(--white);
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    margin-bottom: 12px;
    max-width: 300px;
}

.footer-cnpj {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 24px;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--orange);
    padding-left: 4px;
}

.footer-bottom {
    padding: 28px 0;
    text-align: center;
}

.footer-legal {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
    animation: bounceIn 0.8s var(--ease-spring) 1.5s backwards, whatsappPulse 2s infinite ease-in-out 2.3s;
}

.whatsapp-float:hover {
    animation: none;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
    content: 'Fale conosco!';
    position: absolute;
    right: 70px;
    background: var(--white);
    color: var(--navy);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-fast);
    pointer-events: none;
}

.whatsapp-float:hover::before {
    opacity: 1;
    transform: translateX(0);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounceIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ========================================
   ILLUSTRATIVE PROBLEMS (LESÕES E SEQUELAS)
   ======================================== */
.problems-section {
    padding: var(--section-padding) 0;
    position: relative;
    background: var(--cream);
    z-index: 1;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.problem-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(240, 120, 0, 0.25);
}

.problem-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--navy);
}

.problem-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 32, 66, 0) 40%, rgba(0, 32, 66, 0.5) 100%);
    pointer-events: none;
}

.problem-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.problem-card:hover .problem-img {
    transform: scale(1.08);
}

.problem-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--orange);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(240, 120, 0, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.problem-card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.problem-card-title {
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.problem-card-desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.problem-card-bullets {
    list-style: none;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-100);
}

.problem-card-bullets li {
    font-size: 14px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.bullet-dot {
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    display: inline-block;
}

.problems-cta-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.problems-cta {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 6px 24px rgba(240, 120, 0, 0.25);
}

.problems-cta:hover {
    background: var(--orange-dark);
    box-shadow: 0 8px 30px rgba(240, 120, 0, 0.35);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        height: 350px;
    }

    .hero-card-1 { left: 0; top: 5%; }
    .hero-card-2 { right: 5%; top: 35%; }
    .hero-card-3 { left: 10%; bottom: 5%; }

    .credibility-items {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .credibility-divider {
        display: none;
    }

    .credibility-item {
        flex: 0 0 calc(50% - 12px);
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-left {
        position: static;
    }

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

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

    .why-us-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-left {
        position: static;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
        --container-padding: 20px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 44px);
    }

    .hero-visual {
        display: block !important;
        height: auto !important;
        margin-top: 30px;
    }

    .hero-graphic {
        display: flex;
        flex-direction: column;
        gap: 16px;
        position: relative;
        width: 100%;
        height: auto;
    }

    .hero-card {
        position: static !important;
        width: 100%;
        max-width: 100%;
        animation: none !important;
        transform: none !important;
        box-shadow: var(--shadow-md);
        border: 1px solid var(--gray-100);
    }

    .hero-card:hover {
        transform: translateY(-2px) !important;
    }

    .hero-curve,
    .star {
        display: none !important;
    }

    .credibility-bar {
        padding: 32px 0;
    }

    .credibility-items {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .credibility-item {
        flex: 0 0 auto;
        width: 100%;
        max-width: 290px;
        justify-content: flex-start;
    }

    .section-title {
        font-size: clamp(28px, 7vw, 40px);
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .about-stat-divider {
        width: 60px;
        height: 1px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .step-card-tilted-left,
    .step-card-tilted-right {
        transform: none;
    }

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

    .problems-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .problem-img-wrapper {
        height: 200px;
    }

    .problem-card-content {
        padding: 24px;
    }

    .why-us-grid {
        max-width: 100%;
    }

    .final-cta-title {
        font-size: clamp(28px, 7vw, 44px);
    }

    .btn-xl {
        padding: 18px 32px;
        font-size: 16px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float::before {
        display: none;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .logo-img-nav {
        height: 44px;
    }

    .navbar.scrolled .logo-img-nav {
        height: 38px;
    }

    .hero-title {
        font-size: 28px !important;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 15px !important;
        margin-bottom: 28px !important;
    }

    .hero-actions {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .hero-actions .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 15px 24px !important;
    }



    .about-stats {
        padding: 24px;
    }

    .about-stat-number {
        font-size: 28px;
    }

    .faq-question {
        font-size: 15px;
    }

    .final-cta-inner {
        padding: 40px 20px !important;
    }

    .final-cta-title {
        font-size: 28px !important;
    }

    #final-cta-btn {
        width: 100% !important;
        justify-content: center !important;
        white-space: normal !important;
        text-align: center !important;
        padding: 16px 24px !important;
        line-height: 1.3 !important;
    }

    #sequelas .problems-cta {
        width: 100% !important;
        justify-content: center !important;
        white-space: normal !important;
        text-align: center !important;
        padding: 16px 24px !important;
        line-height: 1.3 !important;
    }
}
