/* =============================================
   BASE — reset, variabile, tipografie globală
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
    --color-primary:   #C41E2A;
    --color-primary-h: #A61722;
    --color-dark:      #25303A;
    --color-dark-2:    #44515D;
    --color-gray:      #5D6A77;
    --color-gray-2:    #85919D;
    --color-light:     #E5EBF0;
    --color-white:     #FBFCFE;
    --color-canvas:    #EEF2F6;
    --color-surface:   #F8FAFC;
    --color-surface-2: #E7EDF3;
    --color-wa:        #25D366;
    --color-wa-h:      #1DA851;
    --font-heading:    'Inter', sans-serif;
    --font-body:       'Inter', sans-serif;
    --radius-sm:       8px;
    --radius-md:       14px;
    --radius-lg:       22px;
    --radius-xl:       30px;
    --transition:      0.25s ease;
    --shadow-sm:       0 12px 32px rgba(41, 52, 64, 0.08);
    --shadow-md:       0 18px 48px rgba(41, 52, 64, 0.12);
    --shadow-lg:       0 30px 80px rgba(30, 40, 50, 0.16);
    --container-max:   1240px;
    --section-pad:     88px;
    --surface-border:  rgba(100, 114, 130, 0.16);
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background: var(--color-canvas);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 60px;
    }
}

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

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

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

ul, ol {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 24px;
}

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

.section-dark {
    background:
        radial-gradient(circle at top right, rgba(196,30,42,0.14), transparent 28%),
        radial-gradient(circle at bottom left, rgba(255,255,255,0.08), transparent 24%),
        linear-gradient(180deg, #5C6774 0%, #313A44 100%);
    color: #fff;
}

.section-light {
    background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.5));
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    line-height: 1.15;
    font-weight: 800;
}

.section-title {
    font-size: clamp(1.85rem, 4vw, 2.9rem);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.section-title--light {
    color: #fff;
}

.section-subtitle {
    text-align: center;
    color: var(--color-gray);
    font-size: 1.08rem;
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: 48px;
    line-height: 1.75;
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--color-gray-2);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--color-gray);
    transition: color var(--transition);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 17px 34px;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-h);
}

.btn-whatsapp {
    background: var(--color-wa);
    color: #fff;
}

.btn-whatsapp:hover {
    background: var(--color-wa-h);
}

.btn-call {
    background: rgba(255,255,255,0.92);
    color: var(--color-dark);
    border: 1px solid var(--surface-border);
}

.btn-call:hover {
    background: var(--color-white);
}

.btn-outline {
    background: rgba(255,255,255,0.74);
    color: var(--color-dark);
    border: 1px solid rgba(100, 114, 130, 0.18);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.92);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
    body.motion-enhanced .motion-reveal {
        opacity: 0.001;
        will-change: transform, opacity, filter;
        backface-visibility: hidden;
    }

    body.motion-enhanced .motion-reveal.motion-reveal--visible {
        animation: motionRevealUp 0.82s cubic-bezier(0.16, 1, 0.3, 1) both;
        animation-delay: var(--motion-delay, 0ms);
    }

    body.motion-enhanced .motion-reveal.motion-reveal--left.motion-reveal--visible {
        animation-name: motionRevealLeft;
    }

    body.motion-enhanced .motion-reveal.motion-reveal--right.motion-reveal--visible {
        animation-name: motionRevealRight;
    }

    @keyframes motionRevealUp {
        from {
            opacity: 0.001;
            filter: blur(10px);
            transform: translate3d(0, 34px, 0) scale(0.985);
        }
        to {
            opacity: 1;
            filter: blur(0);
            transform: translate3d(0, 0, 0) scale(1);
        }
    }

    @keyframes motionRevealLeft {
        from {
            opacity: 0.001;
            filter: blur(10px);
            transform: translate3d(-42px, 18px, 0) scale(0.985);
        }
        to {
            opacity: 1;
            filter: blur(0);
            transform: translate3d(0, 0, 0) scale(1);
        }
    }

    @keyframes motionRevealRight {
        from {
            opacity: 0.001;
            filter: blur(10px);
            transform: translate3d(42px, 18px, 0) scale(0.985);
        }
        to {
            opacity: 1;
            filter: blur(0);
            transform: translate3d(0, 0, 0) scale(1);
        }
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 64px;
    }
}

.img-placeholder {
    position: relative;
    background: linear-gradient(145deg, #394552, #242C35);
    border: 2px dashed rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.34);
    text-align: center;
    padding: 32px;
    overflow: hidden;
    width: 100%;
}

.img-placeholder--light {
    background: linear-gradient(145deg, #EDF2F6, #DCE4EC);
    border-color: rgba(96,110,126,0.12);
    color: rgba(79,92,107,0.42);
}

.img-placeholder svg {
    opacity: 0.5;
    flex-shrink: 0;
}

.img-placeholder-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.img-placeholder-hint {
    font-size: 0.68rem;
    opacity: 0.6;
    font-family: monospace;
}

.img-placeholder-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 8px;
    border-radius: 999px;
    opacity: 0.9;
}

.video-placeholder {
    position: relative;
    background: linear-gradient(145deg, #394552, #242C35);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    color: rgba(255,255,255,0.3);
    border: 2px dashed rgba(255,255,255,0.08);
}

.video-placeholder-play {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
}

.video-placeholder-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.video-placeholder-hint {
    font-size: 0.68rem;
    opacity: 0.6;
    font-family: monospace;
}
