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

/* =========================
   CORES E TIPOGRAFIA
========================= */

:root {
  --navy: #082657;
  --deep: #041a3d;
  --blue: #507eaf;
  --pale: #f1f7ff;
  --muted: #63738b;
  --line: #e2e9f2;

  --medium: 500;
  --bold: 700;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--navy);
  background: white;
}

/* MONTSERRAT NA HOME */

body.home {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: var(--bold);
}

.home h1,
.home h2,
.home h3,
.home h4,
.home h5,
.home h6 {
  font-weight: var(--medium);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1200px, 90%);
  margin: auto;
}

/* =========================
   MENU SUPERIOR
========================= */

.nav {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 100px;
  height: 80px;
  object-fit: contain;
}

.navlinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 85px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.navlinks a {
  position: relative;
  padding: 10px 0;
  transition: color .3s;
}

.navlinks a:hover {
  color: var(--blue);
}

.navlinks a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width .3s;
}

.navlinks a:hover::after {
  width: 100%;
}

/* =========================
   BOTÕES
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 25px;
  border: 1px solid var(--navy);
  border-radius: 30px;
  background: var(--navy);
  color: white;
  font-size: 12px;
  font-weight: 600;
  transition: .3s;
}

.home .btn {
  font-weight: var(--bold);
}

.btn.outline {
  background: transparent;
  border: 1px solid #b5cce6;
  color: white;
}

.btn:hover {
  background: #507eaf;
  border-color: #507eaf;
  transform: translateY(-3px);
}

/* =========================
   BANNER PRINCIPAL
========================= */

.hero {
  background: #082657;
  color: white;
  overflow: hidden;
}

.hero-inner {
  min-height: 550px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

/* IMAGEM À ESQUERDA */

.hero-visual {
  order: 1;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

/* TEXTO À DIREITA */

.hero-content {
  order: 2;
  padding: 40px 0;
}

.hero h1 {
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.2;
  letter-spacing: 1px;
  margin: 0 0 25px;
}

.home .hero h1 {
  font-weight: var(--medium);
}

.hero p {
  font-size: 15px;
  line-height: 1.7;
  color: #e0eaff;
  max-width: 480px;
}

.home .hero p {
  font-weight: var(--bold);
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 45px;
}

/* =========================
   ESTATÍSTICAS
========================= */

.stats-background {
  background: #032039;
}

.stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  gap: 25px;
}

.stats div {
  flex: 1;
  text-align: center;
  font-size: 12px;
  padding: 10px;
  border-right: 1px solid #ffffff50;
}

.home .stats div {
  font-weight: var(--bold);
}

.stats div:last-child {
  border-right: none;
}

.stats b {
  font-size: 26px;
  font-weight: 500;
  margin-right: 10px;
  color: #b4d5ef;
}

/* =========================
   SEÇÕES
========================= */

.section {
  padding: 85px 0;
}

.section h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  margin: 0 0 20px;
}

.home .section h2 {
  font-weight: var(--medium);
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
}

.home .eyebrow {
  font-weight: var(--medium);
}

.dark {
  background: var(--navy);
  color: white;
}

.dark .eyebrow {
  color: #b4d5ef;
}

.soft {
  background: #f1f7fb;
}

.highlight {
  color: var(--blue);
}

/* =========================
   AGENDA STORMEX
========================= */

.news {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.news-main {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: .3s;
}

.news-main img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
}

.news-main div {
  padding: 25px;
}

.news-main h3 {
  font-size: 23px;
  margin: 10px 0;
}

.news-main p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.news-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.news-small {
  display: grid;
  grid-template-columns: 38% 1fr;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: .3s;
}

.news-small img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.news-small div {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-small h3 {
  font-size: 16px;
  margin: 0 0 10px;
}

.news-small p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.home .news-main h3,
.home .news-small h3 {
  font-weight: var(--medium);
}

.home .news-main p,
.home .news-small p {
  font-weight: var(--bold);
}

.event-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.news-main:hover,
.news-small:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px #08265715;
}

/* =========================
   NOSSAS SOLUÇÕES
========================= */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 35px;
}

.card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px;
  background: #ffffff20;
  border: 1px solid #ffffff15;
  border-radius: 20px;
  transition: .3s;
}

.card img {
  width: 42%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.card h3 {
  font-size: 16px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.card p {
  font-size: 13px;
  line-height: 1.6;
  color: #d5e5f8;
}

.home .card h3 {
  font-weight: var(--medium);
}

.home .card p {
  font-weight: var(--bold);
}

.card:hover {
  transform: translateY(-5px);
  background: #ffffff30;
}

.solutions-button {
  text-align: center;
  margin-top: 35px;
}

/* =========================
   SOBRE A STORMEX
========================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 30px;
}

.split h2 {
  margin-top: 20px;
}

.split p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.split h4 {
  font-size: 13px;
  margin: 22px 0 0;
}

.home .split h2,
.home .split h4,
.home .highlight {
  font-weight: var(--medium);
}

.home .split p {
  font-weight: var(--bold);
}

.wide-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  margin-top: 30px;
}

/* =========================
   NOVA SEÇÃO QUEM SOMOS
========================= */

.quem-somos {
  background: #f1f7fb;
  padding: 85px 0;
}

/* TEXTO E FOTO */

.sobre-conteudo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

/* TÍTULO SUPERIOR */

.sobre-eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 20px;
}

/* TÍTULO PRINCIPAL */

.home .sobre-texto h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 22px;
}

/* PARÁGRAFOS */

.sobre-texto p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 20px;
}

/* FOTO DA EQUIPE */

.sobre-imagem {
  width: 100%;
  overflow: hidden;
  border-radius: 25px;
}

.sobre-imagem img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 25px;
  transition: transform .5s ease;
}

.sobre-imagem:hover img {
  transform: scale(1.04);
}

/* MISSÃO, VISÃO E VALORES */

.sobre-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

/* ESTILO DOS CARDS */

.sobre-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  transition: transform .3s ease,
              box-shadow .3s ease;
}

.sobre-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px #08265715;
}

/* ÍCONES DOS CARDS */

.sobre-card svg {
  display: block;
  width: 45px;
  height: 45px;
  color: var(--blue);
  margin-bottom: 20px;
}

/* TÍTULOS DOS CARDS */

.home .sobre-card h3 {
  font-size: 23px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 15px;
}

/* TEXTOS DOS CARDS */

.sobre-card p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* =========================
   CONTATO
========================= */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact h2 {
  margin-top: 25px;
  text-transform: uppercase;
}

.contact p {
  font-size: 14px;
  line-height: 1.7;
  color: #d5e5f8;
}

.home .contact h2 {
  font-weight: var(--medium);
}

.home .contact p {
  font-weight: var(--bold);
}

/* FORMULÁRIO */

.panel {
  background: white;
  color: var(--navy);
  padding: 35px;
  border-radius: 20px;
}

.panel h3 {
  text-align: center;
  font-size: 25px;
  margin: 0 0 25px;
}

.home .panel h3 {
  font-weight: var(--medium);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.field label {
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #507eaf;
  background: #507eaf;
  color: white;
  border-radius: 6px;
  outline: none;
}

.home .field input,
.home .field textarea {
  font-weight: var(--medium);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #e1eaff;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: #082657;
}

.notice {
  display: none;
  margin-top: 15px;
  padding: 12px;
  background: #e8f5ed;
  color: #1b6740;
  border-radius: 8px;
  font-size: 12px;
}

.notice.show {
  display: block;
}

/* =========================
   RODAPÉ DAS OUTRAS PÁGINAS
========================= */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 35px 0;
  font-size: 12px;
  color: var(--navy);
}

.footer-logo img {
  width: 80px;
  height: 70px;
  object-fit: contain;
}

/* =========================
   RODAPÉ DA HOME
========================= */

.footer-stormex {
  width: 100%;
  background-color: #ffffff;
  color: var(--navy);
  padding: 55px 0 25px;
  box-sizing: border-box;
  border: none;
  margin: 0;
}

.footer-conteudo {
  width: min(1200px, 90%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-redes,
.footer-contato {
  width: 50%;
  text-align: center;
}

.footer-redes h3 {
  font-size: 18px;
  font-weight: var(--medium);
  color: var(--navy);
  margin: 0 0 35px;
}

/* ÍCONES DAS REDES SOCIAIS */

.footer-icones {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 45px;
}

.footer-icones a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  text-decoration: none;
  transition: transform .3s ease, color .3s ease;
}

.footer-icones svg {
  display: block;
  width: 25px;
  height: 25px;
}

.footer-icones a:hover {
  transform: translateY(-5px);
  color: var(--blue);
}

/* TELEFONE */

.footer-contato p {
  color: var(--navy);
  font-size: 13px;
  font-weight: var(--medium);
  margin: 0 0 12px;
}

.footer-contato a {
  color: var(--navy);
  font-size: 13px;
  font-weight: var(--bold);
  text-decoration: none;
  transition: color .3s ease;
}

.footer-contato a:hover {
  color: var(--blue);
}

/* DIREITOS RESERVADOS */

.footer-direitos {
  color: var(--navy);
  text-align: center;
  margin-top: 35px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: var(--bold);
}

.footer-direitos a {
  color: var(--navy);
  text-decoration: none;
}

.footer-direitos a:hover {
  text-decoration: underline;
}

/* =========================
   ANIMAÇÕES
========================= */

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .7s, transform .7s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.float {
  animation: float 5s ease-in-out infinite;
}

@keyframes float {

  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

}

/* =========================
   RESPONSIVIDADE
========================= */

@media (max-width: 1000px) {

  .navlinks {
    gap: 25px;
  }

  .hero-inner {
    gap: 25px;
  }

  .hero-visual {
    height: 450px;
  }

  .sobre-conteudo {
    gap: 25px;
  }

}

/* TABLETS E CELULARES */

@media (max-width: 750px) {

  .nav {
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
  }

  .navlinks {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    gap: 18px;
    font-size: 11px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-visual {
    height: 350px;
    order: 1;
  }

  .hero-content {
    order: 2;
    text-align: center;
  }

  .hero p {
    margin: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .stats {
    flex-direction: column;
  }

  .stats div {
    border-right: none;
  }

  .news,
  .cards,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 50px 0;
  }

  .split img {
    height: 300px;
  }

  /* QUEM SOMOS RESPONSIVO */

  .quem-somos {
    padding: 50px 0;
  }

  .sobre-conteudo {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .home .sobre-texto h2 {
    font-size: 28px;
  }

  .sobre-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .sobre-card {
    padding: 25px;
  }

  .sobre-imagem img {
    aspect-ratio: 4 / 3;
  }

  /* RODAPÉ */

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-stormex {
    padding: 35px 0 25px;
  }

  .footer-conteudo {
    flex-direction: column;
    gap: 35px;
  }

  .footer-redes,
  .footer-contato {
    width: 100%;
  }

  .footer-redes h3 {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .footer-icones {
    gap: 35px;
  }

  .footer-direitos {
    font-size: 12px;
    line-height: 1.8;
  }

}

/* CELULARES MENORES */

@media (max-width: 480px) {

  .navlinks {
    gap: 12px;
  }

  .hero-visual {
    height: 300px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .card {
    flex-direction: column;
    align-items: stretch;
  }

  .card img {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 22px;
  }

}

/* ACESSIBILIDADE DAS ANIMAÇÕES */

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

  html {
    scroll-behavior: auto;
  }

  .float {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transition: none;
    transform: none;
  }

  .footer-icones a,
  .sobre-card,
  .sobre-imagem img {
    transition: none;
  }

  .footer-icones a:hover,
  .sobre-card:hover,
  .sobre-imagem:hover img {
    transform: none;
  }

}
