html {
  box-sizing: border-box;
  background: #0e1a25;
  font-size: 0.625em;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Raleway', sans-serif;
}

/* Section Hero */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #0e1a25;
}

.hero-content {
  text-align: center;
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
}

h1 {
    font: 600 1.5em/1 'Raleway', sans-serif;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .5em;
    margin-bottom: 2rem;
}

h2 {
    font: 200 2rem/1.4 'Raleway', sans-serif;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .4em;
    margin-bottom: 4rem;
}

span, span:after {
    font-weight: 900;
    color: #ffffff;
    position: relative;
    letter-spacing: .1em;
    padding: .2em 0 .25em 0;
}

span {
    font-size: 4em;
    z-index: 100;
    text-shadow: .04em .04em 0 #78c5fc;
}

/* Liens sociaux */
.social-links {
  margin-bottom: 4rem;
}

.soc {
  display: block;
  font-size: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.soc li {
  display: inline-block;
  margin: 12px;
  margin: 1.2rem;
}

.soc a, .soc svg {
  display: block;
}

.soc a {
  position: relative;
  height: 96px;
  height: 9.6rem;
  width: 96px;
  width: 9.6rem;
}

.soc svg {
  height: 100%;
  width: 100%;
}

.icon:hover {
  border-radius: 100%;
  color: #0e1a25;
  fill: #0e1a25;
  -webkit-transform: scale(1.25);
          transform: scale(1.25);
  -webkit-transition: background-color 0.5s, -webkit-transform 0.5s ease-out;
  transition: background-color 0.5s, -webkit-transform 0.5s ease-out;
  transition: background-color 0.5s, transform 0.5s ease-out;
  transition: background-color 0.5s, transform 0.5s ease-out, -webkit-transform 0.5s ease-out;
}

.icon {
  color: #78c5fc;
  fill: #78c5fc;
}

.icon:hover {
  background: #78c5fc;
}

/* Bouton CTA */
.cta-button {
  margin-top: 3rem;
}

.btn-contact {
  display: inline-block;
  background: linear-gradient(45deg, #78c5fc, #5aa3e8);
  color: #0e1a25;
  text-decoration: none;
  padding: 1.5rem 3rem;
  font: 600 1.6rem/1 'Raleway', sans-serif;
  text-transform: uppercase;
  letter-spacing: .2em;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(120, 197, 252, 0.3);
}

.btn-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(120, 197, 252, 0.4);
  background: linear-gradient(45deg, #5aa3e8, #78c5fc);
}

/* Section Contact */
.contact-section {
  min-height: 100vh;
  padding: 8rem 2rem;
  background: linear-gradient(135deg, #0e1a25 0%, #1a2332 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-container {
  max-width: 700px;
  width: 100%;
  background: rgba(14, 26, 37, 0.95);
  border: 2px solid #78c5fc;
  border-radius: 16px;
  padding: 4rem;
  backdrop-filter: blur(15px);
  box-shadow: 0 15px 50px rgba(120, 197, 252, 0.15);
}

.contact-container h3 {
  font: 400 3rem/1.2 'Raleway', sans-serif;
  color: #78c5fc;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .3em;
  margin-bottom: 4rem;
  text-shadow: 0 0 15px rgba(120, 197, 252, 0.3);
}

.contact-subtitle {
  font: 300 1.6rem/1.4 'Raleway', sans-serif;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: .1em;
}

/* Formulaire */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font: 400 1.4rem/1.4 'Raleway', sans-serif;
  color: #78c5fc;
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
  background: rgba(120, 197, 252, 0.08);
  border: 2px solid rgba(120, 197, 252, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  font: 300 1.6rem/1.4 'Raleway', sans-serif;
  color: #ffffff;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #78c5fc;
  box-shadow: 0 0 0 3px rgba(120, 197, 252, 0.2);
  background: rgba(120, 197, 252, 0.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(45deg, #78c5fc, #5aa3e8);
  color: #0e1a25;
  border: none;
  border-radius: 8px;
  padding: 1.8rem 4rem;
  font: 600 1.6rem/1 'Raleway', sans-serif;
  text-transform: uppercase;
  letter-spacing: .2em;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(120, 197, 252, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(120, 197, 252, 0.4);
  background: linear-gradient(45deg, #5aa3e8, #78c5fc);
}

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

.submit-btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
  overflow: hidden;
}

.submit-btn.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Messages */
.success-message,
.error-message {
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2.5rem;
  font: 300 1.6rem/1.4 'Raleway', sans-serif;
  text-align: center;
  display: none;
}

.success-message {
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
  border: 2px solid rgba(40, 167, 69, 0.3);
}

.error-message {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
  border: 2px solid rgba(220, 53, 69, 0.3);
}

/* Footer */
.footer {
  padding: 2rem;
  background-color: #78c5fc;
  text-align: center;
  font: 400 1.4rem/1.4 'Raleway', sans-serif;
}

.footer a {
  color: #252525;
  text-decoration: none;
  font-weight: 600;
}

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

/* Responsive */
@media only screen and (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-container {
    padding: 3rem 2rem;
    margin: 2rem;
  }

  .contact-container h3 {
    font-size: 2.4rem;
  }

  .hero-content {
    padding: 1rem;
  }

  span {
    font-size: 3em;
  }

  h2 {
    font-size: 1.6rem;
    margin-bottom: 3rem;
  }

  .soc a {
    height: 7rem;
    width: 7rem;
  }

  .btn-contact {
    padding: 1.2rem 2.5rem;
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 480px) {
  .contact-container {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .contact-container h3 {
    font-size: 2rem;
    letter-spacing: .2em;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 1.2rem;
    font-size: 1.4rem;
  }
  
  .submit-btn {
    padding: 1.5rem 3rem;
    font-size: 1.4rem;
  }
}
