/* ==========================================================================
   JULIANA MONTENEGRO - CSS PRINCIPAL
   Estrutura: Reset → Variáveis → Base → Componentes → Seções → Responsivo
   ========================================================================== */

/* ==========================================================================
   FONTES LOCAIS (Made Mirage)
   Coloque o arquivo da fonte em /fonts/MadeMirage.woff2
   ========================================================================== */
@font-face {
    font-family: 'Made Mirage';
    src: url('../fonts/MadeMirage.woff2') format('woff2'),
         url('../fonts/MadeMirage.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   VARIÁVEIS CSS (Design System)
   ========================================================================== */
:root {
    /* Cores principais */
    --color-primary: #cec2f4;
    --color-primary-dark: #b5a4ee;
    --color-secondary: #385fba;         /* AZUL PROTAGONISTA */
    --color-secondary-light: #5b7dd6;
    --color-secondary-dark: #2a4a94;
    --color-bg: #f7f7f7;
    --color-white: #ffffff;
    --color-text: #1a1a2e;
    --color-text-light: #5a5a6e;
    --color-border: #dbe3f3;

    /* Gradientes (azul mais presente) */
    --gradient-primary: linear-gradient(135deg, #5b7dd6 0%, #385fba 55%, #2a4a94 100%);
    --gradient-blue: linear-gradient(135deg, #385fba 0%, #2a4a94 100%);
    --gradient-light: linear-gradient(135deg, #cec2f4 0%, #385fba 100%);
    --gradient-soft: linear-gradient(135deg, #f7f7f7 0%, #e6ecf8 100%);

    /* Tipografia */
    --font-title: 'Cinzel', 'Made Mirage', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Made Mirage', 'Cinzel', Georgia, serif;

    /* Espaçamento */
    --container-max: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(56, 95, 186, 0.08);
    --shadow-md: 0 8px 24px rgba(56, 95, 186, 0.12);
    --shadow-lg: 0 20px 60px rgba(56, 95, 186, 0.18);

    /* Bordas */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;

    /* Transições */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   TIPOGRAFIA UTILITÁRIA
   ========================================================================== */
.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    font-style: italic;
}

.section__eyebrow,
.hero__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    padding: 0.45rem 1.1rem;
    background: rgba(56, 95, 186, 0.1);
    border: 1px solid rgba(56, 95, 186, 0.2);
    border-radius: var(--radius-full);
}

.section__title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.section__subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 620px;
    margin: 0 auto;
}

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

/* ==========================================================================
   SEÇÕES BASE
   ========================================================================== */
.section {
    padding: 6rem 0;
    position: relative;
}

.section--alt {
    background: var(--gradient-soft);
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn--primary {
    background: var(--gradient-blue);
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(56, 95, 186, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(56, 95, 186, 0.4);
}

.btn--ghost {
    background: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

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

.btn--whatsapp {
    background: #25D366;
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

.btn--whatsapp:hover {
    background: #1ebe5a;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.btn--full {
    width: 100%;
}

/* ==========================================================================
   HEADER / NAVEGAÇÃO
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247, 247, 247, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(56, 95, 186, 0.08);
}

.header.scrolled {
    background: rgba(247, 247, 247, 0.98);
    box-shadow: 0 4px 20px rgba(56, 95, 186, 0.08);
    padding: 0.45rem 0;
}

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

.header__logo {
    display: flex;
    align-items: center;
    line-height: 0;
}

.header__logo-img {
    height: 82px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .header__logo-img {
    height: 68px;
}

.header__nav {
    display: flex;
    align-items: center;
}

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

.nav__link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav__link:hover::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--color-secondary);
}

.nav__link--cta {
    background: var(--gradient-primary);
    color: var(--color-white) !important;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Menu mobile */
.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.header__toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 2px;
    transition: var(--transition);
}

.header__toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.header__toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 9rem 0 4rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg-shape {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.12;
    filter: blur(80px);
    z-index: 0;
}

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

.hero__content {
    max-width: 640px;
}

.hero__title {
    font-size: clamp(1.75rem, 3.8vw, 2.9rem);
    font-weight: 600;
    margin: 1.25rem 0;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero__stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--color-secondary);
    font-weight: 700;
    line-height: 1;
}

.stat span {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.3rem;
}

/* Imagem hero */
.hero__image {
    position: relative;
}

.hero__image-wrap {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}

.hero__image-placeholder {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    position: relative;
    background: var(--gradient-primary);
}

.hero__photo,
.sobre__photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero__badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--color-white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(56, 95, 186, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 3px solid var(--color-secondary);
}

.badge__years {
    font-family: var(--font-title);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1;
}

.badge__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
    text-align: center;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 46px;
    border: 2px solid var(--color-secondary);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.hero__scroll span {
    display: block;
    width: 4px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(14px); }
}

/* ==========================================================================
   SOBRE
   ========================================================================== */
.sobre__container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
    align-items: center;
}

.sobre__image {
    position: relative;
}

.sobre__image-wrap {
    max-width: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 5/6;
    position: relative;
    z-index: 2;
    background: var(--gradient-primary);
}

.sobre__image-deco {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: var(--gradient-blue);
    border-radius: var(--radius-lg);
    opacity: 0.35;
    z-index: 1;
}

.sobre__content .section__title {
    text-align: left;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.sobre__text {
    font-size: 1.02rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

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

.sobre__highlights {
    margin: 2rem 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sobre__highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--color-text);
}

.sobre__highlights svg {
    width: 22px;
    height: 22px;
    color: var(--color-secondary);
    flex-shrink: 0;
    padding: 4px;
    background: rgba(206, 194, 244, 0.35);
    border-radius: var(--radius-full);
}

/* ==========================================================================
   SERVIÇOS
   ========================================================================== */
.servicos__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.servico-card {
    flex: 0 1 calc(33.333% - 1.334rem);
    min-width: 280px;
    max-width: 360px;
}

.servico-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

.servico-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.servico-card__image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--gradient-primary);
    position: relative;
}

.servico-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(56, 95, 186, 0.25) 100%);
    pointer-events: none;
}

.servico-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.servico-card:hover .servico-card__image img {
    transform: scale(1.06);
}

.servico-card__body {
    padding: 1.75rem 1.75rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.servico-card__title {
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
    color: var(--color-secondary);
    line-height: 1.3;
}

.servico-card__text {
    font-size: 0.93rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */
.diferenciais__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    position: relative;
    padding-top: 2.5rem;
}

/* Linha conectora horizontal entre os 5 diferenciais */
.diferenciais__grid::before {
    content: '';
    position: absolute;
    top: 4.1rem;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--color-primary) 10%,
        var(--color-secondary) 50%,
        var(--color-primary) 90%,
        transparent 100%);
    z-index: 0;
    border-radius: 2px;
}

.diferencial {
    padding: 2rem 1.25rem 1.75rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    text-align: center;
    z-index: 1;
    margin-top: 1.5rem;
}

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

.diferencial__number {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    margin: 0 auto 1.1rem;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(56, 95, 186, 0.35);
    border: 4px solid var(--color-bg);
    position: relative;
    margin-top: -3.75rem;
    transition: var(--transition);
}

.section--alt .diferencial__number {
    border-color: #efe9fc;
}

.diferencial:hover .diferencial__number {
    transform: scale(1.1);
}

.diferencial__title {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: var(--color-secondary);
    line-height: 1.3;
}

.diferencial__text {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.55;
}

/* ==========================================================================
   CTA INTERMEDIÁRIO
   ========================================================================== */
.cta-mid {
    padding: 5rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-mid::before,
.cta-mid::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.cta-mid::before {
    top: -200px;
    left: -100px;
}

.cta-mid::after {
    bottom: -200px;
    right: -100px;
}

.cta-mid__container {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.cta-mid__title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-mid__text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* ==========================================================================
   TEMAS DE ATUAÇÃO
   ========================================================================== */
.temas__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.tema {
    flex: 0 1 calc(33.333% - 1rem);
    min-width: 240px;
    max-width: 300px;
}

.tema {
    padding: 2rem 1.5rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.tema:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.tema__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(206, 194, 244, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    transition: var(--transition);
}

.tema:hover .tema__icon {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.tema__icon svg {
    width: 28px;
    height: 28px;
}

.tema__title {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
}

/* ==========================================================================
   GALERIA DE DEPOIMENTOS - CARROSSEL com LIGHTBOX
   ========================================================================== */
.galeria__carousel {
    position: relative;
    padding: 0 3.5rem;
}

.galeria__track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0.25rem 1.25rem;
    /* Esconde scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.galeria__track::-webkit-scrollbar {
    display: none;
}

.galeria__item {
    flex: 0 0 calc((100% - 3.75rem) / 4);
    aspect-ratio: 1/1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--gradient-primary);
    cursor: zoom-in;
    transition: var(--transition);
    scroll-snap-align: start;
    position: relative;
}

.galeria__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(56, 95, 186, 0) 50%, rgba(56, 95, 186, 0.45) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

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

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

.galeria__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

/* Botões de navegação do carrossel */
.galeria__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(56, 95, 186, 0.2);
    z-index: 3;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.galeria__nav:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.08);
    border-color: var(--color-secondary);
}

.galeria__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.galeria__nav:disabled:hover {
    background: var(--color-white);
    color: var(--color-secondary);
    transform: translateY(-50%);
}

.galeria__nav svg {
    width: 24px;
    height: 24px;
}

.galeria__nav--prev { left: 0; }
.galeria__nav--next { right: 0; }

/* Lightbox (modal fullscreen) */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 35, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__img {
    max-width: min(92vw, 720px);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active .lightbox__img {
    transform: scale(1);
}

.lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.lightbox__close svg {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contato__container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.contato__info .section__title {
    text-align: left;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.contato__text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

.contato__list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contato__list svg {
    width: 44px;
    height: 44px;
    padding: 10px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contato__list strong {
    display: block;
    font-family: var(--font-title);
    color: var(--color-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.contato__list span,
.contato__list a {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.contato__list a:hover {
    color: var(--color-secondary);
}

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

.form__group {
    margin-bottom: 1.25rem;
    position: relative;
}

.form__label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.form__input {
    width: 100%;
    padding: 0.95rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form__input::placeholder {
    color: #a8a8b8;
}

.form__input:focus {
    border-color: var(--color-secondary);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(56, 95, 186, 0.1);
}

.form__input.error {
    border-color: #e63946;
    background: #fdf4f5;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-body);
}

.form__error {
    display: block;
    font-size: 0.8rem;
    color: #e63946;
    margin-top: 0.35rem;
    min-height: 1rem;
}

.form__feedback {
    text-align: center;
    padding: 0.75rem;
    margin-top: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 1rem;
}

.form__feedback.success {
    background: rgba(37, 211, 102, 0.1);
    color: #1ebe5a;
}

.form__feedback.error {
    background: rgba(230, 57, 70, 0.1);
    color: #e63946;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4a 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 0 0;
}

.footer__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer__title {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
}

.footer__subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.footer__info p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer__info strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.2rem;
    font-family: var(--font-title);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__info a {
    color: rgba(255, 255, 255, 0.85);
}

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

.footer__nav h4 {
    color: var(--color-primary);
    font-family: var(--font-title);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer__nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__nav a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}

.footer__nav a:hover {
    color: var(--color-primary);
    padding-left: 0.5rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer__bottom a {
    color: var(--color-primary);
    font-weight: 600;
}

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

.heart {
    display: inline-block;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ==========================================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1ebe5a;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 20px rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   ANIMAÇÕES ON-SCROLL
   ========================================================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 992px) {
    .hero {
        padding: 7rem 0 3rem;
        min-height: auto;
    }

    /* Hero: imagem aparece primeiro no mobile/tablet */
    .hero__container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero__image {
        order: -1;
    }

    .hero__content {
        margin: 0 auto;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions,
    .hero__stats {
        justify-content: center;
    }

    /* Sobre e Contato: layout empilhado, alinhamento à esquerda mantido */
    .sobre__container,
    .contato__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sobre__image-deco {
        display: none;
    }

    .sobre__image-wrap {
        margin: 0 auto;
    }

    /* Diferenciais: grid 3 colunas em tablets */
    .diferenciais__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .diferenciais__grid::before {
        display: none;
    }

    /* Serviços e Temas: 2 colunas */
    .servicos__grid,
    .temas__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Carrossel: 3 visíveis em tablet */
    .galeria__item {
        flex: 0 0 calc((100% - 2.5rem) / 3);
    }

    .galeria__carousel {
        padding: 0 3rem;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    /* ==========================
       ALINHAMENTO UNIFORME MOBILE
       Hero e Contato: centralizados
       Sobre Juliana: alinhado à ESQUERDA
       ========================== */
    .hero__content,
    .contato__info {
        text-align: center;
    }

    .contato__info .section__title,
    .contato__info .section__eyebrow {
        text-align: center;
        display: inline-block;
    }

    /* Sobre: alinhamento à esquerda no mobile */
    .sobre__content {
        text-align: left;
    }

    .sobre__content .section__title,
    .sobre__content .section__eyebrow {
        text-align: left;
    }

    .sobre__highlights {
        max-width: 100%;
        margin: 1.5rem 0 2rem;
        align-items: flex-start;
    }

    .sobre__content .btn {
        margin: 0;
    }

    .contato__list {
        max-width: 360px;
        margin: 0 auto;
    }

    .contato__list li {
        text-align: left;
    }

    /* Menu mobile */
    .header__toggle {
        display: flex;
    }

    .header__logo-img {
        height: 62px;
    }

    .header.scrolled .header__logo-img {
        height: 52px;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: var(--color-white);
        padding: 6rem 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
    }

    .header__nav.active {
        right: 0;
    }

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

    .nav__link {
        font-size: 1.1rem;
        width: 100%;
    }

    .nav__link--cta {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    /* Hero */
    .hero__title {
        font-size: clamp(1.9rem, 7vw, 2.5rem);
    }

    .hero__stats {
        gap: 1.5rem;
        justify-content: space-around;
    }

    .stat strong {
        font-size: 1.6rem;
    }

    .hero__scroll {
        display: none;
    }

    .hero__badge {
        bottom: -15px;
        left: 0;
        padding: 0.85rem 1.1rem;
    }

    .badge__years {
        font-size: 1.75rem;
    }

    /* Seções */
    .section__header {
        margin-bottom: 2.5rem;
    }

    .servicos__grid,
    .diferenciais__grid,
    .temas__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .diferencial {
        padding: 2rem 1.5rem;
    }

    /* Diferenciais: mantém círculo numerado no topo */
    .diferencial__number {
        width: 54px;
        height: 54px;
        font-size: 1.15rem;
    }

    /* Carrossel: 2 visíveis no mobile */
    .galeria__item {
        flex: 0 0 calc((100% - 1rem) / 2);
    }

    .galeria__track {
        gap: 1rem;
    }

    .galeria__carousel {
        padding: 0 2.5rem;
    }

    .galeria__nav {
        width: 42px;
        height: 42px;
    }

    .galeria__nav svg {
        width: 20px;
        height: 20px;
    }

    /* Contato */
    .contato__form {
        padding: 1.75rem;
    }

    /* Footer mobile: tudo centralizado e uniforme */
    .footer {
        padding: 3rem 0 0;
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        padding-bottom: 2.5rem;
    }

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

    .footer__logo {
        max-width: 180px;
        margin: 0 auto 1rem;
    }

    .footer__subtitle {
        text-align: center;
    }

    .footer__info p {
        margin-bottom: 1rem;
        text-align: center;
    }

    .footer__nav h4 {
        text-align: center;
    }

    .footer__nav ul {
        align-items: center;
    }

    .footer__nav a:hover {
        padding-left: 0;
    }

    .footer__bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* CTA intermediário */
    .cta-mid {
        padding: 3.5rem 0;
    }

    /* WhatsApp float */
    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 18px;
        right: 18px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    /* Botões */
    .btn {
        padding: 0.9rem 1.75rem;
        font-size: 0.92rem;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.1rem;
    }

    .hero {
        padding: 6rem 0 2rem;
    }

    .hero__eyebrow,
    .section__eyebrow {
        font-size: 0.75rem;
        padding: 0.35rem 0.85rem;
    }

    .hero__title {
        font-size: 1.85rem;
    }

    .hero__subtitle {
        font-size: 0.98rem;
    }

    .section__title {
        font-size: 1.6rem;
    }

    .cta-mid__title {
        font-size: 1.5rem;
    }

    .servico-card__title,
    .diferencial__title {
        font-size: 1.1rem;
    }

    .contato__form {
        padding: 1.5rem 1.25rem;
    }
}

/* ==========================================================================
   ACESSIBILIDADE
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Scroll personalizado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}
