/* Estilos gerais para o site Nadando Mais */

/* Importação de fontes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

/* Variáveis de cores */
:root {
  --primary: #0A2463;      /* Azul escuro - água profunda */
  --headerbg: #b1def3;      /* Azul claro - água raza */
  --logoprimary: #2a60ab;    /* Azul Claro - Primeira cor do logo */
  --secondary: #3BCEAC;    /* Verde água - ação, frescor */
  --accent: #0F9BE8;       /* Azul claro - água clara */
  --background: #FFFFFF;   /* Branco */
  --background-alt: #F5F5F5; /* Cinza claro */
  --text: #333333;         /* Cinza escuro */
  --text-light: #FFFFFF;   /* Branco */
}

/* Reset e estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--secondary);
  color: var(--text-light);
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--accent);
  color: var(--text-light);
}

.btn-primary {
  background-color: var(--primary);
}

.btn-primary:hover {
  background-color: #051a4d; /* Versão mais escura do primário */
}

/* Header */
header {
  background-color: var(--headerbg);
  color: var(--text-light);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin: 0;
}

/* Navegação */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--primary);
  font-weight: 600;
  position: relative;
}

nav ul li a:hover {
  color: var(--logoprimary);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--logoprimary);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Seletor de idioma */
.language-selector {
  display: flex;
  align-items: center;
  margin-left: 1.5rem;
}

.language-selector img {
  width: 25px;
  height: 25px;
  margin-left: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease;
}

.language-selector img:hover {
  transform: scale(1.1);
  border: 0px solid var(--text-light);
}

/* Menu mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-light);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero section */
.hero {
  background: linear-gradient(rgba(10, 36, 99, 0.8), rgba(10, 36, 99, 0.8)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 100px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Seção de benefícios */
.benefits {
  padding: 80px 0;
  background-color: var(--background-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  display: inline-block;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--secondary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.benefits-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.benefit-card {
  background-color: var(--background);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.benefit-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

/* Seção de destaque */
.highlight {
  padding: 80px 0;
  background-color: var(--primary);
  color: var(--text-light);
  text-align: center;
}

.highlight h2 {
  color: var(--text-light);
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
}

.stat-item {
  flex: 1 1 200px;
  max-width: 250px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.2rem;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  text-align: center;
  background-color: var(--background-alt);
}

.cta h2 {
  margin-bottom: 20px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
}

.app-preview {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.app-preview img {
  max-width: 300px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 50px 0 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h3 {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ccc;
}

.footer-column ul li a:hover {
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary);
}

.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Página de funcionalidades */
.features {
  padding: 80px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
  padding: 0 30px;
}

.feature-image {
  flex: 1;
  text-align: center;
}

.feature-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Página Sobre */
.about {
  padding: 80px 0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.about-text {
  flex: 1 1 500px;
}

.about-image {
  flex: 1 1 400px;
}

.about-image img {
  max-width: 100%;
  border-radius: 8px;
}

.team {
  padding: 80px 0;
  background-color: var(--background-alt);
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.team-member {
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-member h3 {
  margin-bottom: 5px;
}

.team-member p {
  color: #666;
}

/* Página de Galeria */
.gallery {
  padding: 80px 0;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(10, 36, 99, 0.8);
  color: var(--text-light);
  padding: 10px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Página de Contato */
.contact {
  padding: 80px 0;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-info {
  flex: 1 1 300px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 15px;
  min-width: 30px;
}

.contact-form {
  flex: 1 1 500px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
}

.form-group textarea {
  height: 150px;
}

/* Página de Política de Privacidade */
.privacy {
  padding: 80px 0;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.privacy-content ul,
.privacy-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.privacy-content li {
  margin-bottom: 10px;
}

/* Utilitários */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}
