/* =============================================
   LATE & MIA BANHO E TOSA — PREMIUM DESIGN SYSTEM
   Taste-Skill: DESIGN_VARIANCE 8 / MOTION 6 / DENSITY 4
   ============================================= */

/* ── Tokens ── */
:root {
    /* Brand Colors — extracted from logo */
    --teal: #5B8F8B;
    --teal-dark: #3D5E5A;
    --teal-deeper: #2C4441;
    --teal-light: #7FB3AE;
    --teal-lighter: #B8D8D4;
    --rose: #E8789A;
    --rose-dark: #D4567E;
    --rose-light: #F2A6BB;
    --rose-lighter: #FCEDF2;
    --navy: #3C3C4E;
    --navy-dark: #2A2A38;
    --navy-light: #55556A;
    --off-white: #FAF8F5;
    --cream: #F5F0EB;
    --warm-gray: #6B6B7B;
    --warm-gray-light: #9A9AAB;
    --warm-gray-lighter: #D4D4DE;
    --white: #FFFFFF;

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

    /* Font sizes — controlled hierarchy */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.25rem;
    --text-6xl: 4rem;

    /* Spacing — generous, art-gallery feel */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 40px;
    --radius-pill: 50px;
    --radius-full: 50%;

    /* Shadows — tinted to background hue */
    --shadow-sm: 0 2px 8px rgba(59, 60, 78, 0.05);
    --shadow-md: 0 4px 20px rgba(59, 60, 78, 0.07);
    --shadow-lg: 0 12px 40px rgba(59, 60, 78, 0.09);
    --shadow-xl: 0 20px 60px rgba(59, 60, 78, 0.12);
    --shadow-rose: 0 8px 30px rgba(232, 120, 154, 0.3);
    --shadow-teal: 0 8px 30px rgba(91, 143, 139, 0.25);

    /* Transitions — premium cubic bezier */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-base: 0.35s var(--ease-out-expo);
    --transition-slow: 0.6s var(--ease-out-expo);
    --transition-slower: 0.9s var(--ease-out-expo);
}

/* ── RESET & BASE ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--navy);
    background: var(--off-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--navy);
}

p {
    max-width: 65ch;
}

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--rose), var(--rose-light));
    z-index: 10000;
    transition: none;
}

/* ── UTILITIES ── */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.text-accent { color: var(--rose); }

.section {
    padding: var(--space-24) 0;
    position: relative;
}

.section__header {
    max-width: 560px;
    margin-bottom: var(--space-16);
}

.section__header--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section__tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--teal);
    background: rgba(91, 143, 139, 0.1);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-4);
    letter-spacing: 0.02em;
}

.section__tag svg {
    width: 16px;
    height: 16px;
}

.section__title {
    font-size: var(--text-4xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-4);
    text-wrap: balance;
}

.section__subtitle {
    font-size: var(--text-lg);
    color: var(--warm-gray);
    line-height: 1.7;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
}

.btn:active {
    transform: scale(0.97) translateY(1px);
}

.btn__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn--rose {
    background: var(--rose);
    color: var(--white);
    border-color: var(--rose);
}

.btn--rose:hover {
    background: var(--rose-dark);
    border-color: var(--rose-dark);
    box-shadow: var(--shadow-rose);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

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

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

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

.btn--white {
    background: var(--white);
    color: var(--teal-dark);
    border-color: var(--white);
}

.btn--white:hover {
    background: var(--cream);
    border-color: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
}

.btn--lg .btn__icon {
    width: 22px;
    height: 22px;
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition-base);
    padding: var(--space-5) 0;
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(91, 143, 139, 0.08);
    box-shadow: var(--shadow-sm);
    padding: var(--space-3) 0;
}

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

.navbar__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    z-index: 1001;
}

.logo__icon {
    width: 36px;
    height: 36px;
    color: var(--white);
    transition: color var(--transition-base);
}

.navbar.scrolled .logo__icon {
    color: var(--teal-dark);
}

.logo__text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-xl);
    color: var(--white);
    letter-spacing: -0.02em;
    transition: color var(--transition-base);
}

.navbar.scrolled .logo__text {
    color: var(--navy);
}

.logo__amp {
    color: var(--rose);
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.navbar__links a {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.8);
    position: relative;
    padding: var(--space-1) 0;
    transition: color var(--transition-fast);
}

.navbar.scrolled .navbar__links a {
    color: var(--warm-gray);
}

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

.navbar.scrolled .navbar__links a:hover {
    color: var(--navy);
}

.navbar__links a.active {
    color: var(--white);
}

.navbar.scrolled .navbar__links a.active {
    color: var(--rose);
}

.navbar__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rose);
    border-radius: 1px;
    transition: width var(--transition-base);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
    width: 100%;
}

.navbar__cta {
    font-size: var(--text-sm) !important;
    padding: var(--space-2) var(--space-5) !important;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: var(--space-2);
}

.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.navbar.scrolled .navbar__toggle span {
    background: var(--navy);
}

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

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

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

/* Ensure navbar backdrop-filter doesn't clip the fullscreen menu */
.navbar.menu-open {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.navbar.menu-open .navbar__toggle span {
    background: var(--white) !important;
}

/* ── HERO — Asymmetric Split Screen ── */
.hero {
    position: relative;
    background: linear-gradient(145deg, var(--teal-deeper) 0%, var(--teal-dark) 40%, var(--teal) 100%);
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 120px 0 100px;
    overflow: hidden;
}

.hero__noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.hero__bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__shape {
    position: absolute;
    border-radius: 50%;
    background: var(--white);
    top: 0;
    opacity: 0;
}

.hero__shape--1 { width: 150px; height: 150px; left: 10%; animation: move-up-1 18s linear infinite 0s; }
.hero__shape--2 { width: 250px; height: 250px; left: 45%; animation: move-up-2 22s linear infinite 3s; }
.hero__shape--3 { width: 80px; height: 80px; left: 75%; animation: move-up-3 15s linear infinite 7s; }
.hero__shape--4 { width: 300px; height: 300px; left: 85%; animation: move-up-1 25s linear infinite 2s; }
.hero__shape--5 { width: 120px; height: 120px; left: 30%; animation: move-up-3 19s linear infinite 9s; }
.hero__shape--6 { width: 200px; height: 200px; left: -5%; animation: move-up-2 21s linear infinite 6s; }
.hero__shape--7 { width: 90px; height: 90px; left: 55%; animation: move-up-1 16s linear infinite 14s; }
.hero__shape--8 { width: 400px; height: 400px; left: 20%; animation: move-up-3 28s linear infinite 11s; }
.hero__shape--9 { width: 160px; height: 160px; left: 65%; animation: move-up-2 20s linear infinite 17s; }
.hero__shape--10 { width: 220px; height: 220px; left: 90%; animation: move-up-1 24s linear infinite 20s; }

.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--rose-light);
    background: rgba(232, 120, 154, 0.12);
    border: 1px solid rgba(232, 120, 154, 0.2);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(4px);
}

.hero__tag svg {
    width: 16px;
    height: 16px;
}

.hero__title {
    font-size: var(--text-6xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-6);
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.hero__title-accent {
    color: var(--rose-light);
    position: relative;
    display: inline;
}

.hero__subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin-bottom: var(--space-10);
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-6) var(--space-8);
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    max-width: fit-content;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-2xl);
    color: var(--rose-light);
    letter-spacing: -0.02em;
}

.hero__stat-label {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero__stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
}

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

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    transform: rotate(1.5deg);
    transition: transform var(--transition-slow);
}

.hero__image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.hero__image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    color: var(--teal-dark);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.4);
    animation: float 3.5s ease-in-out infinite;
}

.hero__image-badge svg {
    width: 18px;
    height: 18px;
    color: var(--rose);
}

.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero__wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ── SERVIÇOS — Zig-Zag Layout ── */
.servicos {
    background: var(--off-white);
}

.servicos__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
}

.service-row:nth-child(even) {
    direction: rtl;
}

.service-row:nth-child(even) > * {
    direction: ltr;
}

.service-row__visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--teal-lighter) 0%, var(--cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-row__visual svg {
    width: 120px;
    height: 120px;
    color: var(--teal-dark);
    opacity: 0.2;
}

.service-row__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.service-row__content {
    padding: var(--space-4) 0;
}

.service-row__tag {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-xs);
    color: var(--rose);
    background: var(--rose-lighter);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.service-row__title {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.service-row__desc {
    font-size: var(--text-base);
    color: var(--warm-gray);
    line-height: 1.75;
    margin-bottom: var(--space-6);
}

.service-row__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.service-row__features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--navy-light);
}

.service-row__features li svg {
    width: 18px;
    height: 18px;
    color: var(--teal);
    flex-shrink: 0;
}

.service-row__price {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    color: var(--warm-gray);
}

.service-row__price strong {
    font-size: var(--text-2xl);
    color: var(--navy);
    font-weight: 700;
}

/* ── DIFERENCIAIS — 2x2 Grid ── */
.diferenciais {
    background: var(--cream);
    position: relative;
}

.diferenciais__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.diff-card {
    padding: var(--space-10) var(--space-8);
    border-radius: var(--radius-xl);
    background: var(--white);
    transition: all var(--transition-base);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0%;
    background: var(--rose);
    border-radius: 2px;
    transition: height var(--transition-slow);
}

.diff-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(91, 143, 139, 0.08);
}

.diff-card:hover::before {
    height: 100%;
}

.diff-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(91, 143, 139, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    transition: all var(--transition-base);
}

.diff-card:hover .diff-card__icon {
    background: var(--teal);
    color: var(--white);
}

.diff-card__icon svg {
    width: 28px;
    height: 28px;
    color: var(--teal);
    transition: color var(--transition-base);
}

.diff-card:hover .diff-card__icon svg {
    color: var(--white);
}

.diff-card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.diff-card__desc {
    font-size: var(--text-sm);
    color: var(--warm-gray);
    line-height: 1.7;
}

/* ── DEPOIMENTOS — Featured Quote ── */
.depoimentos {
    background: var(--off-white);
}

.depoimentos__content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-12);
    align-items: center;
}

.testimonial-featured {
    position: relative;
    padding: var(--space-12);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(91, 143, 139, 0.06);
}

.testimonial-featured__quote-icon {
    width: 48px;
    height: 48px;
    color: var(--rose-light);
    margin-bottom: var(--space-6);
    opacity: 0.6;
}

.testimonial-featured__text {
    font-size: var(--text-xl);
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--navy);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    font-style: italic;
}

.testimonial-featured__author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-featured__avatar {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--teal-lighter), var(--cream));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.testimonial-featured__name {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--navy);
}

.testimonial-featured__pet {
    font-size: var(--text-sm);
    color: var(--warm-gray);
}

.testimonial-featured__stars {
    display: flex;
    gap: 2px;
    margin-top: var(--space-2);
}

.testimonial-featured__stars svg {
    width: 16px;
    height: 16px;
    color: var(--rose);
}

.testimonials-mini {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.testimonial-mini {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid rgba(91, 143, 139, 0.06);
    transition: all var(--transition-base);
}

.testimonial-mini:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.testimonial-mini__text {
    font-size: var(--text-sm);
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: var(--space-4);
    font-style: italic;
}

.testimonial-mini__author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.testimonial-mini__avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--rose-lighter), var(--cream));
    flex-shrink: 0;
}

.testimonial-mini__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--navy);
}

.testimonial-mini__pet {
    font-size: var(--text-xs);
    color: var(--warm-gray);
}

/* ── GALERIA — Masonry-style ── */
.galeria {
    background: var(--cream);
}

.galeria__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-4);
}

.galeria__item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.galeria__item:nth-child(1) {
    grid-row: span 2;
    aspect-ratio: 3 / 4;
}

.galeria__item:nth-child(2),
.galeria__item:nth-child(3) {
    aspect-ratio: 1 / 1;
}

.galeria__item:nth-child(4) {
    aspect-ratio: 16 / 10;
    grid-column: span 2;
}

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

.galeria__item:hover img {
    transform: scale(1.06);
}

.galeria__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 68, 65, 0.75) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-6);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.galeria__item:hover .galeria__overlay {
    opacity: 1;
}

.galeria__overlay span {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--white);
}

/* ── CTA SECTION ── */
.cta-section {
    position: relative;
    background: linear-gradient(145deg, var(--teal-deeper) 0%, var(--teal-dark) 100%);
    padding: var(--space-24) 0;
    text-align: center;
    overflow: hidden;
}

.cta-section__noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-section__inner {
    position: relative;
    z-index: 2;
}

.cta-section__title {
    font-size: var(--text-4xl);
    color: var(--white);
    margin-bottom: var(--space-4);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

.cta-section__text {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.65);
    margin-bottom: var(--space-10);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ── LOCALIZAÇÃO ── */
.localizacao {
    background: var(--off-white);
}

.localizacao__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-10);
    align-items: start;
}

.localizacao__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.localizacao__info-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.localizacao__info-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
    border-color: rgba(91, 143, 139, 0.08);
}

.localizacao__info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(91, 143, 139, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.localizacao__info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--teal);
}

.localizacao__info-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-1);
}

.localizacao__info-item p {
    font-size: var(--text-sm);
    color: var(--warm-gray);
    line-height: 1.6;
}

.localizacao__map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(91, 143, 139, 0.06);
}

/* ── FOOTER ── */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: var(--space-16) 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

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

.footer__desc {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    margin-top: var(--space-4);
    line-height: 1.7;
    max-width: 300px;
}

.footer__social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
}

.footer__social-link:hover {
    background: var(--rose);
    transform: translateY(-3px);
}

.footer__links h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-5);
    color: var(--white);
}

.footer__links ul li {
    margin-bottom: var(--space-3);
}

.footer__links ul li a,
.footer__links ul li {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    transition: all var(--transition-fast);
}

.footer__links ul li a:hover {
    color: var(--rose-light);
    padding-left: 4px;
}

.footer__bottom {
    padding: var(--space-6) 0;
    text-align: center;
}

.footer__bottom p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.3);
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
    transition: all var(--transition-base);
    animation: pulse-whatsapp 2.5s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-float__tooltip {
    position: absolute;
    right: 72px;
    background: var(--white);
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-sm);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all var(--transition-base);
}

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

.whatsapp-float__tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--white);
}

/* ── ANIMATIONS & KEYFRAMES ── */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 8px 36px rgba(37, 211, 102, 0.55); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.08); opacity: 1; }
}

/* Drift animations removed as shapes now use move-up 1, 2, 3 exclusively */

@keyframes move-up-1 {
    0% { transform: translate(0, 110vh) scale(0.5); opacity: 0; }
    10% { opacity: 0.06; }
    50% { transform: translate(50px, 50vh) scale(1); opacity: 0.09; }
    90% { opacity: 0; }
    100% { transform: translate(-20px, -20vh) scale(1.2); opacity: 0; }
}

@keyframes move-up-2 {
    0% { transform: translate(0, 110vh) scale(0.8); opacity: 0; }
    10% { opacity: 0.04; }
    50% { transform: translate(-60px, 40vh) scale(1.1); opacity: 0.06; }
    90% { opacity: 0; }
    100% { transform: translate(30px, -20vh) scale(0.9); opacity: 0; }
}

@keyframes move-up-3 {
    0% { transform: translate(0, 110vh) scale(0.7); opacity: 0; }
    10% { opacity: 0.03; }
    50% { transform: translate(100px, 40vh) scale(1); opacity: 0.05; }
    90% { opacity: 0; }
    100% { transform: translate(20px, -30vh) scale(1.1); opacity: 0; }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

@keyframes clip-reveal-up {
    from { clip-path: inset(100% 0 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes clip-reveal-left {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes bounce-in {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes slide-up-bounce {
    0% { transform: translateY(60px); opacity: 0; }
    60% { transform: translateY(-8px); opacity: 1; }
    80% { transform: translateY(3px); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ── ICON SVG ANIMATIONS ── */
.icon-anim-pulse {
    animation: icon-pulse 2s ease-in-out infinite;
}
.icon-anim-float {
    animation: icon-float 3s ease-in-out infinite;
}
.icon-anim-wiggle {
    animation: icon-wiggle 2.5s ease-in-out infinite;
}
.icon-anim-bounce-soft {
    animation: icon-bounce-soft 2.5s ease-in-out infinite;
}
.icon-anim-jump {
    animation: icon-jump 2s ease-in-out infinite;
    transform-origin: bottom center;
}
.icon-anim-spin-clock {
    animation: icon-spin-clock 4s linear infinite;
}
.icon-anim-ring {
    animation: icon-ring 2.5s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
@keyframes icon-wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}
@keyframes icon-bounce-soft {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.05); }
}
@keyframes icon-jump {
    0%, 100% { transform: translateY(0) scaleY(1); }
    40% { transform: translateY(-6px) scaleY(1.05); }
    60% { transform: translateY(0) scaleY(0.95); }
}
@keyframes icon-spin-clock {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes icon-ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50% { transform: rotate(10deg); }
    20%, 40%, 60% { transform: rotate(-10deg); }
    70% { transform: rotate(0deg); }
}

/* Hero shapes perpetual drift animations are now defined directly within the classes using alternate direction */

/* ── SCROLL-IN REVEAL CLASSES ── */

/* 1. Fade Up (default) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 2. Slide from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 3. Slide from right */
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 4. Scale In (zoom from small) */
.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* 5. Blur In (focus from blurry) */
.reveal-blur {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out-expo), filter 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-blur.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* 6. Rotate In */
.reveal-rotate {
    opacity: 0;
    transform: rotate(-6deg) translateY(30px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal-rotate.visible {
    opacity: 1;
    transform: rotate(0deg) translateY(0);
}

/* 7. Flip In (3D flip) */
.reveal-flip {
    opacity: 0;
    transform: perspective(800px) rotateX(25deg) translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-flip.visible {
    opacity: 1;
    transform: perspective(800px) rotateX(0deg) translateY(0);
}

/* 8. Slide Up with Bounce */
.reveal-bounce {
    opacity: 0;
    transform: translateY(60px);
}
.reveal-bounce.visible {
    animation: slide-up-bounce 0.9s var(--ease-out-expo) forwards;
}

/* Stagger delays via CSS custom property */
[style*="--i"] {
    transition-delay: calc(var(--i) * 130ms);
}

.reveal-bounce[style*="--i"].visible {
    animation-delay: calc(var(--i) * 130ms);
}

/* ── PARALLAX SCROLL OFFSET (via JS) ── */
.parallax-slow {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* ── SECTION TITLE UNDERLINE DRAW ── */
.section__title .text-accent {
    position: relative;
}

.section__title .text-accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--rose);
    border-radius: 2px;
    transition: width 0.8s var(--ease-out-expo) 0.4s;
}

.reveal.visible .section__title .text-accent::after,
.section__header.visible .section__title .text-accent::after {
    width: 100%;
}

/* ── HOVER MICRO-INTERACTIONS ── */
.service-row__visual img {
    transition: transform 0.6s var(--ease-out-expo);
}

.service-row:hover .service-row__visual img {
    transform: scale(1.04);
}

.service-row__features li {
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.service-row__features li:hover {
    transform: translateX(4px);
    color: var(--navy);
}

.testimonial-featured {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

/* Image badge shimmer */
.hero__image-badge {
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 40%, rgba(255,255,255,0.95) 60%, rgba(255,255,255,0.95) 100%);
    background-size: 200% 100%;
    animation: float 3.5s ease-in-out infinite, shimmer 4s ease-in-out infinite;
}

/* Stats pulse after counter finishes */
.hero__stat-number.counted {
    animation: breathe 2s ease-in-out 1;
}

/* Gallery items stagger on load */
.galeria__item {
    transition: transform var(--transition-slow), box-shadow var(--transition-base);
}

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

/* Navbar CTA pulse on scroll */
.navbar__cta {
    transition: all var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled .navbar__cta {
    animation: breathe 3s ease-in-out infinite;
}

/* Footer social stagger */
.footer__social-link {
    opacity: 0;
    transform: translateY(12px);
    transition: all var(--transition-base);
}

.footer__social-link.visible {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp float entrance */
.whatsapp-float {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
    transition: opacity var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.whatsapp-float.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* ── RESPONSIVE ── */

/* Tablet */
@media (max-width: 1024px) {
    .hero__title { font-size: var(--text-5xl); }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .hero__image { order: -1; }

    .hero__image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero__content { text-align: center; }

    .hero__subtitle { margin: 0 auto var(--space-10); }

    .hero__actions { justify-content: center; }

    .hero__stats { margin: 0 auto; }

    .service-row {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .service-row:nth-child(even) { direction: ltr; }

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

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

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

    .galeria__item:nth-child(1) {
        grid-row: span 1;
        aspect-ratio: 16 / 10;
        grid-column: span 2;
    }

    .galeria__item:nth-child(4) {
        grid-column: span 2;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section {
        padding: var(--space-16) 0;
    }

    .section__title {
        font-size: var(--text-3xl);
    }

    .section__header {
        margin-bottom: var(--space-10);
    }

    /* Navbar mobile */
    .navbar__links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--navy-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-8);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        z-index: 999;
    }

    .navbar__links.active {
        transform: translateX(0);
    }

    .navbar__links a {
        font-size: var(--text-xl) !important;
        color: var(--white) !important;
    }

    .navbar__cta { display: none; }

    .navbar__toggle { display: flex; }

    /* Hero mobile */
    .hero {
        min-height: auto;
        padding: 120px 0 100px;
    }

    .hero__title {
        font-size: var(--text-4xl);
    }

    .hero__image-wrapper {
        max-width: 320px;
        transform: none;
    }

    /* Services mobile */
    .service-row__visual {
        aspect-ratio: 16 / 9;
    }

    /* Diferenciais mobile */
    .diferenciais__grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    /* Gallery mobile */
    .galeria__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3);
    }

    .galeria__item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16 / 9;
    }

    .galeria__item:nth-child(2),
    .galeria__item:nth-child(3) {
        aspect-ratio: 1 / 1;
    }

    .galeria__item:nth-child(4) {
        grid-column: span 2;
    }

    /* Localização mobile */
    .localizacao__content {
        grid-template-columns: 1fr;
    }

    .localizacao__map iframe {
        height: 300px;
    }

    /* CTA mobile */
    .cta-section__title {
        font-size: var(--text-3xl);
    }

    /* Footer mobile */
    .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__desc { max-width: none; }

    .footer__social { justify-content: center; }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero__title {
        font-size: var(--text-3xl);
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__stats {
        padding: var(--space-4);
        gap: var(--space-4);
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .galeria__item:nth-child(1),
    .galeria__item:nth-child(4) {
        grid-column: span 1;
    }

    .btn--lg {
        padding: var(--space-4) var(--space-6);
        font-size: var(--text-base);
    }
}


/* Custom Logo Image Styles */
.navbar__logo .logo__img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.navbar__logo:hover .logo__img {
    transform: scale(1.05);
}
.footer-logo__img {
    height: 120px;
    margin-bottom: 12px;
}

