/* =====================================================================
   SOLUTI · Editorial Heritage Style
   Color anchors preserved: --azul #132042 · --dourado #E5D08F
   ===================================================================== */

:root {
    /* Brand */
    --azul: #132042;
    --dourado: #E5D08F;

    /* Extended palette */
    --azul-deep: #0a132a;
    --azul-soft: #1d2c54;
    --azul-mist: #2a3a66;
    --dourado-light: #f4e6b8;
    --dourado-deep: #c9b372;
    --dourado-shadow: #8a7846;

    --ink: #0e1226;
    --ink-2: #2b2f44;
    --ink-3: #6a6e82;
    --paper: #fbf8f2;
    --paper-2: #f3eee2;
    --paper-3: #e9e1cb;
    --line: rgba(19, 32, 66, 0.14);

    /* Type */
    --display: "Fraunces", "Times New Roman", serif;
    --body: "Plus Jakarta Sans", system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;

    /* Motion */
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

    /* Layout */
    --gutter: clamp(20px, 5vw, 80px);
    --max: 1320px;
}

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

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

body {
    font-family: var(--body);
    color: var(--ink);
    background: var(--paper);
    width: 100%;
    overflow-x: hidden;
    font-feature-settings: "ss01", "ss02", "cv11";
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

::selection {
    background: var(--azul);
    color: var(--dourado-light);
}

/* ---------- Grain overlay (atmosphere) ---------- */
.grain {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0.06;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Eyebrow / editorial labels ---------- */
.eyebrow {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dourado-deep);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.eyebrow-light {
    color: var(--dourado);
}

.section-lede {
    font-family: var(--display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
    color: var(--ink-2);
    max-width: 56ch;
    margin: 1.5rem auto 0;
    line-height: 1.55;
    text-align: center;
}

/* ---------- Drop cap ---------- */
.dropcap {
    font-family: var(--display);
    font-weight: 700;
    font-style: italic;
    font-size: 4.5em;
    float: left;
    line-height: 0.85;
    padding: 0.1em 0.12em 0 0;
    color: var(--azul);
    font-variation-settings: "SOFT" 100, "opsz" 144;
}

/* =====================================================================
   CAROUSEL / HERO — full bleed editorial
   ===================================================================== */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--azul-deep);
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
    color: var(--paper);
}

.carousel-slide.active {
    display: block;
}

.a-car,
.carousel-slide > a {
    position: absolute;
    inset: 0;
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(0.92) brightness(0.78);
    animation: kenburns 24s ease-in-out infinite alternate;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.slide-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,19,42,0.55) 0%, rgba(10,19,42,0.15) 30%, rgba(10,19,42,0.15) 55%, rgba(10,19,42,0.85) 100%),
        linear-gradient(90deg, rgba(10,19,42,0.7) 0%, rgba(10,19,42,0.25) 45%, rgba(10,19,42,0) 70%);
    pointer-events: none;
}

.slide-content {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: clamp(80px, 14vh, 140px);
    max-width: min(900px, 80%);
    z-index: 5;
    animation: rise 0.9s var(--ease) both;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-content .eyebrow {
    color: var(--dourado);
    margin-bottom: 1.2rem;
}

.slide-content h2 {
    font-family: var(--display);
    font-weight: 300;
    font-style: normal;
    font-size: clamp(2.4rem, 6.5vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
    color: var(--paper);
    font-variation-settings: "SOFT" 50, "opsz" 144;
}

.slide-content h2 em {
    font-style: italic;
    font-weight: 400;
    color: var(--dourado);
    font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

.slide-content p {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.55;
    max-width: 48ch;
    margin-top: 1.5rem;
    color: rgba(251, 248, 242, 0.88);
    font-weight: 300;
}

.slide-meta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 2rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(251, 248, 242, 0.7);
}

.slide-meta .dot {
    width: 4px;
    height: 4px;
    background: var(--dourado);
    border-radius: 50%;
}

/* Carousel buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: rgba(251, 248, 242, 0.7);
    border: 1px solid rgba(251, 248, 242, 0.18);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    z-index: 20;
    transition: all 0.4s var(--ease);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: grid;
    place-items: center;
}

.carousel-btn:hover {
    color: var(--azul);
    background: var(--dourado);
    border-color: var(--dourado);
    transform: translateY(-50%) scale(1.06);
}

.carousel-btn.prev { left: clamp(16px, 3vw, 36px); }
.carousel-btn.next { right: clamp(16px, 3vw, 36px); }

.carousel-indicators {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.carousel-indicators .indicator {
    width: 28px;
    height: 2px;
    background: rgba(251, 248, 242, 0.3);
    transition: all 0.5s var(--ease);
}

.carousel-indicators .indicator.active {
    background: var(--dourado);
    width: 56px;
}

/* Legacy ID rules kept for the original markup that JS may reference */
#header-title,
#header-title-c2 {
    /* superseded by .slide-content but kept to avoid layout shock if used elsewhere */
}

/* =====================================================================
   SERVICES
   ===================================================================== */
#services {
    padding: clamp(80px, 12vh, 160px) var(--gutter) 0;
    display: flex;
    flex-direction: column;
}

#services-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: auto;
    padding-bottom: 60px;
}

#services-title h3 {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(3rem, 7vw, 6rem);
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--azul);
    border-bottom: none;
    font-variation-settings: "SOFT" 50, "opsz" 144;
}

#services-content {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#services-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 72px);
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    align-items: stretch;
}

.services-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 44px);
    text-align: left;
    background: var(--paper-2);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.6s var(--ease), background 0.6s var(--ease), border-color 0.6s var(--ease);
}

.services-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--dourado);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease);
}

.services-card:hover {
    transform: translateY(-6px);
    background: var(--paper);
    border-color: rgba(229, 208, 143, 0.6);
}

.services-card:hover::before {
    transform: scaleX(1);
}

.services-card-image {
    height: 88px;
    width: 88px;
    border-radius: 50%;
    background: var(--azul);
    border: 1px solid var(--azul);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    transition: transform 0.6s var(--ease);
}

.services-card:hover .services-card-image {
    transform: rotate(-6deg);
}

.services-card-image img {
    height: 38px;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.services-card strong {
    font-family: var(--display);
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--azul);
    margin: 0 0 0.9rem;
    letter-spacing: -0.015em;
    font-variation-settings: "SOFT" 30, "opsz" 144;
}

.card-desc {
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--ink-2);
    margin-bottom: 1.8rem;
    max-width: 36ch;
}

/* =====================================================================
   BUTTON SYSTEM
   ===================================================================== */
.button-style {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--azul);
    color: var(--paper);
    padding: 14px 26px;
    border-radius: 0;
    margin-top: auto;
    white-space: nowrap;
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--azul);
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease);
}

.button-style::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--dourado);
    transform: translateX(-101%);
    transition: transform 0.55s var(--ease);
    z-index: 0;
}

.button-style > * {
    position: relative;
    z-index: 1;
    transition: color 0.4s var(--ease);
}

.button-style .arrow {
    display: inline-block;
    transition: transform 0.45s var(--ease);
}

.button-style:hover {
    color: var(--azul);
    border-color: var(--dourado);
}

.button-style:hover::before {
    transform: translateX(0);
}

.button-style:hover .arrow {
    transform: translateX(4px);
}

/* =====================================================================
   LINE DETAILS — hairline rules
   ===================================================================== */
.line-detail {
    height: 1px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: clamp(60px, 10vh, 120px) 0;
}

.line-detail div {
    height: 1px;
    background: var(--dourado);
    width: 20%;
}

.line-detail-90 {
    justify-content: center;
}

.line-detail-90 div {
    width: calc(100% - var(--gutter) * 2);
    max-width: var(--max);
}

/* =====================================================================
   MISSION
   ===================================================================== */
#mission {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: clamp(40px, 6vw, 100px);
    max-width: var(--max);
    margin: clamp(60px, 10vh, 120px) auto;
    padding: 0 var(--gutter);
}

#mission-img {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mission-frame {
    position: relative;
    padding: clamp(20px, 3vw, 36px);
    background: var(--paper-2);
    border: 1px solid var(--line);
}

.mission-frame::before,
.mission-frame::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px solid var(--dourado);
}

.mission-frame::before {
    top: -8px;
    left: -8px;
    border-right: none;
    border-bottom: none;
}

.mission-frame::after {
    bottom: -8px;
    right: -8px;
    border-left: none;
    border-top: none;
}

#mission img {
    height: clamp(180px, 28vw, 360px);
    width: auto;
}

#mission-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

#mission-content h3 {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--azul);
    margin-bottom: 1.8rem;
    text-align: left;
    font-variation-settings: "SOFT" 50, "opsz" 144;
}

#mission-content p {
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.7;
    color: var(--ink-2);
    text-align: justify;
    margin: 0 0 2rem;
    max-width: 56ch;
}

/* =====================================================================
   BENEFITS
   ===================================================================== */
#benefits {
    width: 100%;
    max-width: var(--max);
    margin: clamp(40px, 8vh, 100px) auto 60px;
    padding: 0 var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#benefits h3 {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(2.4rem, 5.5vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--azul);
    text-align: center;
    margin-bottom: 3rem;
    font-variation-settings: "SOFT" 50, "opsz" 144;
}

#benefits h3 em {
    font-style: italic;
    color: var(--dourado-deep);
    font-weight: 400;
    font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

#benefits ul {
    width: 100%;
    max-width: 880px;
    display: flex;
    flex-direction: column;
    list-style: none;
}

#benefits li {
    position: relative;
    padding: 28px 0 28px 36px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}

#benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 38px;
    width: 18px;
    height: 1px;
    background: var(--dourado);
    transition: width 0.45s var(--ease);
}

#benefits li:first-child {
    border-top: 1px solid var(--line);
}

#benefits li:hover {
    background: var(--paper-2);
    padding-left: 48px;
    padding-right: 12px;
}

#benefits li:hover::before {
    width: 28px;
    left: 12px;
}

#benefits li > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#benefits li strong {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(1.15rem, 1.6vw, 1.5rem);
    color: var(--azul);
    letter-spacing: -0.01em;
}

#benefits li span {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ink-2);
}

/* =====================================================================
   SECTION HEADERS (deep navy bands)
   ===================================================================== */
#services-title-sobre {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(36px, 5vh, 56px) var(--gutter);
    background: var(--azul);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}

#services-title-sobre::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(229, 208, 143, 0.08), transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(229, 208, 143, 0.05), transparent 40%);
    pointer-events: none;
}

#services-title-sobre h3 {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--paper);
    text-align: center;
    position: relative;
    z-index: 1;
    font-variation-settings: "SOFT" 50, "opsz" 144;
}

#services-title-sobre .eyebrow {
    position: relative;
    z-index: 1;
}

/* =====================================================================
   SOBRE
   ===================================================================== */
#sobre {
    max-width: 880px;
    margin: clamp(32px, 5vh, 60px) auto clamp(60px, 10vh, 120px);
    padding: 0 var(--gutter);
    display: flex;
    flex-direction: column;
    gap: clamp(48px, 8vh, 96px);
}

.sobre-block {
    display: block;
    position: relative;
}

.sobre-block h3 {
    font-family: var(--display);
    font-weight: 300;
    font-style: normal;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--azul);
    margin-bottom: 2rem;
    text-align: left;
    font-variation-settings: "SOFT" 50, "opsz" 144;
    position: relative;
    padding-top: 1.8rem;
}

.sobre-block h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 1px;
    background: var(--dourado);
}

#sobre p {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.8;
    color: var(--ink-2);
    margin: 0 0 1.4rem;
}

#sobre p:last-child {
    margin-bottom: 0;
}

#nossa-equipe-2p {
    margin-bottom: 0;
}

#p-sobre-ultimo {
    margin-bottom: 0;
}

/* =====================================================================
   FORM
   ===================================================================== */
#form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: clamp(60px, 10vh, 120px) auto;
    padding: 0 var(--gutter);
    max-width: 760px;
    width: 100%;
    justify-content: center;
}

.formtitle {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--azul);
    text-align: center;
    margin-bottom: 1.2rem;
    font-variation-settings: "SOFT" 50, "opsz" 144;
}

.tac {
    text-align: center;
    width: 100%;
    max-width: 52ch;
    margin: 0 auto 3rem;
    color: var(--ink-3);
    font-size: 0.98rem;
    line-height: 1.55;
}

#contactForm {
    width: 100%;
}

#form input {
    width: 100%;
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-group label {
    display: block;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dourado-deep);
    margin-bottom: 0.7rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(19, 32, 66, 0.25);
    border-bottom: 2px solid rgba(19, 32, 66, 0.3);
    background: rgba(255, 255, 255, 0.7);
    font-family: var(--body);
    font-size: 1.05rem;
    color: var(--azul);
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
    border-radius: 2px;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(19, 32, 66, 0.35);
    border-bottom-color: var(--dourado-deep);
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    padding-top: 18px;
}

.alinhar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.textwhite {
    color: var(--paper);
}

.mb-50 {
    margin-bottom: 50px;
}

#form h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Popup */
.popup-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(10, 19, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background: var(--paper);
    padding: 44px 48px;
    border: 1px solid var(--dourado);
    border-radius: 0;
    text-align: center;
    box-shadow: 0 30px 80px -20px rgba(10, 19, 42, 0.4);
    max-width: 440px;
    position: relative;
}

.popup-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--dourado);
}

.popup-content p {
    font-family: var(--display);
    font-style: italic;
    font-weight: 300;
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--azul);
    margin-bottom: 1.8rem;
}

.popup-content button {
    margin-top: 0;
    padding: 14px 26px;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 968px) {
    #services-cards {
        grid-template-columns: 1fr;
    }
    #mission {
        grid-template-columns: 1fr;
        text-align: center;
    }
    #mission-content {
        align-items: center;
        text-align: center;
    }
    #mission-content h3 {
        text-align: center;
    }
    #mission-content p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }

    /* ===== Banner mobile: texto sobreposto, swipe touch ===== */
    .carousel-container {
        height: 52vh;
        min-height: 360px;
        max-height: 480px;
        touch-action: pan-y;
    }

    .carousel-slide {
        position: absolute;
        inset: 0;
        height: 100%;
    }

    .carousel-slide .a-car {
        position: absolute;
        inset: 0;
        display: block;
        height: 100%;
    }

    .carousel-slide img {
        height: 100%;
        object-position: center 70%;
        filter: contrast(1.05) saturate(0.95) brightness(0.7);
    }

    /* Vinheta mais densa pra garantir legibilidade do texto */
    .slide-vignette {
        background:
            linear-gradient(180deg, rgba(10, 19, 42, 0.55) 0%, rgba(10, 19, 42, 0.15) 30%, rgba(10, 19, 42, 0.55) 65%, rgba(10, 19, 42, 0.92) 100%);
    }

    .slide-content {
        position: absolute;
        left: 20px;
        right: 20px;
        bottom: 50px;
        max-width: 100%;
        padding: 0;
        background: transparent;
        color: var(--paper);
    }

    .slide-content .eyebrow {
        color: var(--dourado);
        font-size: 0.62rem;
        margin-bottom: 0.9rem;
        letter-spacing: 0.22em;
    }

    .slide-content h2 {
        color: var(--paper);
        font-size: clamp(1.85rem, 7.8vw, 2.6rem);
        line-height: 1.05;
        letter-spacing: -0.02em;
    }

    .slide-content h2 em {
        color: var(--dourado);
    }

    .slide-content p {
        color: rgba(251, 248, 242, 0.88);
        font-size: 0.92rem;
        margin-top: 0.9rem;
        max-width: 100%;
        line-height: 1.5;
    }

    .slide-meta {
        color: rgba(251, 248, 242, 0.7);
        margin-top: 1.2rem;
        font-size: 0.58rem;
        gap: 0.55rem;
        flex-wrap: wrap;
    }

    /* Setas escondidas no mobile — navegação por swipe */
    .carousel-btn {
        display: none;
    }

    /* Indicadores próximos da base */
    .carousel-indicators {
        bottom: 22px;
        gap: 8px;
    }

    .carousel-indicators .indicator {
        width: 18px;
        height: 2px;
    }

    .carousel-indicators .indicator.active {
        width: 36px;
    }

    .formtitle {
        font-size: 1.6rem;
    }

    /* --- espaçamentos reduzidos --- */
    #services {
        padding-top: 40px;
    }

    .line-detail-90 {
        margin: 32px 0 10px;
    }

    #mission {
        margin-top: 32px;
        margin-bottom: 32px;
    }

    #mission img {
        height: 180px;
    }

    .mission-frame {
        padding: 16px;
    }

    #form {
        margin-top: 36px;
        margin-bottom: 36px;
    }

    .mb-50 {
        margin-bottom: 20px;
    }

    .button-style {
        font-size: 0.7rem;
        padding: 12px 22px;
    }

    #benefits {
        margin-top: 20px;
    }

    #benefits li {
        padding: 22px 0 22px 28px;
    }

    #benefits li::before {
        top: 30px;
        width: 14px;
    }

    #benefits li:hover {
        padding-left: 36px;
    }

    #benefits li:hover::before {
        width: 22px;
        left: 8px;
    }

    .carousel-btn {
        width: 42px;
        height: 42px;
        font-size: 0.85rem;
    }

    #form input {
        width: 100%;
    }

    .carousel-indicators .indicator {
        width: 20px;
    }
    .carousel-indicators .indicator.active {
        width: 40px;
    }

    .popup-content {
        padding: 32px 28px;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --gutter: 20px;
    }

    .slide-content h2 {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
    }

    .slide-content p {
        font-size: 0.95rem;
    }

    .slide-meta {
        flex-wrap: wrap;
        font-size: 0.62rem;
        gap: 0.6rem;
    }

    #services-title h3,
    #services-title-sobre h3,
    #benefits h3,
    #mission-content h3,
    .sobre-block h3 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }
}

.social-icon {
    width: 15px;
    vertical-align: middle;
    margin-right: 6px;
    display: inline-block;
    margin-top: -2px;
}
