/* CryptOtentik child theme main styles (based on the maquette) */
:root {
	--orange: #ff6026;
	--orange-dark: #e04d16;
	--dark: #1a1a1a;
	--gray: #6b6b6b;
	--bg-soft: #fff8f5;
	--border: #eee0da;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; color: var(--dark); line-height: 1.6; background: #fff; }
.titre { font-family: 'Poppins', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.note-maquette { background: #fffbe6; border-bottom: 2px dashed #e0c200; color: #7a6a00; font-size: 13px; padding: 10px 24px; text-align: center; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.site-header, header { padding-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
/* Keep header full width; use the same centered .wrap container as other sections for consistent alignment */
.site-header > .wrap, header > .wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	width: 100%;
}
.logo img { display:block; margin-left:0; }
.logo { font-size: 20px; font-weight: 800; color: var(--dark); }
.logo span { color: var(--orange); }
nav ul { list-style: none; display: flex; gap: 32px; }
nav a { text-decoration: none; color: var(--dark); font-weight: 500; font-size: 15px; }
nav a:hover { color: var(--orange); }
.btn-nav { background: var(--orange); color: #fff !important; padding: 10px 20px; border-radius: 30px; font-weight: 600; }

.hero { display: flex; align-items: center; gap: 48px; padding: 70px 24px; background: var(--bg-soft); }
.hero-text { flex: 1.1; }
.badge { display: inline-block; background: #ffe4d6; color: var(--orange-dark); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 20px; margin-bottom: 18px; }
.hero h1 { font-size: 40px; line-height: 1.25; margin-bottom: 20px; }
.hero p.sub { font-size: 17px; color: var(--gray); margin-bottom: 28px; max-width: 480px; }
.btn-primary { display: inline-block; background: var(--orange); color: #fff; text-decoration: none; font-weight: 700; padding: 16px 32px; border-radius: 30px; font-size: 16px; }
.hero-photo { flex: 1; aspect-ratio: 4/5; background: repeating-linear-gradient(45deg, #f0e4dd, #f0e4dd 10px, #e8d8ce 10px, #e8d8ce 20px); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #9a8a80; font-size: 14px; text-align: center; padding: 20px; }
.hero-photo-wrap { flex: 1; position: relative; }
.hero-photo-wrap .hero-photo { width: 100%; }
.bubble { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--dark); box-shadow: 0 6px 16px rgba(0,0,0,0.08); max-width: 190px; }
.bubble-1 { top: -18px; left: -40px; }
.bubble-2 { top: 30%; right: -50px; }
.bubble-3 { bottom: 15%; left: -55px; }
.bubble-4 { bottom: -18px; right: -20px; }

section { padding: 70px 24px; }
.section-title { font-size: 28px; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--gray); max-width: 560px; margin: 0 auto 48px; font-size: 16px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 1px solid var(--border); border-radius: 14px; padding: 32px 24px; text-align: center; }
.card .icon { width: 48px; height: 48px; background: #ffe4d6; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 22px; }
.card h3 { font-size: 17px; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--gray); }

.stats { background: var(--dark); color: #fff; padding: 50px 24px; }
.stats-grid { display: flex; justify-content: center; gap: 80px; text-align: center; }
.stats-grid .num { font-size: 36px; font-weight: 800; color: var(--orange); }
.stats-grid .label { font-size: 14px; color: #ccc; margin-top: 6px; }

.temoignages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.temoin { background: var(--bg-soft); border-radius: 14px; padding: 24px; font-size: 14px; }
.temoin p.texte { color: var(--dark); margin-bottom: 14px; font-style: italic; }
.temoin p.nom { font-weight: 700; color: var(--orange-dark); font-size: 13px; }

.apropos { display: flex; align-items: center; gap: 48px; background: var(--bg-soft); }
.apropos-photo { flex: 0 0 320px; aspect-ratio: 1/1; background: repeating-linear-gradient(45deg, #f0e4dd, #f0e4dd 10px, #e8d8ce 10px, #e8d8ce 20px); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #9a8a80; font-size: 14px; text-align: center; padding: 20px; }
.apropos-text { flex: 1; }
.apropos-text p { color: var(--gray); margin-bottom: 16px; font-size: 15px; }
.link-arrow { color: var(--orange-dark); font-weight: 700; text-decoration: none; font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; }
.step-num { font-size: 32px; font-weight: 800; color: var(--orange); margin-bottom: 10px; }
.step h4 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--gray); }

.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item h4 { font-size: 16px; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--gray); }

.accompagnement { background: var(--orange); color: #fff; border-radius: 24px; margin: 0 24px; padding: 60px 48px; display: flex; align-items: center; gap: 48px; }
.accompagnement-text { flex: 1; }
.accompagnement h2 { font-size: 28px; margin-bottom: 16px; }
.accompagnement p { font-size: 16px; margin-bottom: 24px; opacity: 0.95; }
.accompagnement ul { list-style: none; margin-bottom: 28px; }
.accompagnement li { font-size: 15px; margin-bottom: 10px; padding-left: 24px; position: relative; }
.accompagnement li:before { content: "✓"; position: absolute; left: 0; font-weight: 800; }
.btn-white { display: inline-block; background: #fff; color: var(--orange-dark); text-decoration: none; font-weight: 700; padding: 14px 28px; border-radius: 30px; font-size: 15px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.article-img { aspect-ratio: 16/9; background: #f0e4dd; display: flex; align-items: center; justify-content: center; color: #9a8a80; font-size: 13px; }
.article-body { padding: 20px; }
.article-tag { font-size: 12px; color: var(--orange-dark); font-weight: 600; margin-bottom: 8px; }
.article h4 { font-size: 16px; margin-bottom: 8px; }
.article p { font-size: 13px; color: var(--gray); }

.newsletter { background: var(--bg-soft); text-align: center; border-radius: 24px; margin: 0 24px 70px; padding: 60px 24px; }
.newsletter h2 { font-size: 26px; margin-bottom: 12px; }
.newsletter p { color: var(--gray); margin-bottom: 28px; }
.form-inline { display: flex; justify-content: center; gap: 10px; max-width: 420px; margin: 0 auto; }
.form-inline input { flex: 1; padding: 14px 18px; border-radius: 30px; border: 1px solid var(--border); font-size: 15px; font-family: 'Poppins', sans-serif; }
.form-inline button { background: var(--orange); color: #fff; border: none; padding: 14px 24px; border-radius: 30px; font-weight: 700; font-family: 'Poppins', sans-serif; cursor: pointer; }

footer { background: var(--dark); color: #ccc; padding: 48px 24px 24px; }
.footer-grid { display: flex; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 24px; }
.footer-grid .logo { color: #fff; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { color: #ccc; text-decoration: none; font-size: 14px; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; font-size: 13px; color: #888; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Hide parent theme site title/description to avoid duplicate branding (we use custom header logo) */
.site-title, .site-description, .wp-block-site-title, .site-branding .site-title { display: none !important; }

@media(max-width:800px){ .cards-3 { grid-template-columns: 1fr; } .temoignages { grid-template-columns: 1fr; } .blog-grid{ grid-template-columns: 1fr; } .hero h1{ font-size:28px; } }
