/* Deux blocs initiaux de index.html : copie réservée aux annexes. */

/* =========================================================
   Tailwind CSS — classes utilisées dans index.html uniquement
   Généré manuellement — remplace le CDN cdn.tailwindcss.com
   ========================================================= */

/* ---- Reset / base ---- */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: ui-sans-serif,system-ui,sans-serif; scroll-behavior: smooth; }
body { margin: 0; line-height: inherit; }
h1,h2,h3,h4,h5,h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
blockquote, figure { margin: 0; }
ol, ul { list-style: none; margin: 0; padding: 0; }
img, svg, video { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; font-size: 100%; cursor: pointer; }
[hidden] { display: none; }

/* ---- Scroll smooth ---- */
.scroll-smooth { scroll-behavior: smooth; }

/* ---- Layout ---- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-6 { top: 1.5rem; }
.bottom-7 { bottom: 1.75rem; }
.right-6 { right: 1.5rem; }
.left-1\/2 { left: 50%; }
.left-\[2rem\] { left: 2rem; }
.-bottom-5 { bottom: -1.25rem; }
.-left-5 { left: -1.25rem; }
.z-50 { z-index: 50; }
.z-\[60\] { z-index: 60; }

/* ---- Display ---- */
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* ---- Flexbox / Grid ---- */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.place-items-center { place-items: center; }
.order-1 { order: 1; }
.order-2 { order: 2; }
.gap-0\.5 { gap: 0.125rem; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-9 { gap: 2.25rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-2 { row-gap: 0.5rem; }

/* ---- Grid columns ---- */
.grid-cols-1 { grid-template-columns: repeat(1,minmax(0,1fr)); }
.lg\:grid-cols-2 { grid-template-columns: none; } /* overridden at lg */
.lg\:grid-cols-3 { grid-template-columns: none; }

/* ---- Sizing ---- */
.w-full { width: 100%; }
.w-1\.5 { width: 0.375rem; }
.w-7 { width: 1.75rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; }
.h-full { height: 100%; }
.h-px { height: 1px; }
.h-1\.5 { height: 0.375rem; }
.h-7 { height: 1.75rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-\[280px\] { height: 280px; }
.h-\[72px\] { height: 72px; }
.min-h-screen { min-height: 100vh; }
.max-w-xs { max-width: 20rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-lg { max-width: 32rem; }
.max-w-\[15ch\] { max-width: 15ch; }

/* ---- Aspect ratio ---- */
.aspect-\[11\/10\] { aspect-ratio: 11/10; }
.aspect-\[4\/5\] { aspect-ratio: 4/5; }
.aspect-video { aspect-ratio: 16/9; }

/* ---- Spacing ---- */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-9 { margin-top: 2.25rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pb-7 { padding-bottom: 1.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.pl-16 { padding-left: 4rem; }
.space-y-2\.5 > * + * { margin-top: 0.625rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* ---- Typography ---- */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.italic { font-style: italic; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.text-\[1\.0625rem\] { font-size: 1.0625rem; }
.text-\[1\.125rem\] { font-size: 1.125rem; }
.text-\[1\.15rem\] { font-size: 1.15rem; }
.text-\[\#fbbc04\] { color: #fbbc04; }
.text-\[clamp\(1\.875rem\,3vw\,3rem\)\] { font-size: clamp(1.875rem,3vw,3rem); }
.text-\[clamp\(2\.5rem\,6vw\,4\.5rem\)\] { font-size: clamp(2.5rem,6vw,4.5rem); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.02\] { line-height: 1.02; }
.leading-\[1\.1\] { line-height: 1.1; }
.leading-\[1\.7\] { line-height: 1.7; }
.leading-\[1\.75\] { line-height: 1.75; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.tracking-\[0\.32em\] { letter-spacing: 0.32em; }

/* ---- Colors — brand palette ---- */
.text-brand-300 { color: #85c0b0; }
.text-brand-400 { color: #54a390; }
.text-brand-500 { color: #3a8477; }
.text-brand-600 { color: #2d6a60; }
.text-brand-700 { color: #27564e; }
.text-brand-800 { color: #234540; }
.text-brand-900 { color: #1f3a36; }
.text-brand-950 { color: #0d211f; }
.text-sand-50  { color: #faf8f5; }
.text-sand-100 { color: #f2ede4; }
.text-sand-200 { color: #e6dac9; }
.text-sand-300 { color: #d4c1a5; }
.text-sand-400 { color: #c2a684; }

.bg-brand-50  { background-color: #f0f7f4; }
.bg-brand-100 { background-color: #d9ede6; }
.bg-brand-400 { background-color: #54a390; }
.bg-brand-500 { background-color: #3a8477; }
.bg-brand-700 { background-color: #27564e; }
.bg-brand-950 { background-color: #0d211f; }
.bg-sand-50   { background-color: #faf8f5; }
.bg-sand-200  { background-color: #e6dac9; }
.bg-white     { background-color: #ffffff; }
.bg-white\/5  { background-color: rgb(255 255 255 / 0.05); }
.bg-white\/10 { background-color: rgb(255 255 255 / 0.10); }
.bg-brand-950\/80 { background-color: rgb(13 33 31 / 0.80); }

.border-brand-300\/30 { border-color: rgb(133 192 176 / 0.30); }
.border-brand-300\/40 { border-color: rgb(133 192 176 / 0.40); }
.border-brand-300\/50 { border-color: rgb(133 192 176 / 0.50); }
.border-brand-700 { border-color: #27564e; }
.border-brand-800 { border-color: #234540; }
.border-brand-800\/60 { border-color: rgb(35 69 64 / 0.60); }
.border-sand-200 { border-color: #e6dac9; }

/* ---- Border ---- */
.border { border-width: 1px; }
.border-0 { border-width: 0; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }

/* ---- Border radius ---- */
.rounded-full { border-radius: 9999px; }
.rounded-2xl  { border-radius: 1rem; }
.rounded-3xl  { border-radius: 1.5rem; }

/* ---- Shadow ---- */
.shadow-md  { box-shadow: 0 4px 6px -1px rgb(0 0 0/.1),0 2px 4px -2px rgb(0 0 0/.1); }
.shadow-lg  { box-shadow: 0 10px 15px -3px rgb(0 0 0/.1),0 4px 6px -4px rgb(0 0 0/.1); }
.shadow-xl  { box-shadow: 0 20px 25px -5px rgb(0 0 0/.1),0 8px 10px -6px rgb(0 0 0/.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0/.25); }

/* ---- Ring ---- */
.ring-4 { box-shadow: 0 0 0 4px var(--tw-ring-color); }
.ring-brand-400\/20 { --tw-ring-color: rgb(84 163 144 / 0.20); }

/* ---- Object fit ---- */
.object-cover { object-fit: cover; }

/* ---- Overflow ---- */
.overflow-hidden { overflow: hidden; }

/* ---- Backdrop ---- */
.backdrop-blur-md { backdrop-filter: blur(12px); }

/* ---- Pointer events ---- */
.pointer-events-none { pointer-events: none; }

/* ---- Translate ---- */
.-translate-x-1\/2 { transform: translateX(-50%); }

/* ---- Font families (custom) ---- */
.font-display { font-family: 'Playfair Display', serif; }
.font-body    { font-family: 'Jost', sans-serif; }

/* ---- Transition ---- */
.transition-colors { transition-property: color,background-color,border-color; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.transition-all    { transition-property: all; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }

/* ---- Hover states ---- */
.hover\:bg-brand-300:hover { background-color: #85c0b0; }
.hover\:bg-brand-600:hover { background-color: #2d6a60; }
.hover\:bg-brand-800:hover { background-color: #234540; }
.hover\:bg-white\/10:hover { background-color: rgb(255 255 255 / 0.10); }
.hover\:border-brand-300:hover { border-color: #85c0b0; }
.hover\:shadow-xl:hover  { box-shadow: 0 20px 25px -5px rgb(0 0 0/.1),0 8px 10px -6px rgb(0 0 0/.1); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgb(0 0 0/.25); }
.hover\:text-brand-300:hover { color: #85c0b0; }
.hover\:text-brand-500:hover { color: #3a8477; }
.hover\:text-sand-100:hover  { color: #f2ede4; }
.group:hover .group-hover\:bg-brand-400 { background-color: #54a390; }

/* ---- Animation ---- */
@keyframes bounce {
  0%,100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
  50%      { transform: translateY(0);   animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
.animate-bounce { animation: bounce 1s infinite; }

/* ---- Responsive: sm (640px) ---- */
@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:gap-5 { gap: 1.25rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .sm\:items-baseline { align-items: baseline; }
  .sm\:left-\[5rem\] { left: 5rem; }
  .sm\:pl-24 { padding-left: 6rem; }
  .sm\:w-44 { width: 11rem; }
}

/* ---- Responsive: md (768px) ---- */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:inline-flex { display: inline-flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .md\:p-7  { padding: 1.75rem; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* ---- Responsive: lg (1024px) ---- */
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:gap-14 { gap: 3.5rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .lg\:grid-cols-\[0\.95fr_1\.05fr\] { grid-template-columns: 0.95fr 1.05fr; }
  .lg\:grid-cols-\[1fr_1\.4fr\]      { grid-template-columns: 1fr 1.4fr; }
  .lg\:ml-auto { margin-left: auto; }
  .lg\:mr-0    { margin-right: 0; }
  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-0 { padding-top: 0; padding-bottom: 0; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}




  :root { color-scheme: dark; }
  html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  body {
    font-family: 'Jost', sans-serif;
    color: #faf8f5;
    background:
      radial-gradient(120% 90% at 80% 10%, rgba(132,192,176,0.12) 0%, transparent 45%),
      linear-gradient(135deg, #0d211f 0%, #16302b 45%, #1f3a36 100%);
    background-attachment: fixed;
    min-height: 100vh;
  }
  body::after {
    content: "";
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1' opacity='0.6'%3E%3Cpath d='M60 10 C 70 30, 90 40, 60 60 C 30 40, 50 30, 60 10 Z'/%3E%3Cpath d='M60 110 C 70 90, 90 80, 60 60 C 30 80, 50 90, 60 110 Z'/%3E%3Cpath d='M10 60 C 30 50, 40 30, 60 60 C 40 90, 30 70, 10 60 Z'/%3E%3Cpath d='M110 60 C 90 50, 80 30, 60 60 C 80 90, 90 70, 110 60 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.12;
  }
  h1,h2,h3,h4 { font-family: 'Playfair Display', serif; }

  .underline-anim { position: relative; }
  .underline-anim::after {
    content:''; position:absolute; left:0; bottom:-4px; height:1px; width:100%;
    background: currentColor; transform: scaleX(0); transform-origin: right;
    transition: transform .35s cubic-bezier(0.4,0,0.2,1);
  }
  .underline-anim:hover::after { transform: scaleX(1); transform-origin: left; }

  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(0.16,1,0.3,1), transform .7s cubic-bezier(0.16,1,0.3,1); }
  .reveal.in { opacity: 1; transform: translateY(0); }

  .btn-arrow svg { transition: transform .3s cubic-bezier(0.4,0,0.2,1); }
  .btn-arrow:hover svg { transform: translateX(4px); }

  .card-lift { transition: transform .35s cubic-bezier(0.4,0,0.2,1), box-shadow .35s ease, border-color .35s ease; }
  .card-lift:hover { transform: translateY(-6px); }

  /* Timeline formations complémentaires */
  .timeline { position: relative; }
  .timeline::before {
    content:''; position:absolute; left: 5.5rem; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, #85c0b0, #54a390, #85c0b0);
    opacity: 0.5;
  }
  @media (max-width: 640px) { .timeline::before { left: 0.5rem; } }

  @media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
  }

  /* Photo principale déplacée sur smartphone */
  .hero-photo-mobile {
    display: none !important;
  }

  @media (max-width: 767px) {
    .hero-photo-mobile {
      display: block !important;
      margin: 0 0 2rem;
    }

    .hero-photo-mobile img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 1.5rem;
      border: 1px solid rgba(116, 190, 174, 0.3);
      box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
    }

    .hero-photo-desktop {
      display: none !important;
    }
  }

  @media (min-width: 1024px) {
    .hero-kicker {
      white-space: nowrap;
    }
  }

  ::selection { background: #3a8477; color: #faf8f5; }
