/* ═══════════════════════════════════════════════
   WindCoach — style.css
   Mobile-first · SEO-friendly · Ocean aesthetic
═══════════════════════════════════════════════ */

/* ── VARIABLES ───────────────────────────────── */ 
:root {
  --ocean:      #0a2e4a;
  --deep:       #071e30;
  --sky:        #1a7db8;
  --turq:       #00c4cc;
  --foam:       #e8f7f8;
  --sand:       #f5ede0;
  --accent:     #ff6b2b;
  --accent2:    #ffd166;
  --white:      #ffffff;
  --text:       #1a2733;
  --text-light: #5a7080;
  --footer-bg:  #071e30;

  --ff-title: 'Barlow Condensed', sans-serif;
  --ff-body:  'Lato', sans-serif;

  --radius:  8px;
  --radius-lg: 20px;
  --shadow:  0 4px 24px rgba(0,0,0,.15);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.25);

  --nav-h: 70px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

/* ── RESET & BASE ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
img { display: block; width: 100%; height: auto; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ── TYPOGRAPHY ───────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-title);
  line-height: 1.1;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
p  { font-size: 1rem; }

/* ── UTILITY ──────────────────────────────────── */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}
.section-tag {
  display: inline-block;
  font-family: var(--ff-title);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--turq);
  margin-bottom: .8rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--outline { border: 2px solid var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--ocean); }
.btn--dark { background: var(--ocean); color: var(--white); }
.btn--dark:hover { background: var(--sky); }

/* ── SCROLL REVEAL ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── HEADER / NAVBAR ──────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(7, 30, 48, .97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.page-coaching .site-header,
.page-contact .site-header {
  background: var(--deep);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--white);
  font-family: var(--ff-title);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: .05em;
}
.logo strong { font-weight: 900; color: var(--turq); }
.logo-icon { font-size: 1.8rem; color: var(--turq); }
.logo-text .part2 {font-size: 1.6rem;display: block;padding: 0;letter-spacing: 0.4rem;text-transform: uppercase;}
.logo-text {text-align: center;line-height: 0.8;}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  color: rgba(255,255,255,.8);
  font-family: var(--ff-title);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 2px;
  background: var(--turq);
  transition: right var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.btn-nav-cta {
  padding: .5rem 1.4rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 50px;
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav-cta:hover { background: #e05520; transform: scale(1.05); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  z-index: 1010;
}
.burger span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO SLIDER ──────────────────────────────── */
.hero-slider {
  position: relative;
  height: 100svh;
  min-height: 500px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.slide.active img { transform: scale(1); }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7,30,48,.75) 0%,
    rgba(7,30,48,.3) 60%,
    transparent 100%
  );
}
.slide-content {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1200px;
  color: var(--white);
}
.slide-content .section-tag { color: var(--turq); }
.slide-content h1 { text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.slide-content p {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  max-width: 520px;
  margin: 1rem 0 2rem;
  opacity: .9;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 6%;
  right: 5%;
  display: flex;
  gap: 10px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.dot.active { background: var(--turq); transform: scale(1.4); }

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.6);
  font-family: var(--ff-title);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.4);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── SECTIONS COMMUNES ────────────────────────── */
section { padding: 80px 0; }

.section-header { margin-bottom: 3rem; }
.section-header h2 span { color: var(--turq); }

/* ── ABOUT (accueil) ──────────────────────────── */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 500px;
}
.about-img-wrap img { height: 100%; }
.about-badge {
  position: absolute;
  bottom: -1px; right: -1px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--ff-title);
  font-weight: 900;
  text-align: center;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-lg) 0 0 0;
  line-height: 1;
}
.about-badge .big { font-size: 2.2rem; }
.about-badge .small { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--text-light); margin-bottom: 1.2rem; }
.about-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--ff-title);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--sky);
  line-height: 1;
}
.stat-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); }

/* ── SERVICES CARDS ───────────────────────────── */
.services { background: var(--foam); }
.cards-grid {
  display: grid;
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: .5rem; }
.card-body p { color: var(--text-light); font-size: .95rem; }
.card-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: .3rem .9rem;
  background: var(--foam);
  color: var(--sky);
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  font-family: var(--ff-title);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ── TESTIMONIALS ─────────────────────────────── */
.testimonials { background: var(--ocean); color: var(--white); }
.testimonials .section-tag { color: var(--turq); }
.testimonials h2 { color: var(--white); }
.testi-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
.testi-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(6px);
}
.testi-stars { color: var(--accent2); margin-bottom: .8rem; font-size: 1.1rem; }
.testi-card p { font-size: .95rem; opacity: .85; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.testi-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-author strong { display: block; font-size: .95rem; }
.testi-author span { font-size: .8rem; opacity: .6; }

/* ── CTA BAND ─────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--sky) 0%, var(--turq) 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { opacity: .9; max-width: 540px; margin: 0 auto 2rem; }

/* ── FOOTER ───────────────────────────────────── */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.7); }
.footer-wave { line-height: 0; margin-bottom: -2px; }
.footer-wave svg { width: 100%; display: block; height: 80px; }
.footer-inner {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0 2rem;
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand p { font-size: .9rem; margin-top: .8rem; line-height: 1.6; }
.footer-links h4, .footer-social h4 {
  font-family: var(--ff-title);
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links ul li + li { margin-top: .5rem; }
.footer-links a { transition: color var(--transition); }
.footer-links a:hover { color: var(--turq); }
.social-icons { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.social-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-icon:hover { background: var(--turq); border-color: var(--turq); color: var(--white); }
.whatsapp-float {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #25D366;
  color: var(--white);
  padding: .7rem 1.4rem;
  border-radius: 50px;
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .05em;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,211,102,.4); }
.footer-bottom {
  text-align: center;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .82rem;
}
.footer-bottom a { color: var(--turq); }

/* ── PAGE INTERIEURE ──────────────────────────── */
.page-hero {
  padding-top: var(--nav-h);
  background: linear-gradient(135deg, var(--deep) 0%, var(--ocean) 100%);
  color: var(--white);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,196,204,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero-inner {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 3rem;
}
.breadcrumb {
  display: flex;
  gap: .5rem;
  font-size: .85rem;
  opacity: .6;
  margin-bottom: 1rem;
  font-family: var(--ff-title);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.breadcrumb a:hover { color: var(--turq); }
.breadcrumb .sep { opacity: .4; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { max-width: 600px; opacity: .85; font-size: 1.1rem; }

.inner-content {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

/* ── PRICING TABLE ────────────────────────────── */
.pricing-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
.pricing-card {
  border: 2px solid var(--foam);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--turq);
  box-shadow: 0 0 0 4px rgba(0,196,204,.12);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--turq);
  color: var(--white);
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .9rem;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-price {
  font-family: var(--ff-title);
  font-size: 3rem;
  font-weight: 900;
  color: var(--ocean);
  line-height: 1;
  margin: 1rem 0 .3rem;
}
.pricing-price sup { font-size: 1.4rem; vertical-align: top; margin-top: .5rem; }
.pricing-price sub { font-size: 1rem; font-weight: 400; }
.pricing-features { margin: 1.2rem 0 1.5rem; }
.pricing-features li {
  padding: .4rem 0;
  border-bottom: 1px solid var(--foam);
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.pricing-features li::before { content: '✓'; color: var(--turq); font-weight: 700; }

/* ── CONTACT FORM ─────────────────────────────── */
.contact-section { background: var(--foam); }
.contact-grid { display: grid; gap: 3rem; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-light); margin-bottom: 1.5rem; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.info-icon {
  width: 44px; height: 44px;
  background: var(--ocean);
  color: var(--turq);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.info-text strong { display: block; color: var(--text); font-size: .95rem; }
.info-text span { font-size: .9rem; color: var(--text-light); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.3rem; }
.form-row { display: grid; gap: 1rem; }
label {
  display: block;
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .4rem;
  color: var(--ocean);
}
input, select, textarea {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 2px solid #e0eaf0;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--text);
  background: #f9fbfc;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--turq);
  box-shadow: 0 0 0 4px rgba(0,196,204,.12);
  background: var(--white);
}
textarea { resize: vertical; min-height: 130px; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--text-light);
}
.form-checkbox input { width: auto; min-width: 18px; height: 18px; cursor: pointer; }
.form-submit {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-top: 1.5rem;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 2rem;
  background: #25D366;
  color: var(--white);
  border-radius: 50px;
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .05em;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,211,102,.4); }
.form-or {
  text-align: center;
  color: var(--text-light);
  font-size: .85rem;
  position: relative;
}
.form-or::before, .form-or::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: #e0eaf0;
}
.form-or::before { left: 0; }
.form-or::after { right: 0; }

/* Alert messages */
.alert {
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.alert--success { background: #e6f9ee; color: #1a7a44; border: 1px solid #b3e8c8; }
.alert--error   { background: #fdecea; color: #b91c1c; border: 1px solid #f9b0aa; }

/* ── GALLERY GRID ─────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}
.gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.gallery-item img { transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ── RESPONSIVE ───────────────────────────────── */
@media (min-width: 640px) {
  .cards-grid       { grid-template-columns: repeat(2, 1fr); }
  .testi-grid       { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid     { grid-template-columns: repeat(2, 1fr); }
  .form-row         { grid-template-columns: 1fr 1fr; }
  .gallery-grid     { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:first-child { grid-column: span 1; aspect-ratio: 1; }
  .form-submit      { flex-direction: row; }
}

@media (min-width: 900px) {
  .about-grid       { grid-template-columns: 1fr 1.2fr; }
  .cards-grid       { grid-template-columns: repeat(3, 1fr); }
  .testi-grid       { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid     { grid-template-columns: repeat(3, 1fr); }
  .contact-grid     { grid-template-columns: 1fr 1.6fr; }
  .footer-inner     { grid-template-columns: 2fr 1fr 1.5fr; }
  .footer-wave svg  { height: 80px; }
}

@media (max-width: 767px) {
  .burger { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--deep);
    padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
    display: flex; flex-direction: column;
    transition: right var(--transition);
    box-shadow: -4px 0 30px rgba(0,0,0,.3);
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 1.5rem; }
  .nav-link { font-size: 1.3rem; }
  .hero-btns { flex-direction: column; gap: .8rem; }
}


/* Protection par inversion de direction (RTL) */
.protected-email-fallback {
    unicode-bidi: bidi-override;
    direction: rtl;
    display: inline-block;
    color: var(--turq); /* Utilise votre variable de couleur */
}

/* Cache les placeholders avant que le JS ne les remplisse */
.js-only {
    display: none;
}