/* ==========================
   VARIÁVEIS GLOBAIS
========================== */
:root {
  --primary: #00cfff;
  --primary-dark: #007cff;
  --bg-dark: #001018;
  --bg-section: #0f141b;
  --card-bg: #141a22;
  --text-light: #e6e6e6;
  --text-muted: #bfc5cc;
  --whatsapp: #25D366;
  --text-white: #ffffff;
}

/* ==========================
   RESET
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ==========================
   BACKGROUND ANIMADO AZUL
========================== */
body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-light);

  background: linear-gradient(
    -45deg,
    #001f3f,
    #003f88,
    #00509d,
    #0077b6,
    #0096c7,
    #00b4d8
  );

  background-size: 400% 400%;
  animation: gradientMove 20s ease-in-out infinite;
}

/* Animação suave */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  25% { background-position: 50% 100%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 0%; }
  100% { background-position: 0% 50%; }
}

/* ==========================
   TIPOGRAFIA
========================== */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: .5px;
}

h1 {
  font-size: 3rem;
  text-transform: uppercase;
  color: var(--primary);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 207, 255, 0.5);
}


h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
}


p {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ==========================
   HEADER
========================== */
header {
  position: relative;
  background:
    linear-gradient(120deg, rgba(0,0,0,.85), rgba(0,0,0,.6)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e");
  background-size: cover;
  background-position: center;
  padding: 110px 20px;
  text-align: center;
}

header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

/* ==========================
   SEÇÕES - ESTILO VIDRO NÁUTICO
========================== */
main section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 80px 25px;

  background: rgba(0, 16, 30, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  border-radius: 18px;
  border: 1px solid rgba(0, 207, 255, 0.15);

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ==========================
   GRID
========================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* ==========================
   CARDS - GLASS NÁUTICO PREMIUM
========================== */
.card {
  background: rgba(10, 25, 45, 0.65);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  padding: 25px;
  border-radius: 16px;

  border: 1px solid rgba(0, 207, 255, 0.2);

  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 207, 255, 0.35);
}

/* ==========================
   CONTEÚDO INTERATIVO
========================== */
.hidden-content {
  display: none;
  margin-top: 12px;
  font-size: .95rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 10px;
}

.hidden-content.active {
  display: block;
}

/* ==========================
   IMAGENS
========================== */
img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 15px;
  display: block;
}

/* ==========================
   VÍDEO
========================== */
video {
  width: 100%;
  max-width: 650px;
  display: block;
  margin: 20px auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 207, 255, 0.15);
}

/* ==========================
   BOTÕES
========================== */
button,
.btn-cta,
.btn-modelo {
  transition: all .3s ease;
  cursor: pointer;
}

button {
  background: var(--primary);
  color: var(--bg-dark);
  font-weight: bold;
  padding: 14px;
  border-radius: 40px;
  border: none;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 207, 255, .4);
}

.btn-modelo {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  background: #0a3d62;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

.btn-modelo:hover {
  background: #075985;
}

/* ==========================
   FORMULÁRIO
========================== */
form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
select,
textarea {
  padding: 14px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================
   CTA ORÇAMENTO
========================== */
.cta-orcamento {
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-dark);
  padding: 90px 25px;
}

.cta-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-cta {
  padding: 15px 30px;
  background: var(--bg-dark);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 40px;
}

.btn-cta.whatsapp {
  background: var(--whatsapp);
}

/* ==========================
   BOTÕES FLUTUANTES
========================== */
.social-float {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .3s ease;
}

.float-btn:hover {
  transform: scale(1.1);
}

.youtube { background: #FF0000; }
.facebook { background: #1877F2; }
.instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.eventos { background: #00c851; }

/* ==========================
   FOOTER
========================== */
footer {
  background: #06090d;
  padding: 30px 20px;
  text-align: center;
  font-size: .9rem;
  color: #88909a;
}

.footer-social {
  margin-top: 10px;
}

.footer-social a {
  color: white;
  margin: 0 10px;
  font-size: 18px;
}

.footer-social a:hover {
  color: var(--primary);
}

/* ==========================
   RESPONSIVO
========================== */
@media (max-width: 768px) {

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }

  header { padding: 80px 15px; }
  main section { padding: 60px 20px; }

  .social-float {
    right: 10px;
  }
}

/* ==========================
   SLIDER QUEM SOMOS
========================== */

.slider-container {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  border-radius: 16px;
}

.slider {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slider img {
  min-width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

/* Botões laterais */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 207, 255, 0.8);
  border: none;
  color: #001018;
  font-size: 30px;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.slider-btn:hover {
  background: #00cfff;
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

/* Mostrar botões ao passar o mouse */
.slider-container:hover .slider-btn {
  opacity: 1;
}

/* ==========================
   INSTAGRAM FEED
========================== */

#instagram-feed {
  text-align: center;
}

.instagram-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.instagram-media {
  width: 100% !important;
  min-width: 100% !important;
  border-radius: 16px !important;
  overflow: hidden;
}

.btn-instagram {
  margin-top: 30px;
}

.btn-instagram a {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 40px;
  transition: 0.3s ease;
}

.btn-instagram a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

/* ============================= */
/* FORMULÁRIO PROFISSIONAL */
/* ============================= */

#form-orcamento form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#form-orcamento input,
#form-orcamento select,
#form-orcamento textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

#form-orcamento textarea {
  resize: none;
  min-height: 100px;
}

#form-orcamento button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #00cfff;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

#form-orcamento button:hover {
  background: #009ecf;
}

/* Caixa termos */

.termos-box {
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.termos-box input {
  margin-top: 4px;
}

.termos-box a {
  color: #00cfff;
  text-decoration: none;
  font-weight: bold;
}

.termos-box a:hover {
  text-decoration: underline;
}

/* Footer links */

.footer-links {
  margin-top: 15px;
  font-size: 14px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}