:root {
  --bg: #FFEED0;
  --bg-soft: #FFF7E7;
  --accent: #D0672E;      /* orange */
  --accent-soft: #F4C39D;
  --detail: #4D6705;      /* vert */
  --text-main: #2B2115;
  --text-muted: #7A5A3A;
  --border-soft: rgba(208, 103, 46, 0.24);
  --border-strong: rgba(208, 103, 46, 0.45);

  /* radius unifié */
  --radius-lg: 1rem;
  --radius-md: 1rem;
  --radius-pill: 999px;

  /* ombres adoucies */
  --shadow-soft: 0 10px 22px rgba(0, 0, 0, 0.04);
  --shadow-strong: 0 16px 35px rgba(0, 0, 0, 0.09);
}

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

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top, #fff6e3 0, var(--bg) 45%, #f8dfba 100%);
}

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

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 3rem;
}

@media (min-width: 900px) {
  .page {
    padding-top: 1.75rem;
  }
}

/* HEADER */

.header-shell {
  position: sticky;
  top: 18px;
  z-index: 40;
  padding-bottom: 0.75rem;
  offset:20px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.9rem;
  marginn: 0 -0.9rem;
  border-radius: 1rem;
  background: rgba(255, 247, 231, 0.96);
  border: 1px solid rgba(208, 103, 46, 0.22);
  box-shadow: 0 8px 22px rgba(208, 103, 46, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease,
    background 0.18s ease;
}

body.header-scrolled header {
  box-shadow: 0 12px 28px rgba(208, 103, 46, 0.12);
  border-color: rgba(208, 103, 46, 0.35);
}

/* Brand */

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    background: radial-gradient(circle at 25% 0, #d0672d, #d0672d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-text span:first-child {
  font-size: 0.9rem;
  font-weight: 600;
  color: black;
}

.brand-text span:last-child {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Nav */

nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

nav a {
  position: relative;
  padding: 0.2rem 0.1rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--detail); /* vert sous la nav */
  transition: width 0.15s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Burger */

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(208, 103, 46, 0.3);
  background: rgba(255, 247, 231, 0.98);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

@media (max-width: 720px) {
  nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 1.5rem;
    background: #fff7e7;
    border-radius: 0.9rem;
    border: 1px solid rgba(208, 103, 46, 0.3);
    padding: 0.6rem 0.9rem;
    flex-direction: column;
    gap: 0.3rem;
    box-shadow: 0 15px 32px rgba(208, 103, 46, 0.16);
    z-index: 20;
  }

  nav.nav-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* HERO */

.hero {
  margin-top: 2.3rem;
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-eyebrow {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-eyebrow .dot {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: var(--detail);
  box-shadow: 0 0 0 0 rgba(77, 103, 5, 0.4);
  animation: pulse-dot 1.8s ease-out infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(77, 103, 5, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(77, 103, 5, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(77, 103, 5, 0);
  }
}

.hero-title {
  font-size: clamp(2rem, 2.4vw + 1.4rem, 2.7rem);
  line-height: 1.12;
}

.hero-title span {
  display: block;
  font-size: 0.85em;
  color: var(--accent);
  margin-top: 0.4rem;
}

.hero-lead {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.7;
  max-width: 40rem;
}

.hero-lead strong {
  color: var(--accent);
  font-weight: 600;
}

.hero-bullets {
  list-style: none;
  margin-top: 0.2rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--text-main);
}

.hero-bullets li {
  position: relative;
  padding-left: 1.15rem;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.53rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--detail); /* puces vertes */
}

.hero-actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
}

.btn i {
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: #fffaf2;
  border-color: var(--accent);
  box-shadow: var(--shadow-strong);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #c2571d;
  border-color: #c2571d;
  box-shadow: 0 19px 40px rgba(194, 87, 29, 0.35);
}

.btn-secondary {
  background: #f0f6dd;
  color: var(--text-main);
  border-color: rgba(77, 103, 5, 0.4);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  background: #e5f0c4;
  border-color: rgba(77, 103, 5, 0.6);
}

.btn-inline {
  margin-top: 1.1rem;
}

.hero-status {
  margin-top: 0.8rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  background: #f2f7d8;
  border: 1px solid rgba(77, 103, 5, 0.45);
  color: var(--detail);
  font-size: 0.8rem;
}

.status-pill i {
  font-size: 0.9rem;
}

/* Hero right */

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.fact-card {
  width: 100%;
  max-width: 360px;
  background: #fff7e7;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.6rem;
  position: relative;
}

@media (max-width: 900px) {
.fact-card {
  width: 100%;
  max-width: fit-content;
}    
}

.fact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 0px solid rgba(77, 103, 5, 0.2);
  pointer-events: none;
}

.fact-card h2 {
  font-size: 1.08rem;
  margin-bottom: 0.9rem;
  color: var(--detail);
}

.fact-row + .fact-row {
  margin-top: 0.75rem;
}

.fact-row dt {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fact-row dt i {
  font-size: 1rem;
}

.fact-row dd {
  margin-left: 1.4rem;
  margin-top: 0.14rem;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* SECTIONS GENERIC */

.section {
  margin-bottom: 4rem;
}

/* Bandeau de titre de section, aligné sur les marges du site */
.section-header {
  margin: 0 0 1.9rem 0;
  padding: 1.5rem;                 /* même padding que tes cards */
  border-radius: var(--radius-lg); /* 1rem partout */
  background: #FFF7E7;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  width: 100%;
  display: block;
}

.section-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.section-header h2 span {
  color: var(--accent);
}

.section-header p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* SKILLS */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

@media (max-width: 980px) {
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .skills-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.skill-card {
  background: #fff7e7;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 1.1rem 1.15rem 1.1rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.skill-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at 25% 0, #f2f7d8, #4D6705);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fffbe6;
}

.skill-icon i {
  font-size: 1.1rem;
}

.skill-header h3 {
  font-size: 0.98rem;
}

.skill-body {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.6;
}

.pill-list {
  list-style: none;
  margin-top: 0.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.pill-list li {
    font-size: 0.78rem;
    padding: 0.16rem 0.55rem;
    border-radius: var(--radius-pill);
    background: #edf4d1;
    color: var(--text-main);
    border: 1px solid #a5af77;
}

/* EXPERIENCE */

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 900px) {
  .experience-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.experience-column {
  background: #fff7e7;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.experience-header {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  align-items: center;
  justify-content: flex-start;
  border-radius: 1rem;
}

.initial-pill {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: #edf4d1;
  border: 1px solid rgba(77, 103, 5, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--detail);
}

.experience-header h3 {
  font-size: 1.03rem;
}

.experience-header p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.experience-block + .experience-block {
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(208, 103, 46, 0.25);
}

.experience-block h4 {
  font-size: 0.94rem;
  margin-bottom: 0.1rem;
}

.experience-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.experience-list {
  list-style: none;
  font-size: 0.86rem;
  color: var(--text-main);
  line-height: 1.55;
  display: grid;
  gap: 0.22rem;
}

.experience-list li {
  position: relative;
  padding-left: 0.95rem;
}

.experience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--detail); /* puces vertes */
}

/* AVAILABILITY */

.availability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

@media (max-width: 980px) {
  .availability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .availability-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.availability-card {
  background: #fff7e7;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 1rem 1.1rem 1.05rem;
}

.availability-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
  color: var(--detail);
}

.availability-card p {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* CONTACT */

/* Colonne gauche déjà existante, on garde */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-main {
  background: #fff7e7;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-lead {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 0.7rem;
}

.contact-points {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.contact-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.contact-points i {
  font-size: 1rem;
  color: var(--detail);
  margin-top: 0.05rem;
}

/* CTA call / email */
.contact-actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.link-inline {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

/* Colonne droite revue : fond neutre, infos mises en valeur */
.contact-box {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: #fff7e7;                 /* plus de gradient vert */
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  font-size: 0.86rem;
  display: grid;
  gap: 0.85rem;
}

.contact-box-list {
  list-style: none;
  margin-top: 0.35rem;
  display: grid;
  gap: 0.25rem;
  color: var(--text-main);
}

.contact-box-list li {
  position: relative;
  padding-left: 0.95rem;
}

.contact-box-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--detail);           /* petit dot vert rassurant */
}

.contact-label {
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--detail);
}

.contact-box a {
  color: var(--accent);
  font-weight: 600;
  word-break: break-all;
}

.site-footer {
  margin-top: 3rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* MEDIA small */

@media (max-width: 640px) {
  .page {
    padding-inline: 1.1rem;
  }

  header {
    margin-inline: -1.1rem;
  }

  .hero {
    margin-top: 2rem;
    margin-bottom: 3.1rem;
  }

  .section {
    margin-bottom: 3.1rem;
  }
}

/* PRINT */

@media print {
  body {
    background: #ffffff !important;
    color: #111827 !important;
  }

  .page {
    max-width: 100%;
    padding: 0.5rem 1rem 1.5rem;
  }

  .header-shell {
    position: static;
    padding-bottom: 0.5rem;
  }

  header {
    margin: 0;
    border-radius: 0;
    box-shadow: none !important;
    background: #ffffff !important;
    border: none;
    padding: 0 0 0.5rem 0;
  }

  nav {
    display: none !important;
  }

  .hero,
  .section,
  .skills-grid,
  .experience-grid,
  .availability-grid,
  .contact-layout {
    box-shadow: none !important;
  }

  .hero-right,
  .fact-card,
  .skill-card,
  .experience-column,
  .availability-card,
  .contact-main,
  .contact-box {
    box-shadow: none !important;
    background: #ffffff !important;
  }

  .btn {
    border: 1px solid #111827;
    background: transparent !important;
    box-shadow: none !important;
  }

  a {
    text-decoration: underline;
    color: #1d4ed8;
  }
}

/* HERO LAYOUT */
.hero-wrapper {
  margin-bottom: 4rem;
  margin-top: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* PHOTO STYLING */
.hero-photo img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(77, 103, 5, 0.25);   /* léger vert #4D6705 */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.hero-photo {
  max-width: 460px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .hero-photo {
    max-width: 100%;
  }
}

/* HERO TEXT */
.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(77, 103, 5, 0.1);
  color: #4D6705;
  font-size: 0.82rem;
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.hero-title .hl {
  color: #D0672E;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1rem;
  color: #533b2a;
  margin-bottom: 1.2rem;
  line-height: 1.55;
  max-width: 45rem;
}

/* TAGS */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.hero-tags span {
  background: #FFF4DE;
  border: 1px solid rgba(77, 103, 5, 0.25);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #4D6705;
}

.hero-tags i {
  font-size: 1rem;
}

/* CTA BUTTONS */
.btn {
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn-primary {
  background: #D0672E;
  color: #fff;
}

.btn-primary:hover {
  background: #b35624;
}

.btn-secondary {
  background: #FFF4DE;
  border: 1px solid #D0672E;
  color: #D0672E;
}

.btn-secondary:hover {
  background: #ffe9c5;
}

/* Ajustement de taille & alignement de la photo dans le HERO */
.hero-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Taille contrôlée – dimension optimale sans dominer le Hero */
.hero-photo img {
  width: 85%;             /* ↓ Réduction maîtrisée */
  max-width: 320px;       /* Taille max desktop */
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  border: 2px solid rgba(77, 103, 5, 0.25);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Maintien sur la même hauteur que la colonne texte */
.hero-grid {
  align-items: center;     /* Alignement vertical naturel */
}

/* Sur mobile : photo 100%, centrée */
@media (max-width: 900px) {
  .hero-photo img {
    max-width: 100%;
    width: 100%;
  }
}

