/* ==========================================================================
   0. IMPORTATION DES POLICES GOOGLE FONTS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Plus+Jakarta+Sans:wght@300;400;600&family=Syne:wght@600;700;800&display=swap');

/* ==========================================================================
   1. RESET & VARIABLES GLOBALES
   ========================================================================== */
:root {
  --bg: #ffffff;
  --bg1: #fcc110;  
  --bg2: #eb6121;    
  --surface: #18191c;
  --surface1: #004c9c;  
  --surface2: #fcc110;  
  --surface3: #40b077;  
  --surface4: #eb6121;    
  --surface-hover: #222428;
  --border: #2a2c32;
  --border1: #fcc110; 
  --border2: #ffffff;  
  --border3: #eb6121;    
  --text: #000000;
  --text1: #eb6121;  
  --text2: #fcc110; 
  --text3: #004c9c;   
  --text4: #ffffff;    
  --muted: #9ca3af;
  --muted1: #000000;  
  --muted2: #ffffff;     
  --accent-green: #10b981;
  --font-heading: 'Montserrat', sans-serif;  
  --font-heading1: 'Montserrat', sans-serif;  
  --font-body: 'Montserrat', sans-serif;
  --font-montserrat: 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

/* ==========================================================================
   2. STRUCTURE, CONTENEURS & TYPOGRAPHIE
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.bg-surface {
  background: var(--surface);
}

.bg-surface2 {
  background: var(--surface2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 2rem;
}

.section-title1 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted1);
  margin-bottom: 2rem;
}

.section-title2 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted2);
  margin-bottom: 2rem;
}

.page-header {
  padding: 8rem 0 4rem 0;
  border-bottom: 1px solid var(--border1);
}

.page-header.text-center {
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--muted1);
  max-width: 600px;
}

.page-header.text-center p {
  margin: 0 auto;
}

/* Exemples d'utilisation rapide de Montserrat si besoin */
.font-montserrat {
  font-family: var(--font-montserrat);
}

.montserrat-regular {
  font-family: var(--font-montserrat);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.montserrat-bold {
  font-family: var(--font-montserrat);
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

/* ==========================================================================
   3. NAVIGATION & HEADER
   ========================================================================== */
nav {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

/* Modifié pour agrandir le logo */
.logo-img {
  height: 80px; /* Augmente cette valeur (ex: 50px, 60px, 65px) */
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:hover {
  color: var(--muted);
}

.nav-links a.active {
  border-bottom: 1px solid var(--text);
}

/* ==========================================================================
   4. BOUTONS
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  background: #40b077;
}

.btn-secondary {
  border: 1px solid var(--border1);
  color: var(--text2);
  background: transparent;
}

.btn-secondary:hover {
  border-color: var(--text3);
  background: #004c9c;
}

.btn-full {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

/* ==========================================================================
   5. COMPOSANTS RÉUTILISABLES (GRILLES & CARTES VISUELLES)
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.visual-card {
  background: var(--surface1);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border2);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: block;
}

.visual-card2 {
  background: var(--surface2);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border2);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: block;
}

.visual-card3 {
  background: var(--surface3);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border2);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: block;
}

.visual-card:hover,
.visual-card2:hover,
.visual-card3:hover {
  transform: translateY(-4px);
  border-color: var(--muted);
}

.visual-card.padded,
.visual-card2.padded,
.visual-card3.padded {
  padding: 2rem;
}

.card-img-placeholder {
  width: 100%;
  height: 280px;
  background: #23252a;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.card-img-placeholder.rounded {
  border-radius: 12px;
}

.card-content {
  padding: 1.5rem;
}

.card-content h3, .card-content h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.card-content p {
  color: var(--muted2);
  font-size: 0.95rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.card-tag1 {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted1);
  margin-bottom: 0.5rem;
}

.card-tag2 {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted2);
  margin-bottom: 0.5rem;
}

.card-list {
  color: var(--muted2);
  font-size: 0.85rem;
  padding-left: 1.2rem;
  margin-top: 1rem;
  list-style: disc;
}

/* ==========================================================================
   6. STYLES SPÉCIFIQUES PAR HOMEPAGE / BLOCS
   ========================================================================== */
/* Hero Section */
.hero {
  padding: 6rem 0 8rem 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Positionnement Statement */
.positioning-statement {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.3;
}

/* Grille de méthode condensée (Accueil) */
.steps-condensed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--border1);
}

.step-title {
  font-family: var(--font-heading);
}

.step-desc {
  color: var(--muted1);
  font-size: 0.9rem;
}

.link-more {
  display: inline-block;
  margin-top: 2rem;
  color: var(--text);
  border-bottom: 1px solid var(--text);
}

/* Section À Propos (Accueil + Page dédiée) */
.about-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-grid-page {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

/* Contact CTA (Accueil) */
.contact-cta-box {
  text-align: center;
  background: var(--surface);
  border-radius: 20px;
  padding: 5rem 2rem;
  border: 1px solid var(--border);
}

.contact-cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.contact-cta-box p {
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   7. STYLES PAGE DE CONTACT & FORMULAIRE
   ========================================================================== */
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  background: var(--surface2);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--border1);
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text1);
  font-weight: bold;
}

/* Champs de texte, listes déroulantes et zone de texte */
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg2);
  border: 1px solid var(--border1);
  color: var(--text4); /* Couleur du texte saisi */
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px; /* Évite le zoom auto iOS */
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
  max-width: 100%;
}

/* Style du texte indicatif (placeholder) */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #ffffff; /* Modifier ici la couleur du texte d'aide */
  opacity: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--muted);
}

.form-group select option {
  background: var(--bg2);
  color: var(--text4);
}

.response-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border1);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--muted1);
  margin-top: 1.5rem;
  max-width: 100%;
  text-align: center;
}

.response-notice span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ==========================================================================
   8. STYLES PAGE FAQ
   ========================================================================== */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.faq-item2 {
  background: var(--surface1);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 2rem;
}

.faq-item h3,
.faq-item2 h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.faq-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item2 p {
  color: var(--muted2);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   9. STYLES PAGE PROCESSUS
   ========================================================================== */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.process-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}

.process-deliverable {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text1);
  background: var(--surface2);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  border: 1px solid var(--border1);
  margin-top: 0.5rem;
}

/* ==========================================================================
   10. STYLES PAGE DÉTAIL PROJET
   ========================================================================== */
.project-meta-bar {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  color: var(--muted1);
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.project-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.project-intro h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.project-intro p {
  color: var(--muted1);
  font-size: 1.1rem;
  line-height: 1.8;
}

.project-two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-no-border {
  border-bottom: none;
}

/* ==========================================================================
   11. STYLES PAGE À PROPOS (VALEURS)
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
}

.value-card2 {
  background: var(--surface4);
  border: 1px solid var(--border1);
  padding: 2rem;
  border-radius: 12px;
}

.value-card h4,
.value-card2 h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.value-card2 p {
  color: var(--muted2);
  font-size: 0.9rem;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
footer {
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
  color: var(--muted1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h5 {
  color: var(--text1);
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   13. MEDIA QUERIES (RESPONSIVE TABLETTE & MOBILE)
   ========================================================================== */

/* Écrans intermédiaires / Tablettes */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  nav {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
  }

  .about-grid-page {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Spécifique aux très petits écrans (iPhone SE / Smartphones < 400px) */
@media (max-width: 400px) {
  section {
    padding: 4rem 0;
  }

  .page-header {
    padding: 5rem 0 2.5rem 0;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 1.25rem 1rem;
    border-radius: 12px;
    gap: 1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem 0.9rem;
    text-overflow: ellipsis;
  }

  .btn-full {
    max-width: 100%;
    width: 100%;
  }

  .response-notice {
    font-size: 0.75rem;
    padding: 0.6rem 1rem;
  }

  .contact-cta-box {
    padding: 3rem 1rem;
  }
}

/* ==========================================================================
   14. STYLES PAGE CGV (CONDITIONS GÉNÉRALES DE VENTE)
   ========================================================================== */
.cgv-wrapper {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.cgv-article {
  background: var(--surface2);
  border: 1px solid var(--border1);
  border-radius: 12px;
  padding: 2.5rem;
}

.cgv-article h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border3);
  padding-bottom: 0.8rem;
}

.cgv-article p {
  color: var(--muted2);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.cgv-article p:last-child {
  margin-bottom: 0;
}

.cgv-article ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.cgv-article ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.cgv-article strong {
  color: var(--text);
}

/* Ajustement mobile pour les CGV */
@media (max-width: 400px) {
  .cgv-article {
    padding: 1.5rem 1.25rem;
  }
  
  .cgv-article h2 {
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   15. STYLES SÉPARATEUR & MODULE PRENDRE RENDEZ-VOUS (GOOGLE CALENDAR)
   ========================================================================== */
.section-divider {
  border: 0;
  border-top: 1px solid var(--border1);
  margin: 0;
  width: 100%;
}

.booking-section {
  background: var(--surface5);
  padding: 6rem 0;
}

.booking-header {
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.booking-header h2 {
  font-family: var(--font-heading);
  color: #004c9c;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 0.8rem;
}

.booking-header p {
  color: var(--muted1);
  font-size: 1.05rem;
}

.booking-calendar-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 16px;
  border: 1px solid var(--border1);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.booking-calendar-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 650px;
}

@media (max-width: 768px) {
  .booking-calendar-wrapper iframe {
    min-height: 550px;
  }
}
/* ==========================================================================
   16. STYLES PAGE MENTIONS LÉGALES
   ========================================================================== */
.page-title-blue {
  color: #004C9C;
}

.legal-section {
  padding: 3rem 0;
}

.legal-container {
  max-width: 800px;
  line-height: 1.8;
}

.legal-block {
  margin-bottom: 2.5rem;
}

.legal-block h2 {
  color: #004C9C;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.legal-block p {
  margin-bottom: 1rem;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-link {
  color: #004C9C;
  text-decoration: underline;
}

.legal-link:hover {
  opacity: 0.8;
}