/* ========================================
   BASE STYLES
======================================== */
body {
  margin: 0;
  font-family: 'Prompt', sans-serif;
  color: white;
  background: white;
  overflow-x: hidden;
}

section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px;
  padding-top: 100px;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0 clamp(120px, 10vw, 160px);
  color: #fff;
  background: linear-gradient(135deg, #073083 0%, #0A4099 50%, #073083 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(113, 202, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(113, 202, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
  z-index: 0;
  animation: float 10s ease-in-out infinite reverse;
  }
  
  @keyframes float {
  
    0%,
    100% {
      transform: translateY(0) scale(1);
    }
  
    50% {
      transform: translateY(-30px) scale(1.05);
    }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 90vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: clamp(32px, 6vw, 64px);
}

.hero-copy {
  display: grid;
  gap: clamp(24px, 3.5vw, 36px);
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  position: relative;
  z-index: 1;
  animation: fadeInScale 1s ease-out 0.2s both;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-visual img {
  width: 70%;
  max-width: 90%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  margin: 0 auto;
}

.hero h1 {
  margin: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  line-height: 1.3;
}

.hero h1 .brand-name {
  color: #71CAFF;
  font-weight: 800;
  display: block;
  font-size: 1.2em;
}

.hero h1 .highlight {
  color: #71CAFF;
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  max-width: 65ch;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  line-height: 1.7;
  }
  
  .hero-description .highlight {
    color: #71CAFF;
    font-weight: 600;
  }

.btn.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  background: #71CAFF;
  color: #003D66;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(113, 202, 255, 0.35);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-family: 'Prompt', sans-serif;
  width: fit-content;
}

.btn.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn.hero-btn:hover::before {
  left: 100%;
}

.btn.hero-btn:hover {
  transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(113, 202, 255, 0.5);
    background: #8FD5FF;
  }
  
  .hero-visual {
    position: relative;
    z-index: 1;
    animation: fadeInScale 1s ease-out 0.2s both;
  }
  
  .hero-visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(113, 202, 255, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
  }
  
  @keyframes pulse {
  
    0%,
    100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.5;
    }
  
    50% {
      transform: translate(-50%, -50%) scale(1.1);
      opacity: 0.8;
    }
}

.hero svg {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 122px;
  z-index: 0;
  display: block;
  shape-rendering: auto;
}

.hero .elementor-shape-fill {
  fill: #fff;
}

@media (max-width: 768px) {
  .hero svg {
    height: 82px;
    bottom: -3px;
  }
}

@media (max-width: 720px) {
  .hero {
    text-align: center;
    padding: clamp(40px, 6vw, 60px) 0 clamp(80px, 8vw, 100px);
  }

  .hero-inner {
    justify-items: center;
    gap: clamp(24px, 4vw, 32px);
  }

  .hero-copy {
    gap: clamp(16px, 2.5vw, 24px);
  }

  .hero-description {
    margin: 0 auto;
  }

  .btn.hero-btn {
    margin: 0 auto;
  }

  .hero-visual {
    max-width: 250px;
  }

  .hero-visual img {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .hero-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
  }
  
  .hero-visual-wrapper {
    display: contents;
  }
  
  .hero-visual {
    order: 2;
  }
}

@media (min-width: 768px) {
  .hero svg {
    height: 120px;
  }
}

@media (min-width: 1024px) {
  .hero svg {
    height: 120px;
  }
}

/* Desktop/Tablet: wrapper pour logo + stats */
@media (min-width: 721px) {
  .hero-visual-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
}

/* ========================================
   SERVICES SECTION (CLIENT PROFILES)
======================================== */
.conseil-section {
  padding: clamp(30px, 8vw, 50px) 0;
  background: #fff;
}

.conseil-container {
  width: min(1100px, 90vw);
  margin: 0 auto;
}

.conseil-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: #073083;
  text-align: center;
  margin: 0 0 1rem;
  font-weight: 700;
}

.conseil-subtitle {
  text-align: center;
  color: #666;
  font-size: clamp(1rem, 2vw, 1.1rem);
  max-width: 70ch;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.conseil-tagline {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 600;
  color: #71CAFF;
  font-style: italic;
  margin-bottom: 1rem;
  text-align: center;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 32px);
  margin-top: clamp(40px, 6vw, 60px);
}

.profile-card {
  background: #F5F5F5;
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.profile-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(7, 48, 131, 0.15);
  border-color: #073083;
}

.profile-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #073083 0%, #0A4099 100%);
  border-radius: 20px;
  color: #71CAFF;
  box-shadow: 0 8px 20px rgba(7, 48, 131, 0.2);
}

.profile-icon svg,
.profile-icon i {
  width: 48px;
  height: 48px;
  font-size: 48px;
  color: #71CAFF;
}

.profile-title {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  color: #073083;
  margin: 0;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.profile-intro {
  color: #666;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.profile-services h4 {
  font-size: 1.1rem;
  color: #073083;
  margin: 0 0 1rem;
  font-weight: 600;
}

.profile-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.profile-services li {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  padding-left: 1.5rem;
  position: relative;
}

.profile-services li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #073083;
  font-weight: 700;
  font-size: 1.1rem;
}

.profile-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

@media (max-width: 1024px) {
  .profiles-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .profile-card {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .profile-icon {
    width: 70px;
    height: 70px;
  }
  
  .profile-icon svg,
  .profile-icon i {
    width: 40px;
    height: 40px;
    font-size: 40px;
  }
  
  .profile-services li {
    font-size: 0.9rem;
  }
}

/* ========================================
   CONNECTED OFFICE SECTION
======================================== */
.connected-section {
  position: relative;
  padding: clamp(40px, 6vw, 60px) 0;
  background: #073083;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  --parallax-y: 0px;
}

.connected-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-image: url('../images/background-white.png');
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  z-index: 0;
  transform: translateY(var(--parallax-y)) translateZ(0);
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.connected-container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.connected-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.connected-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.connected-text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.connected-text strong {
  color: #71CAFF;
  font-weight: 600;
}

@media (max-width: 768px) {
  .connected-section {
    text-align: center;
    padding: clamp(30px, 4vw, 35px) 0 clamp(35px, 5vw, 40px);
  }
}

/* ========================================
   REVIEWS SECTION (GOOGLE STYLE)
======================================== */
.reviews-section {
  padding: clamp(30px, 8vw, 50px) 0;
  background: #fff;
  min-height: auto;
}

.reviews-container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.reviews-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 60px);
}

.reviews-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: #073083;
  margin: 0 0 1rem;
  font-weight: 700;
}

.reviews-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: #666;
}

.reviews-source strong {
  font-weight: 600;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.google-badge:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.google-badge svg {
  flex-shrink: 0;
}
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.carousel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #073083;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(7, 48, 131, 0.2);
}

.carousel-btn:hover:not(:disabled) {
  background: #0A4099;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(7, 48, 131, 0.3);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-track-container {
  overflow: hidden;
  flex: 1;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.review-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: auto;
  position: relative;
  transition: all 0.3s ease;
  }

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.review-author h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 700;
}

.review-stars {
  color: #F7C300;
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-shadow: 0 1px 2px rgba(247, 195, 0, 0.3);
}

.review-text {
  flex: 1;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  position: relative;
  padding-left: 1.5rem;
}

.review-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -5px;
  font-size: 2rem;
  color: #073083;
  opacity: 0.3;
  font-family: Georgia, serif;
}
.review-date {
  display: none;
}

@media (max-width: 768px) {
  .carousel-wrapper {
    gap: 0.5rem;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .carousel-track {
    gap: 12px;
  }
  
  .review-card {
    flex: 0 0 calc(100% - 12px);
    padding: 1.25rem;
  }
  
  .reviews-meta {
    font-size: 0.85rem;
  }
.review-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

.review-avatar {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

.review-author h4 {
  font-size: 0.95rem;
}

.review-stars {
  font-size: 1rem;
}
}

/* ========================================
   MAIN FOOTER (CONTACT + COPYRIGHT)
======================================== */
.main-footer {
  position: relative;
  padding: clamp(80px, 10vw, 120px) 0 clamp(10px, 8vw, 30px);
  background: linear-gradient(135deg, #073083 0%, #0A4099 50%, #073083 100%);
  color: #fff;
  min-height: auto;
}

.contact-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 125px;
  z-index: 0;
  display: block;
  shape-rendering: auto;
  transform: translateY(-5px);
}

.wave-fill-top {
  fill: #fff;
}

.contact-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(30px, 5vw, 60px);
  display: flex;
  flex-direction: column;
}

.contact-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 1.5rem;
  font-weight: 700;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.contact-text {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.contact-text:last-of-type {
  margin-bottom: 0;
}

.form-row-3cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Contact data below form (horizontal) - reduced padding by 66% */
.contact-info-bottom {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  flex-wrap: wrap;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
}

.contact-info-item svg {
  flex-shrink: 0;
  color: #71CAFF;
  width: 18px;
  height: 18px;
}

.contact-info-item span,
.contact-info-item a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info-item a:hover {
  color: #71CAFF;
}

.contact-form {
  width: 100%;
  max-width: 100%;
  padding-top: 2rem;
}

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

.form-group {
  margin: 0;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
}

.required {
  color: #F7C300;
}

.size-6 {
  width: 1.5rem;
  height: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid #E0E0E0;
  border-radius: 50px;
  background: #fff;
  font-family: 'Prompt', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  color: #333;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #073083;
  box-shadow: 0 0 0 3px rgba(7, 48, 131, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  border-radius: 25px;
}

/* Modern message field with integrated send button */
.message-wrapper {
  position: relative;
  display: block;
}

.message-wrapper textarea {
  padding-right: 70px !important;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  min-height: 120px;
  position: relative;
  z-index: 1;
}

.message-wrapper .btn-send {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #073083 0%, #0A4099 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(7, 48, 131, 0.3);
  z-index: 10;
  pointer-events: auto;
}

.message-wrapper .btn-send svg {
  width: 24px;
  height: 24px;
  color: #71CAFF;
  transition: transform 0.3s ease;
}

.message-wrapper .btn-send .btn-text,
.message-wrapper .btn-send .btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.message-wrapper .btn-send:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(7, 48, 131, 0.5);
  background: linear-gradient(135deg, #0A4099 0%, #0D4FB3 100%);
}

.message-wrapper .btn-send:hover svg {
  transform: translateY(-2px);
  color: #fff;
}

.message-wrapper .btn-send:active {
  transform: scale(1.05);
}

/* Consent label styling - positioned below message field */
.consent-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.5;
  display: block;
}

@media (max-width: 768px) {
  .contact-wave {
    height: 85px;
    transform: translateY(-5px);
  }
  
  .contact-container {
    gap: 10px;
    padding: 0 20px;
  }
  
  .contact-header {
    text-align: center;
  }
  
  .form-row-3cols {
    grid-template-columns: 1fr;
  }
  
  .contact-info-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    justify-items: start;
  }
  
  .contact-info-item {
    justify-self: start;
  }
  
  .contact-form {
    width: 100%;
  }
}

/* ========================================
   FORM NOTIFICATIONS & LOADING STATES
======================================== */
.form-notification {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
  animation: slideDown 0.3s ease-out;
}

.form-notification.success {
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
  border: 1px solid #10B981;
}

.form-notification.error {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: white;
  border: 1px solid #EF4444;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.notification-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.notification-message {
  line-height: 1.4;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading button states */
.btn-send {
  position: relative;
  transition: all 0.3s ease;
}

.btn-send:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.btn-loading svg {
  width: 20px;
  height: 20px;
  color: white;
}

/* ========================================
   FOOTER COPYRIGHT INTÉGRÉ
======================================== */
.footer-copyright {
  margin-top: 40px;
  padding-top: 30px;
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

@media (max-width: 768px) {
  .footer-copyright {
    margin-top: 30px;
    padding-top: 20px;
  }
  
  .footer-copyright p {
    font-size: 12px;
  }
}
