/* ============================================================
   PROVENCIA DÉBARRAS — STYLES PRINCIPAUX
   Couleurs : Bleu marine #0D2B4B | Vert émeraude #1A7A5E | Blanc #FFFFFF
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0D2B4B;
  --navy-dark:   #091D33;
  --navy-mid:    #143A62;
  --emerald:     #1A7A5E;
  --emerald-dk:  #145F49;
  --emerald-lt:  #22A07D;
  --white:       #FFFFFF;
  --off-white:   #F5F7FA;
  --text:        #1A2433;
  --text-light:  #4A5568;
  --border:      #E2E8F0;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(13,43,75,0.10);
  --shadow-lg:   0 8px 48px rgba(13,43,75,0.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: var(--emerald);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -0.5px;
}

.brand-icon-sm {
  width: 38px;
  height: 38px;
  min-width: 38px;
  font-size: 0.85rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.brand-name {
  font-weight: 700;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  white-space: nowrap;
}

.header-cta {
  flex-shrink: 0;
  background: var(--emerald);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background 0.2s;
  white-space: nowrap;
}

.header-cta:hover { background: var(--emerald-dk); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--emerald);
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 18px 36px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(26,122,94,0.35);
  text-align: center;
  gap: 4px;
}

.btn-primary:hover {
  background: var(--emerald-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26,122,94,0.45);
}

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

.btn-xl {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  padding: 20px 44px;
  border-radius: var(--radius-lg);
}

.btn-icon {
  font-size: 1.6rem;
  margin-bottom: 2px;
}

.btn-sub {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.3px;
}

.btn-white {
  background: var(--white);
  color: var(--emerald);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
  background: var(--off-white);
  color: var(--emerald-dk);
}

.btn-full {
  width: 100%;
  font-size: 1rem;
  padding: 16px 24px;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-bg.active {
  opacity: 1;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,29,51,0.88) 0%, rgba(13,43,75,0.78) 60%, rgba(26,122,94,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  text-align: center;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: var(--emerald);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 22px;
  color: var(--white);
}

.hero h1 em {
  font-style: italic;
  color: #6EDBB8;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-reassurance {
  margin-top: 18px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.3px;
}

/* ---- TRUST STRIP ---- */
.trust-strip {
  background: var(--navy);
  padding: 28px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--white);
}

.trust-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  background: var(--emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 2px;
}

.trust-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.trust-item span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

/* ---- SECTION HEADERS ---- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

.section-header-light h2 { color: var(--white); }
.section-header-light p { color: rgba(255,255,255,0.75); }

.highlight {
  color: var(--emerald);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 10px;
}

/* ---- SITUATIONS ---- */
.situations {
  padding: 80px 0;
  background: var(--off-white);
}

.situations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.situation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border-left: 5px solid var(--emerald);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

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

.card-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Playfair Display', Georgia, serif;
}

.situation-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.situation-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

.card-diogene { border-left-color: #C0392B; }

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--emerald);
  padding: 60px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.cta-band-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--white);
  margin-bottom: 10px;
}

.cta-band-text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  max-width: 440px;
}

/* ---- PROCESSUS ---- */
.processus {
  padding: 80px 0;
  background: var(--white);
}

.steps-grid {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
}

.step-num {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.step-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.step-arrow {
  font-size: 2rem;
  color: var(--emerald);
  flex-shrink: 0;
  align-self: center;
}

/* ---- TEAM SECTION ---- */
.team-section {
  padding: 80px 0;
  background: var(--off-white);
}

.team-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.team-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  height: 420px;
}

.team-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
}

.team-text > p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  color: var(--emerald);
  font-weight: 800;
  min-width: 18px;
  margin-top: 1px;
}

/* ---- ZONE ---- */
.zone-section {
  padding: 70px 0;
  background: var(--white);
}

.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}

.zone-tag {
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
}

.zone-tag-more {
  background: var(--emerald);
}

/* ---- CTA FINAL ---- */
.cta-final {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  text-align: center;
}

.cta-final-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-final h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
  margin-bottom: 14px;
}

.cta-final > .container > .cta-final-inner > p,
.cta-final-inner > p:first-of-type {
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  font-size: 1rem;
}

.cta-final-note {
  margin-top: 18px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

/* ---- CONTACT SECTION ---- */
.contact-section {
  padding: 80px 0;
  background: var(--navy);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--white);
}

.ci-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-item a,
.contact-info-item span {
  font-size: 0.98rem;
  color: var(--white);
  font-weight: 500;
}

.contact-info-item a:hover {
  color: #6EDBB8;
}

/* ---- FORM ---- */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}

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

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

#formStatus {
  margin-top: 12px;
  font-size: 0.9rem;
  border-radius: 8px;
}

#formStatus p { padding: 10px; border-radius: 8px; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
}

.btn-footer-cta {
  display: inline-block;
  margin-top: 16px;
  background: var(--emerald);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s;
}

.btn-footer-cta:hover { background: var(--emerald-dk); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy-dark);
  padding: 60px 0 0;
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}

.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}

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

.footer-contact a:hover { color: #6EDBB8; }

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ---- AVANT / APRÈS ---- */
.avant-apres-section {
  padding: 80px 0;
  background: var(--navy-dark);
}

.avant-apres-section .section-header h2 {
  color: var(--white);
}

.avant-apres-section .section-header p {
  color: rgba(255,255,255,0.7);
}

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

.aa-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aa-caption {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

.aa-slider {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  box-shadow: var(--shadow-lg);
}

.aa-before,
.aa-after {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.aa-after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.05s ease;
}

.aa-label {
  position: absolute;
  bottom: 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  color: var(--white);
}

.aa-label-before {
  left: 14px;
  background: rgba(180,40,30,0.85);
}

.aa-label-after {
  right: 14px;
  background: rgba(26,122,94,0.9);
}

.aa-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  pointer-events: none;
  z-index: 10;
}

.aa-handle-line {
  flex: 1;
  width: 3px;
  background: var(--white);
  opacity: 0.85;
}

.aa-handle-circle {
  width: 44px;
  height: 44px;
  min-height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 900;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

@media (max-width: 900px) {
  .aa-grid { grid-template-columns: 1fr; }
  .aa-slider { height: 280px; }
}

/* ---- SCROLL ANIMATIONS ---- */
.reveal-anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-anim.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- MOBILE ---- */
.d-none-mobile { display: inline; }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .team-inner { grid-template-columns: 1fr; gap: 36px; }
  .team-image img { height: 280px; }
  .situations-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .d-none-mobile { display: none; }
}

@media (max-width: 480px) {
  .hero-content { padding: 80px 16px 60px; }
  .btn-xl { padding: 18px 24px; }
  .hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
}
