@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --aqua: #3DB5C9;
  --aqua-dark: #2a9aae;
  --aqua-light: #e8f7fa;
  --navy: #0d2b35;
  --navy-mid: #1a3d4d;
  --sand: #f5f0e8;
  --text: #1c2b30;
  --text-muted: #5a7280;
  --white: #ffffff;
  --border: #d8e8ed;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(13,43,53,0.10);
  --shadow-lg: 0 12px 48px rgba(13,43,53,0.15);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

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

h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }

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

/* ─── NAVBAR ─────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(1rem, 4vw, 3rem);
}
.navbar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
  height: 68px;
}
.navbar-brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700;
  color: var(--navy); white-space: nowrap;
  flex-shrink: 0;
}
.brand-icon {
  width: 32px; height: 32px;
  background: var(--aqua);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.brand-icon svg { width: 18px; height: 18px; fill: white; }
.brand-sub { font-family: 'DM Sans', sans-serif; font-size: .7rem; font-weight: 400; color: var(--text-muted); display: block; }

.nav-links {
  display: flex; align-items: center; gap: .1rem;
  flex: 1; justify-content: center; flex-wrap: wrap;
}
.nav-links a {
  font-size: .82rem; font-weight: 500; color: var(--text-muted);
  padding: .4rem .65rem; border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--aqua); background: var(--aqua-light); }

.mobile-menu { display: none; }

.nav-ctas { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.nav-tel {
  font-size: .82rem; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: .35rem;
  white-space: nowrap;
}
.nav-tel svg { width: 14px; height: 14px; stroke: var(--aqua); fill: none; stroke-width: 2; }
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.2rem; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: .85rem; font-weight: 600; cursor: pointer; transition: all var(--transition); border: none; }
.btn-primary { background: var(--aqua); color: white; }
.btn-primary:hover { background: var(--aqua-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(61,181,201,.35); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--aqua); color: var(--aqua); }
.btn-lg { padding: .8rem 1.8rem; font-size: .95rem; border-radius: 10px; }
.btn-white { background: white; color: var(--navy); }
.btn-white:hover { background: var(--sand); }

/* ─── HERO ───────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 88vh;
  display: flex; align-items: center;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/hero-pool-C9ffUODb.webp');
  background-size: cover; background-position: center;
  opacity: .45;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,43,53,.85) 0%, rgba(13,43,53,.4) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: clamp(3rem,8vh,6rem) clamp(1.5rem,5vw,3rem);
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(61,181,201,.18); border: 1px solid rgba(61,181,201,.4);
  color: var(--aqua); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem 1rem; border-radius: 100px; margin-bottom: 1.5rem;
}
.hero h1 { color: white; max-width: 700px; margin-bottom: 1.2rem; }
.hero p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 540px; margin-bottom: 2rem; line-height: 1.7; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust { display: flex; gap: 2rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.75); font-size: .82rem; }
.trust-dot { width: 6px; height: 6px; background: var(--aqua); border-radius: 50%; flex-shrink: 0; }

/* ─── SECTIONS ───────────────────────────────── */
.section { padding: clamp(3.5rem,8vw,6rem) clamp(1.5rem,5vw,3rem); }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); margin-bottom: .75rem; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--navy); color: white; }
.section-dark .section-label { color: rgba(61,181,201,.9); }
.section-dark h2 { color: white; }
.section-dark p { color: rgba(255,255,255,.75); }

/* ─── ABOUT ──────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-stats { display: flex; gap: 2.5rem; margin-top: 2rem; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--aqua); line-height: 1; }
.stat-label { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }
.about-images { position: relative; height: 420px; }
.about-images img { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; }
.about-img1 { width: 75%; height: 85%; top: 0; left: 0; }
.about-img2 { width: 55%; height: 60%; bottom: 0; right: 0; border: 4px solid white; }
.about-badge-img {
  position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
  background: white; border-radius: 10px; padding: .6rem 1rem;
  box-shadow: var(--shadow); font-size: .78rem; font-weight: 600; color: var(--navy);
  white-space: nowrap; z-index: 3;
}

/* ─── SERVICES GRID ──────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.service-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  transition: all var(--transition); cursor: pointer;
  text-decoration: none; color: inherit; display: block;
}
.service-card:hover { border-color: var(--aqua); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon { width: 44px; height: 44px; background: var(--aqua-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.service-icon svg { width: 22px; height: 22px; stroke: var(--aqua); fill: none; stroke-width: 1.8; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: .5rem; }
.service-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }
.service-card .arrow { display: inline-flex; align-items: center; gap: .35rem; color: var(--aqua); font-size: .82rem; font-weight: 600; margin-top: 1rem; }

/* ─── ENGAGEMENTS ────────────────────────────── */
.engage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.engage-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1.8rem; }
.engage-num { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--aqua); opacity: .6; margin-bottom: .5rem; }
.engage-item h3 { color: white; font-size: 1.05rem; margin-bottom: .6rem; }
.engage-item p { color: rgba(255,255,255,.65); font-size: .88rem; line-height: 1.6; }

/* ─── ZONES ──────────────────────────────────── */
.zones-wrap { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.zone-tag { background: white; border: 1px solid var(--border); border-radius: 100px; padding: .4rem 1rem; font-size: .85rem; color: var(--navy); font-weight: 500; }
.zone-tag:hover { border-color: var(--aqua); color: var(--aqua); }

/* ─── AVIS ───────────────────────────────────── */
.avis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.avis-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; }
.avis-stars { color: #f59e0b; font-size: 1rem; margin-bottom: .8rem; }
.avis-text { font-size: .9rem; line-height: 1.65; color: var(--text); font-style: italic; margin-bottom: 1rem; }
.avis-author { font-weight: 600; font-size: .85rem; color: var(--navy); }
.avis-loc { font-size: .78rem; color: var(--text-muted); }

/* ─── GALERIE ────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(13,43,53,.85));
  color: white; padding: 1.2rem .8rem .8rem;
  font-size: .82rem; font-weight: 600;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-label { opacity: 1; }
.gallery-badge { display: inline-block; background: var(--aqua); color: white; font-size: .68rem; font-weight: 700; padding: .2rem .5rem; border-radius: 4px; margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .06em; }

/* ─── OCEAZUR ────────────────────────────────── */
.oceazur-block {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: center;
  background: var(--navy); border-radius: 20px; padding: 3rem; color: white;
}
.oceazur-block img { width: 100%; max-width: 320px; background: #fff; border-radius: 16px; padding: 1.6rem 2rem; box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.oceazur-block h2 { color: white; margin-bottom: 1rem; }
.oceazur-block p { color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.75; margin-bottom: 1.2rem; }

/* ─── CTA BAND ───────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--aqua) 0%, var(--aqua-dark) 100%);
  padding: 4rem clamp(1.5rem,5vw,3rem); text-align: center; color: white;
}
.cta-band h2 { color: white; margin-bottom: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 2rem; max-width: 460px; margin-left: auto; margin-right: auto; }
.cta-band-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─────────────────────────────────── */
footer {
  background: var(--navy); color: rgba(255,255,255,.75);
  padding: 3.5rem clamp(1.5rem,5vw,3rem) 1.5rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand h4 { font-family: 'Playfair Display', serif; color: white; font-size: 1rem; margin-bottom: .4rem; }
.footer-brand p { font-size: .83rem; line-height: 1.65; margin-top: .6rem; max-width: 250px; }
.footer-col h5 { color: white; font-size: .85rem; font-weight: 600; margin-bottom: 1rem; }
.footer-col li { margin-bottom: .45rem; }
.footer-col a { font-size: .83rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col a:hover { color: var(--aqua); }
.footer-col address { font-style: normal; font-size: .83rem; line-height: 1.8; }
.footer-col address a { color: rgba(255,255,255,.6); }
.footer-col address a:hover { color: var(--aqua); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .78rem; }
.footer-oceazur img { height: 64px; background: #fff; border-radius: 12px; padding: .55rem .9rem; box-shadow: 0 8px 22px rgba(0,0,0,.18); }

/* ─── PAGE HERO (inner pages) ────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 4rem clamp(1.5rem,5vw,3rem) 3rem;
  color: white;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; }
.page-hero .section-label { color: rgba(61,181,201,.9); }
.page-hero h1 { color: white; margin-bottom: .8rem; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 600px; }

/* ─── SERVICE PAGE ───────────────────────────── */
.service-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: start; }
.service-detail img { border-radius: var(--radius); width: 100%; object-fit: cover; max-height: 420px; box-shadow: var(--shadow-lg); }
.service-list { margin: 1.5rem 0 2rem; }
.service-list li { padding: .55rem 0; border-bottom: 1px solid var(--border); font-size: .93rem; display: flex; align-items: flex-start; gap: .6rem; }
.service-list li::before { content: ''; width: 7px; height: 7px; background: var(--aqua); border-radius: 50%; flex-shrink: 0; margin-top: .45rem; }

.service-cards-sub { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; margin-top: 2.5rem; }
.sub-card { background: var(--sand); border-radius: var(--radius); padding: 1.5rem; }
.sub-card h3 { font-size: 1rem; margin-bottom: .5rem; color: var(--navy); }
.sub-card p { font-size: .85rem; color: var(--text-muted); }

/* ─── CONTACT ────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 2rem; }
.contact-icon { width: 44px; height: 44px; background: var(--aqua-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 20px; height: 20px; stroke: var(--aqua); fill: none; stroke-width: 1.8; }
.contact-info-item h4 { font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.contact-info-item p, .contact-info-item a { font-size: .9rem; color: var(--text-muted); }
.map-embed { border-radius: var(--radius); overflow: hidden; height: 200px; margin: 1.5rem 0; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 100%; border: none; }
.contact-form { background: var(--sand); border-radius: 16px; padding: 2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: .75rem 1rem;
  background: white; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: .9rem; color: var(--text);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--aqua); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── BLOG ───────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.blog-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-tag { display: inline-block; background: var(--aqua-light); color: var(--aqua); font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 4px; margin-bottom: .6rem; text-transform: uppercase; letter-spacing: .05em; }
.blog-date { font-size: .78rem; color: var(--text-muted); margin-bottom: .5rem; }
.blog-card h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.blog-card p { font-size: .87rem; color: var(--text-muted); line-height: 1.6; }
.blog-read { display: inline-flex; align-items: center; gap: .3rem; color: var(--aqua); font-size: .83rem; font-weight: 600; margin-top: .8rem; }

/* ─── GALERIE FILTERS ────────────────────────── */
.gallery-filters { display: flex; gap: .6rem; margin-bottom: 2rem; flex-wrap: wrap; }
.filter-btn { background: white; border: 1.5px solid var(--border); border-radius: 100px; padding: .45rem 1.2rem; font-size: .83rem; font-weight: 500; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all var(--transition); }
.filter-btn:hover, .filter-btn.active { background: var(--aqua); border-color: var(--aqua); color: white; }

/* ─── APROPOS ────────────────────────────────── */
.apropos-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.apropos-grid img { border-radius: var(--radius); width: 100%; object-fit: cover; max-height: 440px; box-shadow: var(--shadow-lg); }
.certif-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.certif-item { background: var(--sand); border-radius: var(--radius); padding: 1.2rem; }
.certif-icon { font-size: 1.4rem; margin-bottom: .4rem; }
.certif-item h4 { font-size: .9rem; color: var(--navy); margin-bottom: .25rem; }
.certif-item p { font-size: .8rem; color: var(--text-muted); }

/* ─── DEVIS PAGE ─────────────────────────────── */
.devis-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; }
.devis-form { background: var(--sand); border-radius: 16px; padding: 2rem; }
.devis-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.devis-why { padding: 1rem 0; }
.why-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.why-num { width: 36px; height: 36px; background: var(--aqua); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.why-item h4 { font-size: .95rem; color: var(--navy); margin-bottom: .2rem; }
.why-item p { font-size: .85rem; color: var(--text-muted); }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .about-grid, .service-detail, .contact-grid, .apropos-grid, .devis-grid, .oceazur-block { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .certif-grid { grid-template-columns: 1fr 1fr; }
  .about-images { height: 300px; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: .8rem; }
  .devis-form .form-row { grid-template-columns: 1fr; }
}

/* ─── HAMBURGER MENU (mobile) ─────────────────── */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .4rem; }
.nav-hamburger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }
@media (max-width: 700px) {
  .nav-hamburger { display: flex; }
  .mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: white; padding: 1.5rem; border-bottom: 1px solid var(--border); z-index: 99; flex-direction: column; gap: .4rem; box-shadow: var(--shadow); }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-size: .95rem; font-weight: 500; color: var(--text); padding: .6rem .8rem; border-radius: 8px; display: block; }
  .mobile-menu a:hover { background: var(--aqua-light); color: var(--aqua); }
}
