/* Style principal pour domain - Services d'audit financier */

/* Variables de couleur */
:root {
  --coral: #FF3B30;
  --ultramarine: #3F51B5;
  --azure-gray: #AAB7B8;
  --charcoal: #1C1C1C;
  --beige: #F9F3E3;
  --gradient: linear-gradient(135deg, var(--coral) 0%, var(--ultramarine) 100%);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--charcoal);
  background-color: var(--beige);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

.text-center h2:after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

.text-center {
  text-align: center;
}

.section {
  padding: 120px 0;
}

.section-title {
  margin-bottom: 60px;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--charcoal);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--gradient);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(28, 28, 28, 0.95);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  position: relative;
  overflow: hidden;
}

.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation */
nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: white;
  font-weight: 600;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

nav ul li a:hover:after {
  width: 100%;
}

/* CSS-only menu toggle */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

/* Hero Section */
.hero {
  padding: 150px 0;
  background-color: var(--charcoal);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(28, 28, 28, 0.9), rgba(28, 28, 28, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: var(--azure-gray);
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* À propos */
.about {
  background-color: white;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Services */
.services {
  background-color: var(--beige);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-content {
  padding: 25px;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.5rem;
}

/* Avantages */
.benefits {
  background-color: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background: var(--beige);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
}

/* Témoignages */
.testimonials {
  background-color: var(--beige);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: var(--coral);
  opacity: 0.2;
  line-height: 1;
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.client-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.client-name {
  font-weight: 700;
}

.client-position {
  font-size: 0.9rem;
  color: var(--azure-gray);
}

/* Notre équipe */
.team {
  background-color: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background: var(--beige);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-image {
  height: 300px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: 20px;
  text-align: center;
}

.member-position {
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 10px;
}

/* Formulaire */
.contact-form {
  background-color: var(--beige);
}
.thank-you{
    padding: 170px 0 !important;
}
.form-container {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-width:600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--azure-gray);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--ultramarine);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-input {
  margin-right: 10px;
  margin-top: 3px;
}

.checkbox-label {
  font-size: 0.9rem;
}

.checkbox-label a {
  color: var(--ultramarine);
  text-decoration: underline;
}

/* Contact et footer */
.contact {
  background-color: var(--charcoal);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-info h3 {
  color: var(--beige);
  margin-bottom: 25px;
}

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  height: 300px;
}

/* Footer */
footer {
  background-color: var(--charcoal);
  color: var(--azure-gray);
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact {
  font-size: 0.9rem;
  line-height: 1.6;
  gap: 50px;
display: flex;
flex-wrap: wrap;
}

.footer-contact p {
 
}

.footer-contact i {
  color: var(--coral);
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--coral);
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(28, 28, 28, 0.95);
  color: white;
  padding: 20px 0;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

/* Media Queries */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  .footer-contact {
    gap: 0;
  }
  h2 {
    font-size: 2rem;
  }
  
  .hero-content {
    display: flex;
    margin: 0 auto;
    max-width: 600px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .about-content {
    flex-direction: column-reverse;
  }
  
  .form-container {
    padding: 30px;
  }
}

@media screen and (max-width: 768px) {
  .header-container {
    position: relative;
  }
  .footer-links{
    flex-direction: column;
}
  .nav-toggle-label {
    display: block;
    cursor: pointer;
    color: white;
    font-size: 1.8rem;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(28, 28, 28, 0.95);
    padding: 20px 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
  }
  
  .nav-toggle:checked ~ .nav-menu {
    transform: scaleY(1);
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  nav ul li {
    margin-left: 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-btns {
    flex-direction: column;
    max-width: 250px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .services-grid,
  .benefits-grid,
  .testimonial-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-info {
    width: 100%;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 480px) {
  .container {
    width: 95%;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .form-container {
    padding: 20px;
  }
} 