/* Polices auto-hébergées (Google Fonts, licence SIL OFL 1.1) : plus d'appel à
   fonts.googleapis.com, donc pas de transfert de l'adresse IP des visiteurs à Google. */
/* Amatic SC 400 — latin-ext */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/amatic-sc-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Amatic SC 400 — latin */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/amatic-sc-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Amatic SC 700 — latin-ext */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/amatic-sc-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Amatic SC 700 — latin */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/amatic-sc-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lato 300 — latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/lato-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Lato 300 — latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/lato-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lato 400 — latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lato-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Lato 400 — latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lato-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lato 700 — latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lato-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Lato 700 — latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lato-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Bébétouty — stylesheet (matches original bebetouty.fr palette/type)
   ========================================================================== */

:root {
  --orange: #fea400;
  --violet: #5d386c;
  --violet-clair: #e0d3d1;
  --rose: #fb099f;
  --rose-clair: #fc40af;
  --vert: #7eb12f;
  --vert-eau: #0c9638;
  --bleu-fonce: #04abe9;
  --bleu: #38cffe;
  --blanc: #ffffff;
  --noir: #000000;
  --gris: #707173;
  --gris-clair: #c8c9cb;
  --bg-page: #fdfdfd;
  --footer-bg: #242321;

  --font-amatic: 'Amatic SC', cursive;
  --font-lato: 'Lato', sans-serif;

  --max-width: 1400px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-lato);
  font-weight: 300;
  color: var(--gris);
  background: var(--bg-page);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1 {
  color: var(--rose);
  font-family: var(--font-amatic);
  font-weight: 400;
  font-size: 70px;
  /* source page.css: line-height:72%; margin:0; padding:0 — the tight line
     box is what keeps the dashed rule close under the text */
  line-height: 72%;
  margin: 0;
  padding: 0;
}

h1.presentation, h2 {
  color: var(--bleu-fonce);
  font-family: var(--font-amatic);
  font-weight: 400;
  font-size: 60px;
  line-height: 1.1;
  margin: 30px 0 10px;
}

h3 {
  color: var(--gris);
  font-family: var(--font-lato);
  font-weight: 700;
  font-size: 23px;
  margin: 0 0 16px;
}

p { margin: 0 0 1em; font-size: 18px; line-height: 1.6; }

/* Source _common.css uses percentage widths, not a max-width:
   >=1570px 70% (".page" variant 50%) / 600-1569px 90% / <=599px 80% */
.display-area {
  width: 90%;
  margin: 0 auto;
}

@media screen and (min-width: 1570px) {
  .display-area { width: 70%; }
  .display-area.page { width: 50%; }
}

@media screen and (max-width: 599px) {
  .display-area { width: 80%; }
}

.page-copy { text-align: justify; }
.page-copy p, .page-copy li { text-align: justify; }

/* Matches .pageContainer in the source's page.css exactly:
   padding-top:100px; padding-bottom:100px (0 for the homepage's
   ".welcome" variant, since its sections carry their own padding). */
.page-main { padding-top: 100px; padding-bottom: 100px; }
.welcome-main { padding-top: 100px; }

.text-rose { color: var(--rose) !important; }
.text-orange { color: var(--orange) !important; }
.text-vert { color: var(--vert) !important; }
.text-vert-eau { color: var(--vert-eau) !important; }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: relative;
}

.header-bg-img {
  width: 100%;
  height: auto;
  display: block;
}

.header-logo {
  position: absolute;
  top: 35px;
  left: 3%;
  width: 300px;
  z-index: 6;
}

.header-logo img {
  width: 100%;
  height: auto;
}

.header-slogan {
  position: absolute;
  top: 25%;
  left: 0;
  width: 90%;
  text-align: right;
  z-index: 4;
}

.header-slogan .line1 {
  display: block;
  color: var(--violet);
  font-family: var(--font-amatic);
  font-weight: 700;
  font-size: 60px;
  line-height: 1;
}

.header-slogan .line2 {
  display: block;
  color: var(--vert);
  font-family: var(--font-amatic);
  font-weight: 400;
  font-size: 50px;
  line-height: 1.1;
}

.header-slogan .line3 {
  display: block;
  color: var(--rose);
  font-family: var(--font-amatic);
  font-weight: 700;
  font-size: 90px;
  line-height: 1;
}

.header-slogan .heart {
  width: 97px;
  margin: 20px 0 0 auto;
}

/* Nav overlay --------------------------------------------------------------- */
/* Source nav.css: ul.mainNav { height:90px } + li { font-size:35px;
   padding-top:40px; padding-left/right:40px }.
   Its "bottom:4px" is NOT copied: there the header <img> is inline, so its
   line box leaves ~4px of descender space under the photo that the offset
   cancels out. Ours is display:block, so 4px would be a real gap. */
.main-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  background: rgba(49, 2, 76, 0.702);
  padding: 0;
}

/* The source's "ul.mainNav { height:90px }" is only the ul itself — it's an
   inline-block sitting on a line box inside nav, so the rendered purple band
   measures 110px. Set that directly and centre the items, rather than
   reproducing the padding-top hack that positioned them in the 90px box. */
.main-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  height: 110px;
}

.main-nav a {
  display: block;
  font-family: var(--font-amatic);
  font-weight: 700;
  font-size: 35px;
  /* source sets no line-height, so the font's own metrics apply — our body's
     1.6 would otherwise inflate the line box */
  line-height: normal;
  padding: 0 40px;
  white-space: nowrap;
}

.main-nav .accueil-link { display: none; }

.main-nav li:nth-child(2) a { color: var(--bleu); }
.main-nav li:nth-child(3) a { color: var(--blanc); }
.main-nav li:nth-child(4) a { color: var(--orange); }
.main-nav li:nth-child(5) a { color: var(--rose-clair); }
.main-nav li:nth-child(6) a { color: var(--violet-clair); }
.main-nav li:nth-child(7) a { color: var(--vert); }

.main-nav ul:not(.is-open) a:hover {
  color: #fcf801;
}

/* Source: "ul.mainNav li.menuOn { color:#FCF801 }" — the active item is just
   yellow text. (Its .navDownArrow uses mainNavDownArrow.png, which no longer
   exists on the server, so no arrow renders on the original either.)
   Selector needs to out-specify the per-item nth-child colours above. */
.main-nav ul li a[aria-current="page"] {
  color: #fcf801;
}

.mobile-topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 250;
  background: var(--blanc);
}

.mobile-logo {
  display: none;
  position: absolute;
  top: 10px;
  left: 15px;
  width: 130px;
}

.mobile-logo img {
  width: 100%;
  height: auto;
}

.nav-toggle {
  display: none;
  position: absolute;
  top: 10px;
  right: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}

.nav-toggle img {
  width: 52px;
  height: 40px;
}

.nav-toggle .icon-close { display: none; }

.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Availability banner (verbatim from source) -------------------------------- */
.places-banner {
  width: 70%;
  margin: 0 auto 30px auto;
  position: relative;
  z-index: 3;
  background: linear-gradient(135deg, #ffffff 0%, #f8fdf8 100%);
  border-radius: 16px;
  padding: 20px 30px;
  box-shadow: 0 4px 20px rgba(76, 175, 80, 0.15), 0 0 0 1px rgba(76, 175, 80, 0.1);
  overflow: hidden;
}

.places-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #66bb6a, #43a047);
  border-radius: 16px 0 0 16px;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.banner-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.banner-icon svg { width: 26px; height: 26px; color: #2e7d32; }

.banner-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.banner-title { font-size: 18px; font-weight: 700; color: #1b5e20; font-family: var(--font-lato); }
.banner-subtitle { font-size: 14px; color: #558b2f; font-weight: 400; }

.banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #43a047, #2e7d32);
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.banner-btn svg { width: 18px; height: 18px; }
.banner-btn:hover { background: linear-gradient(135deg, #4caf50, #388e3c); transform: translateY(-2px); }

/* Concept / intro section --------------------------------------------------- */
.concept {
  padding: 100px 0;
  background: url('../img/conceptBg.png') top center no-repeat;
  background-size: 1920px auto;
}

/* Source: two ".col" floats at 50% each (no gutter between them — the text
   column's own "col80 marginLeft10" creates the spacing). */
.concept-inner {
  display: flex;
  gap: 0;
  align-items: flex-start;
}

.concept-col1 { flex: 0 0 50%; max-width: 50%; }

/* ".col80 marginLeft10 paddingTop15" inside the 50% column => content 80% of
   the column (40% of the row) offset by 10% of the column (5% of the row). */
.concept-col2 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 15px 5% 0 5%;
}

.concept-col2 p { font-size: 20px; }

/* ".borderDashedBottom paddingBottom5 marginBottom15" (#3E3D40) */
.concept-col2 h1 {
  border-bottom: 1px dashed #3e3d40;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

/* Source: <div class="box textAlignCenter latoLight t20 marginTop20">---</div> */
.concept-rule {
  text-align: center;
  font-family: var(--font-lato);
  font-weight: 300;
  font-size: 20px;
  margin-top: 20px;
}

/* Inner page content ------------------------------------------------------
   Source: "box borderDashedBottomLight paddingBottom20 marginTop50" around
   the h1, then "box marginTop20" holding the intro + "textPage paddingTop30"
   body. */
.page-title {
  border-bottom: 1px dashed #b5b5b5;
  padding-bottom: 20px;
  margin: 50px 0 0;
}

/* .latoLight .t20 .lineHeight140 (inside the marginTop20 wrapper) */
.page-intro {
  font-family: var(--font-lato);
  font-weight: 300;
  font-size: 20px;
  line-height: 140%;
  margin-top: 20px;
}

/* .textPage: justify / 18px / latolight / line-height 160% + paddingTop30 */
.page-body {
  padding-top: 30px;
  text-align: justify;
  font-family: var(--font-lato);
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
}

.page-body::after { content: ""; display: table; clear: both; }

/* Source page.css: .textPage h2 { font-size:30px; margin:0 0 15px 0 } —
   these headings are NOT the 60px page-level h2. */
.page-body h2 {
  font-size: 30px;
  margin: 0 0 15px;
  padding: 0;
}

/* Source: "col35 overflowHidden floatLeft marginRight40px marginBottom20
   marginTop20 pagePictureContainer" (its paddingRight40px class is not
   defined anywhere in the site's CSS, so it contributes nothing). */
.inline-photo {
  float: left;
  width: 35%;
  overflow: hidden;
  margin: 20px 40px 20px 0;
}

.inline-photo img { max-width: 100%; height: auto; }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: var(--font-lato);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--orange { background: var(--orange); color: var(--blanc); }
.btn--orange:hover { background: #e09000; }

.btn--outline-orange { border-color: var(--orange); color: var(--orange); background: transparent; }
.btn--outline-orange:hover { background: var(--orange); color: var(--blanc); }

/* "En savoir +" button — source: .welcomeReadMoreButtonContainer (float:right;
   width:150px; margin-bottom:40px), .readMoreButtonTxt (float:left; width:110px;
   amaticRegular 40px), .readMoreButtonPlusIcon (30x30 plus.png). */
.read-more {
  float: right;
  width: 150px;
  margin-bottom: 40px;
  color: var(--noir);
}

.read-more-txt {
  float: left;
  width: 110px;
  font-family: var(--font-amatic);
  font-weight: 400;
  font-size: 40px;
  line-height: 30px;
}

.read-more-plus {
  float: left;
  width: 30px;
  height: 30px;
  background: url('../img/plus.png') no-repeat center center;
  background-size: contain;
}

/* News carousel ---------------------------------------------------------- */
/* Homepage intro paragraphs — source: ".box textPage paddingTop20" wrapper
   around ".displayArea paddingTop100 paddingBottom100" => 120px / 100px. */
.section { padding: 120px 0 100px; }

/* Source: ".box actualites" carries no spacing itself — the gap above comes
   from the preceding block's paddingBottom100. Below, the carousel's
   marginBottom100 collapses with the displayArea's marginBottom100 (neither
   is a BFC root), so it's 100px + the carousel's own 50px padding = 150px.
   Applied as padding so it can't collapse away in this layout. */
.news-section { padding: 0 0 100px; }

/* Source page.css: h1.presentation, h2 { margin-top:0; margin-bottom:0 } */
.news-section h2.section-title { margin: 0; }

/* Source: .carrousselPreviewContainer { padding-bottom:50px } */
.carousel { padding-bottom: 50px; }

.carousel-viewport { overflow: hidden; }

.carousel-track {
  display: flex;
  align-items: stretch;
  /* owl slideSpeed: 300 */
  transition: transform 0.3s ease;
}

/* Each slide is 100%/per-page wide; JS sets --per-page (owl: items:2,
   itemsTablet:[768,1]). */
.carousel-track > * {
  flex: 0 0 calc(100% / var(--per-page, 2));
  max-width: calc(100% / var(--per-page, 2));
}

/* Source: .carrousselBlocPreviewContainer { float:left; width:80%;
   padding:2% } inside the owl item — i.e. 2% gutter left, 80% content,
   18% (2% padding + 16% float leftover) right. */
.news-card {
  padding: 2% 18% 2% 2%;
  border-radius: 30px;
}

.news-card h3 {
  font-family: var(--font-lato);
  font-weight: 700;
  color: var(--gris);
  font-size: 23px;
  margin-bottom: 20px;
}

.news-body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gris);
  text-align: justify;
}

.news-body p { margin: 0; font-size: 18px; }

.news-body::after { content: ""; display: table; clear: both; }

/* Source: .carrousselBlocPreviewPicture { position:relative; float:left;
   width:100px; height:100px; overflow:hidden; margin-right:10px } */
.news-thumb {
  position: relative;
  float: left;
  display: block;
  width: 100px;
  height: 100px;
  overflow: hidden;
  margin-right: 10px;
}

.news-thumb img { max-width: 100%; height: auto; }

/* Source: .zoomIcon { zoomIcon.png centered; opacity 0 -> 1 on hover } */
.zoom-icon {
  position: absolute;
  inset: 0;
  background: url('../img/zoomIcon.png') no-repeat center center;
  opacity: 0;
  z-index: 11;
  transition: opacity 0.2s ease;
}

.news-thumb:hover .zoom-icon,
.portfolio-pic:hover .zoom-icon,
.portfolio-tile:hover .zoom-icon,
.actu-thumb:hover .zoom-icon { opacity: 1; }

/* Below 800px the source's gallery links have no hit area (their only child,
   the zoom overlay, is hidden), so they aren't clickable at all — drop the
   pointer cursor and tap highlight here too rather than leaving a dead link
   that still looks tappable. Inline page photos are unaffected: their anchor
   wraps the image directly, so they stay clickable as in the source. */
@media screen and (max-width: 800px) {
  .portfolio-tile,
  .portfolio-pic,
  .news-thumb,
  .actu-thumb {
    pointer-events: none;
    cursor: default;
  }
}

.news-more { margin-top: 20px; }
.news-more::after { content: ""; display: table; clear: both; }

/* Pagination dots — source: owl.theme.css .owl-page span (12x12, margin
   5px 7px, radius 10px, #707173) / .active span (#FB099F). */
.carousel-dots {
  margin-top: 10px;
  text-align: center;
}

.carousel-dots button {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 5px 7px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: var(--gris);
  cursor: pointer;
}

.carousel-dots button.active,
.carousel-dots button:hover { background: var(--rose); }

/* Portfolio --------------------------------------------------------------- */
/* Source concept.css: .portofolioBg { background-image:url(portfolioBg.png);
   background-repeat:no-repeat; background-position:top center } */
.portfolio-section {
  background: url('../img/portfolioBg.png') top center no-repeat;
}

.portfolio-section h2 { color: var(--vert-eau); }

/* Source: .carrousselBlocPreviewPicturePortfolio { position:relative;
   float:left; width:80%; overflow:hidden; text-align:center } */
.portfolio-pic {
  position: relative;
  display: block;
  width: 80%;
  overflow: hidden;
  margin-top: 30px;
}

.portfolio-pic img { max-width: 100%; height: auto; }

/* Source: homepage portfolio block uses "displayArea marginTop100
   paddingBottom100" inside the floated .portofolioBg box. Applied as padding
   on the section itself — as a margin on the inner div it would collapse out
   of the grey band instead of spacing the content inside it.
   (portfolio.html gets its spacing from .page-main instead.) */
.portfolio-home {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* source h2: margin-top:0 / margin-bottom:0 (portfolio.html keeps its own
   marginTop50 from the source's title wrapper) */
.portfolio-home h2 { margin: 0; }

/* Portfolio page (portfolio.html) — plain white pageContainer, NOT the
   homepage's .portofolioBg grey band. Title: "borderDashedBottomLight
   paddingBottom5 marginTop50" with h2.vert (#7EB12F). */
.portfolio-title-box {
  border-bottom: 1px dashed #b5b5b5;
  padding-bottom: 5px;
  margin-top: 50px;
}

.portfolio-title-box h2 { margin: 0; }

/* ".box marginTop40 marginBottom40" */
.portfolio-tiles { margin: 40px 0; }
.portfolio-tiles::after { content: ""; display: table; clear: both; }

/* portfolio.css: .portfolioContainer { float:left; width:200px; height:200px;
   overflow:hidden; margin-right:20px; margin-bottom:20px } */
.portfolio-tile {
  position: relative;
  display: block;
  float: left;
  width: 200px;
  height: 200px;
  overflow: hidden;
  margin-right: 20px;
  margin-bottom: 20px;
}

.portfolio-tile img { max-width: 100%; height: auto; }

/* portfolio.css @<=800px: tiles go full width, zoom icons dropped.
   Source sets margin:0, which renders as a ~3px gap (inline-level spacing);
   using 4px so the photos stay visibly separated. */
@media screen and (max-width: 800px) {
  .portfolio-tile { width: 100%; height: auto; margin: 0 0 4px; }
  .portfolio-tile .zoom-icon { display: none; }
}

/* Lightbox ----------------------------------------------------------------
   Mirrors jquery.lightbox-0.5 as configured on the original site:
   overlayBgColor #000 / overlayOpacity 0.8 / containerBorderSize 10 /
   txtImage "Image" / txtOf "sur". */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 15000;
  background: #000;
  opacity: 0.8;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox[hidden],
.lightbox-overlay[hidden] { display: none; }

.lightbox-box {
  background: #fff;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
}

.lightbox-image-box {
  position: relative;
  padding: 10px;
  line-height: 0;
}

.lightbox-image-box img {
  max-width: calc(100vw - 60px);
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
}

/* Prev/next as the plugin does it: invisible 49% click zones over the image */
.lightbox-nav {
  position: absolute;
  inset: 10px;
  z-index: 10;
  display: flex;
}

.lightbox-nav button {
  width: 49%;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 40px;
  color: #fff;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lightbox-nav button:hover:not(:disabled) { opacity: 1; }
.lightbox-nav button:disabled { cursor: default; }
.lightbox-prev { margin-right: auto; text-align: left; padding-left: 10px; }
.lightbox-next { margin-left: auto; text-align: right; padding-right: 10px; }

.lightbox-data {
  font: 10px Verdana, Helvetica, sans-serif;
  color: #666;
  background: #fff;
  line-height: 1.4em;
  padding: 0 20px 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lightbox-details { flex: 1; text-align: left; }
.lightbox-caption { font-weight: bold; display: block; }
.lightbox-count { display: block; padding-bottom: 1em; }

.lightbox-close {
  border: none;
  background: none;
  cursor: pointer;
  font: 10px Verdana, Helvetica, sans-serif;
  color: #666;
  text-transform: uppercase;
  padding: 0;
}

/* Actualités listing ------------------------------------------------------
   Source: "box marginBottom30 marginTop50" title (no dashed rule here),
   ".grisClair" category label, then per article a dashed-bordered title box
   (paddingTop5/Bottom5, marginTop5, marginBottom10), a "t16" excerpt and
   120x120 ".pageThumbnailContainer" thumbs. */
.actu-page-title { margin: 50px 0 30px; }

.actu-category { color: var(--gris-clair); }

.actu-title-box {
  border-top: 1px dashed #b5b5b5;
  border-bottom: 1px dashed #b5b5b5;
  padding: 5px 0;
  margin: 5px 0 10px;
}

/* page.css: h1.full, h2.listing, h2.mentions { latoregular; font-size:25px } */
.actu-title-box h2 {
  font-family: var(--font-lato);
  font-weight: 400;
  font-size: 25px;
  margin: 0;
}

.actu-excerpt {
  font-size: 16px;
  margin-bottom: 15px;
}

.actu-pictures::after { content: ""; display: table; clear: both; }

/* page.css: .pageThumbnailContainer { float:left; width:120px; height:120px;
   margin-right:10px } with maxWidth100 on the image */
.actu-thumb {
  position: relative;
  display: block;
  float: left;
  width: 120px;
  height: 120px;
  overflow: hidden;
  margin-right: 10px;
}

.actu-thumb img { max-width: 100%; height: auto; }

/* ".box marginBottom30" wrapper around the read-more button */
.actu-more { margin-bottom: 30px; }
.actu-more::after { content: ""; display: table; clear: both; }

/* Article (actualité) pages ----------------------------------------------
   Source: back button, "borderDashedBottomLight paddingBottom15 paddingTop15"
   title box with h1.full, then col60 picture + col40 meta, then the body and
   gallery each separated by a dashed top rule. */
.post-title-box {
  border-bottom: 1px dashed #b5b5b5;
  padding: 15px 0;
}

/* page.css: h1.full { font-family: latoregular; font-size: 25px } */
h1.full {
  font-family: var(--font-lato);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.3;
}

/* "col60 full picture" / "col40 full paddingTop15 txt" */
.post-cols { display: flex; align-items: flex-start; }
.post-col-picture { width: 60%; }
.post-col-meta { width: 40%; padding-top: 15px; }

/* "col90 fullPictureContainer" (full.css: overflow hidden, margin-top 20px) */
.post-picture {
  position: relative;
  display: block;
  width: 90%;
  overflow: hidden;
  margin-top: 20px;
}

.post-picture img { max-width: 100%; height: auto; }

/* source shows a blue h1 in the picture slot on one article */
.post-blue-title { color: var(--bleu); margin-top: 15px; }

/* ".latoLight t16" label / ".latoRegular t16 noir" value, marginTop15 */
.post-meta-label { font-size: 16px; font-weight: 300; }
.post-meta-label--spaced { margin-top: 15px; }
.post-meta-value { font-size: 16px; font-weight: 400; color: var(--noir); }

/* ".box t18 marginTop30 paddingTop15 borderDashedTopLight latoLight" */
.post-body {
  font-size: 18px;
  font-weight: 300;
  line-height: 160%;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px dashed #b5b5b5;
}

/* ".box marginTop30 marginBottom50 paddingTop15 borderDashedTopLight" */
.post-gallery {
  margin-top: 30px;
  margin-bottom: 50px;
  padding-top: 15px;
  border-top: 1px dashed #b5b5b5;
}

.post-gallery::after { content: ""; display: table; clear: both; }

/* contentFullPage.css @<=599: .col.full.picture / .col.full.txt -> 100% */
@media screen and (max-width: 599px) {
  .post-cols { flex-direction: column; }
  .post-col-picture, .post-col-meta { width: 100%; }
  .post-picture { width: 100%; }
}

/* Inline helpers used in page copy — source: .marginTop10, .latoBold,
   a.underlineLink { text-decoration: underline } */
.page-link { margin-top: 10px; }
.lato-bold { font-family: var(--font-lato); font-weight: 700; }
.underline-link { text-decoration: underline; }

/* Contact page ------------------------------------------------------------
   Source contact.css: .contactCol { float:left; padding-bottom:60px },
   .leftCol { width:45% }, .rightCol { width:45%; margin-left:10% }. */
.contact-cols { display: flex; align-items: flex-start; }

.contact-col { padding-bottom: 60px; }
.contact-col-left { width: 45%; }
.contact-col-right { width: 45%; margin-left: 10%; }

/* ".box marginTop30" around each section */
.contact-block { margin-top: 30px; }

/* page.css: h2.contact { amatic_scregular; font-size:35px } */
h2.contact {
  font-family: var(--font-amatic);
  font-weight: 400;
  font-size: 35px;
  margin: 0 0 5px;
}

.line-140 { line-height: 140%; }

/* ".box marginTop30" + "t22 bold" name line */
.contact-address { margin-top: 30px; }
.contact-name { font-size: 22px; }

/* ".contatctPicture marginTop20" — its img is capped at 50% in the source */
.contact-picture { margin-top: 20px; }
.contact-picture img { max-width: 50%; height: auto; }

/* ".underlineLink bleuFonce" */
.contact-mail { color: var(--bleu-fonce); }

/* .contactFormIntro { padding-bottom:15px; border-bottom:1px dashed #666666;
   margin-bottom:15px } */
.contact-form-intro {
  padding-bottom: 15px;
  border-bottom: 1px dashed #666666;
  margin-bottom: 15px;
}

/* .contactFormLine { margin-bottom:15px } / .contactFormLabel { font-size:16px;
   padding:5px 0 5px 2% } */
.contact-form-line { margin-bottom: 15px; }

.contact-form-label {
  display: block;
  font-size: 16px;
  padding: 5px 0 5px 2%;
}

/* .inputField { width:96%; color:#a3a3a3; font-size:16px; padding:5px 2%;
   border:1px solid #d7d7d7; border-radius:3px } — its inputBackground.png
   404s on the server, so the field is left with a plain background. */
.input-field {
  display: block;
  width: 96%;
  font-family: var(--font-lato);
  font-weight: 300;
  font-size: 16px;
  color: #a3a3a3;
  padding: 5px 2%;
  border: 1px solid #d7d7d7;
  border-radius: 3px;
  background: var(--blanc);
}

.input-field:focus { outline: 1px solid var(--bleu-fonce); }

/* .contactSendButton { padding:5px 10px; border:1px solid #707173;
   color:#707173; border-radius:3px } + hover fill */
.contact-send-button {
  font-family: var(--font-lato);
  font-weight: 300;
  font-size: 16px;
  padding: 5px 10px;
  border: 1px solid var(--gris);
  color: var(--gris);
  border-radius: 3px;
  background: none;
  cursor: pointer;
  text-align: center;
}

.contact-send-button:hover {
  background-color: var(--gris);
  color: var(--blanc);
}

.form-status { margin-top: 14px; font-weight: 700; }
.form-status[data-state="success"] { color: var(--vert-eau); }
.form-status[data-state="error"] { color: #d41019; }

.contact-send-button[disabled] { opacity: 0.6; cursor: default; }

/* piège à robots : invisible à l'écran, ignoré par les lecteurs d'écran */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* contact.css stacks the two columns from 1024px down */
@media screen and (max-width: 1024px) {
  .contact-cols { flex-direction: column; }
  .contact-col-left,
  .contact-col-right { width: 100%; margin-left: 0; }
}

/* Footer ------------------------------------------------------------------
   Source: footer.css (.footer bg) + "displayArea paddingTop100
   paddingBottom100" + col46 / col8 / col46 columns. */
.site-footer {
  background: var(--footer-bg) url('../img/footerBg.jpg') top center no-repeat;
  color: var(--gris-clair);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  padding-top: 100px;
  padding-bottom: 100px;
}

/* .col46 { width:46% } / .col8 { width:8% } */
.footer-col { width: 46%; }
.footer-separator { width: 8%; text-align: center; }
.footer-separator img { max-width: 100%; height: auto; }

/* h2 floated left with margin-right:40px, icon with margin-top:-15px */
.footer-heading { display: flex; align-items: flex-start; }
.footer-heading h2 { margin: 0; margin-right: 40px; font-size: 60px; }
.footer-heading img { margin-top: -15px; }
.footer-icon-heart { width: 68px; }
.footer-icon-star { width: 94px; }

/* .latoBold .t22 .blanc .marginTop40 .marginBottom15 */
.footer-label {
  color: var(--blanc);
  font-family: var(--font-lato);
  font-weight: 700;
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 15px;
}

/* .latoLight .t20 .grisClair .lineHeight110 */
.footer-text {
  color: var(--gris-clair);
  font-family: var(--font-lato);
  font-weight: 300;
  font-size: 20px;
  line-height: 110%;
}

/* .borderDashedTopLight/.borderDashedBottomLight (#b5b5b5) + paddingTop30
   paddingBottom30 + latoLight t20 grisClair lineHeight150 marginTop15 */
.footer-contact-block {
  border-top: 1px dashed #b5b5b5;
  border-bottom: 1px dashed #b5b5b5;
  padding: 30px 0;
  margin-top: 15px;
  font-family: var(--font-lato);
  font-weight: 300;
  font-size: 20px;
  line-height: 150%;
  color: var(--gris-clair);
}

.footer-contact-block a { color: var(--gris-clair); }
.footer-contact-block a[href^="mailto"] { text-decoration: underline; }

/* .marginTop20 */
.footer-legal { margin-top: 20px; }
.footer-legal a { color: var(--gris-clair); text-decoration: underline; }

/* Responsive ---------------------------------------------------------------- */
/* Exact breakpoints/values sourced from bebetouty.fr's header.css, nav.css
   and smartphoneNav.css (960/1024/1200/599 are their own thresholds, not
   arbitrary — kept distinct rather than collapsed into one). */

/* Source's responsive.css forces ".Resp_box" columns (incl. the concept
   image/text pair) to width:100% at every breakpoint below 1600px — so
   they stack much earlier than a typical two-column layout would. */
@media screen and (max-width: 1599px) {
  .concept-inner { flex-direction: column; }
  .concept-col1 { flex: none; width: 100%; max-width: none; }
  /* full-width column, so col80/marginLeft10 resolve against the full row */
  .concept-col2 { flex: none; width: 100%; max-width: none; padding: 15px 10% 0 10%; }
}

/* source nav.css @960-1599: font-size 28px, padding-left/right 25px */
@media screen and (min-width: 960px) and (max-width: 1599px) {
  .main-nav a { font-size: 28px; padding: 0 25px; }
}

@media screen and (min-width: 600px) and (max-width: 1200px) {
  .site-header { margin-top: 60px; }
  .header-logo { width: 200px; }
  .header-slogan { top: 15%; width: 95%; }
  .header-slogan .line1 { font-size: 40px; }
  .header-slogan .line2 { font-size: 30px; }
  .header-slogan .line3 { font-size: 50px; }
  .header-slogan .heart { width: 78px; }
}

@media screen and (max-width: 1023px) {
  .mobile-topbar { display: block; }
  .nav-toggle { display: block; }

  .main-nav .accueil-link { display: block; }
  .main-nav li:nth-child(1) a { color: var(--blanc); }

  .main-nav { position: static; background: none; padding: 0; }
  .main-nav ul {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    /* the desktop bar's 4px gap would show the page through between rows —
       rows are contiguous here, separated only by the dashed border */
    gap: 0;
    position: fixed;
    left: 0;
    top: 60px;
    width: 0;
    height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.29);
    z-index: 35;
    opacity: 0;
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
  }
  .main-nav ul.is-open {
    width: 100%;
    height: calc(100vh - 60px);
    overflow-y: auto;
    opacity: 1;
  }
  .main-nav ul.is-open li {
    width: 100%;
    flex-shrink: 0;
    border-top: 1px dashed var(--blanc);
    background: rgba(102, 64, 123, 0.8);
  }
  /* Source: "a:hover li { background-color:#000000 }" — but the row keeps its
     smartphoneBackgroundMenu.png tile, i.e. rgba(102,64,123,.8) painted over
     that black, which lands on a deep purple rather than actual black. */
  .main-nav ul.is-open li:hover {
    background-color: #000000;
    background-image: linear-gradient(rgba(102, 64, 123, 0.8), rgba(102, 64, 123, 0.8));
  }
  .main-nav a {
    font-size: 30px;
    line-height: 2;
    padding: 20px 0 20px 3%;
    text-align: left;
    display: block;
  }

  /* the mobile list has no "current page" treatment in the source
     (no .menuOn-equivalent class in its markup) — neutralise the
     desktop yellow/arrow highlight here instead of carrying it over */
  .main-nav ul.is-open a[aria-current="page"] { color: var(--blanc); }
  .main-nav ul.is-open a[aria-current="page"]::after { display: none; }
}

/* Footer responsive — source responsive.css:
   960-1599px  .Resp_footerCol1/2 { width:100% }  (columns stack)
   600-959px   + separator hidden, titles 50px, icons 80%, col2 marginTop100
   <=599px     + .Resp_displayNoneSmart hides the heart/star icons */
@media screen and (max-width: 1599px) {
  .footer-inner { flex-wrap: wrap; }
  .footer-col { width: 100%; }

  /* Between stacked columns a vertical rule just eats space, so the chalk
     line is rotated flat here rather than dropped. */
  .footer-separator {
    position: relative;
    width: 100%;
    height: 7px;
    margin: 50px 0;
  }

  .footer-separator img {
    position: absolute;
    top: 50%;
    /* rotated about its own centre, so the centre sits at half the line's
       length — that puts its left end flush with the column edge */
    left: 211px; /* 422px / 2 */
    width: 7px;
    height: 422px;
    max-width: none;
    transform: translate(-50%, -50%) rotate(90deg);
  }
}

@media screen and (max-width: 959px) {
  /* Source page.css drops the page container's padding entirely below 960px
     (".pageContainer { padding: 0 }" in both the 600-959 and <=599 blocks),
     so the content sits right under the header instead of 100px down. */
  .page-main, .welcome-main { padding-top: 0; padding-bottom: 0; }

  .footer-separator { display: none; }
  .footer-heading h2 { font-size: 50px; }
  .footer-icon-heart { width: 54px; }
  .footer-icon-star { width: 75px; }
  .footer-col2 { margin-top: 100px; }
}

@media screen and (max-width: 599px) {
  .footer-heading img { display: none; }
}

/* Source carroussel.css: below 800px the card widens to 94% and the
   hover zoom icon is dropped (no hover on touch). */
@media screen and (max-width: 799px) {
  .news-card { padding: 2% 4% 2% 2%; }
  .zoom-icon { display: none; }
}

/* Exact breakpoint from the banner's own source <style> block — distinct
   from the 1023px nav breakpoint above, so padding stays full-size (20px
   30px) through the whole tablet range and only shrinks at <=768px. */
@media screen and (max-width: 768px) {
  .places-banner { width: 90%; padding: 16px 20px; }
  .banner-content { flex-wrap: wrap; justify-content: center; text-align: center; }
  .banner-text { width: 100%; align-items: center; }
  .banner-btn { margin-top: 10px; }
}

@media screen and (max-width: 599px) {
  .site-header { margin-top: 60px; }
  .header-logo { display: none; }
  .header-slogan { display: none; }
  .mobile-logo { display: block; }

  /* page.css @<=599: h1 { font-size:40px; line-height:110% } and
     .textPage { text-align:left } (justified text reads badly this narrow) */
  h1 { font-size: 40px; line-height: 110%; }
  h1.presentation, h2 { font-size: 36px; }
  .page-copy,
  .page-copy p,
  .page-copy li,
  .news-body { text-align: left; }
  .inline-photo { float: none; width: 100%; margin: 0 0 20px; }
}
