/* =========================================================
   LAVANDA & ESSÊNCIA
   STYLES.CSS
   Identidade visual — Essência de Lavanda
   Responsivo + atmosfera suave
   ========================================================= */


/* =========================================================
   1. VARIÁVEIS
   ========================================================= */

:root {
    --roxo-escuro: #4a2c5f;
    --roxo: #654078;
    --lilas-medio: #7b4f9e;
    --lavanda: #a678c2;
    --lilas-claro: #d8b4e2;
    --lavanda-suave: #eee6f2;

    --branco: #ffffff;
    --porcelana: #fcf9fc;

    --texto: #352c39;
    --texto-suave: #6f6673;

    /* Atmosfera */
    --essencia-lavanda: rgba(216, 180, 226, 0.22);
    --essencia-lilas: rgba(166, 120, 194, 0.15);
    --essencia-roxa: rgba(123, 79, 158, 0.08);

    --sombra-suave:
        0 8px 30px rgba(74, 44, 95, 0.08);

    --sombra-media:
        0 12px 35px rgba(74, 44, 95, 0.12);

    --sombra-lavanda:
        0 15px 40px rgba(123, 79, 158, 0.12);

    --radius: 1rem;
    --radius-lg: 1.5rem;

    --transicao: 0.25s ease;
}


/* =========================================================
   2. RESET
   ========================================================= */

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

body {
    margin: 0;
    padding: 0;

    background-color: var(--porcelana);
    color: var(--texto);

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

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

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

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   3. TIPOGRAFIA
   ========================================================= */

h1,
h2,
h3,
h4,
h5 {
    margin-top: 0;
    color: var(--roxo-escuro);
}

h1,
h2 {
    font-family: "Libre Bodoni", serif;
    font-weight: 400;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.5px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

h3 {
    line-height: 1.25;
}

p {
    color: var(--texto);
}

.start {
    font-family: "Great Vibes", cursive;
}

.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.75;
}

.text-muted {
    color: var(--texto-suave) !important;
}


/* =========================================================
   4. NAVBAR
   ========================================================= */

.navbar {
    min-height: 72px;
    padding: 0.4rem 0;

    background: rgba(255, 255, 255, 0.94) !important;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom:
        1px solid rgba(74, 44, 95, 0.08);

    box-shadow:
        0 3px 20px rgba(74, 44, 95, 0.08) !important;

    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.navbar > .container,
.navbar > .container-fluid {
    min-height: 64px;
}


/* Logo */

.navbar-brand {
    display: flex;
    align-items: center;

    padding: 0;
    margin: 0;

    min-width: 0;

    color: var(--roxo-escuro) !important;
}

.navbar-brand img {
    width: auto;
    height: 52px;
    max-height: 60px;

    margin: 0 !important;

    object-fit: contain;

    transition:
        transform var(--transicao);
}

.navbar-brand:hover img {
    transform: scale(1.025);
}


/* Links */

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;

    min-height: 42px;

    padding: 0.55rem 0.9rem;

    color: var(--roxo-escuro) !important;

    font-size: 0.98rem;
    font-weight: 500;

    border-radius: 0.65rem;

    transition:
        color var(--transicao),
        background-color var(--transicao),
        transform var(--transicao);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--lilas-medio) !important;

    background-color:
        rgba(238, 230, 242, 0.75);

    transform: translateY(-1px);
}


/* Botão hamburger */

.navbar-toggler {
    width: 44px;
    height: 42px;

    padding: 0;

    border:
        1px solid rgba(123, 79, 158, 0.35) !important;

    border-radius: 0.7rem;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow:
        0 0 0 3px rgba(123, 79, 158, 0.15) !important;
}


/* Botão orçamento da navbar */

.navbar .btn-primary {
    margin-left: 0.5rem;
}


/* =========================================================
   5. BOTÕES
   ========================================================= */

.btn-primary {
    --bs-btn-bg: var(--lilas-medio);
    --bs-btn-border-color: var(--lilas-medio);

    --bs-btn-hover-bg: var(--roxo-escuro);
    --bs-btn-hover-border-color: var(--roxo-escuro);

    --bs-btn-active-bg: var(--roxo-escuro);
    --bs-btn-active-border-color: var(--roxo-escuro);

    background:
        linear-gradient(
            120deg,
            var(--roxo),
            var(--lilas-medio) 45%,
            var(--lavanda)
        );

    border: none;

    color: var(--branco);

    font-weight: 600;

    box-shadow:
        0 8px 24px rgba(123, 79, 158, 0.20),
        0 2px 6px rgba(74, 44, 95, 0.08);

    transition:
        transform var(--transicao),
        box-shadow var(--transicao),
        background var(--transicao);
}

.btn-primary:hover,
.btn-primary:focus {
    background:
        linear-gradient(
            120deg,
            var(--roxo-escuro),
            var(--roxo),
            var(--lilas-medio)
        );

    color: var(--branco);

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(74, 44, 95, 0.25),
        0 3px 8px rgba(123, 79, 158, 0.12);
}

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


/* Outline */

.btn-outline-primary {
    --bs-btn-color: var(--lilas-medio);
    --bs-btn-border-color: var(--lilas-medio);

    --bs-btn-hover-color: var(--branco);
    --bs-btn-hover-bg: var(--lilas-medio);
    --bs-btn-hover-border-color: var(--lilas-medio);

    color: var(--lilas-medio);

    border-width: 1.5px;

    font-weight: 600;

    transition:
        transform var(--transicao),
        box-shadow var(--transicao),
        background-color var(--transicao);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(123, 79, 158, 0.18);
}


/* =========================================================
   6. HERO
   ========================================================= */

.inicio {
    position: relative;

    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8rem 1rem 5rem;

    overflow: hidden;

    color: var(--branco);

    background:
        linear-gradient(
            90deg,
            rgba(42, 24, 51, 0.62),
            rgba(74, 44, 95, 0.34),
            rgba(42, 24, 51, 0.20)
        ),
        url("../img/fundo.png")
            center center /
            cover
            no-repeat;
}


/* Névoa de lavanda */

.inicio::before {
    content: "";

    position: absolute;
    inset: -15%;

    background:
        radial-gradient(
            circle at 25% 35%,
            rgba(216, 180, 226, 0.20),
            transparent 30%
        ),
        radial-gradient(
            circle at 75% 65%,
            rgba(166, 120, 194, 0.16),
            transparent 35%
        ),
        radial-gradient(
            circle at 50% 50%,
            rgba(238, 230, 242, 0.08),
            transparent 45%
        );

    filter: blur(24px);

    pointer-events: none;

    animation:
        atmosferaLavanda
        14s
        ease-in-out
        infinite
        alternate;
}

@keyframes atmosferaLavanda {
    from {
        transform:
            translate3d(-1.5%, 0, 0)
            scale(1);
    }

    to {
        transform:
            translate3d(1.5%, -1%, 0)
            scale(1.06);
    }
}


/* Luz suave no fundo */

.inicio::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse at center,
            transparent 20%,
            rgba(42, 24, 51, 0.16) 100%
        );

    pointer-events: none;
}


/* Conteúdo do hero */

.texto-destaque {
    position: relative;

    z-index: 2;

    max-width: 850px;

    margin: 0 auto;

    animation:
        entradaHero
        1s
        ease-out
        both;
}

@keyframes entradaHero {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Título */

.inicio h1 {
    margin-bottom: 1rem;

    color: var(--branco);

    font-size:
        clamp(
            3rem,
            8vw,
            5.5rem
        );

    text-shadow:
        0 4px 18px rgba(0, 0, 0, 0.30),
        0 0 35px rgba(216, 180, 226, 0.10);
}


/* Subtítulo */

.inicio h2 {
    color: var(--branco);

    font-family:
        "Kaushan Script",
        cursive;

    font-size:
        clamp(
            1.6rem,
            4vw,
            2.7rem
        );

    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.30);
}


/* Linha de destaque */

.inicio h3 {
    margin-top: 1.5rem;

    color: var(--branco);

    font-size:
        clamp(
            0.85rem,
            2vw,
            1.1rem
        );

    letter-spacing: 0.16em;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   7. SECÇÕES
   ========================================================= */

.sectione {
    position: relative;

    padding-top:
        clamp(4.5rem, 8vw, 7rem);

    padding-bottom:
        clamp(4.5rem, 8vw, 7rem);

    overflow: hidden;
}

.sectione .container {
    position: relative;
    z-index: 2;
}


/* Atmosfera suave nas secções */

.sectione::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -220px;
    right: -160px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            var(--essencia-lavanda) 0%,
            var(--essencia-lilas) 35%,
            transparent 70%
        );

    filter: blur(20px);

    pointer-events: none;
}

.sectione::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    bottom: -180px;
    left: -120px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            var(--essencia-lilas),
            transparent 70%
        );

    filter: blur(25px);

    pointer-events: none;
}


/* Espaço entre secções */

#quem,
#servicos,
#diferenciais,
#onde-estamos,
#contacto {
    scroll-margin-top: 80px;
}


/* =========================================================
   8. SECÇÃO SOBRE NÓS
   ========================================================= */

#quem {
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(216, 180, 226, 0.20),
            transparent 26%
        ),
        var(--porcelana) !important;
}

#quem article {
    max-width: 650px;
}

#quem h2 {
    margin-bottom: 1.5rem;
}

#quem p {
    margin-bottom: 1rem;
}


/* =========================================================
   9. MOLDURAS DE IMAGEM
   ========================================================= */

.square-frame {
    position: relative;

    width: min(100%, 440px);

    aspect-ratio: 1 / 1;

    margin: 0 auto;

    overflow: hidden;

    background: var(--lavanda-suave);

    border-radius: var(--radius-lg);

    box-shadow:
        var(--sombra-media),
        0 0 0 8px rgba(238, 230, 242, 0.40);

    isolation: isolate;
}

.square-frame::before {
    content: "";

    position: absolute;
    inset: -20%;

    z-index: 1;

    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(255, 255, 255, 0.18),
            transparent 30%
        );

    pointer-events: none;
}

.square-frame::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 2;

    border:
        1px solid
        rgba(255, 255, 255, 0.40);

    border-radius: inherit;

    pointer-events: none;
}

.square-frame img {
    position: relative;
    z-index: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.square-frame:hover img {
    transform: scale(1.035);

    filter:
        saturate(1.04)
        brightness(1.02);
}


/* =========================================================
   10. SERVIÇOS
   ========================================================= */

#servicos {
    background: var(--branco);
}

#servicos > .container > p {
    max-width: 700px;

    margin-left: auto;
    margin-right: auto;
}


/* Cartões */

#servicos .row.g-4 {
    margin-top: 1rem;
}

#servicos .p-4.bg-white {
    position: relative;

    padding: 2rem !important;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(238, 230, 242, 0.68)
        ) !important;

    border:
        1px solid
        rgba(74, 44, 95, 0.08) !important;

    border-radius:
        var(--radius-lg) !important;

    box-shadow:
        0 8px 25px rgba(74, 44, 95, 0.06),
        inset 0 1px 0
        rgba(255, 255, 255, 0.90) !important;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

#servicos .p-4.bg-white::before {
    content: "";

    position: absolute;

    width: 130px;
    height: 130px;

    top: -70px;
    right: -60px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(216, 180, 226, 0.30),
            transparent 70%
        );

    pointer-events: none;
}

#servicos .p-4.bg-white:hover {
    transform: translateY(-6px);

    border-color:
        rgba(123, 79, 158, 0.18) !important;

    box-shadow:
        0 15px 35px
        rgba(74, 44, 95, 0.11),
        0 0 30px
        rgba(166, 120, 194, 0.08) !important;
}


/* Ícones */

#servicos .text-primary {
    color: var(--lilas-medio) !important;
}

#servicos svg {
    width: 42px;
    height: 42px;

    filter:
        drop-shadow(
            0 4px 8px
            rgba(123, 79, 158, 0.12)
        );
}


/* Títulos */

#servicos h5 {
    color: var(--roxo-escuro) !important;

    line-height: 1.3;
}


/* Texto */

#servicos .p-4.bg-white p {
    color: var(--texto-suave) !important;

    line-height: 1.65;
}


/* Caixa final */

#servicos .mt-5.p-4 {
    position: relative;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(216, 180, 226, 0.35),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--lavanda-suave),
            #faf6fc
        ) !important;

    border:
        1px solid
        rgba(123, 79, 158, 0.12) !important;

    border-radius:
        var(--radius-lg) !important;

    box-shadow:
        0 8px 25px
        rgba(74, 44, 95, 0.05);
}


/* =========================================================
   11. DIFERENCIAIS
   ========================================================= */

#diferenciais {
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(216, 180, 226, 0.18),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #f7f1f9 0%,
            var(--porcelana) 100%
        ) !important;
}


/* Item */

#diferenciais article {
    padding: 1.2rem 0.75rem;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

#diferenciais article:hover {
    transform: translateY(-5px);

    filter:
        drop-shadow(
            0 8px 12px
            rgba(123, 79, 158, 0.07)
        );
}

#diferenciais .text-primary {
    color: var(--lilas-medio) !important;
}

#diferenciais svg {
    width: 38px;
    height: 38px;

    filter:
        drop-shadow(
            0 4px 8px
            rgba(123, 79, 158, 0.12)
        );
}

#diferenciais h5 {
    margin-bottom: 0;

    color: var(--roxo-escuro) !important;

    line-height: 1.35;
}


/* =========================================================
   12. ONDE ESTAMOS
   ========================================================= */

#onde-estamos {
    background:
        radial-gradient(
            circle at 90% 80%,
            rgba(216, 180, 226, 0.18),
            transparent 28%
        ),
        var(--branco);
}

#onde-estamos article {
    max-width: 650px;
}

#onde-estamos ul {
    padding: 0;
}

#onde-estamos li {
    padding: 0.25rem 0;
}

#onde-estamos li svg {
    flex-shrink: 0;

    color: var(--lilas-medio) !important;
}

#onde-estamos h4 {
    color: var(--lilas-medio) !important;
}


/* =========================================================
   13. CONTACTO
   ========================================================= */

#contacto {
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(216, 180, 226, 0.28),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(166, 120, 194, 0.14),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            var(--lavanda-suave) 0%,
            var(--porcelana) 100%
        ) !important;
}


/* Badge */

.badge {
    color: var(--lilas-medio) !important;

    border-color:
        rgba(123, 79, 158, 0.25) !important;

    background:
        rgba(255, 255, 255, 0.80) !important;

    box-shadow:
        0 4px 12px
        rgba(123, 79, 158, 0.05);
}


/* Cards de contacto */

#contacto .card {
    position: relative;

    padding: 2rem !important;

    background:
        rgba(255, 255, 255, 0.92);

    border:
        1px solid
        rgba(74, 44, 95, 0.08) !important;

    border-radius:
        var(--radius-lg) !important;

    box-shadow:
        var(--sombra-suave) !important;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

#contacto .card::before {
    content: "";

    position: absolute;

    width: 160px;
    height: 160px;

    top: -90px;
    right: -80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(216, 180, 226, 0.24),
            transparent 70%
        );

    pointer-events: none;
}

#contacto .card:hover {
    transform: translateY(-5px);

    box-shadow:
        var(--sombra-media),
        0 0 35px
        rgba(166, 120, 194, 0.08) !important;
}


/* Ícones dos contactos */

#contacto .card > div:first-child {
    width: 64px;
    height: 64px;

    background:
        linear-gradient(
            135deg,
            var(--lilas-medio),
            var(--lavanda)
        ) !important;

    box-shadow:
        0 8px 20px
        rgba(123, 79, 158, 0.18);
}


/* Botões de contacto */

#contacto .card .btn {
    min-height: 44px;

    display: inline-flex;

    align-items: center;
    justify-content: center;
}


/* Email */

#contacto .text-truncate {
    overflow: hidden;

    text-overflow: ellipsis;
}


/* Redes sociais */

#contacto .bg-white.rounded-4.border.shadow-sm {
    background:
        rgba(255, 255, 255, 0.92) !important;

    border-color:
        rgba(74, 44, 95, 0.08) !important;

    box-shadow:
        var(--sombra-suave) !important;
}

#contacto .btn-outline-primary.rounded-circle {
    width: 44px !important;
    height: 44px !important;

    padding: 0 !important;

    flex-shrink: 0;

    transition:
        transform var(--transicao),
        background-color var(--transicao),
        color var(--transicao);
}

#contacto .btn-outline-primary.rounded-circle:hover {
    transform: translateY(-3px);
}


/* =========================================================
   14. RODAPÉ
   ========================================================= */

.footer-gradient {
    position: relative;

    padding-top: 2rem;
    padding-bottom: 2rem;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(216, 180, 226, 0.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #3d2948,
            var(--branco)
        );

    color:
        rgba(255, 255, 255, 0.90);
}

.footer-gradient::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -150px;
    bottom: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(166, 120, 194, 0.18),
            transparent 70%
        );

    pointer-events: none;
}

.footer-gradient small {
    color:
        rgba(255, 255, 255, 0.80) !important;
}

.footer-gradient img {
    height: 30px;
    width: auto;

    object-fit: contain;
}


/* =========================================================
   15. SVG
   ========================================================= */

svg {
    vertical-align: middle;
}


/* =========================================================
   16. ATMOSFERA EXTRA — PEQUENOS BRILHOS
   ========================================================= */

/*
   Se tiveres elementos com a classe
   .essencia-flutuante no HTML,
   estes pequenos pontos podem criar
   uma sensação muito subtil de perfume no ar.
*/

.essencia-flutuante {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        var(--lilas-claro);

    opacity: 0.25;

    filter:
        blur(1px);

    pointer-events: none;

    animation:
        flutuarEssencia
        9s
        ease-in-out
        infinite;
}

@keyframes flutuarEssencia {
    0% {
        transform:
            translate3d(0, 20px, 0)
            scale(0.8);

        opacity: 0;
    }

    25% {
        opacity: 0.28;
    }

    60% {
        opacity: 0.18;
    }

    100% {
        transform:
            translate3d(30px, -80px, 0)
            scale(1.1);

        opacity: 0;
    }
}


/* =========================================================
   17. RESPONSIVIDADE — TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .navbar {
        min-height: 66px;
    }

    .navbar > .container,
    .navbar > .container-fluid {
        min-height: 58px;
    }

    .navbar-brand img {
        height: 56px;
    }

    .navbar-collapse {
        margin-top: 0.75rem;

        padding: 0.75rem;

        background:
            rgba(255, 255, 255, 0.98);

        border:
            1px solid
            rgba(74, 44, 95, 0.07);

        border-radius: 1rem;

        box-shadow:
            var(--sombra-media);
    }

    .navbar-nav {
        align-items: stretch;
        gap: 0.15rem;
    }

    .navbar-nav .nav-link {
        justify-content: flex-start;

        width: 100%;

        min-height: 46px;

        padding:
            0.7rem 0.9rem;
    }

    .navbar .btn-primary {
        margin:
            0.5rem 0 0;

        width: 100%;
    }

    .inicio {
        padding-top: 7rem;
    }

    .square-frame {
        width: min(100%, 380px);
    }

    #servicos .p-4.bg-white {
        padding: 1.6rem !important;
    }
}


/* =========================================================
   18. RESPONSIVIDADE — MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    html {
        scroll-padding-top: 70px;
    }

    .navbar {
        min-height: 62px;
        padding: 0.25rem 0;
    }

    .navbar > .container,
    .navbar > .container-fluid {
        min-height: 54px;
    }

    .navbar-brand img {
        height: 56px;
    }

    .navbar-toggler {
        width: 42px;
        height: 40px;
    }


    /* Hero */

    .inicio {
        min-height: 100svh;

        padding:
            6.5rem
            1rem
            4rem;
    }

    .inicio h1 {
        font-size:
            clamp(
                2.7rem,
                12vw,
                4rem
            );
    }

    .inicio h2 {
        font-size:
            clamp(
                1.5rem,
                6vw,
                2rem
            );
    }

    .inicio h3 {
        font-size: 0.8rem;
        letter-spacing: 0.1em;
    }


    /* Secções */

    .sectione {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }


    /* Sobre */

    #quem article {
        text-align: center;
    }

    #quem .square-frame {
        margin-top: 2.5rem;
    }


    /* Imagens */

    .square-frame {
        width:
            min(
                88vw,
                340px
            );
    }


    /* Serviços */

    #servicos .p-4.bg-white {
        padding: 1.75rem !important;
    }

    #servicos .row.g-4 {
        --bs-gutter-y: 1.25rem;
    }


    /* Diferenciais */

    #diferenciais article {
        padding:
            1rem 0.5rem;
    }

    #diferenciais h5 {
        font-size:
            0.95rem !important;
    }


    /* Onde estamos */

    #onde-estamos article {
        text-align: center;
    }

    #onde-estamos ul {
        display: inline-block;
        text-align: left;
    }

    #onde-estamos .square-frame {
        margin-bottom: 2.5rem;
    }


    /* Contacto */

    #contacto .card {
        padding: 1.5rem !important;
    }

    #contacto .bg-white.rounded-4.border.shadow-sm {
        padding: 1.25rem !important;
    }

    #contacto .bg-white.rounded-4.border.shadow-sm .row {
        text-align: center;
    }

    #contacto .bg-white.rounded-4.border.shadow-sm .col-md-6 {
        text-align: center !important;
    }

    #contacto .bg-white.rounded-4.border.shadow-sm .d-flex {
        justify-content: center !important;
    }


    /* Rodapé */

    .footer-gradient .container {
        gap: 0.75rem;
    }
}


/* =========================================================
   19. MOBILE PEQUENO
   ========================================================= */

@media (max-width: 575.98px) {

    .navbar-brand img {
        height: 42px;
    }

    .navbar-toggler {
        width: 40px;
        height: 38px;
    }

    .inicio {
        padding-top: 6rem;
    }

    .inicio h1 {
        font-size:
            clamp(
                2.4rem,
                13vw,
                3.4rem
            );
    }

    .inicio h2 {
        font-size: 1.45rem;
    }

    .inicio h3 {
        font-size: 0.72rem;
        line-height: 1.5;
    }

    .inicio .btn {
        width: 100%;
        max-width: 280px;
    }


    .sectione {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }


    h2 {
        font-size: 2rem;
    }


    .lead {
        font-size: 1.05rem;
        line-height: 1.65;
    }


    .square-frame {
        width:
            min(
                86vw,
                300px
            );

        border-radius: 1.25rem;
    }


    #servicos .p-4.bg-white {
        padding: 1.5rem !important;
    }


    #contacto .card {
        padding: 1.4rem !important;
    }


    #contacto .card .btn {
        font-size: 0.9rem;
    }


    #contacto .text-truncate {
        font-size: 0.82rem;
    }


    .footer-gradient {
        text-align: center;
    }

    .footer-gradient .container {
        flex-direction: column;
        justify-content: center;
    }
}


/* =========================================================
   20. ECRÃS MUITO PEQUENOS
   ========================================================= */

@media (max-width: 374.98px) {

    .navbar-brand img {
        height: 39px;
    }

    .inicio {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    .inicio h1 {
        font-size: 2.25rem;
    }

    .inicio h2 {
        font-size: 1.3rem;
    }

    .inicio h3 {
        font-size: 0.65rem;
    }

    .square-frame {
        width: 85vw;
    }

    #contacto .card {
        padding: 1.2rem !important;
    }
}


/* =========================================================
   21. DESKTOP GRANDE
   ========================================================= */

@media (min-width: 1200px) {

    .navbar > .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .navbar-brand img {
        height: 56px;
    }

    .inicio {
        padding-top: 8rem;
        padding-bottom: 6rem;
    }

    .sectione {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    #servicos .p-4.bg-white {
        padding: 2.2rem !important;
    }
}


/* =========================================================
   22. ECRÃS MUITO GRANDES
   ========================================================= */

@media (min-width: 1600px) {

    .navbar > .container-fluid {
        max-width: 1600px;
        margin: 0 auto;
    }

    .texto-destaque {
        max-width: 950px;
    }

    .inicio h1 {
        font-size: 5.5rem;
    }
}


/* =========================================================
   23. TOUCH
   ========================================================= */

@media (hover: none) and (pointer: coarse) {

    .square-frame:hover img {
        transform: none;
        filter: none;
    }

    #servicos .p-4.bg-white:hover,
    #contacto .card:hover,
    #diferenciais article:hover {
        transform: none;
        filter: none;
    }

    .btn-primary:hover,
    .btn-outline-primary:hover {
        transform: none;
    }

    .navbar-brand:hover img {
        transform: none;
    }
}


/* =========================================================
   24. REDUÇÃO DE MOVIMENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;
    }
}
