/* ============================================================
   CONTATOS.CSS
   Lucas Padroni — Página de Contatos
   ============================================================ */

   /* ============================================================
      INTRO — PROJETOS
   ============================================================ */

   .intro {

       position: fixed;

       inset: 0;

       z-index: 9999;

       display: flex;

       align-items: center;
       justify-content: center;

       width: 100%;
       height: 100%;

       overflow: hidden;

       background: #06152f;

       pointer-events: none;

       animation: introExit 320ms ease-in 620ms forwards;
   }


   .intro__background {

       position: absolute;

       inset: 0;

       background:
           radial-gradient(
               circle at 18% 25%,
               rgba(20, 149, 255, 0.24),
               transparent 30%
           ),
           radial-gradient(
               circle at 82% 20%,
               rgba(0, 102, 255, 0.20),
               transparent 32%
           ),
           radial-gradient(
               circle at 75% 82%,
               rgba(25, 72, 160, 0.26),
               transparent 34%
           ),
           linear-gradient(
               135deg,
               #06152f 0%,
               #08204a 35%,
               #071a3b 65%,
               #030d20 100%
           );

       transform: scale(1.08);

       animation: introBackground 900ms ease-out forwards;
   }


   .intro__glow {

       position: absolute;

       width: 320px;
       height: 320px;

       border-radius: 50%;

       filter: blur(70px);

       opacity: 0;

       animation: introGlow 850ms ease-out forwards;
   }


   .intro__glow--one {

       top: -120px;
       left: -80px;

       background: rgba(20, 149, 255, 0.38);

       animation-delay: 40ms;
   }


   .intro__glow--two {

       right: -100px;
       bottom: -120px;

       background: rgba(0, 91, 255, 0.34);

       animation-delay: 100ms;
   }


   .intro__glow--three {

       top: 45%;
       left: 50%;

       width: 240px;
       height: 240px;

       background: rgba(41, 112, 255, 0.18);

       transform: translate(-50%, -50%);

       animation-delay: 160ms;
   }


   .intro__content {

       position: relative;

       z-index: 2;

       display: flex;

       align-items: center;
       justify-content: center;

       gap: 28px;

       opacity: 0;

       transform: translateY(12px) scale(0.96);

       animation:
           introContent
           520ms
           cubic-bezier(0.22, 1, 0.36, 1)
           120ms
           forwards;
   }


   .intro__title {

       margin: 0;

       color: #ffffff;

       font-family: "Inter", sans-serif;

       font-size: clamp(2rem, 5vw, 4rem);

       font-weight: 700;

       line-height: 1;

       letter-spacing: 0.18em;

       text-align: center;

       text-shadow:
           0 0 8px rgba(255, 255, 255, 0.75),
           0 0 18px rgba(255, 210, 31, 0.65),
           0 0 36px rgba(255, 210, 31, 0.35);

       animation:
           introTitleGlow
           700ms
           ease-out
           120ms
           forwards;
   }


   .intro__line {

       width: 80px;
       height: 2px;

       flex-shrink: 0;

       background: #ffd21f;

       box-shadow:
           0 0 5px rgba(255, 210, 31, 0.95),
           0 0 12px rgba(255, 210, 31, 0.75),
           0 0 24px rgba(255, 210, 31, 0.45);

       transform: scaleX(0);

       animation:
           introLine
           500ms
           cubic-bezier(0.22, 1, 0.36, 1)
           180ms
           forwards;
   }


   @keyframes introBackground {

       0% {

           opacity: 0;

           transform: scale(1.15);
       }

       100% {

           opacity: 1;

           transform: scale(1);
       }
   }


   @keyframes introGlow {

       0% {

           opacity: 0;

           transform: scale(0.75);
       }

       45% {

           opacity: 1;

           transform: scale(1);
       }

       100% {

           opacity: 0.75;

           transform: scale(1.05);
       }
   }


   @keyframes introContent {

       0% {

           opacity: 0;

           transform: translateY(12px) scale(0.96);
       }

       100% {

           opacity: 1;

           transform: translateY(0) scale(1);
       }
   }


   @keyframes introTitleGlow {

       0% {

           text-shadow:
               0 0 0 rgba(255, 255, 255, 0),
               0 0 0 rgba(255, 210, 31, 0);
       }

       45% {

           text-shadow:
               0 0 10px rgba(255, 255, 255, 0.95),
               0 0 24px rgba(255, 210, 31, 0.9),
               0 0 48px rgba(255, 210, 31, 0.55);
       }

       100% {

           text-shadow:
               0 0 8px rgba(255, 255, 255, 0.75),
               0 0 18px rgba(255, 210, 31, 0.65),
               0 0 36px rgba(255, 210, 31, 0.35);
       }
   }


   @keyframes introLine {

       0% {

           transform: scaleX(0);

           opacity: 0;
       }

       100% {

           transform: scaleX(1);

           opacity: 1;
       }
   }


   @keyframes introExit {

       0% {

           opacity: 1;

           transform: scale(1);
       }

       100% {

           opacity: 0;

           transform: scale(1.025);
       }
   }


   @media (max-width: 600px) {

       .intro__content {

           gap: 16px;
       }

       .intro__line {

           width: 40px;
       }

       .intro__title {

           font-size: 1.65rem;

           letter-spacing: 0.12em;
       }
   }


   @media (prefers-reduced-motion: reduce) {

       .intro {

           display: none;
       }
   }

/* ============================================================
   01. VARIÁVEIS
   ============================================================ */

:root {

    --blue-950: #02122f;
    --blue-900: #032052;
    --blue-850: #052d70;
    --blue-800: #063a8f;
    --blue-700: #0752bd;
    --blue-600: #0870e8;
    --blue-500: #168dff;
    --blue-400: #45a8ff;
    --blue-300: #83c6ff;
    --blue-200: #b9ddff;
    --blue-100: #e4f2ff;

    --yellow-600: #dcae00;
    --yellow-500: #ffd000;
    --yellow-400: #ffdc35;
    --yellow-300: #ffe66d;
    --yellow-200: #ffef9e;
    --yellow-100: #fff8d1;

    --white: #ffffff;
    --white-soft: #f7fbff;

    --header-height: 82px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ============================================================
   02. RESET
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--blue-950);
    color: var(--white);

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    border: 0;
    background: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

::selection {
    background: var(--yellow-500);
    color: var(--blue-950);
}


/* ============================================================
   02.1 SCROLLBAR
============================================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--blue-950);
}

::-webkit-scrollbar-thumb {
    background:
        linear-gradient(
            180deg,
            var(--blue-400) 0%,
            var(--blue-600) 50%,
            var(--blue-900) 100%
        );

    border-radius: 20px;

    transition:
        background 0.5s ease,
        box-shadow 0.5s ease;
}

::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(
            180deg,
            var(--yellow-300) 0%,
            var(--yellow-400) 50%,
            var(--yellow-500) 100%
        );

    box-shadow:
        0 0 8px rgba(255, 201, 0, 0.55),
        0 0 16px rgba(255, 201, 0, 0.25);
}


/* ============================================================
   03. ACESSIBILIDADE
   ============================================================ */

:focus-visible {
    outline: 3px solid var(--yellow-400);
    outline-offset: 5px;
}

.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* ============================================================
   04. CONTAINER
   ============================================================ */

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}


/* ============================================================
   05. HEADER
   ============================================================ */

   /* ============================================================
      05. HEADER
      ============================================================ */

   :root {
       --header-height: 84px;
   }

   .site-header {
       position: fixed;
       top: 0;
       left: 0;
       z-index: 1000;

       width: 100%;
       height: var(--header-height);

       background:
           linear-gradient(
               180deg,
               rgba(2, 18, 47, 0.96),
               rgba(3, 32, 82, 0.88)
           );

       border-bottom:
           1px solid
           rgba(29, 111, 209, 0.14);

       backdrop-filter: blur(20px);
       -webkit-backdrop-filter: blur(20px);

       box-shadow:
           0 10px 35px
           rgba(2, 18, 47, 0.22);
   }

   .site-header::after {
       content: "";

       position: absolute;

       left: 50%;
       bottom: 0;

       width: 180px;
       height: 1px;

       transform: translateX(-50%);

       background:
           linear-gradient(
               90deg,
               transparent,
               var(--yellow-500),
               transparent
           );

       opacity: 0.85;
   }

   .site-header__container {
       position: relative;

       width: 100%;
       height: 100%;

       display: flex;
       align-items: center;
       justify-content: center;
   }


   /* ============================================================
      NAVEGAÇÃO
      ============================================================ */

   .main-navigation {
       height: 100%;

       display: flex;
       align-items: center;
       justify-content: center;
   }

   .main-navigation__list {
       display: flex;
       align-items: center;
       justify-content: center;

       gap: 6px;

       margin: 0;
       padding: 0;

       list-style: none;
   }

   .main-navigation__item {
       position: relative;
   }

   .main-navigation__link {
       position: relative;

       min-width: 88px;
       height: 44px;

       padding: 0 15px;

       display: flex;
       align-items: center;
       justify-content: center;

       border:
           1px solid
           transparent;

       border-radius: 7px;

       color: rgba(255, 255, 255, 0.72);

       font-size: 0.68rem;
       font-weight: 800;

       letter-spacing: 0.02em;
       line-height: 1;

       white-space: nowrap;
       text-decoration: none;

       transition:
           color 0.25s ease,
           background 0.25s ease,
           border-color 0.25s ease,
           transform 0.25s var(--ease),
           box-shadow 0.25s ease;
   }

   .main-navigation__link::after {
       content: "";

       position: absolute;

       left: 15px;
       right: 15px;
       bottom: -1px;

       height: 2px;

       border-radius: 999px;

       background:
           linear-gradient(
               90deg,
               transparent,
               var(--yellow-500),
               transparent
           );

       opacity: 0;

       transform: scaleX(0);
       transform-origin: center;

       transition:
           transform 0.3s var(--ease),
           opacity 0.25s ease;
   }

   .main-navigation__link:hover {
       color: var(--white);

       background:
           rgba(29, 111, 209, 0.07);

       border-color:
           rgba(29, 111, 209, 0.18);

       transform: translateY(-1px);

       box-shadow:
           0 8px 20px
           rgba(2, 18, 47, 0.18);
   }

   .main-navigation__link:hover::after {
       opacity: 1;
       transform: scaleX(1);
   }

   .main-navigation__link--active {
       color: var(--white);

       background:
           rgba(29, 111, 209, 0.08);

       border-color:
           rgba(29, 111, 209, 0.20);

       box-shadow:
           inset 0 -1px 0
           rgba(255, 208, 0, 0.20);
   }

   .main-navigation__link--active::after {
       opacity: 1;
       transform: scaleX(1);
   }


   /* ============================================================
      CTA — CONTATO
      ============================================================ */

   .main-navigation__link--cta {
       min-width: 105px;

       margin-left: 8px;

       background: var(--yellow-500);

       border-color: var(--yellow-500);

       color: var(--blue-950);

       font-weight: 900;

       box-shadow:
           0 8px 20px
           rgba(255, 208, 0, 0.14);
   }

   .main-navigation__link--cta:hover {
       background: var(--yellow-400);

       border-color: var(--yellow-400);

       color: var(--blue-950);

       transform: translateY(-2px);

       box-shadow:
           0 12px 26px
           rgba(255, 208, 0, 0.20);
   }

   .main-navigation__link--cta::after {
       display: none;
   }


   /* ============================================================
      MENU MOBILE
      ============================================================ */

   .menu-toggle {
       display: none;

       width: 44px;
       height: 44px;

       align-items: center;
       justify-content: center;

       flex-direction: column;

       gap: 5px;

       padding: 0;

       background:
           rgba(8, 45, 112, 0.55);

       border:
           1px solid
           rgba(29, 111, 209, 0.28);

       border-radius: 8px;

       cursor: pointer;

       transition:
           background 0.25s ease,
           border-color 0.25s ease,
           transform 0.25s var(--ease),
           box-shadow 0.25s ease;
   }

   .menu-toggle:hover {
       background:
           rgba(29, 111, 209, 0.10);

       border-color:
           rgba(29, 111, 209, 0.45);

       transform: translateY(-1px);

       box-shadow:
           0 8px 22px
           rgba(2, 18, 47, 0.22);
   }

   .menu-toggle span {
       display: block;

       width: 20px;
       height: 2px;

       border-radius: 999px;

       background: var(--white);

       transition:
           transform 0.3s ease,
           opacity 0.3s ease;
   }


   /* ============================================================
      TABLET
      ============================================================ */

   @media (max-width: 1100px) {

       .main-navigation__link {
           min-width: auto;
           padding-inline: 11px;
       }

       .main-navigation__link::after {
           left: 11px;
           right: 11px;
       }

   }


   /* ============================================================
      MOBILE
      ============================================================ */

   @media (max-width: 900px) {

       :root {
           --header-height: 74px;
       }

       .container {
           width: calc(100% - 40px);
       }

       .site-header__container {
           justify-content: flex-end;
       }

       .menu-toggle {
           display: flex;
       }

       .main-navigation {
           position: absolute;

           top: calc(var(--header-height) + 10px);

           left: 20px;
           right: 20px;

           height: auto;

           padding: 7px;

           background:
               rgba(2, 18, 47, 0.98);

           border:
               1px solid
               rgba(29, 111, 209, 0.28);

           border-radius: 10px;

           box-shadow:
               0 28px 70px
               rgba(2, 18, 47, 0.28);

           opacity: 0;
           visibility: hidden;

           transform: translateY(-10px);

           transition:
               opacity 0.25s ease,
               visibility 0.25s ease,
               transform 0.3s var(--ease);
       }

       .main-navigation::before {
           content: "";

           position: absolute;

           top: -1px;
           left: 25%;

           width: 50%;
           height: 1px;

           background:
               linear-gradient(
                   90deg,
                   transparent,
                   var(--yellow-500),
                   transparent
               );
       }

       .main-navigation.active {
           opacity: 1;
           visibility: visible;

           transform: translateY(0);
       }

       .main-navigation__list {
           flex-direction: column;
           align-items: stretch;

           gap: 2px;
       }

       .main-navigation__link {
           width: 100%;
           min-width: 0;

           height: 46px;

           justify-content: flex-start;

           padding-inline: 14px;
       }

       .main-navigation__link::after {
           display: none;
       }

       .main-navigation__link--cta {
           margin-left: 0;
           margin-top: 4px;

           justify-content: center;
       }

   }


   /* ============================================================
      MOBILE PEQUENO
      ============================================================ */

   @media (max-width: 480px) {

       .container {
           width: calc(100% - 28px);
       }

       .main-navigation {
           left: 14px;
           right: 14px;
       }

   }


/* ============================================================
   06. SEÇÃO PRINCIPAL
   ============================================================ */

.contact-section {

    position: relative;

    min-height: 100vh;

    padding:
        calc(var(--header-height) + 65px)
        24px
        90px;

    display: flex;
    align-items: center;
    justify-content: center;

    isolation: isolate;

    overflow: hidden;

    background:

        radial-gradient(
            ellipse at 8% 15%,
            rgba(255, 208, 0, 0.95) 0%,
            rgba(255, 208, 0, 0.58) 8%,
            rgba(255, 208, 0, 0.18) 18%,
            transparent 36%
        ),

        radial-gradient(
            ellipse at 91% 10%,
            rgba(8, 112, 232, 0.95) 0%,
            rgba(8, 112, 232, 0.60) 12%,
            rgba(8, 112, 232, 0.20) 24%,
            transparent 42%
        ),

        radial-gradient(
            ellipse at 4% 88%,
            rgba(5, 45, 112, 0.95) 0%,
            rgba(7, 82, 189, 0.55) 20%,
            transparent 45%
        ),

        radial-gradient(
            ellipse at 96% 85%,
            rgba(255, 220, 53, 0.85) 0%,
            rgba(255, 208, 0, 0.38) 14%,
            transparent 40%
        ),

        linear-gradient(
            125deg,
            var(--blue-950) 0%,
            var(--blue-850) 24%,
            var(--blue-700) 43%,
            var(--blue-600) 57%,
            var(--yellow-500) 72%,
            var(--blue-700) 87%,
            var(--blue-950) 100%
        );
}


/* ============================================================
   07. CAMADA DE TINTA
   ============================================================ */

.contact-section::before {

    content: "";

    position: absolute;

    inset: -25%;

    z-index: -2;

    background:

        radial-gradient(
            ellipse at 18% 28%,
            rgba(255, 208, 0, 0.78),
            transparent 25%
        ),

        radial-gradient(
            ellipse at 74% 20%,
            rgba(8, 141, 255, 0.85),
            transparent 30%
        ),

        radial-gradient(
            ellipse at 36% 72%,
            rgba(6, 58, 143, 0.95),
            transparent 32%
        ),

        radial-gradient(
            ellipse at 82% 72%,
            rgba(255, 230, 109, 0.65),
            transparent 28%
        );

    filter: blur(50px);

    transform:
        rotate(-8deg)
        scale(1.15);

    animation:
        paintMovement 18s ease-in-out infinite alternate;
}

@keyframes paintMovement {

    0% {
        transform:
            translate(-2%, -2%)
            rotate(-8deg)
            scale(1.12);
    }

    50% {
        transform:
            translate(2%, 2%)
            rotate(-3deg)
            scale(1.18);
    }

    100% {
        transform:
            translate(-1%, 3%)
            rotate(5deg)
            scale(1.14);
    }
}


/* ============================================================
   08. PROFUNDIDADE
   ============================================================ */

.contact-section::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    background:

        radial-gradient(
            circle at center,
            transparent 18%,
            rgba(2, 18, 47, 0.10) 50%,
            rgba(2, 18, 47, 0.68) 100%
        );

    pointer-events: none;
}


/* ============================================================
   09. CABEÇALHO DA PÁGINA
   ============================================================ */

.contact-header {

    position: relative;

    width: min(100%, 1000px);

    margin-inline: auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}


/* ============================================================
   INDICADOR
   ============================================================ */

.contact-header__eyebrow {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-bottom: 20px;

    color: var(--yellow-300);

    font-size: 0.74rem;
    font-weight: 900;

    letter-spacing: 0.20em;

    text-transform: uppercase;
}

.contact-header__eyebrow::before,
.contact-header__eyebrow::after {

    content: "";

    width: 34px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--yellow-500)
        );
}

.contact-header__eyebrow::after {

    background:
        linear-gradient(
            90deg,
            var(--yellow-500),
            transparent
        );
}


/* ============================================================
   TÍTULO
   ============================================================ */

.contact-header h1 {

    width: 100%;
    max-width: 820px;

    margin-inline: auto;

    color: var(--white);

    font-size:
        clamp(
            3.2rem,
            7vw,
            6.4rem
        );

    line-height: 0.92;

    font-weight: 900;

    letter-spacing: -0.065em;

    text-align: center;

    text-shadow:
        0 8px 35px rgba(2, 18, 47, 0.30);
}

.contact-header h1 span {

    color: var(--yellow-400);

    text-shadow:
        0 0 12px rgba(255, 208, 0, 0.55),
        0 0 35px rgba(255, 208, 0, 0.30);
}


/* ============================================================
   DESCRIÇÃO
   ============================================================ */

.contact-header p {

    width: 100%;
    max-width: 610px;

    margin:
        25px auto 0;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 0.98rem;

    line-height: 1.75;

    text-align: center;
}


/* ============================================================
   10. GRID — 3 × 2
   ============================================================ */

.social-grid {

    width: 100%;
    max-width: 600px;

    margin:
        58px auto 0;

    display: grid;

    grid-template-columns:
        repeat(3, 140px);

    grid-template-rows:
        repeat(2, 140px);

    justify-content: center;
    align-items: center;

    column-gap: 50px;
    row-gap: 50px;
}


/* ============================================================
   11. CÍRCULO SOCIAL
   ============================================================ */

.social-link {

    position: relative;

    width: 140px;
    height: 140px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:

        radial-gradient(
            circle at 30% 20%,
            rgba(255, 255, 255, 0.22),
            transparent 28%
        ),

        radial-gradient(
            circle at 72% 75%,
            rgba(255, 208, 0, 0.20),
            transparent 48%
        ),

        linear-gradient(
            145deg,
            rgba(2, 18, 47, 0.96),
            rgba(5, 64, 143, 0.94)
        );

    border:
        2px solid rgba(255, 255, 255, 0.76);

    box-shadow:

        0 14px 32px rgba(2, 18, 47, 0.30),

        0 0 0 7px
        rgba(8, 112, 232, 0.08);

    isolation: isolate;

    transition:

        transform 450ms var(--ease),

        background 350ms ease,

        border-color 350ms ease,

        box-shadow 400ms ease;
}


/* ============================================================
   ANEL AZUL
   ============================================================ */

.social-link::before {

    content: "";

    position: absolute;

    inset: -8px;

    border-radius: 50%;

    border:
        2px solid
        rgba(8, 141, 255, 0.45);

    transition:

        inset 450ms var(--ease),

        border-color 350ms ease,

        transform 650ms ease;
}


/* ============================================================
   ANEL AMARELO
   ============================================================ */

.social-link::after {

    content: "";

    position: absolute;

    inset: -16px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 208, 0, 0.32);

    opacity: 0;

    transform: scale(0.86);

    transition:

        opacity 350ms ease,

        transform 650ms var(--ease);
}


/* ============================================================
   12. ÍCONE
   ============================================================ */

.social-link__icon {

    position: relative;

    z-index: 5;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    transition:
        transform 450ms var(--ease);
}

.social-link__icon img {
    width: 60px;
    height: 60px;

    object-fit: cover;

    border-radius: 22%;

    filter: none;

    transition:
        transform 350ms ease,
        filter 350ms ease;
}

/* ============================================================
   NOME
   ============================================================ */

.social-link__name {

    position: absolute;

    left: 50%;
    bottom: -36px;

    z-index: 10;

    transform:
        translateX(-50%)
        translateY(8px);

    color: var(--white);

    font-size: 0.70rem;
    font-weight: 900;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    white-space: nowrap;

    opacity: 0;

    transition:

        opacity 300ms ease,

        transform 300ms var(--ease);
}


/* ============================================================
   13. HOVER — TINTA AZUL + AMARELA
   ============================================================ */

.social-link:hover {

    transform:
        translateY(-12px)
        scale(1.07);

    border-color:
        var(--yellow-400);

    background:

        radial-gradient(
            circle at 25% 20%,
            rgba(255, 255, 255, 0.34),
            transparent 25%
        ),

        radial-gradient(
            circle at 75% 75%,
            rgba(255, 208, 0, 0.90),
            transparent 48%
        ),

        radial-gradient(
            circle at 20% 80%,
            rgba(8, 141, 255, 0.90),
            transparent 50%
        ),

        linear-gradient(
            135deg,
            var(--blue-700),
            var(--blue-500) 50%,
            var(--yellow-500)
        );

    box-shadow:

        0 20px 48px
        rgba(2, 18, 47, 0.40),

        0 0 25px
        rgba(8, 141, 255, 0.75),

        0 0 55px
        rgba(255, 208, 0, 0.50);
}

.social-link:hover::before {

    inset: -13px;

    border-color:
        rgba(255, 208, 0, 0.82);

    transform:
        rotate(90deg)
        scale(1.03);
}

.social-link:hover::after {

    opacity: 1;

    transform:
        scale(1.05)
        rotate(180deg);
}

.social-link:hover .social-link__icon {

    transform:
        scale(1.14)
        rotate(-4deg);
}

.social-link:hover .social-link__icon img {
    filter:
        drop-shadow(
            0 0 8px
            rgba(255, 255, 255, 0.90)
        )
        drop-shadow(
            0 0 18px
            rgba(255, 208, 0, 0.55)
        );
}

.social-link:hover .social-link__name {

    opacity: 1;

    transform:
        translateX(-50%)
        translateY(0);
}


/* ============================================================
   14. ANIMAÇÃO FLUTUANTE
   ============================================================ */

.social-link:nth-child(1) {
    animation:
        contactFloat 6s ease-in-out infinite;
}

.social-link:nth-child(2) {
    animation:
        contactFloat 6.4s ease-in-out 0.4s infinite;
}

.social-link:nth-child(3) {
    animation:
        contactFloat 5.8s ease-in-out 0.8s infinite;
}

.social-link:nth-child(4) {
    animation:
        contactFloat 6.2s ease-in-out 0.2s infinite;
}

.social-link:nth-child(5) {
    animation:
        contactFloat 6.6s ease-in-out 0.7s infinite;
}

.social-link:nth-child(6) {
    animation:
        contactFloat 5.9s ease-in-out 1s infinite;
}

.social-link:hover {
    animation-play-state: paused;
}

@keyframes contactFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}


/* ============================================================
   15. E-MAIL
   ============================================================ */

.email-contact {

    margin-top: 62px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.email-contact__circle {

    position: relative;

    width: 92px;
    height: 92px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:

        linear-gradient(
            135deg,
            var(--yellow-500),
            var(--yellow-300)
        );

    border:
        3px solid var(--white);

    box-shadow:

        0 12px 30px
        rgba(2, 18, 47, 0.25),

        0 0 28px
        rgba(255, 208, 0, 0.45),

        0 0 55px
        rgba(8, 112, 232, 0.22);

    transition:

        transform 450ms var(--ease),

        background 350ms ease,

        box-shadow 400ms ease;
}

.email-contact__circle::before {

    content: "";

    position: absolute;

    inset: -9px;

    border-radius: 50%;

    border:
        2px solid
        rgba(8, 112, 232, 0.55);

    transition:

        inset 450ms var(--ease),

        transform 600ms ease,

        border-color 350ms ease;
}

.email-contact__icon {

    position: relative;

    z-index: 5;

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.email-contact__icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 22px;
    filter: none;

    transition:
        transform 350ms ease,
        filter 350ms ease;
}

.email-contact__label {

    position: absolute;

    left: 50%;
    bottom: -36px;

    transform:
        translateX(-50%)
        translateY(8px);

    color: var(--white);

    font-size: 0.70rem;
    font-weight: 900;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    white-space: nowrap;

    opacity: 0;

    transition:

        opacity 300ms ease,

        transform 300ms var(--ease);
}

.email-contact__circle:hover {

    transform:
        translateY(-10px)
        scale(1.08);

    background:

        linear-gradient(
            135deg,
            var(--blue-600),
            var(--blue-500) 48%,
            var(--yellow-500)
        );

    box-shadow:

        0 18px 40px
        rgba(2, 18, 47, 0.38),

        0 0 30px
        rgba(8, 141, 255, 0.72),

        0 0 65px
        rgba(255, 208, 0, 0.52);
}

.email-contact__circle:hover::before {

    inset: -14px;

    transform: rotate(90deg);

    border-color:
        rgba(255, 208, 0, 0.82);
}

.email-contact__circle:hover .email-contact__icon img {
    transform:
        scale(1.13)
        rotate(-5deg);

    filter:
        drop-shadow(
            0 0 8px
            rgba(255, 255, 255, 0.80)
        );
}
.email-contact__circle:hover .email-contact__label {

    opacity: 1;

    transform:
        translateX(-50%)
        translateY(0);
}


/* ============================================================
   16. FOOTER
   ============================================================ */

   /* ========================================
      FOOTER
   ======================================== */

   .site-footer {
       position: relative;
       overflow: hidden;
       background:
           linear-gradient(
               135deg,
               var(--blue-950),
               var(--blue-900)
           );
       color: var(--white);
   }

   .site-footer::before {
       content: "";
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 3px;
       background:
           linear-gradient(
               90deg,
               var(--yellow-500),
               var(--yellow-500),
               var(--yellow-500)
           );
   }

   .site-footer::after {
       content: "";
       position: absolute;
       right: -140px;
       bottom: -220px;
       width: 430px;
       height: 430px;
       border:
           1px solid
           rgba(255,196,0,0.14);
       border-radius: 50%;
       box-shadow:
           0 0 0 45px rgba(255,196,0,0.025),
           0 0 0 90px rgba(255,196,0,0.018);
       pointer-events: none;
   }

   .site-footer__container {
       position: relative;
       z-index: 2;
       width:
           min(
               1180px,
               calc(100% - 40px)
           );
       margin: 0 auto;
   }

   .site-footer__main {
       display: grid;
       grid-template-columns:
           minmax(320px,1.35fr)
           minmax(360px,1fr);
       gap: 100px;
       padding: 78px 0 62px;
   }

   .site-footer__brand {
       max-width: 480px;
   }

   .footer-brand {
       display: inline-flex;
       align-items: center;
       gap: 15px;
       color: var(--white);
       text-decoration: none;
   }

   .footer-brand__mark {
       position: relative;
       width: 52px;
       height: 52px;
       display: grid;
       place-items: center;
       border:
           1px solid
           var(--yellow-500);
       background: var(--yellow-500);
       color: var(--blue-950);
       font-size: .82rem;
       font-weight: 900;
       letter-spacing: -.05em;
       box-shadow:
           6px 6px 0
           var(--blue-700);
       transition:
           transform .25s ease,
           box-shadow .25s ease;
   }

   .footer-brand:hover .footer-brand__mark {
       transform: translate(2px,2px);
       box-shadow:
           3px 3px 0
           var(--blue-700);
   }

   .footer-brand__name {
       font-size: 1rem;
       font-weight: 800;
       letter-spacing: -.025em;
   }

   .site-footer__description {
       max-width: 430px;
       margin-top: 23px;
       color: rgba(255,255,255,.72);
       font-size: .76rem;
       line-height: 1.9;
   }

   .site-footer__focus {
       display: grid;
       grid-template-columns: repeat(4,auto);
       width: fit-content;
       margin-top: 30px;
       border:
           1px solid
           rgba(255,255,255,.13);
   }

   .site-footer__focus span {
       position: relative;
       padding: 9px 12px;
       color: rgba(255,255,255,.62);
       font-size: .54rem;
       font-weight: 800;
       letter-spacing: .055em;
       text-transform: uppercase;
   }

   .site-footer__focus span + span {
       border-left:
           1px solid
           rgba(255,255,255,.13);
   }

   .site-footer__focus span:first-child {
       color: var(--yellow-500);
       background:
           rgba(255,196,0,.08);
   }

   .footer-navigation {
       display: grid;
       grid-template-columns: repeat(2,1fr);
       gap: 65px;
   }

   .footer-navigation__column {
       position: relative;
   }

   .footer-navigation__title {
       display: flex;
       align-items: center;
       gap: 10px;
       margin-bottom: 22px;
       color: var(--white);
       font-size: .62rem;
       font-weight: 900;
       letter-spacing: .14em;
       text-transform: uppercase;
   }

   .footer-navigation__title::before {
       content: "";
       width: 18px;
       height: 2px;
       background: var(--yellow-500);
       box-shadow:
           0 0 8px
           rgba(255,196,0,.35);
   }

   .footer-navigation ul {
       display: grid;
       gap: 13px;
       list-style: none;
   }

   .footer-navigation a {
       position: relative;
       display: inline-flex;
       width: fit-content;
       align-items: center;
       gap: 8px;
       color: rgba(255,255,255,.62);
       font-size: .68rem;
       font-weight: 600;
       text-decoration: none;
       transition:
           color .25s ease,
           transform .25s ease;
   }

   .footer-navigation a::before {
       content: "→";
       color: var(--yellow-500);
       opacity: 0;
       transform: translateX(-5px);
       transition:
           opacity .25s ease,
           transform .25s ease;
   }

   .footer-navigation a:hover {
       color: var(--white);
       transform: translateX(3px);
   }

   .footer-navigation a:hover::before {
       opacity: 1;
       transform: translateX(0);
   }

   .site-footer__bottom {
       min-height: 72px;
       display: flex;
       align-items: center;
       justify-content: space-between;
       gap: 25px;
       border-top:
           1px solid
           rgba(255,255,255,.11);
   }

   .site-footer__copyright {
       color: rgba(255,255,255,.42);
       font-size: .56rem;
       line-height: 1.5;
   }

   .site-footer__signature {
       color: var(--yellow-500);
       font-size: .56rem;
       font-weight: 800;
       letter-spacing: .05em;
   }

   @media (max-width: 900px) {

       .site-footer__main {
           grid-template-columns: 1fr;
           gap: 55px;
           padding: 62px 0 50px;
       }

       .site-footer__brand {
           max-width: 620px;
       }

       .site-footer__description {
           max-width: 560px;
       }

       .footer-navigation {
           max-width: 520px;
       }

   }

   @media (max-width: 620px) {

       .site-footer__container {
           width: calc(100% - 32px);
       }

       .site-footer__main {
           padding: 52px 0 42px;
       }

       .site-footer__focus {
           width: 100%;
           grid-template-columns: repeat(2,1fr);
       }

       .site-footer__focus span {
           text-align: center;
       }

       .site-footer__focus span:nth-child(3) {
           border-top:
               1px solid
               rgba(255,255,255,.13);
           border-left: none;
       }

       .site-footer__focus span:nth-child(4) {
           border-top:
               1px solid
               rgba(255,255,255,.13);
       }

       .footer-navigation {
           grid-template-columns: repeat(2,1fr);
           gap: 35px;
       }

       .site-footer__bottom {
           align-items: flex-start;
           flex-direction: column;
           justify-content: center;
           gap: 8px;
           padding: 20px 0;
       }

   }

   @media (max-width: 400px) {

       .footer-navigation {
           grid-template-columns: 1fr;
           gap: 30px;
       }

   }

   @media (prefers-reduced-motion: reduce) {

       .site-footer *,
       .site-footer *::before,
       .site-footer *::after {
           scroll-behavior: auto !important;
           transition: none !important;
       }

   }

/* ============================================================
   17. VOLTAR AO TOPO
   ============================================================ */

.back-to-top {

    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 900;

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:

        linear-gradient(
            135deg,
            var(--blue-700),
            var(--blue-500)
        );

    color: var(--white);

    border:
        1px solid
        rgba(255, 255, 255, 0.35);

    box-shadow:

        0 8px 25px
        rgba(2, 18, 47, 0.35),

        0 0 18px
        rgba(8, 112, 232, 0.30);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(15px);

    transition:

        opacity 300ms ease,

        visibility 300ms ease,

        transform 300ms var(--ease),

        background 300ms ease;
}

.back-to-top.is-visible {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}

.back-to-top:hover {

    background:

        linear-gradient(
            135deg,
            var(--yellow-500),
            var(--yellow-300)
        );

    color: var(--blue-950);

    transform:
        translateY(-5px)
        scale(1.05);

    box-shadow:

        0 12px 30px
        rgba(2, 18, 47, 0.35),

        0 0 25px
        rgba(255, 208, 0, 0.48);
}


/* ============================================================
   18. ENTRADA DA PÁGINA
   ============================================================ */

.js-enabled .contact-header__eyebrow,
.js-enabled .contact-header h1,
.js-enabled .contact-header p,
.js-enabled .social-grid,
.js-enabled .email-contact {

    opacity: 0;

    transform:
        translateY(24px);

    animation:
        contactReveal
        850ms
        var(--ease)
        forwards;
}


.js-enabled .contact-header__eyebrow {
    animation-delay: 650ms;
}


.js-enabled .contact-header h1 {
    animation-delay: 720ms;
}


.js-enabled .contact-header p {
    animation-delay: 790ms;
}


.js-enabled .social-grid {
    animation-delay: 860ms;
}


.js-enabled .email-contact {
    animation-delay: 930ms;
}


@keyframes contactReveal {

    0% {

        opacity: 0;

        transform:
            translateY(24px);
    }

    100% {

        opacity: 1;

        transform:
            translateY(0);
    }
}


/* ============================================================
   19. TABLET
   ============================================================ */

@media (max-width: 900px) {

    .container {
        width:
            min(
                calc(100% - 36px),
                760px
            );
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {

        position: absolute;

        top: var(--header-height);

        left: 18px;
        right: 18px;

        padding: 14px;

        background:
            linear-gradient(
                145deg,
                rgba(2, 18, 47, 0.98),
                rgba(5, 45, 112, 0.98)
            );

        border:
            1px solid
            rgba(255, 208, 0, 0.20);

        border-radius:
            0 0 18px 18px;

        box-shadow:
            0 25px 50px
            rgba(2, 18, 47, 0.38);

        opacity: 0;
        visibility: hidden;

        transform:
            translateY(-12px);

        transition:

            opacity 300ms ease,

            visibility 300ms ease,

            transform 300ms var(--ease);
    }

    .main-navigation.is-open {

        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);
    }

    .main-navigation ul {

        flex-direction: column;

        align-items: stretch;
    }

    .main-navigation a {

        padding: 13px;

        justify-content: center;
    }

    .social-grid {

        grid-template-columns:
            repeat(3, 125px);

        grid-template-rows:
            repeat(2, 125px);

        column-gap: 32px;
        row-gap: 42px;
    }

    .social-link {

        width: 125px;
        height: 125px;
    }

    .social-link__icon {

        width: 50px;
        height: 50px;
    }
}


/* ============================================================
   20. MOBILE
   ============================================================ */

@media (max-width: 650px) {

    :root {
        --header-height: 72px;
    }

    .site-header {
        height: var(--header-height);
    }

    .container {

        width:
            calc(100% - 28px);
    }

    .contact-section {

        padding:
            calc(var(--header-height) + 52px)
            16px
            70px;
    }

    .contact-header h1 {

        font-size:
            clamp(
                2.8rem,
                14vw,
                4.5rem
            );
    }

    .contact-header p {

        max-width: 450px;

        font-size: 0.88rem;

        line-height: 1.65;
    }

    .social-grid {

        max-width: 350px;

        grid-template-columns:
            repeat(3, 94px);

        grid-template-rows:
            repeat(2, 94px);

        column-gap: 17px;
        row-gap: 38px;

        margin-top: 48px;
    }

    .social-link {

        width: 94px;
        height: 94px;
    }

    .social-link__icon {

        width: 40px;
        height: 40px;
    }

    .social-link__name {

        bottom: -29px;

        font-size: 0.58rem;

        letter-spacing: 0.08em;
    }

    .email-contact {

        margin-top: 55px;
    }

    .email-contact__circle {

        width: 74px;
        height: 74px;
    }

    .email-contact__icon {

        width: 29px;
        height: 29px;
    }

    .site-footer__main {

        width:
            calc(100% - 28px);

        flex-direction: column;

        gap: 28px;
    }

    .site-footer__bottom {

        width:
            calc(100% - 28px);
    }

    .back-to-top {

        right: 15px;
        bottom: 15px;
    }
}


/* ============================================================
   21. MOBILE PEQUENO
   ============================================================ */

@media (max-width: 390px) {

    .social-grid {

        max-width: 300px;

        grid-template-columns:
            repeat(3, 82px);

        grid-template-rows:
            repeat(2, 82px);

        column-gap: 11px;
        row-gap: 34px;
    }

    .social-link {

        width: 82px;
        height: 82px;
    }

    .social-link__icon {

        width: 34px;
        height: 34px;
    }

    .social-link::before {
        inset: -6px;
    }

    .social-link::after {
        inset: -12px;
    }

    .contact-header h1 {

        font-size:
            2.65rem;
    }
}


/* ============================================================
   22. 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;
    }

    .contact-section::before,
    .social-link {

        animation: none !important;
    }
}
