/* ============================================
   INDRE-ET-LOIRE MOUSTIQUAIRE
   Feuille de style principale
   ============================================ */

/* ---------- 1. VARIABLES & RESET ---------- */
:root {
  /* Couleurs charte */
  --vert-principal: #1F5F3F;
  --vert-fonce: #143F2A;
  --vert-clair: #4A8C5F;
  --vert-pale: #E8F1EC;
  --vert-bg: #F4F9F5;

  --noir: #1A1A1A;
  --gris-texte: #555555;
  --gris-clair: #F5F5F5;
  --gris-bordure: #E5E5E5;
  --blanc: #FFFFFF;

  /* Typographie */
  --font-titre: 'Oswald', 'Arial Narrow', sans-serif;
  --font-corps: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Espacements */
  --container: 1200px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-corps);
  font-size: 16px;
  line-height: 1.6;
  color: var(--noir);
  background: var(--blanc);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ---------- 2. TYPOGRAPHIE ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titre);
  font-weight: 700;
  line-height: 1.2;
  color: var(--noir);
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  text-transform: uppercase;
}

h4 {
  font-size: 1.15rem;
}

p {
  color: var(--gris-texte);
  margin-bottom: 1rem;
}

.text-vert {
  color: var(--vert-principal);
}

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

/* ---------- 3. LAYOUT ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gris-texte);
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-bg {
  background: var(--vert-bg);
}

/* ---------- 4. BOUTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-titre);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--vert-principal);
  color: var(--blanc);
  border-color: var(--vert-principal);
}

.btn-primary:hover {
  background: var(--vert-fonce);
  border-color: var(--vert-fonce);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--blanc);
  color: var(--vert-principal);
  border-color: var(--vert-principal);
}

.btn-secondary:hover {
  background: var(--vert-principal);
  color: var(--blanc);
}

.btn-tel {
  background: var(--noir);
  color: var(--blanc);
  border-color: var(--noir);
}

.btn-tel:hover {
  background: var(--vert-principal);
  border-color: var(--vert-principal);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ---------- 5. HEADER & NAVIGATION ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blanc);
  border-bottom: 1px solid var(--gris-bordure);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  width: 50px;
  height: 50px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  font-family: var(--font-titre);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--noir);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logo-text span {
  font-family: var(--font-titre);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--vert-principal);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-menu a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--noir);
  position: relative;
  padding: 4px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--vert-principal);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vert-principal);
}

.header-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-titre);
  font-weight: 600;
  color: var(--vert-principal);
  font-size: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-tel span {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--noir);
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--vert-bg) 0%, var(--blanc) 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  background: var(--vert-principal);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.06;
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vert-pale);
  color: var(--vert-principal);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--vert-principal);
  display: block;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--gris-texte);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--noir);
  font-size: 0.95rem;
}

.hero-feature svg {
  flex-shrink: 0;
  color: var(--vert-principal);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.hero-visual-card .logo-img {
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.hero-visual-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 560px;
  z-index: 2;
}

.hero-visual-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual-tag {
  position: absolute;
  background: var(--vert-principal);
  color: var(--blanc);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

.hero-visual-tag.top {
  top: 20px;
  right: -10px;
  transform: rotate(5deg);
}

.hero-visual-tag.bottom {
  bottom: 30px;
  left: -20px;
  transform: rotate(-3deg);
  background: var(--noir);
}

/* ---------- 7. AVANTAGES (Features) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--blanc);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--gris-bordure);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--vert-principal);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--vert-pale);
  color: var(--vert-principal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- 8. PRODUITS ---------- */
.produits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.produit-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.produit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.produit-image {
  height: 220px;
  background: linear-gradient(135deg, var(--vert-pale) 0%, var(--vert-clair) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.produit-image svg {
  width: 100px;
  height: 100px;
  color: var(--vert-principal);
}

.produit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.produit-card:hover .produit-image img {
  transform: scale(1.05);
}

.produit-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--vert-principal);
  color: var(--blanc);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.produit-body {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.produit-body h3 {
  margin-bottom: 12px;
}

.produit-body p {
  flex-grow: 1;
  margin-bottom: 20px;
}

.produit-features {
  margin-bottom: 24px;
}

.produit-features li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.92rem;
  color: var(--gris-texte);
}

.produit-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--vert-principal);
  font-weight: bold;
}

/* ---------- 9. SECTION 2 COLONNES ---------- */
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-cols-text h2 {
  margin-bottom: 24px;
}

.two-cols-text .lead {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.two-cols-visual {
  background: var(--vert-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.two-cols-photo {
  padding: 0;
  overflow: hidden;
  min-height: 480px;
  box-shadow: var(--shadow-md);
}

.two-cols-photo img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.two-cols-visual svg {
  max-width: 280px;
  color: var(--vert-principal);
}

.checklist {
  margin: 24px 0;
}

.checklist li {
  padding: 12px 0;
  padding-left: 36px;
  position: relative;
  color: var(--noir);
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 24px;
  height: 24px;
  background: var(--vert-principal);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- 10. ÉTAPES (Process) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  position: relative;
}

.step {
  background: var(--blanc);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  position: relative;
  text-align: center;
  border: 1px solid var(--gris-bordure);
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--vert-principal);
  color: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titre);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.step p {
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- 11. TÉMOIGNAGES ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background: var(--blanc);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  border-top: 4px solid var(--vert-principal);
}

.testimonial-stars {
  color: #FFB400;
  margin-bottom: 16px;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 24px;
  color: var(--noir);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--vert-principal);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-info strong {
  display: block;
  color: var(--noir);
  font-size: 0.95rem;
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--gris-texte);
}

/* ---------- 12. FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--blanc);
  border: 1px solid var(--gris-bordure);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--vert-principal);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-corps);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--noir);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question:hover {
  color: var(--vert-principal);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--vert-pale);
  color: var(--vert-principal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--vert-principal);
  color: var(--blanc);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--gris-texte);
  line-height: 1.7;
}

/* ---------- 13. CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--vert-principal) 0%, var(--vert-fonce) 100%);
  color: var(--blanc);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M0 0L40 40M40 0L0 40' stroke='white' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  opacity: 0.3;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--blanc);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: var(--blanc);
  color: var(--vert-principal);
  border-color: var(--blanc);
}

.cta-banner .btn-primary:hover {
  background: var(--noir);
  color: var(--blanc);
  border-color: var(--noir);
}

.cta-banner .btn-secondary {
  background: transparent;
  color: var(--blanc);
  border-color: var(--blanc);
}

.cta-banner .btn-secondary:hover {
  background: var(--blanc);
  color: var(--vert-principal);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 14. FORMULAIRE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  background: var(--vert-principal);
  color: var(--blanc);
  padding: 48px;
  border-radius: var(--radius-lg);
}

.contact-info h2 {
  color: var(--blanc);
  margin-bottom: 20px;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-text strong {
  display: block;
  font-family: var(--font-titre);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.contact-info-text a,
.contact-info-text span {
  color: var(--blanc);
  font-weight: 500;
  font-size: 1.05rem;
}

.contact-info-text a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--blanc);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form h2 {
  margin-bottom: 12px;
}

.contact-form > p {
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--noir);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #D63031;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gris-bordure);
  border-radius: var(--radius);
  font-family: var(--font-corps);
  font-size: 1rem;
  color: var(--noir);
  background: var(--blanc);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--vert-principal);
  box-shadow: 0 0 0 3px var(--vert-pale);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
  font-family: var(--font-corps);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%231F5F3F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gris-texte);
  margin-bottom: 24px;
}

.form-checkbox input {
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: var(--vert-principal);
}

.form-submit {
  width: 100%;
}

.form-success {
  display: none;
  background: var(--vert-pale);
  border-left: 4px solid var(--vert-principal);
  padding: 20px 24px;
  border-radius: var(--radius);
  color: var(--vert-fonce);
}

.form-success.show {
  display: block;
}

.form-success strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

/* ---------- 15. CARTE ---------- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- 16. PAGE HEADER ---------- */
.page-header {
  background: linear-gradient(135deg, var(--vert-principal) 0%, var(--vert-fonce) 100%);
  color: var(--blanc);
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M0 0L40 40M40 0L0 40' stroke='white' stroke-width='0.5' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}

.page-header > * {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--blanc);
  margin-bottom: 16px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: var(--blanc);
}

/* ---------- 17. À PROPOS ---------- */
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--blanc);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gris-bordure);
}

.stat-number {
  font-family: var(--font-titre);
  font-size: 3rem;
  font-weight: 700;
  color: var(--vert-principal);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gris-texte);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- 18. FOOTER ---------- */
.footer {
  background: var(--noir);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: var(--blanc);
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-titre);
}

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--vert-clair);
  padding-left: 4px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text strong {
  color: var(--blanc);
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-contact {
  font-size: 0.95rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-contact-item svg {
  color: var(--vert-clair);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact-item a:hover {
  color: var(--vert-clair);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-link:hover {
  background: var(--vert-clair);
  border-color: var(--vert-clair);
  transform: translateY(-3px);
  color: var(--blanc);
}

.social-link.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #FEDA75 0%, #FA7E1E 25%, #D62976 50%, #962FBF 75%, #4F5BD5 100%);
  border-color: transparent;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--vert-clair);
}

/* ---------- 19. BOUTON FLOTTANT ---------- */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--vert-principal);
  color: var(--blanc);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.floating-cta:hover {
  background: var(--vert-fonce);
  transform: scale(1.1);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 95, 63, 0.5); }
  50% { box-shadow: 0 0 0 16px rgba(31, 95, 63, 0); }
}

/* ---------- 20. ANIMATIONS ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

/* ---------- 21. RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .nav-menu {
    gap: 22px;
  }
  .nav-menu a {
    font-size: 0.9rem;
  }
  .header-tel {
    font-size: 0.95rem;
  }
  .header-cta .btn-primary {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 992px) {
  .hero-inner,
  .two-cols,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .header-cta .btn:not(.btn-tel) {
    display: none;
  }

  .header-tel span {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--blanc);
    flex-direction: column;
    padding: 30px 24px;
    gap: 0;
    box-shadow: var(--shadow-md);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    height: calc(100vh - 82px);
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu a {
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid var(--gris-bordure);
    font-size: 1.05rem;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 50px 0 60px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-visual-card {
    padding: 24px;
  }

  .hero-visual-card .logo-img {
    width: 140px;
    height: 140px;
  }

  .hero-visual-tag {
    font-size: 0.7rem;
    padding: 6px 12px;
    letter-spacing: 0.3px;
  }

  .hero-visual-tag.top {
    top: 6px;
    right: 6px;
    transform: rotate(3deg);
  }

  .hero-visual-tag.bottom {
    bottom: 6px;
    left: 6px;
    transform: rotate(-2deg);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-info,
  .contact-form {
    padding: 32px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .floating-cta {
    width: 56px;
    height: 56px;
    bottom: 16px;
    right: 16px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 12px 16px;
    gap: 12px;
  }

  .logo-text strong {
    font-size: 0.85rem;
  }

  .logo-text span {
    font-size: 0.65rem;
  }

  .logo-img {
    width: 42px;
    height: 42px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-features {
    gap: 16px;
    flex-direction: column;
  }
}

/* ============================================
   17. OUTIL DEVIS EN LIGNE (prise de cotes)
   ============================================ */

.devis-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.devis-progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gris-texte);
}

.devis-progress-step .num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--gris-bordure);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gris-texte);
  background: var(--blanc);
  transition: var(--transition);
}

.devis-progress-step .label {
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.devis-progress-step.active .num,
.devis-progress-step.done .num {
  border-color: var(--vert-principal);
  background: var(--vert-principal);
  color: var(--blanc);
}

.devis-progress-step.active .label,
.devis-progress-step.done .label {
  color: var(--vert-principal);
}

.devis-progress-line {
  width: 40px;
  height: 2px;
  background: var(--gris-bordure);
}

.devis-progress-line.done {
  background: var(--vert-principal);
}

.devis-step {
  max-width: 780px;
  margin: 0 auto;
}

.devis-step[hidden] {
  display: none;
}

.devis-step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.devis-step-actions .btn {
  flex: 1;
}

.devis-note {
  background: var(--vert-bg);
  border-left: 4px solid var(--vert-principal);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--gris-texte);
  font-size: 0.92rem;
  margin-bottom: 32px;
}

/* ---- Liste des ouvertures ---- */
.opening-empty {
  text-align: center;
  padding: 48px 24px;
  border: 2px dashed var(--gris-bordure);
  border-radius: var(--radius-lg);
  color: var(--gris-texte);
}

.opening-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.opening-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1.5px solid var(--gris-bordure);
  border-radius: var(--radius-lg);
  background: var(--blanc);
}

.opening-card-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--vert-principal);
}

.opening-card-icon svg {
  width: 100%;
  height: 100%;
}

.opening-card-body {
  flex: 1;
  min-width: 0;
}

.opening-card-body h4 {
  font-family: var(--font-corps);
  font-size: 1rem;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 2px;
}

.opening-card-body p {
  font-size: 0.85rem;
  color: var(--gris-texte);
  margin: 0;
}

.opening-card-photo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--gris-bordure);
}

.opening-card-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1.5px solid var(--gris-bordure);
  background: var(--blanc);
  color: var(--gris-texte);
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:hover {
  border-color: var(--vert-principal);
  color: var(--vert-principal);
}

.btn-icon.danger:hover {
  border-color: #D63031;
  color: #D63031;
}

.btn-add-opening {
  width: 100%;
  border: 2px dashed var(--vert-clair);
  background: var(--vert-bg);
  color: var(--vert-fonce);
  padding: 16px;
  border-radius: var(--radius-lg);
  font-family: var(--font-corps);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-opening:hover {
  background: var(--vert-pale);
  border-color: var(--vert-principal);
}

/* ---- Éditeur d'ouverture (overlay) ---- */
.opening-editor-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000;
  padding: 0;
}

.opening-editor-overlay[hidden] {
  display: none;
}

.opening-editor-panel {
  background: var(--blanc);
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 28px 24px 32px;
}

@media (min-width: 640px) {
  .opening-editor-overlay {
    align-items: center;
    padding: 24px;
  }

  .opening-editor-panel {
    border-radius: var(--radius-lg);
    max-height: 88vh;
  }
}

.opening-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.opening-editor-header h3 {
  font-size: 1.3rem;
  margin: 0;
}

.shape-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.shape-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border: 1.5px solid var(--gris-bordure);
  border-radius: var(--radius);
  background: var(--blanc);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.shape-card svg {
  width: 48px;
  height: 48px;
  color: var(--gris-texte);
}

.shape-card span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gris-texte);
  line-height: 1.2;
}

.shape-card:hover {
  border-color: var(--vert-clair);
}

.shape-card.selected {
  border-color: var(--vert-principal);
  background: var(--vert-pale);
}

.shape-card.selected svg,
.shape-card.selected span {
  color: var(--vert-principal);
}

.opening-detail-form[hidden] {
  display: none;
}

.dimensions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.photo-capture {
  margin-bottom: 20px;
}

.photo-capture-preview {
  position: relative;
  width: 100%;
  max-width: 220px;
  margin-top: 12px;
}

.photo-capture-preview img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--gris-bordure);
  display: block;
}

.photo-capture-preview button {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #D63031;
  color: var(--blanc);
  border: 2px solid var(--blanc);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

.btn-photo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--vert-principal);
  background: var(--blanc);
  color: var(--vert-principal);
  font-family: var(--font-corps);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-photo:hover {
  background: var(--vert-pale);
}

.opening-editor-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.opening-editor-actions .btn {
  flex: 1;
}

/* ---- Récapitulatif ---- */
.summary-box {
  background: var(--gris-clair);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.summary-box h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.summary-box dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 0;
}

.summary-box dt {
  color: var(--gris-texte);
  font-weight: 600;
}

.summary-box dd {
  margin: 0;
  color: var(--noir);
}

.summary-opening {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gris-bordure);
}

.summary-opening:last-child {
  border-bottom: none;
}

.summary-opening img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--gris-bordure);
  flex-shrink: 0;
}

.summary-opening-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  color: var(--vert-principal);
}

.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.summary-actions .btn {
  flex: 1;
  min-width: 200px;
}

@media (max-width: 600px) {
  .shape-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dimensions-row {
    grid-template-columns: 1fr;
  }

  .devis-step-actions {
    flex-direction: column-reverse;
  }

  .devis-progress-step .label {
    display: none;
  }

  .devis-progress-line {
    width: 24px;
  }
}
